diff options
author | frosch <frosch@openttd.org> | 2012-07-14 14:21:25 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-07-14 14:21:25 +0000 |
commit | 17dcc7a899b8872b931b8a64b8a78e6450fbf527 (patch) | |
tree | 1f48a79874c4fdf214c0d607c4f86024e869e973 /src/strgen | |
parent | c6a73ed0d5c562e1f2c309a93c75376fb9a96d4c (diff) | |
download | openttd-17dcc7a899b8872b931b8a64b8a78e6450fbf527.tar.xz |
(svn r24400) -Add: Plural 'names' to the output of strgen -export-plurals.
Diffstat (limited to 'src/strgen')
-rw-r--r-- | src/strgen/strgen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp index a905a599b..84e791677 100644 --- a/src/strgen/strgen.cpp +++ b/src/strgen/strgen.cpp @@ -463,9 +463,9 @@ int CDECL main(int argc, char *argv[]) return 0; case 'L': - printf("count\tdescription\n"); + printf("count\tdescription\tnames\n"); for (const PluralForm *pf = _plural_forms; pf < endof(_plural_forms); pf++) { - printf("%i\t\"%s\"\n", pf->plural_count, pf->description); + printf("%i\t\"%s\"\t%s\n", pf->plural_count, pf->description, pf->names); } return 0; |