Commit Graph

5357 Commits

Author SHA1 Message Date
Mika Bostrom
a75ba5a288 Return "hard" NA for missing/incalculable stats
It makes very little sense to do a format string for nothing but zeroes
in case of unknown values. Simply return a set of 'NA' strings in place
of usual stats. This makes the error cases consistent throughout
Stats.py
2010-08-29 20:00:06 +02:00
Mika Bostrom
8265d9fc6e Remove trailing percent symbols from HUD values
The values that are displayed in the HUD box included the '%' symbol if
these values were percentages. This clutters the HUD for those who don't
need such extra characters.

This patch removes the trailing '%' from result[1]. The default
formatting for HUD values is '%3.1f' and if decimal places need to be
changed, the code for those is now simpler. A user who wishes to show a
percent symbol after any given stat value, can edit HUD_config.xml and
assign such stats the hudsuffix="%" attribute.

This patch also changes the way the tooltip strings are constructed.
Instead of appending the percent symbol to generated string, the '%' is
now generated in place by the format-string stanza '%%'.
2010-08-29 19:59:58 +02:00
Mika Bostrom
f27396ea12 Generalise .po file updates
This should catch all future translations too
2010-08-29 20:18:01 +03:00
steffen123
14ea4714b9 l10n: rename template po file to .pot, merge scripts 2010-08-29 19:17:13 +02:00
steffen123
168b114646 l10n: some minor string changes 2010-08-29 19:12:48 +02:00
steffen123
2ff55401ca gentoo: update ebuilds with sunrise suggestions (only testing done fully) 2010-08-29 18:25:41 +02:00
steffen123
71bda38c5e gentoo: update manifest, removing trailing whitespaces 2010-08-29 17:51:05 +02:00
steffen123
a9e06b9cf4 gentoo: update changelog 2010-08-29 17:43:52 +02:00
steffen123
8a4e33c14c gentoo: back to split ebuilds as recommended by sunrise on IRC 2010-08-29 17:37:21 +02:00
Erki Ferenc
909b47cdbb ebuild: added LINGUAS_DE, removed LINGUAS_IT, cleaned up checks 2010-08-29 17:03:49 +02:00
steffen123
c6a9baa31f gentoo: fix bash errors and repoman complaints 2010-08-29 15:37:26 +02:00
steffen123
4c55295f08 gentoo: add combined ebuild 2010-08-29 15:19:04 +02:00
steffen123
641b863cbf l10n: update mo files 2010-08-29 14:37:29 +02:00
steffen123
86f90cd310 Merge branch 'ferki' 2010-08-29 14:37:04 +02:00
steffen123
59c1e9ed5c Merge branch 'sqlcoder' 2010-08-29 14:33:57 +02:00
steffen123
4c2941cdaa Merge branch 'carl' 2010-08-29 14:30:25 +02:00
steffen123
461c9fa268 Merge branch 'nuto' 2010-08-29 14:29:28 +02:00
steffen123
bbf8219465 Merge branch 'mika' 2010-08-29 14:26:56 +02:00
Erki Ferenc
a81dd66f22 l10n: updated Hungarian translation 2010-08-29 14:26:38 +02:00
steffen123
693dfb4e19 update GUI version string to 0.20.906 plus git 2010-08-29 14:25:44 +02:00
steffen123
219180822f l10n: improve create script, update PO files, some german translation 2010-08-29 14:24:04 +02:00
steffen123
ee20cbbcc1 some small GUI string improvements 2010-08-29 14:21:49 +02:00
sqlcoder
bf8b826bbc copy any missing parts of config from .example 2010-08-29 12:46:22 +01:00
sqlcoder
8f91adc513 add log definition 2010-08-29 12:39:54 +01:00
Worros
93be69858a Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-08-29 14:05:06 +08:00
sqlcoder
536adad477 merge from Steffen/Carl 2010-08-29 00:05:22 +01:00
sqlcoder
6e3953e774 add hand ID to warning message 2010-08-28 23:57:04 +01:00
sqlcoder
593006318a more refinements to OnGame parser 2010-08-28 23:49:37 +01:00
steffen123
ff2a9fcc5a move gettext import to the right place in GuiGraphViewer 2010-08-28 22:49:59 +02:00
sqlcoder
01c7e37bae implement Add button in Database dialog (sqlite only) 2010-08-28 18:11:35 +01:00
Gerko de Roo
f5fd58a554 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-08-28 18:18:44 +02:00
Gerko de Roo
0716b866a5 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-08-28 18:16:04 +02:00
Gerko de Roo
62892c80dc Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-08-28 18:14:41 +02:00
Eratosthenes
ad3c6516cd PartyPokerToFpdb: Try again to fix STT HUD. 2010-08-28 09:25:41 -04:00
Erki Ferenc
861edf954e l10n: updated Hungarian translation
This includes
1. a fix for a missing %s in a translated string which makes HUD failing to start when Hungarian locale is active
2. another potential string formatting mistake
3. various minor fixes, mainly typos
2010-08-28 12:58:17 +02:00
Worros
42497bf27a THP: Fix parser name call chain
Also comment out Party for the moment, as there is a hh file that crashes the parser
2010-08-28 17:20:50 +08:00
Worros
3eb4f057bc THP: Add 'support' for other sites 2010-08-28 16:43:05 +08:00
Eratosthenes
004dd80fc2 PartyPokerToFpdb: Allow HUD to find STTs. 2010-08-27 10:53:33 -04:00
Mika Bostrom
bd842f9b1b Merge branch 'master' into hudstatview 2010-08-27 12:34:36 +03:00
Worros
d6145d9d96 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2010-08-27 14:46:58 +08:00
Worros
de9c0d9ba6 Stars: Minor refactor to readHandInfo
Make the readHandInfo function throw an exception if either of the regexes used fails to match
2010-08-27 14:44:19 +08:00
Mika Bostrom
d44b9494fb py2exe script moved to packaging/windows 2010-08-27 09:11:50 +03:00
Mika Bostrom
7acc8e1135 Update changelog for snapshot 2010-08-27 08:27:16 +03:00
Mika Bostrom
c7ee9269be Merge branch 'steffen' 2010-08-27 08:25:59 +03:00
Eratosthenes
6b978b8290 Remove obsolete and unused Tables.py. 2010-08-27 11:14:36 +08:00
Eratosthenes
f5db60f23b Get rid of obsolete import of obsolete Tables.py. 2010-08-27 11:14:22 +08:00
Eratosthenes
bbb21b4b4d FulltiltToFpdb: Throw exception when HandInfo reg ex doesn't match. 2010-08-27 11:14:02 +08:00
Eratosthenes
eef5fd28e8 FulltiltToFpdb: Throw exception when HandInfo reg ex doesn't match. 2010-08-26 22:52:16 -04:00
Eratosthenes
96d1ffe4fa Remove obsolete and unused Tables.py. 2010-08-26 22:48:06 -04:00
Eratosthenes
c664dfbbe3 Get rid of obsolete import of obsolete Tables.py. 2010-08-26 22:47:30 -04:00