text menu items are Shift when the translated string is long.
Posted: 2019-10-16, 13:43 UTC
I discovered this error when I tried to edit an existing translation (WCMD_EN.LNG file).
Sometimes the full translation may not be completely understandable and it may be useful to know the English original, which I tried to add.
I modified the strings 1579 and 1580.
Although the change was syntactically correct, the contents of the displayed menu were incorrect.
Some chains were completely different than I expected. As if they were used in another part.
This extra shift can also cause one extra embedded character.
It seems that the reason is the length of the translated string.
OK for:
After adding one character, the menu items have been shifted by one text:
After adding more characters to the translation, the menu items have been shifted by several texts:
See screenshots: https://photos.app.goo.gl/rvjCUnS8nNht6d2s5
Regards,
Petr
Sometimes the full translation may not be completely understandable and it may be useful to know the English original, which I tried to add.
I modified the strings 1579 and 1580.
Although the change was syntactically correct, the contents of the displayed menu were incorrect.
Some chains were completely different than I expected. As if they were used in another part.
This extra shift can also cause one extra embedded character.
It seems that the reason is the length of the translated string.
OK for:
Code: Select all
1579="Celý název|Název|Přípona|comment (komentář)|Velikost|creationdate (vytvoření)|creationtime (vytvoření)|writedate (úprava)|writetime (úprava)|accessdate (přístup)|accesstime (pří)|Atributy číselnou hodnotou|Atributy písmeny|Archivovat|Jen pro čtení|Skrytý|Systémový"
1580="compressed (komprimovaný)|encrypted (šifrovaný)|sparse (zřídka)|Označení verze|Číslo verze|Typ souboru|bajty|kilobajty|megabajty|gigabajty|Datový soubor|Složka|Bod změny zpracování|Název v systému DOS|Cesta|Složka (atribut)|Offline"
Code: Select all
1579="Celý název|Název|Přípona|comment (komentář)|Velikost|creationdate (vytvoření)|creationtime (vytvoření)|writedate (úprava)|writetime (úprava)|accessdate (přístup)|accesstime (přís)|Atributy číselnou hodnotou|Atributy písmeny|Archivovat|Jen pro čtení|Skrytý|Systémový"
1580="compressed (komprimovaný)|encrypted (šifrovaný)|sparse (zřídka)|Označení verze|Číslo verze|Typ souboru|bajty|kilobajty|megabajty|gigabajty|Datový soubor|Složka|Bod změny zpracování|Název v systému DOS|Cesta|Složka (atribut)|Offline"
Code: Select all
1579="Celý název|Název|Přípona|comment (komentář)|Velikost|creationdate (datum vytvoření)|creationtime (čas vytvoření)|writedate (datum poslední úpravy)|writetime (čas poslední úprav)|accessdate (datum posledního přístupu)|accesstime (čas posledního přístupu)|Atributy číselnou hodnotou|Atributy písmeny|Archivovat|Jen pro čtení|Skrytý|Systémový"
1580="compressed (komprimovaný)|encrypted (šifrovaný)|sparse (zřídka)|Označení verze|Číslo verze|Typ souboru|bajty|kilobajty|megabajty|gigabajty|Datový soubor|Složka|Bod změny zpracování|Název v systému DOS|Cesta|Složka (atribut)|Offline"
Regards,
Petr