Add translation keys for the "Close" and "Done" buttons
Felix14-v2 opened this issue · 7 comments
In my language, the word "Cancel" has many meanings, and the one that is currently being used does not match the situation in which the mod uses it.
The situation is similar with the "Done" (Готово) button: this variant is allowed, but only if you did not need to save changes with a separate button before clicking on it (this is exactly what appears in YACL).
Minecraft provides translated cancel and done texts in
ScreenTexts
I know, but it is incorrect to use them in this context.
then that is a minecraft localisation issue then?
No, that is an issue of the word meanings in different situations. The official Minecraft translation is correct in the places it used in vanilla, but in case of your mod, it is more appropriate to use the another translation:
Cancel –> Назад (Back)
and Undo –> Отменить
Both Cancel
and Undo
in Russian are Отменить
(or Отмена
, just a different form), so here is the issue.
In this situation I can either translate Cancel
as Назад
, or replace Undo
with Restore
(Восстановить
, made in #28 ). The second option is not an ideal solution because we are changing the source meaning to avoid the tautology, but it is all i can do as long as you get the translation for Cancel
from the Minecraft strings.
Just for note:
Cancel
= Отмена
, Закрыть
, Назад
Undo
= Отмена
, Восстановить
(actually there is another one translation, Вернуть
, but historically, it has been used as a direct translation for "redo" in the UI of programs as the opposite of "undo", so we should not use it).
yacl.gui.cancel
and yacl.gui.done
are now available to translate. If not translated, it will use the vanilla one.