Latest Posts

Topic: small addaption Dutch translation

hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 1952
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2021-05-27, 20:52

CrisiusXIII wrote:

hessenfarmer wrote:

the button only turns blue if both parts are translated.

both OTHER parts, from which this translation is compiled... OK i get it.

just to be clear with both I meant the [1] part as singular string and the [other] part which is the plural string.


Top Quote
CrisiusXIII
Avatar
Joined: 2020-09-01, 07:18
Posts: 43
Ranking
Pry about Widelands
Posted at: 2021-06-01, 12:34

Hello, there are some inconsequent results:

allowed: Alles Opwaarderen (1%u)

NOT allowed: De volgende 1%u uitbreidingen opwaarderen:

YET its the same 1%u which MOSTLY is accepted but JUST sometime Not with the 'Fill in all plurals to continue ' remark so when is 1%u a plural and when not ???


Attachment: Screenshot from 2021-06-01 12-34-05.png (188.9 KB)

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1433
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2021-06-01, 12:50

It depends on the context. Whether a string is pluralized or not can be seen by whether the [1] / [other] buttons are there or not. If they're visible, it's a pluralized string which requires two forms; if they're not there, it's a "normal" string.

By the way, you can also use the filter LabelPluralized to show only pluralized or only non-pluralized strings.


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 1952
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2021-06-01, 12:53

1%u is just a placeholder for a variable that contains an unsigned integer.
Whether Pluralform is needed for the sentence is decided by the coder / scripter by using a function named ngettext instead of pgettext.
So for the translators the necessity for plural form is shown by the buttons discussed.
the placeholders are no indication of this.


Top Quote
CrisiusXIII
Avatar
Joined: 2020-09-01, 07:18
Posts: 43
Ranking
Pry about Widelands
Posted at: 2021-06-01, 15:45

OK when i checked "[1] / [other]" earlier i had the impression it was a variation on the translation rather then a part of a combined form


Top Quote
CrisiusXIII
Avatar
Joined: 2020-09-01, 07:18
Posts: 43
Ranking
Pry about Widelands
Posted at: 2021-06-03, 15:44

HI, i got the 'other' way now

meanwhile i CHANGED 'campaign' from "Campagne" to "Veldtocht" , its just a bit more dutch if people dont like it i can put it back or people who decide about can do that to.

mean while i have a problem with 'a one player' thats ' een een speler ' i need e' combined >> e'e'n

cheers

Edited: 2021-06-03, 15:47

Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 1952
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2021-06-03, 16:01

CrisiusXIII wrote:

mean while i have a problem with 'a one player' thats ' een een speler ' i need e' combined >> e'e'n

that sounds like it could be an eror in the source string.
can you provide the textdomain and string number?


Top Quote
CrisiusXIII
Avatar
Joined: 2020-09-01, 07:18
Posts: 43
Ranking
Pry about Widelands
Posted at: 2021-06-03, 16:11

Hi, no its a 'accent agrave' or the other one

second 'problem – or - widelands uses a 'wide' minus. or it aint a minus but a seperator which is not part of my keyboard neither

Edited: 2021-06-03, 16:59

Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 23:16
Posts: 1952
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2021-06-03, 17:14

CrisiusXIII wrote:

Hi, no its a 'accent agrave' or the other one

second 'problem – or - widelands uses a 'wide' minus. or it aint a minus but a seperator which is not part of my keyboard neither

Usually I just copy this from the source string


Top Quote
CrisiusXIII
Avatar
Joined: 2020-09-01, 07:18
Posts: 43
Ranking
Pry about Widelands
Posted at: 2021-06-03, 17:30

Hi

'Toolsize'

its the amount of tools, correct? hmm gereedschapsgrootte..., 'hoeveelheid' is better i guess, comments are welcome!!


Top Quote