Mouse buttons locales question for translators

Place to discuss translation contributions. Recent and
oncoming changes related to translation.
Post Reply
User avatar
wheybags
Factorio Staff
Factorio Staff
Posts: 245
Joined: Fri Jun 02, 2017 1:50 pm
Contact:

Mouse buttons locales question for translators

Post by wheybags » Mon Jun 10, 2019 12:16 pm

We are considering a system to allow for more natural phrasing of controls locales. This would allow us to say things like "Left click to open the chest" instead of "Use Left mouse button to open the chest".
This would be implemented by adding in two alternative modes of the mouse button locales, alt-1 and alt-2.

For example, with the following locale data:

Code: Select all

mouse-button-1=Left mouse button
mouse-button-1-alt-1=Left click
mouse-button-1-alt-2=left clicking
We could produce :

Left click to open chest.
Open chest by left clicking.

Note: The reason to have these two forms: the first is intended as a command to the player (so, imperative). The second is intended to go in a list of hints, so the first word (or as close to the first word as can be) should be the action itself. This is so the player can scan the first words in a list of sentences for eg, open, and then continue on the line to find out how to "open".

These would be accessed via alternative versions of the control's locale, eg:

Code: Select all

Open chest by __CONTROL__open-gui__alt-2__.
would produce:
Open chest by left clicking.

In English, alt-1 would be used for imperative, and alt-2 for this "-ing" form, but in other languages it could be other language-specific forms.
This special system will only be used for mouse buttons, so there is no need to account for keyboard keys.
If there are modifiers on a keybinding, they would be added on with a +, like in the controls settings gui, eg:
Control + Left click to open chest.
Open chest by Control + left clicking.

Is this system sufficient for all the languages we support? Please let me know either way, and detail the problems if there are any.
Thanks!
Tom

User avatar
YSX
Burner Inserter
Burner Inserter
Posts: 12
Joined: Fri Nov 28, 2014 5:21 am
Contact:

Re: Mouse buttons locales question for translators

Post by YSX » Mon Jun 10, 2019 3:03 pm

Looking good, this system will come in handy. Don't see any problems for ru locale (yet). :)
Poor english speaking russian translator =D

User avatar
Sephrat
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Wed Mar 16, 2016 2:39 pm
Contact:

Re: Mouse buttons locales question for translators

Post by Sephrat » Mon Jun 10, 2019 4:51 pm

In French the initial version is actually more natural than the different equivalents we have for the 2 alts you suggest. I guess we'll just keep the button name and we'll be good.
[Open chest by] [Control +] [left clicking].
[Ouvrir le coffre avec] [Control +] [Clic gauche].
[Control +] [Left click] [to open chest].
[Control +] [Clic gauche] [pour ouvrir le coffre].
For french speakers

In short: fine by me. :-)

Post Reply

Return to “Translations”

Who is online

Users browsing this forum: No registered users