disambiguate "none" (for French)
from po/fr.po: The same "none" is used for name, surname and date. However, in French we say "aucun" for name and surname, but we say "aucune" for date...
This commit is contained in:
@@ -247,8 +247,8 @@ DOCUMENTERS = [
|
||||
THUMBSCALE = 96.0
|
||||
THUMBSCALE_LARGE = 180.0
|
||||
XMLFILE = "data.gramps"
|
||||
NO_SURNAME = "(%s)" % _("none")
|
||||
NO_GIVEN = "(%s)" % _("none")
|
||||
NO_SURNAME = "(%s)" % _("surname|none")
|
||||
NO_GIVEN = "(%s)" % _("given-name|none")
|
||||
ARABIC_COMMA = "،"
|
||||
ARABIC_SEMICOLON = "؛"
|
||||
|
||||
|
@@ -1841,7 +1841,8 @@ class Date(object):
|
||||
Lookup date quality keyword, even if translated.
|
||||
"""
|
||||
qualities = ["none", "estimated", "calculated"]
|
||||
ui_qualities = [_("none"), _("estimated"), _("calculated")]
|
||||
ui_qualities = [_("date-quality|none"),
|
||||
_("estimated"), _("calculated")]
|
||||
if quality.lower() in qualities:
|
||||
return qualities.index(quality.lower())
|
||||
elif quality.lower() in ui_qualities:
|
||||
@@ -1855,7 +1856,8 @@ class Date(object):
|
||||
"""
|
||||
mods = ["none", "before", "after", "about",
|
||||
"range", "span", "textonly"]
|
||||
ui_mods = [_("none"), _("before"), _("after"), _("about"),
|
||||
ui_mods = [_("date-modifier|none"),
|
||||
_("before"), _("after"), _("about"),
|
||||
_("range"), _("span"), _("textonly")]
|
||||
if modifier.lower() in mods:
|
||||
return mods.index(modifier.lower())
|
||||
|
Reference in New Issue
Block a user