Commit Graph

62 Commits

Author SHA1 Message Date
rubidium
02d2afcb19 (svn r17137) -Fix (r17129): strgen complained a lot about english.txt compiled with MSVC. 2009-08-09 19:06:05 +00:00
rubidium
a8b8dd1c08 (svn r17129) -Codechange: also let strgen warn if the translation uses STRINGn or RAW_STRING instead of STRING. 2009-08-09 10:20:09 +00:00
rubidium
01cca46dcc (svn r17095) -Codechange: make ParseStringChoice a bit safer 2009-08-06 20:21:53 +00:00
smatz
368eb3d473 (svn r16627) -Fix: warning about comparing signed and unsigned types 2009-06-22 22:04:48 +00:00
rubidium
4b60c03e60 (svn r16625) -Fix: unsigned vs signed warning in strgen 2009-06-22 20:35:14 +00:00
rubidium
6d70d935a9 (svn r16591) -Codechange: some coding style in strgen 2009-06-18 11:17:55 +00:00
rubidium
af4992ec14 (svn r16577) -Fix: signed/unsigned comparison 2009-06-14 17:02:09 +00:00
rubidium
714acd5c74 (svn r16576) -Fix: show the line of the translation file that has the fault and not the line of the string in english.txt. 2009-06-14 17:01:12 +00:00
smatz
ce7dff4acc (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-05-10 17:27:25 +00:00
rubidium
3c6ad988fb (svn r16145) -Add: '-export-pragmas' to strgen so external tools can (hopefully) automatically be updated to support new pragmas 2009-04-25 21:09:42 +00:00
rubidium
ca04dc1916 (svn r16129) -Feature-ish: configurable digit group separator per language with user override. 2009-04-23 21:05:00 +00:00
rubidium
79df89e5ec (svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo 2009-04-23 14:06:57 +00:00
rubidium
f4c8c459ca (svn r16122) -Change: add more misc information about the behaviour of commands to strgen's -export-commands. 2009-04-23 13:32:13 +00:00
rubidium
26b0f71a97 (svn r16115) -Change: make strgen able to 'export' the important command and plural information so external tools can easily get that information instead of needing manual updating 2009-04-21 21:34:26 +00:00
rubidium
11e2ca71e6 (svn r16024) -Codechange: harden string copying on places where it's possible 2009-04-10 20:37:05 +00:00
smatz
402e2374a6 (svn r15965) -Change: use recent Czech language for plural form (it has been official for years anyway) 2009-04-07 00:05:44 +00:00
rubidium
c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium
f1605cf475 (svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code. 2009-03-13 00:30:26 +00:00
rubidium
a6ea606bb3 (svn r15456) -Fix(ish): add strgen support to add 'directional formatting codes', so one can guide the bidirectional rendering a bit better. 2009-02-12 10:42:22 +00:00
rubidium
eff693d2e9 (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 2009-01-16 12:59:47 +00:00
rubidium
28ea38ae55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
rubidium
761a3037c3 (svn r14791) -Add: the ability to make ISO dates with the string system (PhilSophus) 2009-01-03 00:56:16 +00:00
rubidium
fbc0e5edbe (svn r14697) -Fix: some int vs unsigned int comparisons in strgen. 2008-12-19 23:24:42 +00:00
rubidium
dccd7886a8 (svn r14618) -Feature: when the chosen language isn't supported by the current font, try to find a font that does and use that instead. Thanks to glx/michi_cc for the Windows implementation. 2008-11-24 18:53:17 +00:00
rubidium
0f6583216b (svn r14617) -Change: unduplicate the languagepack(header). 2008-11-24 11:20:07 +00:00
skidd13
9b282b3e51 (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 2008-11-02 11:20:15 +00:00
rubidium
44a774a277 (svn r14554) -Fix: languages using longer gender names than strgen supports. 2008-11-02 11:15:26 +00:00
rubidium
61546bef5c (svn r14480) -Add: warning when trying to use a right-to-left language without support for it in OpenTTD. 2008-10-17 17:42:51 +00:00
rubidium
96156a8ab1 (svn r14423) -Codechange: also do r14221 for the strings. 2008-09-30 21:18:28 +00:00
frosch
24c01374a1 (svn r14111) -Fix (r2572): [strgen] Changing order of parameters {X:...} did not work for strings including some {StringY}. 2008-08-20 19:10:42 +00:00
rubidium
5a94972c2d (svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-07-17 13:47:04 +00:00
rubidium
1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
smatz
3fe8c58257 (svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute 2008-04-18 21:33:21 +00:00
rubidium
ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 2008-04-18 04:37:06 +00:00
smatz
0cceb0cb3e (svn r12557) -Cleanup: use MAX_PATH at two more places 2008-04-04 00:06:51 +00:00
maedhros
0bf22d264a (svn r12417) -Fix: Add a new plural rule for Icelandic. 2008-03-25 17:39:02 +00:00
rubidium
90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 2008-01-13 01:21:35 +00:00
rubidium
b09d957f31 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary. 2008-01-07 14:23:25 +00:00
rubidium
d821e5e92b (svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly. 2007-12-25 14:08:56 +00:00
rubidium
00c9d3ef20 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 2007-12-25 09:48:53 +00:00
rubidium
8427b8bad2 (svn r11675) -Codechange: split the string types from the string functions. 2007-12-21 19:49:27 +00:00
skidd13
c0a2c0c23e (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 2007-11-19 21:02:30 +00:00
glx
f6907db708 (svn r11293) -Fix: newgrf defined industry news messages use TTD format for args, which is not the same as our. So we must detect those strings and pass them the right params 2007-10-18 20:35:59 +00:00
peter1138
23a46a301e (svn r10762) -Codechange: Change enum StringIDEnum { to static const StringID = for
each STR_ entry. This avoids the need for a cast to StringID in some 
places and thus better type-safety.
2007-08-03 09:08:49 +00:00
rubidium
c26b0e623d (svn r10382) -Fix (strgen): it was not possible to use --warning and --todo at the same time. 2007-06-28 22:58:59 +00:00
peter1138
76874f34bf (svn r10324) -Codechange: reference engine names by index 2007-06-25 14:46:32 +00:00
peter1138
8ee9e8bf1e (svn r10323) -Codechange: reference company name, number and player (president) name
by index
2007-06-25 13:30:38 +00:00
peter1138
97a2f5bf2a (svn r10321) -Codechange: refer to sign text by index 2007-06-25 10:40:56 +00:00
peter1138
3878c55f34 (svn r10314) -Codechange: Refer to vehicle names by index 2007-06-24 22:42:11 +00:00
rubidium
f92368109c (svn r10289) -Fix [FS#735]: {COMPANY} takes two arguments. As this was not properly accounted for the plural rule used the second argument of {COMPANY} instead of the later {COMMA}. 2007-06-22 23:41:33 +00:00