summaryrefslogtreecommitdiffstats
path: root/po
AgeCommit message (Collapse)AuthorLines
2026-04-20Merge branch 'master' of github.com:alshopov/git-poJiang Xin-28/+34
* 'master' of github.com:alshopov/git-po: l10n: bg.po: Updated Bulgarian translation (6226t)
2026-04-19l10n: bg.po: Updated Bulgarian translation (6226t)Alexander Shopov-28/+34
Improvements prompted by AI-assisted review Signed-off-by: Alexander Shopov <ash@kambanaria.org>
2026-04-19l10n: zh_TW: update translation for Git 2.54Yi-Jyun Pan-905/+1782
Signed-off-by: Yi-Jyun Pan <pan93412@gmail.com>
2026-04-19Merge branch 'fr_v2.54.0' of github.com:jnavila/gitJiang Xin-322/+914
* 'fr_v2.54.0' of github.com:jnavila/git: l10n: fr: v2.54.0
2026-04-19Merge branch 'master' of github.com:alshopov/git-poJiang Xin-492/+1110
* 'master' of github.com:alshopov/git-po: l10n: bg.po: Updated Bulgarian translation (6226t)
2026-04-19l10n: Update Catalan TranslationMikel Forcada-1207/+2798
Signed-off-by: Mikel Forcada <mikel.forcada@gmail.com> Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-04-19l10n: ga.po: update for Git 2.54Aindriú Mac Giolla Eoin-494/+907
Signed-off-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
2026-04-19Merge branch 'master' of github.com:nafmo/git-l10n-svJiang Xin-378/+963
* 'master' of github.com:nafmo/git-l10n-sv: l10n: sv.po: Update Swedish translation l10n: sv.po: correct various translations
2026-04-19Merge branch 'apply-patch-reject' of github.com:A4-Tacks/git-poJiang Xin-1/+1
* 'apply-patch-reject' of github.com:A4-Tacks/git-po: l10n: fix 'zh_TW.po' 'Applying patch'
2026-04-19Merge branch 'tr-l10n' of github.com:bitigchi/git-poJiang Xin-386/+970
* 'tr-l10n' of github.com:bitigchi/git-po: l10n: tr: Update Turkish translations
2026-04-18l10n: fr: v2.54.0Jean-Noël Avila-322/+914
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
2026-04-17l10n: tr: Update Turkish translationsEmir SARI-386/+970
Signed-off-by: Emir SARI <emir_sari@icloud.com>
2026-04-16l10n: sv.po: Update Swedish translationPeter Krefting-355/+940
Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
2026-04-16l10n: sv.po: correct various translationsStefan Björnelund-34/+34
- correct translation of pathspec msgs Corrects cases where the “pathspec” is translated as if it was a path - correct translation of refspec msgs Corrects cases where the “refspec” were not consistently translated - correct translation of credential msgs Corrects cases where the “credential” were not correctly translated Signed-off-by: Stefan Björnelund <stefan.bjornelund.gnome@gmail.com> Modified-by: Peter Krefting <peter@softwolves.pp.se>
2026-04-16l10n: zh_CN: updated translation for 2.54Jiang Xin-375/+1069
Translate 198 previously fuzzy or untranslated messages, bringing the total number of translated messages to 6226. Reviewed-by: 依云 <lilydjwg@gmail.com> Reviewed-by: Fangyi Zhou <me@fangyi.io> Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-04-15l10n: bg.po: Updated Bulgarian translation (6226t)Alexander Shopov-492/+1110
Signed-off-by: Alexander Shopov <ash@kambanaria.org>
2026-04-10l10n: zh_CN: post-2.53 code reviewJiang Xin-4/+6
Update Simplified Chinese translation for post-2.53 code review. Reviewed-by: 依云 <lilydjwg@gmail.com> Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-04-03l10n: document AI and PO helper in po/READMEJiang Xin-6/+21
Document po/AGENTS.md-driven AI workflows (with an example prompt) before the PO helper section, cross-reference git-po-helper, and summarize quality checks plus optional agent integration in the PO helper section. Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-04-03l10n: docs: add review instructions in AGENTS.mdJiang Xin-0/+197
Add a new "Reviewing po/XX.po" section to po/AGENTS.md that provides comprehensive guidance for AI agents to review translation files. Translation diffs lose context, especially for multi-line msgid and msgstr entries. Some LLMs ignore context and cannot evaluate translations accurately; others rely on scripts to search for context in source files, making the review process time-consuming. To address this, git-po-helper implements the compare subcommand, which extracts new or modified translations with full context (complete msgid/msgstr pairs), significantly improving review efficiency. A limitation is that the extracted content lacks other already-translated content for reference, which may affect terminology consistency. This is mitigated by including a glossary in the PO file header. git-po-helper-generated review files include the header entry and glossary (if present) by default. The review workflow leverages git-po-helper subcommands: - git-po-helper compare: Extract new or changed entries between two versions of a PO file into a valid PO file for review. Supports multiple modes: * Compare HEAD with the working tree (local changes) * Compare a commit's parent with the commit (--commit) * Compare a commit with the working tree (--since) * Compare two arbitrary revisions (-r) - git-po-helper msg-select: Split large review files into smaller batches by entry index range for manageable review sessions. Supports range formats like "-50" (first 50), "51-100", "101-" (to end). Evaluation with the Qwen model: git-po-helper agent-run review --commit 2000abefba --agent qwen Benchmark results: | Metric | Value | |------------------|----------------------------------| | Turns | 22 | | Input tokens | 537263 | | Output tokens | 4397 | | API duration | 167.84 s | | Review score | 96/100 | | Total entries | 63 | | With issues | 4 (1 critical, 2 major, 1 minor) | Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-04-03l10n: docs: add translation instructions in AGENTS.mdJiang Xin-1/+600
Add a new "Translating po/XX.po" section to po/AGENTS.md with detailed workflow and procedures for AI agents to translate language-specific PO files. Users can invoke AI-assisted translation in coding tools with a prompt such as: "Translate the po/XX.po file by referring to @po/AGENTS.md" Translation results serve as drafts; human contributors must review and approve before submission. To address the low translation efficiency of some LLMs, batch translation replaces entry-by-entry translation. git-po-helper implements a gettext JSON format for translation files, replacing PO format during translation to enable batch processing. Evaluation with the Qwen model: git-po-helper agent-run --agent=qwen translate po/zh_CN.po Test translation (127 entries, 50 per batch): Initial state: 5998 translated, 91 fuzzy, 36 untranslated Final state: 6125 translated, 0 fuzzy, 0 untranslated Successfully translated: 127 entries (91 fuzzy + 36 untranslated) Success rate: 100% Benchmark results (3-run average): AI agent using gettext tools: | Metric | Value | |------------------|--------------------------------| | Avg. Num turns | 86 (176, 44, 40) | | Avg. Exec. Time | 20m44s (39m56s, 14m38s, 7m38s) | | Successful runs | 3/3 | AI agent using git-po-helper (JSON batch flow): | Metric | Value | |------------------|--------------------------------| | Avg. Num turns | 56 (68, 39, 63) | | Avg. Exec. Time | 19m8s (28m55s, 9m1s, 19m28s) | | Successful runs | 3/3 | The git-po-helper flow reduces the number of turns (86 → 56) with similar execution time; the bottleneck appears to be LLM processing rather than network interaction. Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-04-03l10n: docs: add update PO instructions in AGENTS.mdJiang Xin-0/+11
Add a new section to po/AGENTS.md to provide clear instructions for updating language-specific PO files. The improved documentation significantly reduces both conversation turns and execution time. Performance evaluation with the Qwen model: # Before: instructions in po/README.md; the custom prompt # references po/README.md during execution git-po-helper agent-test --runs=5 --agent=qwen update-po \ --prompt="Update po/zh_CN.po according to po/README.md" # After: instructions in po/AGENTS.md; the built-in prompt # references po/AGENTS.md during execution git-po-helper agent-test --runs=5 --agent=qwen update-po Benchmark results (5-run average): | Metric | Before | After | Improvement | |-------------|---------|--------|-------------| | Turns | 22 | 4 | -82% | | Exec. time | 38s | 9s | -76% | | Turn range | 17-39 | 3-9 | | | Time range | 25s-68s | 7s-14s | | Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-04-03l10n: docs: add AGENTS.md with update POT instructionsJiang Xin-0/+70
Add a new documentation file po/AGENTS.md that provides agent-specific instructions for generating or updating po/git.pot, separating them from the general po/README.md. This separation allows for more targeted optimization of AI agent workflows. Performance evaluation with the Qwen model: # Before: No agent-specific instructions; use po/README.md for # reference. git-po-helper agent-test --runs=5 --agent=qwen update-pot \ --prompt="Update po/git.pot according to po/README.md" # Phase 1: add the instructions to po/README.md; the prompt # references po/README.md during execution git-po-helper agent-test --runs=5 --agent=qwen update-pot \ --prompt="Update po/git.pot according to po/README.md" # Phase 2: add the instructions to po/AGENTS.md; use the built-in # prompt that references po/AGENTS.md during execution git-po-helper agent-test --runs=5 --agent=qwen update-pot Benchmark results (5-run average): Phase 1 - Optimizing po/README.md: | Metric | Before | Phase 1 | Improvement | |-------------|---------|---------|-------------| | Turns | 17 | 5 | -71% | | Exec. time | 34s | 14s | -59% | | Turn range | 3-36 | 3-7 | | | Time range | 10s-59s | 9s-19s | | Phase 2 - Adding po/AGENTS.md (further optimization): | Metric | Before | Phase 2 | Improvement | |-------------|---------|---------|-------------| | Turns | 17 | 3 | -82% | | Exec. time | 34s | 8s | -76% | | Turn range | 3-36 | 3-3 | | | Time range | 10s-59s | 6s-9s | | Separating agent-specific instructions into AGENTS.md provides: - More focused and concise instructions for AI agents - Cleaner README.md for human readers - An additional 11% reduction in turns and 17% reduction in execution time - More consistent behavior (turn range reduced from 3-7 to 3-3) Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-04-03l10n: add .gitattributes to simplify location filteringJiang Xin-119/+161
To simplify the location filtering process for l10n contributors when committing po/XX.po files, add filter attributes for selected PO files to the repository. This ensures all contributors automatically get the same filter configuration without manual setup in .git/info/attributes. The default filter (gettext-no-location) is applied to all .po files except: - Legacy, unmaintained PO files that still contain location comments. Leaving the filter off avoids index vs working-tree discrepancies for these files. The CI pipeline will report an error when future updates touch these legacy files. - Some PO files use a different filter that strips only line numbers from location comments while keeping filenames. Contributors still need to manually define the filter drivers via git-config as documented in po/README.md. Four PO files that use location filtering (po/ca.po, po/es.po, po/ga.po, po/ru.po) were batch-modified so their on-disk format matches the filter output (e.g. line wrapping), avoiding index vs working-tree mismatch. Additionally, po/README.md has been reorganized: the material on preparing location-less PO files for commit has been moved from "Updating a XX.po file" to a separate "Preparing a XX.po file for commit" section. This prevents AI agents from introducing unrelated operations when updating PO files. Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-03-21l10n: fix 'zh_TW.po' 'Applying patch'A4-Tacks-1/+1
Signed-off-by: A4-Tacks <wdsjxhno1001@163.com>
2026-01-31Merge branch 'jx/zh_CN' of github.com:jiangxin/gitJiang Xin-1309/+1458
* 'jx/zh_CN' of github.com:jiangxin/git: l10n: zh_CN: standardize glossary terms l10n: zh_CN: updated translation for 2.53 l10n: zh_CN: fix inconsistent use of standard vs. wide colons
2026-01-31Merge branch 'l10n/zh-TW/git-2-53' of github.com:l10n-tw/git-poJiang Xin-720/+348
* 'l10n/zh-TW/git-2-53' of github.com:l10n-tw/git-po: l10n: zh_TW.po: update Git 2.53 translation
2026-01-31Merge branch 'po-id' of github.com:bagasme/git-poJiang Xin-217/+351
* 'po-id' of github.com:bagasme/git-po: l10n: po-id for 2.53
2026-01-31Merge branch 'l10n-ga-2.53' of github.com:aindriu80/git-poJiang Xin-220/+407
* 'l10n-ga-2.53' of github.com:aindriu80/git-po: l10n: ga.po: Fix git-po-helper warnings l10n: ga.po: Update Irish translation for Git 2.53
2026-01-31Merge branch 'master' of github.com:alshopov/git-poJiang Xin-224/+352
* 'master' of github.com:alshopov/git-po: l10n: bg.po: Updated Bulgarian translation (6091t)
2026-01-31Merge branch 'fr_2.53' of github.com:jnavila/gitJiang Xin-238/+296
* 'fr_2.53' of github.com:jnavila/git: l10n: fr: v2.53
2026-01-31Merge branch 'tr-l10n' of github.com:bitigchi/git-poJiang Xin-196/+303
* 'tr-l10n' of github.com:bitigchi/git-po: l10n: tr: Update Turkish translations
2026-01-31l10n: zh_CN: standardize glossary termsJiang Xin-1085/+1098
Add preferred Chinese terminology notes and align existing translations to the updated glossary. AI-assisted review was used to check and improve legacy translations. Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-01-29l10n: zh_CN: updated translation for 2.53Jiang Xin-209/+345
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-01-29l10n: zh_CN: fix inconsistent use of standard vs. wide colonsJiang Xin-27/+27
Replace mixed usage of standard (ASCII) colons ':' with full-width (wide) colons ':' in Chinese translations to ensure typographic consistency, as reported by CAESIUS-TIM [1]. Full-width punctuation is preferred in Chinese localization for better readability and adherence to typesetting conventions. [1]: https://github.com/git-l10n/git-po/issues/884 Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2026-01-28l10n: fr: v2.53Jean-Noël Avila-238/+296
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
2026-01-28l10n: zh_TW.po: update Git 2.53 translationYi-Jyun Pan-720/+348
Co-authored-by: Lumynous <lumynou5.tw@gmail.com> Signed-off-by: Yi-Jyun Pan <pan93412@gmail.com>
2026-01-27l10n: tr: Update Turkish translationsEmir SARI-196/+303
Signed-off-by: Emir SARI <emir_sari@icloud.com>
2026-01-27l10n: sv.po: Update Swedish translationPeter Krefting-188/+296
Also fix typos reported by Tuomas Ahola. Helped-by: Tuomas Ahola <taahol@utu.fi>. Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
2026-01-27l10n: po-id for 2.53Bagas Sanjaya-217/+351
Update following components: * branch.c * builtin/blame.c * builtin/config.c * builtin/fast-export.c * builtin/fast-import.c * builtin/fetch.c * builtin/gc.c * builtin/index-pack.c * builtin/pack-objects.c * builtin/patch-id.c * builtin/replay.c * builtin/repo.c * bundle-uri.c * command-list.c * object-file.c * refs/reftable-backend.c * repack-promisor.c * strbuf.c Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
2026-01-26l10n: ga.po: Fix git-po-helper warningsAindriú Mac Giolla Eoin-2/+2
Signed-off-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
2026-01-25l10n: bg.po: Updated Bulgarian translation (6091t)Alexander Shopov-224/+352
Signed-off-by: Alexander Shopov <ash@kambanaria.org>
2026-01-23l10n: ga.po: Update Irish translation for Git 2.53Aindriú Mac Giolla Eoin-220/+407
Signed-off-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
2025-11-16l10n: zh_CN: updated translation for 2.52Teng Long-297/+1401
Reviewed-by: 依云 <lilydjwg@gmail.com> Signed-off-by: Teng Long <dyroneteng@gmail.com> Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2025-11-16Merge branch '2.52-uk' of github.com:arkid15r/git-ukrainian-l10nJiang Xin-231/+1161
* '2.52-uk' of github.com:arkid15r/git-ukrainian-l10n: l10n: uk: add 2.52 translation
2025-11-15l10n: uk: add 2.52 translationArkadii Yakovets-231/+1161
Co-authored-by: Kate Golovanova <kate@kgthreads.com> Signed-off-by: Arkadii Yakovets <ark@cho.red> Signed-off-by: Kate Golovanova <kate@kgthreads.com>
2025-11-15Merge branch 'vi-2.52' of github.com:Nekosha/git-poJiang Xin-242/+1140
* 'vi-2.52' of github.com:Nekosha/git-po: l10n: Updated translation for vi-2.52
2025-11-15Merge branch 'l10n/zh-TW/git-2-52' of github.com:l10n-tw/git-poJiang Xin-415/+1568
* 'l10n/zh-TW/git-2-52' of github.com:l10n-tw/git-po: l10n: zh_TW.po: update Git 2.52 translation
2025-11-15Merge branch 'po-id' of github.com:bagasme/git-poJiang Xin-283/+1420
* 'po-id' of github.com:bagasme/git-po: l10n: po-id for 2.52
2025-11-15Merge branch 'master' of github.com:alshopov/git-poJiang Xin-230/+1177
* 'master' of github.com:alshopov/git-po: l10n: bg.po: Updated Bulgarian translation (6065t)
2025-11-15Merge branch 'fr_v2.52' of github.com:jnavila/gitJiang Xin-228/+1208
* 'fr_v2.52' of github.com:jnavila/git: l10n: fr: version 2.52