rubidium
9d29c54b03
(svn r19867) -Change: use non-breaking spaces for currency pre-/postfixes.
2010-05-20 15:36:44 +00:00
rubidium
793b0f0736
(svn r19811) -Codechange: make the last bits from table/strings.h use static consts too instead of an unnamed enum
2010-05-13 09:12:52 +00:00
smatz
0ef33548c2
(svn r19614) -Codechange: "it's" => "its" where appropriate
2010-04-12 14:12:47 +00:00
rubidium
eb220617d5
(svn r19264) -Fix (r19179): strgen segfaults when trying to lookup the command for a non-existing command
2010-02-26 10:03:33 +00:00
rubidium
2a65f9e4d0
(svn r19180) -Add/Fix: (partial) support for genders for cargos, industries, vehicles, stations, ...; partial because you can't set a gender for a custom string.
2010-02-20 23:42:11 +00:00
rubidium
44f2ef179d
(svn r19179) -Codechange: make strgen do some checking on whether genders are valid for a command (e.g. we don't have genders for numbers)
2010-02-20 23:02:03 +00:00
rubidium
f6dfce6d59
(svn r19114) -Change: [strgen] Modify the outputted format for MSVC builds of strgen so it also shows fatal errors in the 'error list' and it also counts them. (Fatal) errors are marked as warnings so a failing language file is not causing the complete compilation to fail.
2010-02-12 23:47:50 +00:00
rubidium
b1cce3f70f
(svn r19113) -Change: [strgen] Remove the partially generated language file if compilation fails.
2010-02-12 23:45:25 +00:00
rubidium
92c75f9092
(svn r18727) -Fix [FS#3480]: some invalid gender/plural indices in strings, which could eventually cause crashes.
2010-01-04 21:58:47 +00:00
rubidium
4d575c0226
(svn r18444) -Feature: allow G and P to 'select' substrings of STRINGn for getting their gender
2009-12-09 11:41:27 +00:00
frosch
bf0b72ae9e
(svn r18329) -Remove: [strgen] Support for {SETX} and {SETXY}. Let it rest in peace as NewGRF relict.
2009-11-28 20:27:42 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
smatz
c5533ae470
(svn r17168) -Codechange: apply coding style to if and while statements
2009-08-14 17:11:59 +00:00
smatz
a29bbb1e1f
(svn r17157) -Add: localised decimal separator
2009-08-12 01:28:11 +00:00
rubidium
ed9c01e8b0
(svn r17137) -Fix (r17129): strgen complained a lot about english.txt compiled with MSVC.
2009-08-09 19:06:05 +00:00
rubidium
0d1b35a400
(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
ee2b7de8f4
(svn r17095) -Codechange: make ParseStringChoice a bit safer
2009-08-06 20:21:53 +00:00
smatz
4f0e62deb6
(svn r16627) -Fix: warning about comparing signed and unsigned types
2009-06-22 22:04:48 +00:00
rubidium
d5ff6c7423
(svn r16625) -Fix: unsigned vs signed warning in strgen
2009-06-22 20:35:14 +00:00
rubidium
cdc0c092f1
(svn r16591) -Codechange: some coding style in strgen
2009-06-18 11:17:55 +00:00
rubidium
fa1dcd4194
(svn r16577) -Fix: signed/unsigned comparison
2009-06-14 17:02:09 +00:00
rubidium
28e6b46a41
(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
f5316c5cbd
(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
a36ab04d5d
(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
ff05dc8446
(svn r16129) -Feature-ish: configurable digit group separator per language with user override.
2009-04-23 21:05:00 +00:00
rubidium
1f25d9126f
(svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typo
2009-04-23 14:06:57 +00:00
rubidium
85ca163be2
(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
d56d462eca
(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
bee930f9b3
(svn r16024) -Codechange: harden string copying on places where it's possible
2009-04-10 20:37:05 +00:00
smatz
1eeb1d6cee
(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
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
2009-03-15 00:32:18 +00:00
rubidium
eb0d43aadd
(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
0a673d870b
(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
b1a33a494f
(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings.
2009-01-16 12:59:47 +00:00
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
2009-01-10 00:31:47 +00:00
rubidium
aff7feb767
(svn r14791) -Add: the ability to make ISO dates with the string system (PhilSophus)
2009-01-03 00:56:16 +00:00
rubidium
395cb45039
(svn r14697) -Fix: some int vs unsigned int comparisons in strgen.
2008-12-19 23:24:42 +00:00
rubidium
fea78fbfbb
(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
6878b181c7
(svn r14617) -Change: unduplicate the languagepack(header).
2008-11-24 11:20:07 +00:00
skidd13
706dd0f86c
(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
c03e55b32a
(svn r14554) -Fix: languages using longer gender names than strgen supports.
2008-11-02 11:15:26 +00:00
rubidium
65404674a4
(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
c9a82ac3e7
(svn r14423) -Codechange: also do r14221 for the strings.
2008-09-30 21:18:28 +00:00
frosch
d43a475650
(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
ab234cf90c
(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
d03994098b
(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
f32ecbcadb
(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
9d8fa486af
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
2008-04-18 04:37:06 +00:00
smatz
110584808d
(svn r12557) -Cleanup: use MAX_PATH at two more places
2008-04-04 00:06:51 +00:00