support Arabic on installation and lang_map (reports)

svn: r22565
This commit is contained in:
Jérôme Rapinat 2013-06-23 09:15:33 +00:00
parent d30ade0488
commit 8bbbae41aa
2 changed files with 3 additions and 2 deletions

View File

@ -601,6 +601,7 @@ class GrampsLocale(object):
_ = self.translation.gettext _ = self.translation.gettext
if not self._lang_map: if not self._lang_map:
self._lang_map = { self._lang_map = {
"ar" : _("Arabic"),
"bg" : _("Bulgarian"), "bg" : _("Bulgarian"),
"ca" : _("Catalan"), "ca" : _("Catalan"),
"cs" : _("Czech"), "cs" : _("Czech"),

View File

@ -49,8 +49,8 @@ from stat import ST_MODE
import io import io
from gramps.version import VERSION from gramps.version import VERSION
ALL_LINGUAS = ('bg', 'ca', 'cs', 'da', 'de', 'el', 'en_GB', 'es', 'fi', 'fr', 'he', ALL_LINGUAS = ('ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en_GB', 'es', 'fi', 'fr',
'hr', 'hu', 'it', 'ja', 'lt', 'nb', 'nl', 'nn', 'pl', 'pt_BR', 'he', 'hr', 'hu', 'it', 'ja', 'lt', 'nb', 'nl', 'nn', 'pl', 'pt_BR',
'pt_PT', 'ru', 'sk', 'sl', 'sq', 'sv', 'uk', 'vi', 'zh_CN') 'pt_PT', 'ru', 'sk', 'sl', 'sq', 'sv', 'uk', 'vi', 'zh_CN')
INTLTOOL_FILES = ('data/tips.xml', 'gramps/plugins/lib/holidays.xml') INTLTOOL_FILES = ('data/tips.xml', 'gramps/plugins/lib/holidays.xml')