1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/lib/texts
Ivan Savenko 22f517686d Better handling of encoding detection for maps and campaigns
Now VCMI will use either preferred language or install language to load
maps and campaigns that are part of "core" mod, or, in other words -
placed in Maps directory of H3 data (like most of manually downloaded
maps and campaigns are)

If game data is in English, then game can safely use encoding of player-
selected language (such as Chinese) to load maps. After all, both GBK
and all Win-125X encoding are superset of ASCII, so English map will
always load up correctly.

Maps that are part of a mod still use mod language as before - it is up
to mod maker to correctly set up mod language.
2024-10-30 11:54:35 +00:00
..
CGeneralTextHandler.cpp Better integration of wog commanders translation 2024-10-26 14:21:05 +00:00
CGeneralTextHandler.h Better integration of wog commanders translation 2024-10-26 14:21:05 +00:00
CLegacyConfigParser.cpp Better handling of encoding detection for maps and campaigns 2024-10-30 11:54:35 +00:00
CLegacyConfigParser.h Fix miscellaneous issues discovered by Sonar 2024-08-12 18:26:30 +00:00
Languages.h Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
MetaString.cpp Implemented translation support for random map descriptions 2024-10-25 20:41:19 +00:00
MetaString.h Implemented translation support for random map descriptions 2024-10-25 20:41:19 +00:00
TextIdentifier.h Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
TextLocalizationContainer.cpp Added 'translate missing' command for convenience 2024-10-26 12:54:35 +00:00
TextLocalizationContainer.h Added 'translate missing' command for convenience 2024-10-26 12:54:35 +00:00
TextOperations.cpp Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
TextOperations.h Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00