1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-08 23:36:33 +02:00

11 Commits

Author SHA1 Message Date
Ivan Savenko
860f65ea62
Merge branch 'develop' into fix_map_sorting 2025-03-16 19:19:27 +02:00
MichalZr6
5363424451 Small fixes to search mapobject feature:
- Trim overly long names to prevent incorrect item display
- Use getLocaleName() for proper locale-aware to_lower conversion
- Implement scoring-based sorting for better search match ranking
- Remove Boost dependency: replace with std::string::find() and rfind()
2025-03-11 23:22:04 +01:00
MichalZr6
e993c2aed0 Use locale based on language set in config 2025-03-11 23:21:12 +01:00
heroesiiifan
daacb73866
romanian plural 2025-03-09 20:38:30 +01:00
heroesiiifan
0424c8ad9c
fix 2025-03-08 20:15:10 +01:00
heroesiiifan
c49039a3f7
add romanian and bulgarian 2025-03-08 20:10:33 +01:00
heroesiiifan
d6467f26d7
make new languages selectable only with config file 2025-02-26 17:14:06 +01:00
heroesiiifan
68b3421d5d
add greek, japanese, norwegian; harmonize 2025-02-25 22:54:19 +01:00
Laserlicht
a8709731c4 unify time (without seconds) 2024-12-02 20:37:51 +01:00
Joakim Thorén
db93f776c6 Fix MinGW date formatting error, see https://sourceforge.net/p/mingw-w64/bugs/793/. Workaround is to replace %F with %Y-%m-%d and %T with %H:%M:%S, should produce the same output as before per https://en.cppreference.com/w/cpp/io/manip/put_time 2024-11-17 00:02:13 +01:00
Ivan Savenko
1aa391fdf8 Split CGeneralTextHandler file into 1 file per class form
All text processing code is now located in lib/texts.
No changes other than code being moved around and adjustment of includes

Moved without changes:
Languages.h           -> texts/Languages.h
MetaString.*          -> texts/MetaString.*
TextOperations.*      -> texts/TextOperations.*

Split into parts:
CGeneralTextHandler.* -> texts/CGeneralTextHandler.*
                      -> texts/CLegacyConfigParser.*
                      -> texts/TextLocalizationContainer.*
                      -> texts/TextIdentifier.h
2024-07-20 12:55:17 +00:00