5555: Some translation strings should be the same as keys in english (GrampsType classes), detailed reports

svn: r18844
This commit is contained in:
Jérôme Rapinat 2012-02-10 15:13:04 +00:00
parent 3767c1d1e4
commit 4bc1428a85
2 changed files with 22 additions and 0 deletions

View File

@ -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 ""

View File

@ -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")