git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [L10N] l10n: fixed tripple-letter typos
@ 2021-06-21  2:07 Jiang Xin
  2021-06-21 19:36 ` Peter Krefting
  2021-06-22  6:57 ` [L10N] l10n: fixed tripple-letter typos Jean-Noël Avila
  0 siblings, 2 replies; 10+ messages in thread
From: Jiang Xin @ 2021-06-21  2:07 UTC (permalink / raw)
  To: Christopher Díaz, Jean-Noël Avila, Peter Krefting,
	Yi-Jyun Pan, Andrei Rybak, Git List
  Cc: Jiang Xin

Andrei found that the word "shallow" has an extra letter "l" in
"po/zh_CN.po". There are similar typos in other l10n files.

Reported-by: Andrei Rybak <rybak.a.v@gmail.com>
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
---
 po/README.md | 2 +-
 po/es.po     | 4 ++--
 po/fr.po     | 2 +-
 po/sv.po     | 2 +-
 po/zh_CN.po  | 6 +++---
 po/zh_TW.po  | 6 +++---
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/po/README.md b/po/README.md
index 2fd92cca04..a7e6f2014c 100644
--- a/po/README.md
+++ b/po/README.md
@@ -392,7 +392,7 @@ additional conventions:
         git-po-helper init --core <your-language>
 
 3. Add a new entry in the "po/TEAMS" file with proper format, and check
-   the syntax of "po/TEAMS" by runnning the following command:
+   the syntax of "po/TEAMS" by running the following command:
 
         git-po-helper team --check
 
diff --git a/po/es.po b/po/es.po
index c1c26138f0..ea15180c65 100644
--- a/po/es.po
+++ b/po/es.po
@@ -14897,7 +14897,7 @@ msgstr "extraer de todos los remotos"
 
 #: builtin/fetch.c:147 builtin/pull.c:245
 msgid "set upstream for git pull/fetch"
-msgstr "configurar upstream para git pulll/fetch"
+msgstr "configurar upstream para git pull/fetch"
 
 #: builtin/fetch.c:149 builtin/pull.c:188
 msgid "append to .git/FETCH_HEAD instead of overwriting"
@@ -19567,7 +19567,7 @@ msgstr "recibir programa de paquete"
 
 #: builtin/push.c:573
 msgid "set upstream for git pull/status"
-msgstr "configurar upstream para git pulll/status"
+msgstr "configurar upstream para git pull/status"
 
 #: builtin/push.c:576
 msgid "prune locally removed refs"
diff --git a/po/fr.po b/po/fr.po
index 336dc606b2..6c3630cbd4 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -25124,7 +25124,7 @@ msgid ""
 "    * Saying \"./%s\" if you mean a file; or\n"
 "    * Giving --format-patch option if you mean a range.\n"
 msgstr ""
-"Le fichier '%s' existe mais ce pourrait aussi être la plage de commmits\n"
+"Le fichier '%s' existe mais ce pourrait aussi être la plage de commits\n"
 "pour lequel les patches sont à produire. Veuillez préciser...\n"
 "\n"
 "    * en indiquant \"./%s\" si vous désignez un fichier, ou\n"
diff --git a/po/sv.po b/po/sv.po
index 4a9f2f3aca..d5bf6f530e 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -17352,7 +17352,7 @@ msgstr "kopiera Message-ID till slutet av incheckningsmeddelandet"
 
 #: builtin/mailinfo.c:64
 msgid "re-code metadata to i18n.commitEncoding"
-msgstr "koda om metadata till i18n.commmitEncoding"
+msgstr "koda om metadata till i18n.commitEncoding"
 
 #: builtin/mailinfo.c:67
 msgid "disable charset re-coding of metadata"
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 446c601a70..d6f61eae5c 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -4162,7 +4162,7 @@ msgstr "服务器支持 %s"
 
 #: fetch-pack.c:1029
 msgid "Server does not support shallow clients"
-msgstr "服务器不支持 shalllow 客户端"
+msgstr "服务器不支持浅客户端"
 
 #: fetch-pack.c:1089
 msgid "Server does not support --shallow-since"
@@ -4204,7 +4204,7 @@ msgstr "服务器不支持算法 '%s'"
 
 #: fetch-pack.c:1279
 msgid "Server does not support shallow requests"
-msgstr "服务器不支持 shalllow 请求"
+msgstr "服务器不支持浅克隆请求"
 
 #: fetch-pack.c:1286
 msgid "Server supports filter"
@@ -23864,7 +23864,7 @@ msgstr "预期仍然需要 %d 个字节的正文"
 
 #: remote-curl.c:1132
 msgid "dumb http transport does not support shallow capabilities"
-msgstr "哑 http 传输不支持 shalllow 能力"
+msgstr "哑 http 传输不支持浅克隆能力"
 
 #: remote-curl.c:1147
 msgid "fetch failed."
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 77a5d57ed8..cb5db0abfa 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -4291,7 +4291,7 @@ msgstr "伺服器支援 %s"
 
 #: fetch-pack.c:1029
 msgid "Server does not support shallow clients"
-msgstr "伺服器不支援 shalllow 用戶端"
+msgstr "伺服器不支援 shallow 用戶端"
 
 #: fetch-pack.c:1089
 msgid "Server does not support --shallow-since"
@@ -4333,7 +4333,7 @@ msgstr "伺服器不支援「%s」算法"
 
 #: fetch-pack.c:1279
 msgid "Server does not support shallow requests"
