[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * po_document/POTFILES.in: add tp/Texinfo/Transla
From: |
Patrice Dumas |
Subject: |
branch master updated: * po_document/POTFILES.in: add tp/Texinfo/Translations.pm. |
Date: |
Sat, 15 Jan 2022 20:32:14 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 5bad8b36e7 * po_document/POTFILES.in: add tp/Texinfo/Translations.pm.
5bad8b36e7 is described below
commit 5bad8b36e74bb400c86916ab318371fac3262e6c
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Jan 16 02:32:02 2022 +0100
* po_document/POTFILES.in: add tp/Texinfo/Translations.pm.
* tp/Texinfo/Translations.pm: mark explicitly strings that are to be
translated as the call to gdt has a first argument that is not the
string to translate.
---
ChangeLog | 8 ++++++++
po_document/POTFILES.in | 1 +
tp/Texinfo/Translations.pm | 8 ++++++++
3 files changed, 17 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 400910b5d5..7116c15dde 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-01-16 Patrice Dumas <pertusus@free.fr>
+
+ * po_document/POTFILES.in: add tp/Texinfo/Translations.pm.
+
+ * tp/Texinfo/Translations.pm: mark explicitly strings that are to be
+ translated as the call to gdt has a first argument that is not the
+ string to translate.
+
2019-01-15 Gavin Smith <gavinsmith0123@gmail.com>
Update gnulib.
diff --git a/po_document/POTFILES.in b/po_document/POTFILES.in
index 6e1c92e4ea..8ad88dfcf0 100644
--- a/po_document/POTFILES.in
+++ b/po_document/POTFILES.in
@@ -9,6 +9,7 @@
tp/Texinfo/Common.pm
tp/Texinfo/Transformations.pm
+tp/Texinfo/Translations.pm
tp/Texinfo/Convert/Converter.pm
tp/Texinfo/Convert/DocBook.pm
tp/Texinfo/Convert/IXIN.pm
diff --git a/tp/Texinfo/Translations.pm b/tp/Texinfo/Translations.pm
index e62de40bee..2b430ec232 100644
--- a/tp/Texinfo/Translations.pm
+++ b/tp/Texinfo/Translations.pm
@@ -318,6 +318,14 @@ sub _non_bracketed_contents($) {
}
}
+if (0) {
+ # it is needed to mark the translation as gdt is called like
+ # gdt($self, '....')
+ # and not like gdt('....')
+ gdt('{name} on {class}', undef, undef);
+ gdt('{name} of {class}', undef, undef);
+}
+
# In a handful of cases, we delay storing the contents of the
# index entry until now to avoid needing Texinfo::Translations::gdt
# in the main code of Parser.pm. Also set 'in_code' value on
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * po_document/POTFILES.in: add tp/Texinfo/Translations.pm.,
Patrice Dumas <=