From 38f6e44e327ad6c2723439975eb11397d8fedca4 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 30 Mar 2015 02:22:45 -0400 Subject: [PATCH] Add the appearance app to the transifex config file and the translation helper script --- .tx/config | 7 +++++++ contrib/scripts/process_messages.py | 14 +++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.tx/config b/.tx/config index fe4c20a461..72623061fe 100644 --- a/.tx/config +++ b/.tx/config @@ -7,6 +7,13 @@ source_lang = en source_file = mayan/apps/acls/locale/en/LC_MESSAGES/django.po type = PO +[mayan-edms.apps-appearance] +file_filter = mayan/apps/appearance/locale//LC_MESSAGES/django.po +source_lang = en +source_file = mayan/apps/appearance/locale/en/LC_MESSAGES/django.po +type = PO + + [mayan-edms.apps-checkouts] file_filter = mayan/apps/checkouts/locale//LC_MESSAGES/django.po source_lang = en diff --git a/contrib/scripts/process_messages.py b/contrib/scripts/process_messages.py index 5e8938a26a..24703de369 100755 --- a/contrib/scripts/process_messages.py +++ b/contrib/scripts/process_messages.py @@ -5,11 +5,15 @@ import optparse import sh -APP_LIST = ('acls', 'checkouts', 'common', 'converter', 'django_gpg', 'documents', - 'document_comments', 'document_indexing', 'document_signatures', 'document_states', 'dynamic_search', - 'events', 'folders', 'installation', 'linking', 'mailer', 'main', 'metadata', 'navigation', - 'ocr', 'permissions', 'project_setup', 'project_tools', 'rest_api', - 'smart_settings', 'sources', 'statistics', 'tags', 'user_management') +APP_LIST = ( + 'acls', 'appearance', 'checkouts', 'common', 'converter', 'django_gpg', + 'documents', 'document_comments', 'document_indexing', + 'document_signatures', 'document_states', 'dynamic_search', 'events', + 'folders', 'installation', 'linking', 'mailer', 'main', 'metadata', + 'navigation', 'ocr', 'permissions', 'project_setup', 'project_tools', + 'rest_api', 'smart_settings', 'sources', 'statistics', 'tags', + 'user_management' +) LANGUAGE_LIST = ('ar', 'bg', 'bs_BA', 'da', 'de_CH', 'de_DE', 'en', 'es', 'fa', 'fr', 'hu', 'hr_HR', 'id', 'it', 'lv', 'nb', 'nl_NL', 'pl', 'pt', 'pt_BR', 'ro_RO', 'ru', 'sl_SI', 'sq', 'tr_TR', 'vi_VN', 'zh_CN', 'zh_TW') makemessages = sh.Command('django-admin.py')