-msgstr "伺服器不支援 shalllow 請求"
+msgstr "伺服器不支援 shallow 請求"
 
 #: fetch-pack.c:1286
 msgid "Server supports filter"
@@ -23992,7 +23992,7 @@ msgstr "預期仍要有 %d 位元組的本文 (body)"
 
 #: remote-curl.c:1132
 msgid "dumb http transport does not support shallow capabilities"
-msgstr "啞 http 傳輸不支援 shalllow 能力"
+msgstr "啞 http 傳輸不支援 shallow 能力"
 
 #: remote-curl.c:1147
 msgid "fetch failed."
-- 
2.32.0.rc0.27.g7b1e85181b


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [L10N] l10n: fixed tripple-letter typos
  2021-06-21  2:07 [L10N] l10n: fixed tripple-letter typos Jiang Xin
@ 2021-06-21 19:36 ` Peter Krefting
  2021-06-22  0:24   ` Jiang Xin
  2021-07-03 11:18   ` [L10N] fixed mismatched variable names Jiang Xin
  2021-06-22  6:57 ` [L10N] l10n: fixed tripple-letter typos Jean-Noël Avila
  1 sibling, 2 replies; 10+ messages in thread
From: Peter Krefting @ 2021-06-21 19:36 UTC (permalink / raw)
  To: Jiang Xin; +Cc: Git List

Jiang Xin:

> Andrei found that the word "shallow" has an extra letter "l" in
> "po/zh_CN.po". There are similar typos in other l10n files.

Andrei also pointed out another typo in the Swedish translation, where 
a configuration option had been copied incorrectly. Could you please 
amend your patch to contain both these changes?


From: Peter Krefting <peter@softwolves.pp.se>
Date: Mon, 21 Jun 2021 20:31:28 +0100
Subject: [PATCH] l10n: sv.po: Update Swedish translation

Fix mistakes reported by Andrei Rybak <rybak.a.v@gmail.com>

Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
---
  po/sv.po | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/po/sv.po b/po/sv.po
index 4a9f2f3aca..954efd23bf 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -8,7 +8,7 @@ msgstr ""
  "Project-Id-Version: git 2.32.0\n"
  "Report-Msgid-Bugs-To: Git Mailing List <git@vger.kernel.org>\n"
  "POT-Creation-Date: 2021-05-17 16:02+0800\n"
-"PO-Revision-Date: 2021-05-20 13:31+0100\n"
+"PO-Revision-Date: 2021-06-21 20:31+0100\n"
  "Last-Translator: Peter Krefting <peter@softwolves.pp.se>\n"
  "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
  "Language: sv\n"
@@ -2734,7 +2734,7 @@ msgstr "Felaktigt %s: \"%s\""
  #: config.c:2512
  #, c-format
  msgid "splitIndex.maxPercentChange value '%d' should be between 0 and 100"
-msgstr "värdet \"%d\" för splitIndex.maxPercentage borde vara mellan 0 och 100"
+msgstr "värdet \"%d\" för splitIndex.maxPercentChange borde vara mellan 0 och 100"

  #: config.c:2558
  #, c-format
@@ -17352,7 +17352,7 @@ msgstr "kopiera Message-ID till slutet av incheckningsmeddelandet"

  #: builtin/mailinfo.c:64
  msgid "re-code metadata to i18n.commitEncoding"
-msgstr "koda om metadata till i18n.commmitEncoding"
+msgstr "koda om metadata till i18n.commitEncoding"

  #: builtin/mailinfo.c:67
  msgid "disable charset re-coding of metadata"
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [L10N] l10n: fixed tripple-letter typos
  2021-06-21 19:36 ` Peter Krefting
@ 2021-06-22  0:24   ` Jiang Xin
  2021-06-29  1:32     ` Junio C Hamano
  2021-07-03 11:18   ` [L10N] fixed mismatched variable names Jiang Xin
  1 sibling, 1 reply; 10+ messages in thread
From: Jiang Xin @ 2021-06-22  0:24 UTC (permalink / raw)
  To: Peter Krefting; +Cc: Git List

Peter Krefting <peter@softwolves.pp.se> 于2021年6月22日周二 上午3:36写道:
>
> Jiang Xin:
>
> > Andrei found that the word "shallow" has an extra letter "l" in
> > "po/zh_CN.po". There are similar typos in other l10n files.
>
> Andrei also pointed out another typo in the Swedish translation, where
> a configuration option had been copied incorrectly. Could you please
> amend your patch to contain both these changes?

Will merge.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [L10N] l10n: fixed tripple-letter typos
  2021-06-21  2:07 [L10N] l10n: fixed tripple-letter typos Jiang Xin
  2021-06-21 19:36 ` Peter Krefting
@ 2021-06-22  6:57 ` Jean-Noël Avila
  1 sibling, 0 replies; 10+ messages in thread
From: Jean-Noël Avila @ 2021-06-22  6:57 UTC (permalink / raw)
  To: Jiang Xin, Christopher Díaz, Peter Krefting, Yi-Jyun Pan,
	Andrei Rybak, Git List

Hi,

By the way,


https://public-inbox.org/git/20210520074214.40903-1-jn.avila@free.fr/

is also still waiting.

Thanks,


Jean-Noël


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [L10N] l10n: fixed tripple-letter typos
  2021-06-22  0:24   ` Jiang Xin
@ 2021-06-29  1:32     ` Junio C Hamano
  0 siblings, 0 replies; 10+ messages in thread
