mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 18:24:41 +03:00
Write max_local to language files during sync
If your language has a bigger font, the max attribute isn't really helpful to you as a translator, so the sync feature adds a special max_local attribute which is accurate to the font size. This was already documented in advance. If used, we now also write an attribute in the root tag of strings.xml and strings_plural.xml, that looks like max_local_for="12x12". I decided to add this attribute after finding out the Excel macros would be really hard to change to only show a max_local column if it is ever used (it'd need to look ahead through the strings until it finds a string with a max, or remove the column if no string has used it), but it's also a convenience for translators.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
11b372c741
commit
17d3c756c7
@@ -68,6 +68,8 @@ unsigned char form_for_count(int n);
|
||||
void unloadtext_custom(void);
|
||||
void resettext(bool final_shutdown);
|
||||
|
||||
bool parse_max(const char* max, unsigned short* max_w, unsigned short* max_h);
|
||||
|
||||
const char* get_level_original_lang(tinyxml2::XMLHandle& hDoc);
|
||||
|
||||
bool store_roomname_translation(bool custom_level, int roomx, int roomy, const char* tra, const char* explanation);
|
||||
|
||||
Reference in New Issue
Block a user