Startup of Git 2.3.0 l10n round 2
2015-01-18 23:53 GMT+08:00 Jean-Noël AVILA <[email protected]>:
Quoted 6 lines
Hi,
One of the new strings mixes tabs and spaces at begining of lines. Is it really to be applied?
Jean-Noël
Yes, it's wrong to using mixed tabs and spaces in the message. It comes from commit v2.0.5-5-g9990273, and it should be fixed.
commit 99902739174be82851143d4be2a0f85727a9efe0
Author: Alexander Kuleshov <[email protected]>
Date: Fri Jan 9 00:08:36 2015 +0600
show-branch: line-wrap show-branch usage
Signature · 1 line
Jiang Xin
PATCH 1/1 show-branch: fix indentation of usage string
---
Quoted 3 lines · Jiang Xin
2015-01-18 23:53 GMT+08:00 Jean-Noël AVILA <[email protected]>:
Yes, it's wrong to using mixed tabs and spaces in the message. It comes from commit v2.0.5-5-g9990273, and it should be fixed.
This also breaks the indentation of the command output.
builtin/show-branch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
builtin/show-branch.c +3 -3
@@ -7,9 +7,9 @@static const char * show_branch_usage[] = {N_ ("git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -" [--current] [--color[=<when>] | --no-color] [--sparse]\n" -" [--more=<n> | --list | --independent | --merge-base]\n" -" [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" ), +" [--current] [--color[=<when>] | --no-color] [--sparse]\n" +" [--more=<n> | --list | --independent | --merge-base]\n" +" [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" ),N_ ("git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]" ),NULL };
Signature · 1 line
2.3.0.rc0.211.g05e7197
Re: [PATCH] show-branch: fix indentation of usage string
Quoted 20 lines · Ralf Thielow
Noticed-by Jean-Noël Avila <[email protected]>Signed-off-by Ralf Thielow <[email protected]>---
Quoted 3 lines · Jiang Xin
2015-01-18 23:53 GMT+08:00 Jean-Noël AVILA <[email protected]>:
Yes, it's wrong to using mixed tabs and spaces in the message. It comes from commit v2.0.5-5-g9990273, and it should be fixed.This also breaks the indentation of the command output.
builtin/show-branch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)builtin/show-branch.c +0
-0@@ -7,9 +7,9 @@static const char * show_branch_usage[] = {
builtin/show-branch.c line 15
Quoted 10 lines
builtin/show-branch.c +3
-3N_ ("git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -" [--current] [--color[=<when>] | --no-color] [--sparse]\n" -" [--more=<n> | --list | --independent | --merge-base]\n" -" [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" ), +" [--current] [--color[=<when>] | --no-color] [--sparse]\n" +" [--more=<n> | --list | --independent | --merge-base]\n" +" [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" ),N_ ("git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]" ), NULL };
Thanks.
PATCH 1/1 l10n: correct indentation of show-branch usage
In reply to Ralf ThielowAn indentation error was found right after we started l10n round 2, and commit d6589d1 (show-branch: fix indentation of usage string) and this update would fix it.
---
This patch is based on master branch of git://github.com/git-l10n/git-po
po/de.po | 18 +++++++++--------- po/fr.po | 18 +++++++++--------- po/git.pot | 10 +++++----- po/sv.po | 38 +++++++++++++++++++------------------- po/vi.po | 18 +++++++++--------- po/zh_CN.po | 24 +++++++++++------------- 6 files changed, 62 insertions(+), 64 deletions(-)
po/de.po +9 -9
@@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Git\n" "Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n" -"POT-Creation-Date: 2015-01-18 11:24+0800\n" -"PO-Revision-Date: 2014-11-20 10:19+0800\n" +"POT-Creation-Date: 2015-01-21 14:21+0800\n" +"PO-Revision-Date: 2015-01-21 15:01+0800\n" "Last-Translator: Ralf Thielow <[email protected]>\n" "Language-Team: German <>\n" "Language: de\n"
@@ -326,7 +326,7 @@ msgstr "kann '%s' nicht erstellen" msgid "index-pack died" msgstr "Erstellung der Paketindexdatei abgebrochen" -#: color.c:259 +#: color.c:260 #, c-format msgid "invalid color value: %.*s" msgstr "Ungültiger Farbwert: %.*s"
@@ -9679,14 +9679,14 @@ msgstr "Ausgabe mit Zeilenumbrüchen" #: builtin/show-branch.c:9 msgid "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -"\t\t [--current] [--color[=<when>] | --no-color] [--sparse]\n" -"\t\t [--more=<n> | --list | --independent | --merge-base]\n" -"\t [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" +"\t\t[--current] [--color[=<when>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" msgstr "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -"\t\t [--current] [--color[=<Wann>] | --no-color] [--sparse]\n" -"\t\t [--more=<n> | --list | --independent | --merge-base]\n" -"\t [--no-name | --sha1-name] [--topics] [(<Commit> | <glob>)...]" +"\t\t[--current] [--color[=<Wann>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<Commit> | <glob>)...]" #: builtin/show-branch.c:13 msgid "git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]"
po/fr.po +9 -9
@@ -73,8 +73,8 @@ msgid "" msgstr "" "Project-Id-Version: git\n" "Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n" -"POT-Creation-Date: 2015-01-18 11:24+0800\n" -"PO-Revision-Date: 2015-01-18 17:01+0100\n" +"POT-Creation-Date: 2015-01-21 14:21+0800\n" +"PO-Revision-Date: 2015-01-21 14:57+0800\n" "Last-Translator: Jean-Noël Avila <[email protected]>\n" "Language-Team: Jean-Noël Avila <[email protected]>\n" "Language: fr\n"
@@ -394,7 +394,7 @@ msgstr "impossible de créer '%s'" msgid "index-pack died" msgstr "l'index de groupe a disparu" -#: color.c:259 +#: color.c:260 #, c-format msgid "invalid color value: %.*s" msgstr "Valeur invalide de couleur : %.*s"
@@ -9675,14 +9675,14 @@ msgstr "Couper les lignes" #: builtin/show-branch.c:9 msgid "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -"\t\t [--current] [--color[=<when>] | --no-color] [--sparse]\n" -"\t\t [--more=<n> | --list | --independent | --merge-base]\n" -"\t [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" +"\t\t[--current] [--color[=<when>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" msgstr "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -" [--current] [--color[=<quand>] | --no-color] [--sparse]\n" -" [--more=<n> | --list | --independent | --merge-base]\n" -" [--no-name | --sha1-name] [--topics] [(<rév> | <glob>)...]" +"\t\t[--current] [--color[=<quand>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<rév> | <glob>)...]" #: builtin/show-branch.c:13 msgid "git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]"
po/git.pot +5 -5
@@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n" -"POT-Creation-Date: 2015-01-18 11:24+0800\n" +"POT-Creation-Date: 2015-01-21 14:21+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\n"
@@ -305,7 +305,7 @@ msgstr "" msgid "index-pack died" msgstr "" -#: color.c:259 +#: color.c:260 #, c-format msgid "invalid color value: %.*s" msgstr ""
@@ -9015,9 +9015,9 @@ msgstr "" #: builtin/show-branch.c:9 msgid "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -"\t\t [--current] [--color[=<when>] | --no-color] [--sparse]\n" -"\t\t [--more=<n> | --list | --independent | --merge-base]\n" -"\t [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" +"\t\t[--current] [--color[=<when>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" msgstr "" #: builtin/show-branch.c:13
po/sv.po +19 -19
@@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: git 2.0.0\n" "Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n" -"POT-Creation-Date: 2015-01-18 11:24+0800\n" -"PO-Revision-Date: 2015-01-18 20:29+0100\n" +"POT-Creation-Date: 2015-01-21 14:21+0800\n" +"PO-Revision-Date: 2015-01-21 14:57+0800\n" "Last-Translator: Peter Krefting <[email protected]>\n" "Language-Team: Swedish <[email protected]>\n" "Language: sv\n"
@@ -320,7 +320,7 @@ msgstr "kan inte skapa \"%s\"" msgid "index-pack died" msgstr "index-pack dog" -#: color.c:259 +#: color.c:260 #, c-format msgid "invalid color value: %.*s" msgstr "felaktigt färgvärde: %.*s"
@@ -6361,11 +6361,11 @@ msgstr " delat" #: builtin/init-db.c:475 msgid "" -"git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared" -"[=<permissions>]] [directory]" +"git init [-q | --quiet] [--bare] [--template=<template-directory>] [--" +"shared[=<permissions>]] [directory]" msgstr "" -"git init [-q | --quiet] [--bare] [--template=<mallkatalog>] [--shared" -"[=<behörigheter>]] [katalog]" +"git init [-q | --quiet] [--bare] [--template=<mallkatalog>] [--" +"shared[=<behörigheter>]] [katalog]" #: builtin/init-db.c:498 msgid "permissions"
@@ -6408,8 +6408,8 @@ msgid "" "git interpret-trailers [--trim-empty] [(--trailer <token>[(=|:)<value>])...] " "[<file>...]" msgstr "" -"git interpret-trailers [--trim-empty] [(--trailer <symbol>[(=|:)" -"<värde>])...] [<fil>...]" +"git interpret-trailers [--trim-empty] [(--trailer " +"<symbol>[(=|:)<värde>])...] [<fil>...]" #: builtin/interpret-trailers.c:25 msgid "trim empty trailers"
@@ -9425,14 +9425,14 @@ msgstr "Radbryt utdata" #: builtin/show-branch.c:9 msgid "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -"\t\t [--current] [--color[=<when>] | --no-color] [--sparse]\n" -"\t\t [--more=<n> | --list | --independent | --merge-base]\n" -"\t [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" +"\t\t[--current] [--color[=<when>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" msgstr "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -"\t\t [--current] [--color[=<när>] | --no-color] [--sparse]\n" -"\t\t [--more=<n> | --list | --independent | --merge-base]\n" -"\t [--no-name | --sha1-name] [--topics] [(<rev> | <mönster>)...]" +"\t\t[--current] [--color[=<när>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<rev> | <mönster>)...]" #: builtin/show-branch.c:13 msgid "git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]"
@@ -9504,11 +9504,11 @@ msgstr "visa <n> nyaste refloggposter med början på bas" #: builtin/show-ref.c:10 msgid "" -"git show-ref [-q|--quiet] [--verify] [--head] [-d|--dereference] [-s|--hash" -"[=<n>]] [--abbrev[=<n>]] [--tags] [--heads] [--] [pattern*] " +"git show-ref [-q|--quiet] [--verify] [--head] [-d|--dereference] [-s|--" +"hash[=<n>]] [--abbrev[=<n>]] [--tags] [--heads] [--] [pattern*] " msgstr "" -"git show-ref [-q|--quiet] [--verify] [--head] [-d|--dereference] [-s|--hash" -"[=<n>]] [--abbrev[=<n>]] [--tags] [--heads] [--] [mönster*] " +"git show-ref [-q|--quiet] [--verify] [--head] [-d|--dereference] [-s|--" +"hash[=<n>]] [--abbrev[=<n>]] [--tags] [--heads] [--] [mönster*] " #: builtin/show-ref.c:11 msgid "git show-ref --exclude-existing[=pattern] < ref-list"
po/vi.po +9 -9
@@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: git v2.3.0\n" "Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n" -"POT-Creation-Date: 2015-01-18 11:24+0800\n" -"PO-Revision-Date: 2015-01-19 07:19+0700\n" +"POT-Creation-Date: 2015-01-21 14:21+0800\n" +"PO-Revision-Date: 2015-01-21 14:58+0800\n" "Last-Translator: Trần Ngọc Quân <[email protected]>\n" "Language-Team: Vietnamese <[email protected]>\n" "Language: vi\n"
@@ -325,7 +325,7 @@ msgstr "không thể tạo “%s”" msgid "index-pack died" msgstr "mục lục gói đã chết" -#: color.c:259 +#: color.c:260 #, c-format msgid "invalid color value: %.*s" msgstr "giá trị màu không hợp lệ: %.*s"
@@ -9500,14 +9500,14 @@ msgstr "Ngắt dòng khi quá dài" #: builtin/show-branch.c:9 msgid "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -"\t\t [--current] [--color[=<when>] | --no-color] [--sparse]\n" -"\t\t [--more=<n> | --list | --independent | --merge-base]\n" -"\t [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" +"\t\t[--current] [--color[=<when>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" msgstr "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -"\t\t [--current] [--color[=<khi>] | --no-color] [--sparse]\n" -"\t\t [--more=<n> | --list | --independent | --merge-base]\n" -"\t [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)…]" +"\t\t[--current] [--color[=<khi>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<rev> | <glob>)…]" #: builtin/show-branch.c:13 msgid "git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]"
po/zh_CN.po +11 -13
@@ -12,8 +12,8 @@ msgid "" msgstr "" "Project-Id-Version: Git\n" "Report-Msgid-Bugs-To: Git Mailing List <[email protected]>\n" -"POT-Creation-Date: 2015-01-18 11:24+0800\n" -"PO-Revision-Date: 2015-01-18 20:34+0800\n" +"POT-Creation-Date: 2015-01-21 14:21+0800\n" +"PO-Revision-Date: 2015-01-21 14:58+0800\n" "Last-Translator: Jiang Xin <[email protected]>\n" "Language-Team: GitHub <https://github.com/gotgit/git/>\n" "Language: zh_CN\n"
@@ -320,7 +320,7 @@ msgstr "不能创建 '%s'" msgid "index-pack died" msgstr "index-pack 终止" -#: color.c:259 +#: color.c:260 #, c-format msgid "invalid color value: %.*s" msgstr "无效的颜色值:%.*s"
@@ -5368,8 +5368,7 @@ msgstr "获取组并指定引用规则没有意义" #: builtin/fmt-merge-msg.c:13 msgid "git fmt-merge-msg [-m <message>] [--log[=<n>]|--no-log] [--file <file>]" -msgstr "" -"git fmt-merge-msg [-m <说明>] [--log[=<n>]|--no-log] [--file <文件>]" +msgstr "git fmt-merge-msg [-m <说明>] [--log[=<n>]|--no-log] [--file <文件>]" #: builtin/fmt-merge-msg.c:662 builtin/fmt-merge-msg.c:665 builtin/grep.c:698 #: builtin/merge.c:198 builtin/repack.c:178 builtin/repack.c:182
@@ -6375,8 +6374,7 @@ msgstr "不能切换目录到 %s" msgid "" "%s (or --work-tree=<directory>) not allowed without specifying %s (or --git-" "dir=<directory>)" -msgstr "" -"不允许 %s(或 --work-tree=<目录>)而没有指定 %s(或 --git-dir=<目录>)" +msgstr "不允许 %s(或 --work-tree=<目录>)而没有指定 %s(或 --git-dir=<目录>)" #: builtin/init-db.c:591 #, c-format
@@ -9359,14 +9357,14 @@ msgstr "折行输出" #: builtin/show-branch.c:9 msgid "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -"\t\t [--current] [--color[=<when>] | --no-color] [--sparse]\n" -"\t\t [--more=<n> | --list | --independent | --merge-base]\n" -"\t [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" +"\t\t[--current] [--color[=<when>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]" msgstr "" "git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n" -"\t\t [--current] [--color[=<何时>] | --no-color] [--sparse]\n" -"\t\t [--more=<n> | --list | --independent | --merge-base]\n" -"\t [--no-name | --sha1-name] [--topics] [(<版本> | <通配符>)...]" +"\t\t[--current] [--color[=<何时>] | --no-color] [--sparse]\n" +"\t\t[--more=<n> | --list | --independent | --merge-base]\n" +"\t\t[--no-name | --sha1-name] [--topics] [(<版本> | <通配符>)...]" #: builtin/show-branch.c:13 msgid "git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]"
Signature · 1 line
2.3.0.rc0.7.g04cb2f2