From: Junio C Hamano @ 2021-06-29  1:32 UTC (permalink / raw)
  To: Jiang Xin; +Cc: Peter Krefting, Git List

Jiang Xin <worldhello.net@gmail.com> writes:

> Peter Krefting <peter@softwolves.pp.se> 于2021年6月22日周二 上午3:36写道:
>>
>> Jiang Xin:
>>
>> > Andrei found that the word "shallow" has an extra letter "l" in
>> > "po/zh_CN.po". There are similar typos in other l10n files.
>>
>> Andrei also pointed out another typo in the Swedish translation, where
>> a configuration option had been copied incorrectly. Could you please
>> amend your patch to contain both these changes?
>
> Will merge.

Thanks.  I'll leave these changes to you and trust that you'll throw
me a pull request for po/ later.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [L10N] fixed mismatched variable names
  2021-06-21 19:36 ` Peter Krefting
  2021-06-22  0:24   ` Jiang Xin
@ 2021-07-03 11:18   ` Jiang Xin
  2021-07-03 11:43     ` Ævar Arnfjörð Bjarmason
                       ` (2 more replies)
  1 sibling, 3 replies; 10+ messages in thread
From: Jiang Xin @ 2021-07-03 11:18 UTC (permalink / raw)
  To: Peter Krefting, Andrei Rybak, Jordi Mas, Matthias Rüster,
	Christopher Díaz, Jean-Noël Avila, Alessandro Menti,
	Gwan-gyeong Mun, Daniel Santos, Emir SARI,
	Trần Ngọc Quân, Yi-Jyun Pan, Alexander Shopov,
	Bagas Sanjaya
  Cc: Git List, Jimmy Angelakos, Arusekk, Dimitriy Ryazantcev,
	Jiang Xin

From: Peter Krefting <peter@softwolves.pp.se>

On Tue, Jun 22 2021, Peter Krefting wrote:

> Andrei also pointed out another typo in the Swedish translation, where
> a configuration option had been copied incorrectly. Could you please
> amend your patch to contain both these changes?
>
> ... ...
>
> @@ -2734,7 +2734,7 @@ msgstr "Felaktigt %s: \"%s\""
>   #: config.c:2512
>   #, c-format
>   msgid "splitIndex.maxPercentChange value '%d' should be between 0 and 100"
> -msgstr "värdet \"%d\" för splitIndex.maxPercentage borde vara mellan 0 och 100"
> +msgstr "värdet \"%d\" för splitIndex.maxPercentChange borde vara mellan 0 och 100"
> 
>   #: config.c:2558
>   #, c-format

There are definitely more typos like this! In order to find mismatched
git config variables and other mismatched variable names in the po file,
I implemented a checker for such typos in the "git-po-helper" in commit:

 * https://github.com/git-l10n/git-po-helper/commit/e44df847abb91227771560aca56719031f280068

To find typos, run:

    git-po-helper check-po XX.po

All easy-to-fix typos can be fixed using the following patch, but there
are still some typos need to be fixed by l10n team leaders for the
following languages:

 + bg.po 
 + id.po
 + tr.po

Patch for easy-to-fix typos, cut here -- 8< --

Subject: [PATCH] l10n: fixed mismatched config variables

Andrei pointed out a typo in the Swedish translation, where a config
variable name had been copied incorrectly.

By introducing typo detection function in "git-po-helper", more typos
were found. All easy-to-fix typos were fixed in this commit.

Reported-by: Andrei Rybak <rybak.a.v@gmail.com>
Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
---
 po/ca.po    |  6 +++---
 po/de.po    |  2 +-
 po/es.po    |  6 +++---
 po/fr.po    | 12 ++++++------
 po/it.po    |  4 ++--
 po/ko.po    |  6 +++---
 po/pt_PT.po |  2 +-
 po/sv.po    |  4 ++--
 po/tr.po    |  4 ++--
 po/vi.po    |  6 +++---
 po/zh_CN.po | 12 ++++++------
 po/zh_TW.po |  8 ++++----
 12 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/po/ca.po b/po/ca.po
index 4c451706a9..2353eefae0 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -5023,13 +5023,13 @@ msgstr "(comissió errònia)\n"
 #: merge-recursive.c:379
 #, c-format
 msgid "add_cacheinfo failed for path '%s'; merge aborting."
-msgstr "addinfo_cache ha fallat per al camí «%s»; interrompent la fusió."
+msgstr "add_cacheinfo ha fallat per al camí «%s»; interrompent la fusió."
 
 #: merge-recursive.c:388
 #, c-format
 msgid "add_cacheinfo failed to refresh for path '%s'; merge aborting."
 msgstr ""
-"addinfo_cache ha fallat al refrescar el camí «%s»; interrompent la fusió."
+"add_cacheinfo ha fallat al refrescar el camí «%s»; interrompent la fusió."
 
 #: merge-recursive.c:876
 #, c-format
@@ -15141,7 +15141,7 @@ msgstr "git fetch --all [<opcions>]"
 
 #: builtin/fetch.c:122
 msgid "fetch.parallel cannot be negative"
-msgstr "fetch.paral·lelisme no pot ser negatiu"
+msgstr "fetch.parallel no pot ser negatiu"
 
 #: builtin/fetch.c:145 builtin/pull.c:185
 msgid "fetch from all remotes"
diff --git a/po/de.po b/po/de.po
index 20d720b1d0..101ee1d1f2 100644
--- a/po/de.po
+++ b/po/de.po
@@ -3395,7 +3395,7 @@ msgstr ""
 #: diff.c:410
 #, c-format
 msgid "Unknown value for 'diff.submodule' config variable: '%s'"
-msgstr "Unbekannter Wert in Konfigurationsvariable 'diff.dirstat': '%s'"
+msgstr "Unbekannter Wert in Konfigurationsvariable 'diff.submodule': '%s'"
 
 #: diff.c:470
 #, c-format
diff --git a/po/es.po b/po/es.po
index ea15180c65..cd4f0ce9fa 100644
--- a/po/es.po
+++ b/po/es.po
@@ -15267,7 +15267,7 @@ msgid ""
 "partialclone"
 msgstr ""
 "--filter solo puede ser usado con el remoto configurado en extensions."
-"partialClone"
+"partialclone"
 
 #: builtin/fetch.c:2083
 msgid "--atomic can only be used when fetching from one remote"
@@ -15684,7 +15684,7 @@ msgstr "reempaquetar todos los otros paquetes excepto el paquete más grande"
 #: builtin/gc.c:576
 #, c-format
 msgid "failed to parse gc.logexpiry value %s"
-msgstr "falló al analizar valor %s de gc.logexpirity"
+msgstr "falló al analizar valor %s de gc.logexpiry"
 
 #: builtin/gc.c:587
 #, c-format
@@ -16890,7 +16890,7 @@ msgstr "%s: modo cover from description inválido"
 
 #: builtin/log.c:850
 msgid "format.headers without value"
-msgstr "formate.headers. sin valor"
+msgstr "format.headers sin valor"
 
 #: builtin/log.c:979
 #, c-format
diff --git a/po/fr.po b/po/fr.po
index 6c3630cbd4..851b93858c 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -4719,12 +4719,12 @@ msgstr "(mauvais commit)\n"
 #: merge-recursive.c:379
 #, c-format
 msgid "add_cacheinfo failed for path '%s'; merge aborting."
-msgstr "échec de addinfo_cache pour le chemin '%s' ; abandon de la fusion."
+msgstr "échec de add_cacheinfo pour le chemin '%s' ; abandon de la fusion."
 
 #: merge-recursive.c:388
 #, c-format
 msgid "add_cacheinfo failed to refresh for path '%s'; merge aborting."
-msgstr "échec de addinfo_cache pour le chemin '%s' ; abandon de la fusion."
+msgstr "échec de add_cacheinfo pour le chemin '%s' ; abandon de la fusion."
 
 #: merge-recursive.c:876
 #, c-format
@@ -5994,12 +5994,12 @@ msgid "Refresh index"
 msgstr "Rafraîchir l'index"
 
 #: read-cache.c:1700
-#, c-format
+#, c-format, fuzzy
 msgid ""
 "index.version set, but the value is invalid.\n"
 "Using version %i"
 msgstr ""
-"version d'index renseignée, mais la valeur est invalide.\n"
+"index.version renseignée, mais la valeur est invalide.\n"
 "Utilisation de la version %i"
 
 #: read-cache.c:1710
@@ -8275,7 +8275,7 @@ msgstr "nom de sous-module suspicieux %s ignoré"
 
 #: submodule-config.c:304
 msgid "negative values not allowed for submodule.fetchjobs"
-msgstr "les valeurs négatives ne sont pas permises pour submodule.fetchJobs"
+msgstr "les valeurs négatives ne sont pas permises pour submodule.fetchjobs"
 
 #: submodule-config.c:402
 #, c-format
@@ -14645,7 +14645,7 @@ msgstr "Le protocole ne prend pas en charge --negotiate-only, abandon."
 
 #: builtin/fetch.c:2079
 msgid "--filter can only be used with the remote configured in extensions.partialclone"
-msgstr "--filter ne peut être utilisé qu'avec le dépôt distant configuré dans extensions.partialClone"
+msgstr "--filter ne peut être utilisé qu'avec le dépôt distant configuré dans extensions.partialclone"
 
 #: builtin/fetch.c:2083
 msgid "--atomic can only be used when fetching from one remote"
diff --git a/po/it.po b/po/it.po
index 8f793659f5..089a44b5fe 100644
--- a/po/it.po
+++ b/po/it.po
@@ -14953,7 +14953,7 @@ msgid ""
 "--filter can only be used with the remote configured in extensions."
 "partialclone"
 msgstr ""
-"--filter può essere usato solo con il remoto configurato nelle estensioni."
+"--filter può essere usato solo con il remoto configurato nelle extensions."
 "partialclone"
 
 #: builtin/fetch.c:1891
@@ -21746,7 +21746,7 @@ msgid "could not generate diff %s^!."
 msgstr "impossibile generare il diff %s^!"
 
 #: builtin/stash.c:422
-msgid "conflicts in index.Try without --index."
+msgid "conflicts in index. Try without --index."
 msgstr "ci sono conflitti nell'indice. Prova senza --index."
 
 #: builtin/stash.c:428
diff --git a/po/ko.po b/po/ko.po
index dcfe21c223..0e6ecf97fb 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -1702,7 +1702,7 @@ msgid ""
 "Found errors in 'diff.dirstat' config variable:\n"
 "%s"
 msgstr ""
-"'diff.submodule' 설정 변수에 오류:\n"
+"'diff.dirstat' 설정 변수에 오류:\n"
 "%s'"
 
 #: diff.c:3823
@@ -2261,12 +2261,12 @@ msgstr "(잘못된 커밋)\n"
 #: merge-recursive.c:320
 #, c-format
 msgid "add_cacheinfo failed for path '%s'; merge aborting."
-msgstr "'%s' 경로에 대해 addinfo_cache 실패. 병합 중지."
+msgstr "'%s' 경로에 대해 add_cacheinfo 실패. 병합 중지."
 
 #: merge-recursive.c:328
 #, c-format
 msgid "add_cacheinfo failed to refresh for path '%s'; merge aborting."
-msgstr "'%s' 경로에 대해 addinfo_cache 새로 고침 실패. 병합 중지."
+msgstr "'%s' 경로에 대해 add_cacheinfo 새로 고침 실패. 병합 중지."
 
 #: merge-recursive.c:410
 msgid "error building trees"
diff --git a/po/pt_PT.po b/po/pt_PT.po
index f068d0e0ba..3b15fccf9a 100644
--- a/po/pt_PT.po
+++ b/po/pt_PT.po
@@ -14610,7 +14610,7 @@ msgstr "Referência remota HEAD não encontrada"
 #: builtin/fetch.c:677
 #, c-format
 msgid "configuration fetch.output contains invalid value %s"
-msgstr "a configuração fetch.ouput contém o valor inválido %s"
+msgstr "a configuração fetch.output contém o valor inválido %s"
 
 #: builtin/fetch.c:775
 #, c-format
diff --git a/po/sv.po b/po/sv.po
index d5bf6f530e..facfdca7b5 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -2734,7 +2734,7 @@ msgstr "Felaktigt %s: \"%s\""
 #: config.c:2512
 #, c-format
 msgid "splitIndex.maxPercentChange value '%d' should be between 0 and 100"
-msgstr "värdet \"%d\" för splitIndex.maxPercentage borde vara mellan 0 och 100"
+msgstr "värdet \"%d\" för splitIndex.maxPercentChange borde vara mellan 0 och 100"
 
 #: config.c:2558
 #, c-format
@@ -4910,7 +4910,7 @@ msgstr "(felaktig incheckning)\n"
 #, c-format
 msgid "add_cacheinfo failed for path '%s'; merge aborting."
 msgstr ""
-"add_cahceinfo misslyckades för sökvägen \"%s\"; avslutar sammanslagningen."
+"add_cacheinfo misslyckades för sökvägen \"%s\"; avslutar sammanslagningen."
 
 #: merge-recursive.c:388
 #, c-format
diff --git a/po/tr.po b/po/tr.po
index e26ca7d551..13a82ad6cc 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -12344,7 +12344,7 @@ msgstr ""
 "\tgit checkout --track origin/<ad>\n"
 "\n"
 "Eğer her zaman belirsiz <ad> çıkışlarının bir uzak konumu tercih etmesini\n"
-"isterseniz, örn. 'origin', yapılandırmanızda checkout.defaultsRemote=origin\n"
+"isterseniz, örn. 'origin', yapılandırmanızda checkout.defaultRemote=origin\n"
 "ayarını yapmayı düşünün."
 
 #: builtin/checkout.c:1201
@@ -24179,7 +24179,7 @@ msgstr "uzak sunucu durumsuz ayırıcı gönderdi"
 #: remote-curl.c:724
 msgid "unable to rewind rpc post data - try increasing http.postBuffer"
 msgstr ""
-"rpc sonrası verisi geri sarılamıyor - https.postBuffer'ı artırmayı deneyin"
+"rpc sonrası verisi geri sarılamıyor - http.postBuffer'ı artırmayı deneyin"
 
 #: remote-curl.c:754
 #, c-format
diff --git a/po/vi.po b/po/vi.po
index ccdabfa2c8..483aa75468 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -4907,13 +4907,13 @@ msgstr "(commit sai)\n"
 #: merge-recursive.c:379
 #, c-format
 msgid "add_cacheinfo failed for path '%s'; merge aborting."
-msgstr "addinfo_cache gặp lỗi đối với đường dẫn “%s”; việc hòa trộn bị bãi bỏ."
+msgstr "add_cacheinfo gặp lỗi đối với đường dẫn “%s”; việc hòa trộn bị bãi bỏ."
 
 #: merge-recursive.c:388
 #, c-format
 msgid "add_cacheinfo failed to refresh for path '%s'; merge aborting."
 msgstr ""
-"addinfo_cache gặp lỗi khi làm mới đối với đường dẫn “%s”; việc hòa trộn bị "
+"add_cacheinfo gặp lỗi khi làm mới đối với đường dẫn “%s”; việc hòa trộn bị "
 "bãi bỏ."
 
 #: merge-recursive.c:876
@@ -8585,7 +8585,7 @@ msgstr "đang lờ đi tên mô-đun-con mập mờ: %s"
 
 #: submodule-config.c:304
 msgid "negative values not allowed for submodule.fetchjobs"
-msgstr "không cho phép giá trị âm ở submodule.fetchJobs"
+msgstr "không cho phép giá trị âm ở submodule.fetchjobs"
 
 #: submodule-config.c:402
 #, c-format
diff --git a/po/zh_CN.po b/po/zh_CN.po
index d6f61eae5c..668bbacf9d 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -142,7 +142,7 @@ msgstr ""
 "Project-Id-Version: Git\n"
 "Report-Msgid-Bugs-To: Git Mailing List <git@vger.kernel.org>\n"
 "POT-Creation-Date: 2021-05-17 16:02+0800\n"
-"PO-Revision-Date: 2021-06-05 22:10+0800\n"
+"PO-Revision-Date: 2021-07-01 16:01+0800\n"
 "Last-Translator: Jiang Xin <worldhello.net@gmail.com>\n"
 "Language-Team: GitHub <https://github.com/jiangxin/git/>\n"
 "Language: zh_CN\n"
@@ -3060,7 +3060,7 @@ msgstr "关闭 rev-list 的标准输入失败"
 #: convert.c:183
 #, c-format
 msgid "illegal crlf_action %d"
-msgstr "非法的 crlf 动作 %d"
+msgstr "非法的 crlf_action %d"
 
 #: convert.c:196
 #, c-format
@@ -5373,7 +5373,7 @@ msgstr "不能创建 lazy_name 线程:%s"
 #: name-hash.c:570
 #, c-format
 msgid "unable to join lazy_name thread: %s"
-msgstr "不能加入 lasy_name 线程:%s"
+msgstr "不能加入 lazy_name 线程:%s"
 
 #: notes-merge.c:277
 #, c-format
@@ -15034,7 +15034,7 @@ msgstr "协议不支持 --negotiate-only,退出。"
 msgid ""
 "--filter can only be used with the remote configured in extensions."
 "partialclone"
-msgstr "只可以将 --filter 用于在 extensions.partialClone 中配置的远程仓库"
+msgstr "只可以将 --filter 用于在 extensions.partialclone 中配置的远程仓库"
 
 #: builtin/fetch.c:2083
 msgid "--atomic can only be used when fetching from one remote"
@@ -17726,7 +17726,7 @@ msgstr "错误:标签输入未通过 fsck:%s"
 #: builtin/mktag.c:41
 #, c-format
 msgid "%d (FSCK_IGNORE?) should never trigger this callback"
-msgstr "%d(忽略 FSCK?)不应该触发这个调用"
+msgstr "%d (FSCK_IGNORE?) 永远不应该触发这个回调"
 
 #: builtin/mktag.c:56
 #, c-format
@@ -22356,7 +22356,7 @@ msgstr "不能识别 submodule.alternateErrorStrategy 的取值 '%s'"
 #: builtin/submodule--helper.c:1799
 #, c-format
 msgid "Value '%s' for submodule.alternateLocation is not recognized"
-msgstr "不能识别 submodule.alternateLocaion 的取值 '%s'"
+msgstr "不能识别 submodule.alternateLocation 的取值 '%s'"
 
 #: builtin/submodule--helper.c:1823
 msgid "where the new submodule will be cloned to"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index cb5db0abfa..521292e390 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -3199,7 +3199,7 @@ msgstr "關閉 rev-list 的標準輸入失敗"
 #: convert.c:183
 #, c-format
 msgid "illegal crlf_action %d"
-msgstr "非法的 crlf 動作 %d"
+msgstr "非法的 crlf_action %d"
 
 #: convert.c:196
 #, c-format
@@ -5502,7 +5502,7 @@ msgstr "不能建立 lazy_name 執行緒:%s"
 #: name-hash.c:570
 #, c-format
 msgid "unable to join lazy_name thread: %s"
-msgstr "不能加入 lasy_name 執行緒:%s"
+msgstr "不能加入 lazy_name 執行緒:%s"
 
 #: notes-merge.c:277
 #, c-format
@@ -15156,7 +15156,7 @@ msgstr "協定不支援 --negotiate-only,結束。"
 msgid ""
 "--filter can only be used with the remote configured in extensions."
 "partialclone"
-msgstr "只可以將 --filter 用於在 extensions.partialClone 中設定的遠端版本庫"
+msgstr "只可以將 --filter 用於在 extensions.partialclone 中設定的遠端版本庫"
 
 #: builtin/fetch.c:2083
 msgid "--atomic can only be used when fetching from one remote"
@@ -22482,7 +22482,7 @@ msgstr "不能識別 submodule.alternateErrorStrategy 的取值 '%s'"
 #: builtin/submodule--helper.c:1799
 #, c-format
 msgid "Value '%s' for submodule.alternateLocation is not recognized"
-msgstr "不能識別 submodule.alternateLocaion 的取值 '%s'"
+msgstr "不能識別 submodule.alternateLocation 的取值 '%s'"
 
 #: builtin/submodule--helper.c:1823
 msgid "where the new submodule will be cloned to"
-- 
2.32.0.rc0.27.g7b1e85181b


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [L10N] fixed mismatched variable names
  2021-07-03 11:18   ` [L10N] fixed mismatched variable names Jiang Xin
