Commit Graph

122 Commits (2d34e34a8b1192db1177c54d15d01250c89a0ad0)

Author SHA1 Message Date
frosch 4507eec9b7 (svn r24516) -Add: [GS] Support ##plural pragma in GS lang files. 12 years ago
frosch b54a165cd8 (svn r24400) -Add: Plural 'names' to the output of strgen -export-plurals. 12 years ago
rubidium 8123f2929f (svn r23853) -Fix: several incorrect @files 13 years ago
frosch 624f916468 (svn r23805) -Add: {STRING6} and {STRING7}. 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium 0cfe86cead (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
rubidium 7c5545dd3b (svn r23587) -Fix-ish: MSVC warnings in case strgen would be in the main project file 13 years ago
rubidium 0331d3763e (svn r23585) -Codechange: replace some magic numbers with less magic constants 13 years ago
rubidium 67c9d930f2 (svn r23576) -Codechange: split the base of strgen with the strgen code that creates the actual .lng files 13 years ago
rubidium 6dc2b3b86a (svn r23575) -Codechange: split class definition and implementation of base strgen classes 13 years ago
rubidium 5b08ac282d (svn r23574) -Codechange/Feature-ish: allow converting multiple translations with the same master language instance in a single strgen run 13 years ago
rubidium b0ed768304 (svn r23573) -Fix (r23571): MSVC doesn't like variable array sizes 13 years ago
rubidium 446f2f5147 (svn r23572) -Codechange: split actual file reading from logic for parsing 13 years ago
rubidium 14c8a3d2b1 (svn r23571) -Codechange: make the number of 'tabs' the generate configurable 13 years ago
rubidium fe797565cd (svn r23570) -Codechange: move version generation code to StringData 13 years ago
rubidium 218fd5ce5d (svn r23569) -Codechange: put more logic in some of the strgen structs, e.g. allocating and freeing its memory, and don't use a global variable for the string data 13 years ago
rubidium b1565835a3 (svn r23568) -Codechange: only allocate the buffer for writing when it is really needed 13 years ago
rubidium 786841953b (svn r23567) -Codechange: use SmallVector for the buffer in strgen 13 years ago
rubidium b2d9a20cca (svn r23566) -Fix (r23565): hopefully fix MSVC compilation error 13 years ago
rubidium 1ab40412d6 (svn r23565) -Codechange: create some classes for writing language header and translation files 13 years ago
rubidium 57913ed07c (svn r23563) -Cleanup: remove useless global variable from strgen; it would always be false at the point it would be read 13 years ago
rubidium c591589818 (svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent 13 years ago
rubidium 54c1616cba (svn r22806) -Codechange: store the number of untranslated strings in the language file 13 years ago
alberth 9222a30173 (svn r22145) -Codechange: Do explicit test for non-bool values. 14 years ago
alberth e36c5b649e (svn r22102) -Codechange: Also use the getopt function in strgen. 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium de1699ccac (svn r21474) -Fix: some MSVC code analysis warnings in strgen 14 years ago
yexo 8066998238 (svn r21445) -Fix: [NewGRF] fix gender choice lists in newgrf strings.
Change: strgen no longer writes the type of a string for a gender choice list
14 years ago
yexo 68f61fbdb0 (svn r21348) -Fix (r21346): some compilers complain about int-uint comparisons 14 years ago
yexo f464afa522 (svn r21347) -Cleanup: remove an unused feature from strgen and remove some ifs where we already know the result 14 years ago
yexo a90f8114dd (svn r21346) -Fix (r2592): buffer overflow in strgen for strings with very large arguments 14 years ago
rubidium e889a93129 (svn r21260) -Codechange: make strgen more stringent w.r.t. the allowed characters in strings 14 years ago
rubidium 5e2c20250a (svn r21215) -Codechange: store the plural form in the plural (choice) lists 14 years ago
rubidium 0b142b2709 (svn r21203) -Codechange: make the maximum plural count available to the rest of OpenTTD as well 14 years ago
rubidium ce1e4a3448 (svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well 14 years ago
rubidium 0020e74533 (svn r21160) -Codechange: reuse the strgen LanguageHeader to store some metadata about a language, and keep the language metadata in memory instead of loading it several times from disk 14 years ago
rubidium 60c29acdae (svn r21134) -Change: perform some more stringent validity checking on the language files 14 years ago
rubidium b050aaa42c (svn r21132) -Codechange: unify the language file version/validity checking 14 years ago
rubidium fb71ee974d (svn r21127) -Codechange: change the max gender constant's name's style to the style used by the max case constant's name 14 years ago
rubidium 09a1d006ba (svn r21115) -Codechange: make it more clear that genders and cases in the base translation are not supported 14 years ago
rubidium 8401322c3e (svn r21113) -Codechange: remove the amount of places where the language pack identifier magic value is 14 years ago
rubidium b75f513a1f (svn r21112) -Codechange: reduce the amount (of copying) variables 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium adfacd44ab (svn r19867) -Change: use non-breaking spaces for currency pre-/postfixes. 14 years ago
rubidium f1e3a88257 (svn r19811) -Codechange: make the last bits from table/strings.h use static consts too instead of an unnamed enum 14 years ago
smatz 258b128a56 (svn r19614) -Codechange: "it's" => "its" where appropriate 14 years ago
rubidium 43cc8f3a23 (svn r19264) -Fix (r19179): strgen segfaults when trying to lookup the command for a non-existing command 15 years ago
rubidium 146d521377 (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. 15 years ago