On 31/08/13 21:34, ZyX wrote:
I suppose this is to allow different translations for the case where the
value is "locked" (заблокировано) by the user, who could then "unlock"
(отблокировать? отпереть?) it, and for the case where it is
"unchangeable" (locked by Vim: неизменимо? неизменяемо?)
?! How any form of message can *allow* different translations? I know a way to *forbid*
*same* translations: just use other % flag(s) and using the same arguments will not work.
If there were some numbers different plural forms could be specified. Here both messages
contain text and %s; and both %s receive the same text due to the way code is written:
"extend() argument" is translated before translating error messages and passed
as an argument to a function that actually emits both errors.
By the way, "unlock" is usually translated as "разблокировать".
Translating the same way might make sense for one target language and
not for another, so I didn't speak of forbidding same translations. OTOH
it's quite simple, but possibly not desirable, to forbid different
translations, it's to use the same source text. If two slightly
different (or maybe not so slightly different) wordings are used in
English for what you called "semantically similar" (and I add: not
exactly synonymous) messages, then it is possible to translate them
differently into the languages where the wording difference makes sense.
I suppose that the fact that "parameter" is first translated "параметр"
out of context makes it difficult to get the target text "значение
параметра" with the appropriate genitive case, where one of the words
comes from a printf (or similar) template and the other from a %s
replacement string.
Best regards,
Tony.
--
Superior ability breeds superior ambition.
-- Spock, "Space Seed", stardate 3141.9
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.