@ 2021-07-03 11:43     ` Ævar Arnfjörð Bjarmason
  2021-07-03 14:33       ` Jiang Xin
  2021-07-03 13:54     ` Jiang Xin
  2021-07-05  1:55     ` [PATCH] [l10n] po/id.po: fix " Bagas Sanjaya
  2 siblings, 1 reply; 10+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2021-07-03 11:43 UTC (permalink / raw)
  To: Jiang Xin
  Cc: Peter Krefting, Andrei Rybak, Jordi Mas, Matthias Rüster,
	Christopher Díaz, Jean-Noël Avila, Alessandro Menti,
	Gwan-gyeong Mun, Daniel Santos, Emir SARI,
	Trần Ngọc Quân, Yi-Jyun Pan, Alexander Shopov,
	Bagas Sanjaya, Git List, Jimmy Angelakos, Arusekk,
	Dimitriy Ryazantcev


On Sat, Jul 03 2021, Jiang Xin wrote:

> From: Peter Krefting <peter@softwolves.pp.se>
>
> On Tue, Jun 22 2021, Peter Krefting wrote:
>
>> Andrei also pointed out another typo in the Swedish translation, where
>> a configuration option had been copied incorrectly. Could you please
>> amend your patch to contain both these changes?
>>
>> ... ...
>>
>> @@ -2734,7 +2734,7 @@ msgstr "Felaktigt %s: \"%s\""
>>   #: config.c:2512
>>   #, c-format
>>   msgid "splitIndex.maxPercentChange value '%d' should be between 0 and 100"
>> -msgstr "värdet \"%d\" för splitIndex.maxPercentage borde vara mellan 0 och 100"
>> +msgstr "värdet \"%d\" för splitIndex.maxPercentChange borde vara mellan 0 och 100"
>> 
>>   #: config.c:2558
>>   #, c-format
>
> There are definitely more typos like this! In order to find mismatched
> git config variables and other mismatched variable names in the po file,
> I implemented a checker for such typos in the "git-po-helper" in commit:
>
>  * https://github.com/git-l10n/git-po-helper/commit/e44df847abb91227771560aca56719031f280068
>
> To find typos, run:
>
>     git-po-helper check-po XX.po
>
> All easy-to-fix typos can be fixed using the following patch, but there
> are still some typos need to be fixed by l10n team leaders for the
> following languages:
>
>  + bg.po 
>  + id.po
>  + tr.po
>
> Patch for easy-to-fix typos, cut here -- 8< --
>
> Subject: [PATCH] l10n: fixed mismatched config variables
>
> Andrei pointed out a typo in the Swedish translation, where a config
> variable name had been copied incorrectly.
>
> By introducing typo detection function in "git-po-helper", more typos
> were found. All easy-to-fix typos were fixed in this commit.

