Updated Transifex links to the Django project

Translations for the Django framework are now hosted on the
django-core Transifex project, and the django project is only
dedicated to a team-only hub project.
This commit is contained in:
Claude Paroz 2013-04-25 10:32:27 +02:00
parent 909873060c
commit 8f7276b782
3 changed files with 18 additions and 18 deletions

View File

@ -2,77 +2,77 @@
host = https://www.transifex.com
lang_map = sr@latin:sr_Latn
[django.core]
[django-core.core]
file_filter = django/conf/locale/<lang>/LC_MESSAGES/django.po
source_file = django/conf/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-admin]
[django-core.contrib-admin]
file_filter = django/contrib/admin/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/admin/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-admin-js]
[django-core.contrib-admin-js]
file_filter = django/contrib/admin/locale/<lang>/LC_MESSAGES/djangojs.po
source_file = django/contrib/admin/locale/en/LC_MESSAGES/djangojs.po
source_lang = en
[django.contrib-admindocs]
[django-core.contrib-admindocs]
file_filter = django/contrib/admindocs/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/admindocs/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-auth]
[django-core.contrib-auth]
file_filter = django/contrib/auth/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/auth/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-comments]
[django-core.contrib-comments]
file_filter = django/contrib/comments/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/comments/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-contenttypes]
[django-core.contrib-contenttypes]
file_filter = django/contrib/contenttypes/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/contenttypes/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-flatpages]
[django-core.contrib-flatpages]
file_filter = django/contrib/flatpages/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/flatpages/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-formtools]
[django-core.contrib-formtools]
file_filter = django/contrib/formtools/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/formtools/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-gis]
[django-core.contrib-gis]
file_filter = django/contrib/gis/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/gis/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-humanize]
[django-core.contrib-humanize]
file_filter = django/contrib/humanize/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/humanize/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-messages]
[django-core.contrib-messages]
file_filter = django/contrib/messages/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/messages/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-redirects]
[django-core.contrib-redirects]
file_filter = django/contrib/redirects/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/redirects/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-sessions]
[django-core.contrib-sessions]
file_filter = django/contrib/sessions/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/sessions/locale/en/LC_MESSAGES/django.po
source_lang = en
[django.contrib-sites]
[django-core.contrib-sites]
file_filter = django/contrib/sites/locale/<lang>/LC_MESSAGES/django.po
source_file = django/contrib/sites/locale/en/LC_MESSAGES/django.po
source_lang = en

View File

@ -62,5 +62,5 @@ Django source tree, as for any code change:
.. _Transifex: https://www.transifex.com/
.. _Django i18n mailing list: http://groups.google.com/group/django-i18n/
.. _Django project page: https://www.transifex.com/projects/p/django/
.. _Django project page: https://www.transifex.com/projects/p/django-core/
.. _Transifex User Guide: http://help.transifex.com/

View File

@ -47,9 +47,9 @@ def _get_locale_dirs(include_core=True):
def _tx_resource_for_name(name):
""" Return the Transifex resource name """
if name == 'core':
return "django.core"
return "django-core.core"
else:
return "django.contrib-%s" % name
return "django-core.contrib-%s" % name
def _check_diff(cat_name, base_path):
"""