From 7c24027bad25ebe4bd929bf622eb500446f12b7e Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 24 Apr 2014 11:36:25 +0200 Subject: [PATCH] Renamed Transifex project from django-core to django See also http://blog.transifex.com/post/83622601443/new-teams-management-transifex --- .tx/config | 30 +++++++++++----------- docs/internals/contributing/localizing.txt | 2 +- scripts/manage_translations.py | 4 +-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.tx/config b/.tx/config index fdd7a576f7..cb617326b9 100644 --- a/.tx/config +++ b/.tx/config @@ -2,77 +2,77 @@ host = https://www.transifex.com lang_map = sr@latin:sr_Latn -[django-core.core] +[django.core] file_filter = django/conf/locale//LC_MESSAGES/django.po source_file = django/conf/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-admin] +[django.contrib-admin] file_filter = django/contrib/admin/locale//LC_MESSAGES/django.po source_file = django/contrib/admin/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-admin-js] +[django.contrib-admin-js] file_filter = django/contrib/admin/locale//LC_MESSAGES/djangojs.po source_file = django/contrib/admin/locale/en/LC_MESSAGES/djangojs.po source_lang = en -[django-core.contrib-admindocs] +[django.contrib-admindocs] file_filter = django/contrib/admindocs/locale//LC_MESSAGES/django.po source_file = django/contrib/admindocs/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-auth] +[django.contrib-auth] file_filter = django/contrib/auth/locale//LC_MESSAGES/django.po source_file = django/contrib/auth/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-comments] +[django.contrib-comments] file_filter = django/contrib/comments/locale//LC_MESSAGES/django.po source_file = django/contrib/comments/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-contenttypes] +[django.contrib-contenttypes] file_filter = django/contrib/contenttypes/locale//LC_MESSAGES/django.po source_file = django/contrib/contenttypes/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-flatpages] +[django.contrib-flatpages] file_filter = django/contrib/flatpages/locale//LC_MESSAGES/django.po source_file = django/contrib/flatpages/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-formtools] +[django.contrib-formtools] file_filter = django/contrib/formtools/locale//LC_MESSAGES/django.po source_file = django/contrib/formtools/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-gis] +[django.contrib-gis] file_filter = django/contrib/gis/locale//LC_MESSAGES/django.po source_file = django/contrib/gis/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-humanize] +[django.contrib-humanize] file_filter = django/contrib/humanize/locale//LC_MESSAGES/django.po source_file = django/contrib/humanize/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-messages] +[django.contrib-messages] file_filter = django/contrib/messages/locale//LC_MESSAGES/django.po source_file = django/contrib/messages/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-redirects] +[django.contrib-redirects] file_filter = django/contrib/redirects/locale//LC_MESSAGES/django.po source_file = django/contrib/redirects/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-sessions] +[django.contrib-sessions] file_filter = django/contrib/sessions/locale//LC_MESSAGES/django.po source_file = django/contrib/sessions/locale/en/LC_MESSAGES/django.po source_lang = en -[django-core.contrib-sites] +[django.contrib-sites] file_filter = django/contrib/sites/locale//LC_MESSAGES/django.po source_file = django/contrib/sites/locale/en/LC_MESSAGES/django.po source_lang = en diff --git a/docs/internals/contributing/localizing.txt b/docs/internals/contributing/localizing.txt index d8b0bba7e5..20b691a453 100644 --- a/docs/internals/contributing/localizing.txt +++ b/docs/internals/contributing/localizing.txt @@ -62,5 +62,5 @@ Django source tree, as for any code change: ``Translations``, and attach the patch to it. .. _Transifex: https://www.transifex.com/ -.. _Django project page: https://www.transifex.com/projects/p/django-core/ +.. _Django project page: https://www.transifex.com/projects/p/django/ .. _Transifex User Guide: http://support.transifex.com/ diff --git a/scripts/manage_translations.py b/scripts/manage_translations.py index 4b7f856b2d..e126a5c8bc 100644 --- a/scripts/manage_translations.py +++ b/scripts/manage_translations.py @@ -61,9 +61,9 @@ def _get_locale_dirs(resources, include_core=True): def _tx_resource_for_name(name): """ Return the Transifex resource name """ if name == 'core': - return "django-core.core" + return "django.core" else: - return "django-core.contrib-%s" % name + return "django.contrib-%s" % name def _check_diff(cat_name, base_path):