summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2022-01-10 11:52:49 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-01-10 11:52:49 -0800
commitb6f538f2966e60c10f34c94e6417ccf967b2a521 (patch)
tree524202ac1c9fe57ea6531fb6ee9f7ea88b2997fd
parentMerge branch 'jh/p4-human-unit-numbers' (diff)
parentl10n: README: call more attention to plural strings (diff)
downloadtgif-b6f538f2966e60c10f34c94e6417ccf967b2a521.tar.xz
Merge branch 'js/l10n-mention-ngettext-early-in-readme'
Localization doc update. * js/l10n-mention-ngettext-early-in-readme: l10n: README: call more attention to plural strings
-rw-r--r--po/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/po/README.md b/po/README.md
index dcd8436c25..19fabb4acf 100644
--- a/po/README.md
+++ b/po/README.md
@@ -221,6 +221,10 @@ General advice:
- Adjust the strings so that they're easy to translate. Most of the
advice in `info '(gettext)Preparing Strings'` applies here.
+- Strings referencing numbers of items may need to be split into singular and
+ plural forms; see the Q\_() wrapper in the C sub-section below for an
+ example.
+
- If something is unclear or ambiguous you can use a "TRANSLATORS"
comment to tell the translators what to make of it. These will be
extracted by xgettext(1) and put in the "po/\*.po" files, e.g. from