From 4bc1428a854d0e608a6f8c62ed820919df701564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Fri, 10 Feb 2012 15:13:04 +0000 Subject: [PATCH] 5555: Some translation strings should be the same as keys in english (GrampsType classes), detailed reports svn: r18844 --- po/gramps.pot | 14 ++++++++++++++ src/plugins/lib/libtranslate.py | 8 ++++++++ 2 files changed, 22 insertions(+) diff --git a/po/gramps.pot b/po/gramps.pot index e585106f9..6d28d5eac 100644 --- a/po/gramps.pot +++ b/po/gramps.pot @@ -28389,3 +28389,17 @@ msgid "" "different calendars. Try the button next to the date field in the Events " "Editor." msgstr "" + +#. List of translated strings used here +#. Dead code for l10n; added on translation template +#. Translation string should be same as key name +#. ex: AttributeType +#. (FATHER_AGE , _("Father's Age"), "Father Age"), +#. (MOTHER_AGE , _("Mother's Age"), "Mother Age"), +#: ../src/plugins/lib/libtranslate.py:246 +msgid "Father Age" +msgstr "" + +#: ../src/plugins/lib/libtranslate.py:246 +msgid "Mother Age" +msgstr "" diff --git a/src/plugins/lib/libtranslate.py b/src/plugins/lib/libtranslate.py index e6518823c..e143526ac 100644 --- a/src/plugins/lib/libtranslate.py +++ b/src/plugins/lib/libtranslate.py @@ -236,3 +236,11 @@ class Translator: :rtype: unicode """ return GrampsType.xml_str(name) + + # List of translated strings used here + # Dead code for l10n; added on translation template + # Translation string should be same as key name + # ex: AttributeType + #(FATHER_AGE , _("Father's Age"), "Father Age"), + #(MOTHER_AGE , _("Mother's Age"), "Mother Age"), + _("Father Age"), _("Mother Age")