From 8bbbae41aa61c256954756631c5fa4d296e4383b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sun, 23 Jun 2013 09:15:33 +0000 Subject: [PATCH] support Arabic on installation and lang_map (reports) svn: r22565 --- gramps/gen/utils/grampslocale.py | 1 + setup.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index 5d6da0c77..afedd396d 100644 --- a/gramps/gen/utils/grampslocale.py +++ b/gramps/gen/utils/grampslocale.py @@ -601,6 +601,7 @@ class GrampsLocale(object): _ = self.translation.gettext if not self._lang_map: self._lang_map = { + "ar" : _("Arabic"), "bg" : _("Bulgarian"), "ca" : _("Catalan"), "cs" : _("Czech"), diff --git a/setup.py b/setup.py index caa819f1c..6c03cb958 100644 --- a/setup.py +++ b/setup.py @@ -49,8 +49,8 @@ from stat import ST_MODE import io from gramps.version import VERSION -ALL_LINGUAS = ('bg', 'ca', 'cs', 'da', 'de', 'el', 'en_GB', 'es', 'fi', 'fr', 'he', - 'hr', 'hu', 'it', 'ja', 'lt', 'nb', 'nl', 'nn', 'pl', 'pt_BR', +ALL_LINGUAS = ('ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en_GB', 'es', 'fi', 'fr', + 'he', 'hr', 'hu', 'it', 'ja', 'lt', 'nb', 'nl', 'nn', 'pl', 'pt_BR', 'pt_PT', 'ru', 'sk', 'sl', 'sq', 'sv', 'uk', 'vi', 'zh_CN') INTLTOOL_FILES = ('data/tips.xml', 'gramps/plugins/lib/holidays.xml')