This seems like a good narrow fix for now, but I'd think a much better
fix would be to e.g. add something to the CI or a lintk check based on
"git help --config" that errored if any string meant for gettext
contains such a variable.

It's data that isn't meant to be translated at all, so we should be
passing it as %s to the format string.

I see there's at least one fix that fixes a reference to a function
internal to git.git, such a check wouldn't catch that, but that message
should be fixed too. We shouldn't have anything referencing code names
except the BUG() messages (which we don't translate)>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [L10N] fixed mismatched variable names
  2021-07-03 11:18   ` [L10N] fixed mismatched variable names Jiang Xin
  2021-07-03 11:43     ` Ævar Arnfjörð Bjarmason
@ 2021-07-03 13:54     ` Jiang Xin
  2021-07-05  1:55     ` [PATCH] [l10n] po/id.po: fix " Bagas Sanjaya
  2 siblings, 0 replies; 10+ messages in thread
From: Jiang Xin @ 2021-07-03 13:54 UTC (permalink / raw)
  To: Peter Krefting, Andrei Rybak, Jordi Mas, Matthias Rüster,
	Christopher Díaz, Jean-Noël Avila, Alessandro Menti,
	Gwan-gyeong Mun, Daniel Santos, Emir SARI,
	Trần Ngọc Quân, Yi-Jyun Pan, Alexander Shopov,
	Bagas Sanjaya
  Cc: Git List, Jimmy Angelakos, Arusekk, Dimitriy Ryazantcev,
	Ævar Arnfjörð Bjarmason

Jiang Xin <worldhello.net@gmail.com> 于2021年7月3日周六 下午7:19写道:
>
> From: Peter Krefting <peter@softwolves.pp.se>
>
> On Tue, Jun 22 2021, Peter Krefting wrote:
>
> > Andrei also pointed out another typo in the Swedish translation, where
> > a configuration option had been copied incorrectly. Could you please
> > amend your patch to contain both these changes?
> >
> > ... ...
> >
> > @@ -2734,7 +2734,7 @@ msgstr "Felaktigt %s: \"%s\""
> >   #: config.c:2512
> >   #, c-format
> >   msgid "splitIndex.maxPercentChange value '%d' should be between 0 and 100"
> > -msgstr "värdet \"%d\" för splitIndex.maxPercentage borde vara mellan 0 och 100"
> > +msgstr "värdet \"%d\" för splitIndex.maxPercentChange borde vara mellan 0 och 100"
> >
> >   #: config.c:2558
> >   #, c-format
>
> There are definitely more typos like this! In order to find mismatched
> git config variables and other mismatched variable names in the po file,
> I implemented a checker for such typos in the "git-po-helper" in commit:
>
>  * https://github.com/git-l10n/git-po-helper/commit/e44df847abb91227771560aca56719031f280068
>
> To find typos, run:
>
>     git-po-helper check-po XX.po
>
> All easy-to-fix typos can be fixed using the following patch, but there
> are still some typos need to be fixed by l10n team leaders for the
> following languages:
>
>  + bg.po
>  + id.po
>  + tr.po
>

More typos will be fixed in pull request:
https://github.com/git-l10n/git-po/pull/534

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [L10N] fixed mismatched variable names
  2021-07-03 11:43     ` Ævar Arnfjörð Bjarmason
@ 2021-07-03 14:33       ` Jiang Xin
  0 siblings, 0 replies; 10+ messages in thread
From: Jiang Xin @ 2021-07-03 14:33 UTC (permalink / raw)
  To: Ævar Arnfjörð Bjarmason
  Cc: Peter Krefting, Andrei Rybak, Jordi Mas, Matthias Rüster,
	Christopher Díaz, Jean-Noël Avila, Alessandro Menti,
	Gwan-gyeong Mun, Daniel Santos, Emir SARI,
	Trần Ngọc Quân, Yi-Jyun Pan, Alexander Shopov,
	Bagas Sanjaya, Git List, Jimmy Angelakos, Arusekk,
	Dimitriy Ryazantcev

Ævar Arnfjörð Bjarmason <avarab@gmail.com> 于2021年7月3日周六 下午7:47写道:
>
> This seems like a good narrow fix for now, but I'd think a much better
> fix would be to e.g. add something to the CI or a lintk check based on
> "git help --config" that errored if any string meant for gettext
> contains such a variable.
>
> It's data that isn't meant to be translated at all, so we should be
> passing it as %s to the format string.
>
> I see there's at least one fix that fixes a reference to a function
> internal to git.git, such a check wouldn't catch that, but that message
> should be fixed too. We shouldn't have anything referencing code names
> except the BUG() messages (which we don't translate)>

There are at least three types of constant strings that should not be
translated: git config variables, function or variable names, git
commands or command options. See new test cases in commit:

https://github.com/git-l10n/git-po-helper/commit/86791cf25b17b6853bcbad7b501a76906ac86a02

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH] [l10n] po/id.po: fix mismatched variable names
  2021-07-03 11:18   ` [L10N] fixed mismatched variable names Jiang Xin
  2021-07-03 11:43     ` Ævar Arnfjörð Bjarmason
  2021-07-03 13:54     ` Jiang Xin
@ 2021-07-05  1:55     ` Bagas Sanjaya
  2 siblings, 0 replies; 10+ messages in thread
From: Bagas Sanjaya @ 2021-07-05  1:55 UTC (permalink / raw)
  To: worldhello.net
  Cc: DJm00n, alessandro.menti, arek_koz, ash, bagasdotme, bitigchi,
	christopher.diaz.riv, elongbug, git, hello, jmas, jn.avila,
	matthias.ruester, pan93412, peter, rybak.a.v, vnwildman, vyruss

Jiang Xin notified me [1] to fix some typos. Running git-po-helper [2]
check, it found following:

  1. git submodule--helper typo (was git submodule==helper)
  2. new_index improper translation (DO NOT translate instead)

Fix them.

This patch is also available as PR at [3]. It can also be squashed into
[1].

[1]:
https://lore.kernel.org/git/20210703111837.14894-1-worldhello.net@gmail.com/
[2]:
https://github.com/git-l10n/git-po-helper/commit/e44df847abb91227771560aca56719031f280068
[3]: https://github.com/git-l10n/git-po/pull/535

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 po/id.po | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/po/id.po b/po/id.po
index 50e2e1dc3c..2fb14c068d 100644
--- a/po/id.po
+++ b/po/id.po
@@ -12822,7 +12822,7 @@ msgstr "gagal memperbarui tembolok pohon utama"
 
 #: builtin/commit.c:437 builtin/commit.c:460 builtin/commit.c:508
 msgid "unable to write new_index file"
-msgstr "tidak dapat menulis berkas indeks baru"
+msgstr "tidak dapat menulis berkas new_index"
 
 #: builtin/commit.c:489
 msgid "cannot do a partial commit during a merge."
@@ -13330,7 +13330,7 @@ msgid ""
 "not exceeded, and then \"git restore --staged :/\" to recover."
 msgstr ""
 "repositori sudah diperbarui, tetapi tidak dapat menulis\n"
-"berkas indeks baru. Periksa bahwa disk tidak penuh dan kuota\n"
+"berkas new_index. Periksa bahwa disk tidak penuh dan kuota\n"
 "tidak terlampaui, lalu \"git restore --staged :/\" untuk pulihkan."
 
 #: builtin/config.c:11
@@ -21717,7 +21717,7 @@ msgstr "git submodule status [--quiet] [--cached] [--recursive] [<jalur>...]"
 
 #: builtin/submodule--helper.c:918
 msgid "git submodule--helper name <path>"
-msgstr "git submodule==helper name <jalur>"
+msgstr "git submodule--helper name <jalur>"
 
 #: builtin/submodule--helper.c:990
 #, c-format

base-commit: 9146ef75dd34f27ab3c70b041af9506357c940df
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-07-05  1:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21  2:07 [L10N] l10n: fixed tripple-letter typos Jiang Xin
2021-06-21 19:36 ` Peter Krefting
2021-06-22  0:24   ` Jiang Xin
2021-06-29  1:32     ` Junio C Hamano
2021-07-03 11:18   ` [L10N] fixed mismatched variable names Jiang Xin
2021-07-03 11:43     ` Ævar Arnfjörð Bjarmason
2021-07-03 14:33       ` Jiang Xin
2021-07-03 13:54     ` Jiang Xin
2021-07-05  1:55     ` [PATCH] [l10n] po/id.po: fix " Bagas Sanjaya
2021-06-22  6:57 ` [L10N] l10n: fixed tripple-letter typos Jean-Noël Avila

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).