5 Commits

Author SHA1 Message Date
Brendan Hagan c000545202 fix: merge.pl locale tool for git usage 2022-07-29 23:05:45 -04:00
Twan van Laarhoven 4ebf0c51ee Build resource file.
Generate expected_locale_keys from cmakefile
2020-04-10 14:23:54 +02:00
twanvl 893547aff2 Locale now sneakily also recognizes lines marked as #_ADD
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1101 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 18:25:47 +00:00
twanvl 9ae03bfeb0 Program to merge changes between different locale files.
This makes it easier to add new keys to the non-english locales.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1099 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 17:23:38 +00:00
twanvl 35bbf36e04 Added validator for locales based on all strings in the source code.
It checks:
 - whether all keys used by the program are in the locale
 - whether the right number of %s are used
 - if there are no extra keys in the locale that shouldn't be there
This will become very useful when translations need to be updated for new MSE versions.

There is a perl script for generating the 'expected_locale_keys' resource file.
This file contains a list of all the locale keys used.
This is a resource and not a data file because it is automatically generated from the code,
 the user has no business modifying it.

I also fixed all the locale errors I found in the process.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@613 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-08-17 21:10:48 +00:00