summaryrefslogtreecommitdiff
path: root/src/strgen/strgen.cpp
AgeCommit message (Collapse)Author
2010-05-20(svn r19867) -Change: use non-breaking spaces for currency pre-/postfixes.rubidium
2010-05-13(svn r19811) -Codechange: make the last bits from table/strings.h use static ↵rubidium
consts too instead of an unnamed enum
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-02-26(svn r19264) -Fix (r19179): strgen segfaults when trying to lookup the ↵rubidium
command for a non-existing command
2010-02-20(svn r19180) -Add/Fix: (partial) support for genders for cargos, industries, ↵rubidium
vehicles, stations, ...; partial because you can't set a gender for a custom string.
2010-02-20(svn r19179) -Codechange: make strgen do some checking on whether genders ↵rubidium
are valid for a command (e.g. we don't have genders for numbers)
2010-02-12(svn r19114) -Change: [strgen] Modify the outputted format for MSVC builds ↵rubidium
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(svn r19113) -Change: [strgen] Remove the partially generated language file ↵rubidium
if compilation fails.
2010-01-04(svn r18727) -Fix [FS#3480]: some invalid gender/plural indices in strings, ↵rubidium
which could eventually cause crashes.
2009-12-09(svn r18444) -Feature: allow G and P to 'select' substrings of STRINGn for ↵rubidium
getting their gender
2009-11-28(svn r18329) -Remove: [strgen] Support for {SETX} and {SETXY}. Let it rest ↵frosch
in peace as NewGRF relict.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-14(svn r17168) -Codechange: apply coding style to if and while statementssmatz
2009-08-12(svn r17157) -Add: localised decimal separatorsmatz
2009-08-09(svn r17137) -Fix (r17129): strgen complained a lot about english.txt ↵rubidium
compiled with MSVC.
2009-08-09(svn r17129) -Codechange: also let strgen warn if the translation uses ↵rubidium
STRINGn or RAW_STRING instead of STRING.
2009-08-06(svn r17095) -Codechange: make ParseStringChoice a bit saferrubidium
2009-06-22(svn r16627) -Fix: warning about comparing signed and unsigned typessmatz
2009-06-22(svn r16625) -Fix: unsigned vs signed warning in strgenrubidium
2009-06-18(svn r16591) -Codechange: some coding style in strgenrubidium
2009-06-14(svn r16577) -Fix: signed/unsigned comparisonrubidium
2009-06-14(svn r16576) -Fix: show the line of the translation file that has the fault ↵rubidium
and not the line of the string in english.txt.
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-04-25(svn r16145) -Add: '-export-pragmas' to strgen so external tools can ↵rubidium
(hopefully) automatically be updated to support new pragmas
2009-04-23(svn r16129) -Feature-ish: configurable digit group separator per language ↵rubidium
with user override.
2009-04-23(svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typorubidium
2009-04-23(svn r16122) -Change: add more misc information about the behaviour of ↵rubidium
commands to strgen's -export-commands.
2009-04-21(svn r16115) -Change: make strgen able to 'export' the important command and ↵rubidium
plural information so external tools can easily get that information instead of needing manual updating
2009-04-10(svn r16024) -Codechange: harden string copying on places where it's possiblerubidium
2009-04-07(svn r15965) -Change: use recent Czech language for plural form (it has been ↵smatz
official for years anyway)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-13(svn r15696) -Codechange: move the NewGRF language ID into the language file ↵rubidium
instead of maintaining a table in the code.
2009-02-12(svn r15456) -Fix(ish): add strgen support to add 'directional formatting ↵rubidium
codes', so one can guide the bidirectional rendering a bit better.
2009-01-16(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes ↵rubidium
strings.
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-03(svn r14791) -Add: the ability to make ISO dates with the string system ↵rubidium
(PhilSophus)
2008-12-19(svn r14697) -Fix: some int vs unsigned int comparisons in strgen.rubidium
2008-11-24(svn r14618) -Feature: when the chosen language isn't supported by the ↵rubidium
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(svn r14617) -Change: unduplicate the languagepack(header).rubidium
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
2008-11-02(svn r14554) -Fix: languages using longer gender names than strgen supports.rubidium
2008-10-17(svn r14480) -Add: warning when trying to use a right-to-left language ↵rubidium
without support for it in OpenTTD.
2008-09-30(svn r14423) -Codechange: also do r14221 for the strings.rubidium
2008-08-20(svn r14111) -Fix (r2572): [strgen] Changing order of parameters {X:...} did ↵frosch
not work for strings including some {StringY}.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
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-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-18(svn r12777) -Codechange: rename fatal() and error() in strgen, so it can ↵smatz
always have the NORETURN attribute
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-04(svn r12557) -Cleanup: use MAX_PATH at two more placessmatz