The action names of the undo and redo actions in the edit menu were pretty awkward and ungrammatical for other languages. For instance, in German it showed texts like “Rückgängig Bewegen Holzbalken”, which is hilariously ungrammatical.
With some use of format strings, translations should be now be slightly easier.
It is slightly better, but still a bit awkward, since Qt mindlessly concatenates “Undo” and the action of the “undoing” (i.e. “Move Birch Bar”), which is of course bad for translation.
EDIT: The last paragraph doesn't apply anymore. Simply reverting to Qt's default undo/redo action strings did the trick. :-)
This means this PR now fixes the undo/redo texts for foreign languages.
The action names of the undo and redo actions in the edit menu were pretty awkward and ungrammatical for other languages. For instance, in German it showed texts like “Rückgängig Bewegen Holzbalken”, which is hilariously ungrammatical. With some use of format strings, translations should be now be slightly easier.
It is slightly better, but still a bit awkward, since Qt mindlessly concatenates “Undo” and the action of the “undoing” (i.e. “Move Birch Bar”), which is of course bad for translation.
EDIT: The last paragraph doesn't apply anymore. Simply reverting to Qt's default undo/redo action strings did the trick. :-) This means this PR now fixes the undo/redo texts for foreign languages.