mirror of https://github.com/django/django.git
Added Scottish Gaelic as new available language
Refs #25815. Thanks gunchleoc <fios@foramnagaidhlog.net> for the Scottish Gaelic formats.py.
This commit is contained in:
parent
ff0dac9666
commit
8bc0266b3f
|
@ -79,6 +79,7 @@ LANGUAGES = [
|
|||
('fr', gettext_noop('French')),
|
||||
('fy', gettext_noop('Frisian')),
|
||||
('ga', gettext_noop('Irish')),
|
||||
('gd', gettext_noop('Scottish Gaelic')),
|
||||
('gl', gettext_noop('Galician')),
|
||||
('he', gettext_noop('Hebrew')),
|
||||
('hi', gettext_noop('Hindi')),
|
||||
|
|
|
@ -203,6 +203,12 @@ LANG_INFO = {
|
|||
'name': 'Irish',
|
||||
'name_local': 'Gaeilge',
|
||||
},
|
||||
'gd': {
|
||||
'bidi': False,
|
||||
'code': 'gd',
|
||||
'name': 'Scottish Gaelic',
|
||||
'name_local': 'Gàidhlig',
|
||||
},
|
||||
'gl': {
|
||||
'bidi': False,
|
||||
'code': 'gl',
|
||||
|
|
|
@ -141,6 +141,10 @@ msgstr ""
|
|||
msgid "Irish"
|
||||
msgstr ""
|
||||
|
||||
#: conf/global_settings.py:83
|
||||
msgid "Scottish Gaelic"
|
||||
msgstr ""
|
||||
|
||||
#: conf/global_settings.py:82
|
||||
msgid "Galician"
|
||||
msgstr ""
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,24 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
# This file is distributed under the same license as the Django package.
|
||||
#
|
||||
from __future__ import unicode_literals
|
||||
|
||||
# The *_FORMAT strings use the Django date format syntax,
|
||||
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
|
||||
DATE_FORMAT = 'j F Y'
|
||||
TIME_FORMAT = 'h:ia'
|
||||
DATETIME_FORMAT = 'j F Y h:ia'
|
||||
# YEAR_MONTH_FORMAT =
|
||||
MONTH_DAY_FORMAT = 'j F'
|
||||
SHORT_DATE_FORMAT = 'j M Y'
|
||||
SHORT_DATETIME_FORMAT = 'j M Y h:ia'
|
||||
FIRST_DAY_OF_WEEK = 1 # Monday
|
||||
|
||||
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
|
||||
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
|
||||
# DATE_INPUT_FORMATS =
|
||||
# TIME_INPUT_FORMATS =
|
||||
# DATETIME_INPUT_FORMATS =
|
||||
DECIMAL_SEPARATOR = '.'
|
||||
THOUSAND_SEPARATOR = ','
|
||||
# NUMBER_GROUPING =
|
|
@ -410,7 +410,7 @@ Internationalization
|
|||
* :ttag:`blocktrans` supports assigning its output to a variable using
|
||||
``asvar``.
|
||||
|
||||
* A new language is available: Colombian Spanish.
|
||||
* Two new languages are available: Colombian Spanish and Scottish Gaelic.
|
||||
|
||||
Management Commands
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
|
Loading…
Reference in New Issue