git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] merge-ort: split "distinct types" message into two translatable messages

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
May 10, 2021, 05:36 UTC
Message-ID
<bb3a3968-f78e-7534-1274-2e6c916b9a8a@gmail.com>
In-Reply-To
<20210509215250.33215-1-alexhenrie24@gmail.com>
On 10/05/21 04.52, Alex Henrie wrote:
> The word "renamed" has two possible translations in many European
> languages depending on whether one thing was renamed or two things were
> renamed. Give translators freedom to alter any part of the message to
> make it sound right in their language.

What are the examples? In French, Spanish, German, Portuguese (pt-PT), or even Slavic (like Russian) or even Hungarian, and etc?

Show 21 quoted lines
> -			path_msg(opt, path, 0,
> -				 _("CONFLICT (distinct types): %s had different "
> -				   "types on each side; renamed %s of them so "
> -				   "each can be recorded somewhere."),
> -				 path,
> -				 (rename_a && rename_b) ? _("both") : _("one"));
> +			if (rename_a && rename_b) {
> +				path_msg(opt, path, 0,
> +					 _("CONFLICT (distinct types): %s had "
> +					   "different types on each side; "
> +					   "renamed both of them so each can "
> +					   "be recorded somewhere."),
> +					 path);
> +			} else {
> +				path_msg(opt, path, 0,
> +					 _("CONFLICT (distinct types): %s had "
> +					   "different types on each side; "
> +					   "renamed one of them so each can be "
> +					   "recorded somewhere."),
> +					 path);
> +			}
Seems OK.

For example, in Indonesian, the first case (both sides are renamed) would be something like: ``` %s punya tipe yang berbeda pada setiap sisi, kedua-duanya dinamai ulang... ``` The second case (only one side) would be something like: ``` %s punya tipe yang berbeda pada setiap sisi, salah satunya dinamai ulang... ``` But the status quo (before this patch) would be translated as: ``` %s punya tipe yang berbeda pada setiap sisi, (kedua-duanya | satu) dari mereka dinamai ulang... ``` On the both sides case of status quo, the personal pronoun `mereka` (they) refers to the conflicted sides, where as on this patch, such conflicted sides are instead be referred as `-nya` suffix on the translation.

I personally avoid using `mereka` atau `ia` as personal pronoun that refer to things, and instead using `itu`.

-- 
An old man doll... just what I always wanted! - Clara
Previous: Alex HenrieNext: Bagas Sanjaya
Message 2 of 6 in “merge-ort: split "distinct types" message into two translatable messages”
  1. merge-ort: split "distinct types" message into two translatable messagesAlex Henrie, May 9, 2021
  2. Bagas SanjayaMay 10, 2021
  3. Bagas SanjayaMay 10, 2021
  4. Alex HenrieMay 10, 2021
  5. Elijah NewrenMay 10, 2021
  6. Jeff KingMay 10, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.