[1.5.x] 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.
Backport of 8f7276b782
from master.
This commit is contained in:
parent
240649ef68
commit
8b345614cd
32
.tx/config
32
.tx/config
|
@ -2,82 +2,82 @@
|
|||
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-localflavor]
|
||||
[django-core.contrib-localflavor]
|
||||
file_filter = django/contrib/localflavor/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = django/contrib/localflavor/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
|
||||
|
|
|
@ -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/
|
||||
|
|
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue