Joe R
2988f1b2f8
Cleanup of localization file generation logic.
2023-05-30 18:13:01 -04:00
Joe R
55c00ddda3
Brazilian Portuguese translation (provided by Álvaro Moret, Matheus Knack, and Vanderson Faria of Universidade Federal do Espírito Santo).
2023-02-11 13:07:54 -05:00
Juhani Numminen
076ee8d11a
Run unittests via a single TAP test
...
Enable standard unittest discovery by creating __init__.py files
and renaming test modules to test*.py.
2021-07-07 18:13:34 +03:00
Shlomi Fish
622d881a34
Add French translation ( by Eric / Neelix57 )
...
Thanks, Eric!
2020-09-07 17:20:38 +03:00
Shlomi Fish
b250a567ae
avoid leftover py2 test files.
2019-12-29 11:13:52 +02:00
Juhani Numminen
65b86f2d1d
Improve internationalization
...
- More strings marked for translation
- Used format strings instead of concatinating fragments
- Removed space before '?' or '!' from sentences in English
Following the GNU gettext guidelines at
https://www.gnu.org/software/gettext/manual/gettext.html#Preparing-Strings
2019-08-31 13:22:21 +03:00
Shlomi Fish
b5224318ae
Fix the website build.
...
See https://github.com/shlomif/pysolfc-website/ - do not remove.
2019-08-16 15:42:49 +03:00
Shlomi Fish
cbae7ebbf5
gnumakefile cleanup.
2019-08-16 15:29:09 +03:00
Juhani Numminen
52eeb40942
Makefile: On Windows, use ; as path separator instead of :
2019-07-19 01:38:40 +03:00
Juhani Numminen
acbf11de31
Remove extraneous plurals from po/de*, add msgfmt checks
2019-07-19 01:38:40 +03:00
Juhani Numminen
45f8c312a4
Simplify po/pysol.pot generation
2019-07-19 01:38:40 +03:00
Juhani Numminen
81432ef353
Split de.po into de_pysol.po and de_games.po
...
All the other languages are that way.
2019-07-19 01:38:39 +03:00
Juhani Numminen
1b89ae2346
Improve Makefile
...
The PYTHONPATH is now set centrally, except for the tests.
Environment for the tests is prepared using target-specific variables.
https://www.gnu.org/software/make/manual/make.html#Target_002dspecific
To ensure exiting on command failure, "set -e" is added before loops,
and otherwise ";" is replaced with "&&" between commands.
https://www.debian.org/doc/debian-policy/ch-source.html#error-trapping-in-makefiles
"mkdir -p" does not need an existence test beforehand.
Changed all python invocations to python3.
LANG and PYSOL_DEBUG were never exported so they probably had no effect.
Removed for simplicity.
2019-07-19 01:38:39 +03:00
Juhani Numminen
0b5698dff0
Generate all_games.html in the data/html directory
2019-07-19 01:38:39 +03:00
Juhani Numminen
63c6aa5816
Don't duplicate locales, e.g. de -> de_DE
...
The duplication seems to be unnecessary. Setting environment variable
LANG=it_CH gives Italian as PySolFC language, even if we didn't explicitly
create 'it_CH'.
2019-07-14 14:02:43 +03:00
Shlomi Fish
2d60bdf726
travis / py3 fix - str.replace.
2019-05-05 21:16:07 +03:00
Shlomi Fish
f8e2e88e04
append rather than completely overwrite
2019-02-14 18:01:05 +02:00
Shlomi Fish
5f2cc55655
Add a bare option to reduce html boilerplate.
...
For including in the site.
2018-09-06 10:28:36 +03:00
Shlomi Fish
0a05c3c9cf
Speedup the test suite by tidyall caching.
...
Of flake8. TODO: put on CPAN.
2018-05-08 00:28:58 +03:00
Shlomi Fish
2f114469b5
add py2 tests
2018-05-01 17:52:17 +03:00
Shlomi Fish
7860f47363
generate some duplicate code.
2018-05-01 17:28:02 +03:00
Shlomi Fish
56258d54d5
Fix indentation.
2018-03-30 22:54:06 +03:00
Shlomi Fish
24a927311c
Rename to a more appropriate dir.
2018-03-13 16:38:31 +02:00
Shlomi Fish
680c177ca4
Convert to xztar.
2018-03-05 05:18:44 +02:00
lb@lb520
b5ef9b6214
Added an alternate toolkit kivy (based on SDL2) that can be used instead of tk.
...
Added scripts to build an android app.
2018-03-03 20:37:56 +02:00
Shlomi Fish
f103cbdcf2
pre prerelease fixes.
...
Got make rpm to work again.
2017-11-15 23:27:03 +02:00
Shlomi Fish
0414047586
flake8 .
2017-04-19 12:03:45 +03:00
Shlomi Fish
ad063a89eb
Add an "all" target to avoid running 'make install
2016-11-09 16:07:53 +02:00
Shlomi Fish
69e1dd75bc
Convert test to prove instead of runprove.
...
runprove/Test::Run is an unnecessary dep.
2016-02-13 20:25:04 +02:00
Shlomi Fish
4da89ccc8c
Get rid of trailing space.
2013-05-22 12:57:18 +03:00
Shlomi Fish
add08a72cc
Add the ms_deals1.py test.
...
It was in large part copied and pasted from fc-solve's
make_pysol_freecell_board.py and from other sources, so there may be a
lot of ugliness due to me (= Shlomi Fish). But I'm using it to bootstrap
the change in the ms_deals.
2012-12-12 19:49:20 +02:00
Shlomi Fish
52cdff574b
Test more.
2012-11-25 17:39:53 +02:00
Shlomi Fish
95fd883817
Generating the importing modules tests.
2012-11-25 16:53:43 +02:00
Shlomi Fish
424c758815
Add the first individually-importing test.
2012-11-25 16:33:46 +02:00
skomoroh
cbd51240c5
added settings for offsets of cards; bugfixes
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@277 efabe8c0-fbe8-4139-b769-b5e6d273206e
2012-06-05 18:37:12 +00:00
skomoroh
fd50923635
added pl translation
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@262 efabe8c0-fbe8-4139-b769-b5e6d273206e
2010-12-18 20:26:51 +00:00
skomoroh
5a86047800
added de translation
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@260 efabe8c0-fbe8-4139-b769-b5e6d273206e
2010-12-16 16:52:34 +00:00
skomoroh
f704ddd02b
+ added ngettext support
...
* updated russian translation
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@164 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-11 21:58:22 +00:00
brianl
8d16b1861d
* moved html-src to top level
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@113 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-13 03:14:20 +00:00
skomoroh
6178cddeae
+ improved Tile bindings, added theme selection in options-menu
...
- removed `--theme' command-line option, removed settings.TILE_THEME
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@98 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-15 22:13:08 +00:00
skomoroh
1b1a5e31e2
* accelerated game registration
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@90 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-08 23:28:56 +00:00
skomoroh
473b1f7004
- removed pysollib/version.py; moved VERSION* constants to pysollib/settings.py
...
+ added data-files (images and glade-files)
* GTK bindings: fonts-dialog
* GTK bindings: fixed bug with lost connections
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@55 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-22 21:09:21 +00:00
skomoroh
2632de3eab
+ 3 new games
...
* move poker.py to pysollib/games/special
* improved menubar
* updated translation
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@42 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-09 22:03:46 +00:00
skomoroh
ebf1cf6bbc
- added check of os.environ['LANG']
...
- fixed `win32_gethomedir'
- minor changes of widgets style
- other minor fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@5 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-09 22:39:18 +00:00
skomoroh
00e73d252b
- fixed game `Jane'
...
- added game `Granada'
- added support accel-keys for buttons of dialogs
- changed widget's styles
- updated russian translation
- updated GAMES_BY_PYSOL_VERSION (gamedb.py)
- other minor fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@4 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-08 01:35:18 +00:00
skomoroh
c037bf7827
- corrected rules of Whitehead
...
- added files to svn:ignore
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@3 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-05-29 00:10:22 +00:00
skomoroh
df80ec1047
Initial import.
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@1 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-05-26 21:25:18 +00:00