YetAnotherConfigLib

YetAnotherConfigLib

13M Downloads

Add translation keys for the "Close" and "Done" buttons

Felix14-v2 opened this issue · 7 comments

commented

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.
2022-09-12_21 59 42

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).
2022-09-12_22 33 08

commented

By the way, I contacted the proofreader about the translation of "Done", and he replied that he didn't know why there was such a translation now.

(proof)

2022-12-12_2-16-51

Perhaps this will be fixed in the future. But for now, the issue still exists.

commented

Minecraft provides translated cancel and done texts in ScreenTexts

commented

Minecraft provides translated cancel and done texts in ScreenTexts

I know, but it is incorrect to use them in this context.

commented

then that is a minecraft localisation issue then?

commented

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).

commented

yacl.gui.cancel and yacl.gui.done are now available to translate. If not translated, it will use the vanilla one.

commented

Thanks a lot!