change workalendar translations setup (#48028)
This commit is contained in:
parent
ea5d454ca2
commit
dd5cdd85b8
|
@ -1,6 +1,5 @@
|
|||
# locales
|
||||
recursive-include chrono/locale *.po *.mo
|
||||
recursive-include chrono/workalendar_locale *.po *.mo
|
||||
|
||||
# static
|
||||
recursive-include chrono/manager/static *.css *.scss *.js
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{% load i18n %}
|
||||
|
||||
{# Translations of holidays names #}
|
||||
{% trans "All Saints Day" %}
|
||||
{% trans "Armistice Day" %}
|
||||
{% trans "Ascension Thursday" %}
|
||||
{% trans "Assumption of Mary to Heaven" %}
|
||||
{% trans "Bastille Day" %}
|
||||
{% trans "Christmas Day" %}
|
||||
{% trans "Easter Monday" %}
|
||||
{% trans "Labour Day" %}
|
||||
{% trans "New year" %}
|
||||
{% trans "Victory in Europe Day" %}
|
||||
{% trans "Whit Monday" %}
|
|
@ -95,10 +95,7 @@ USE_L10N = True
|
|||
|
||||
USE_TZ = True
|
||||
|
||||
LOCALE_PATHS = (
|
||||
os.path.join(BASE_DIR, 'chrono', 'locale'),
|
||||
os.path.join(BASE_DIR, 'chrono', 'workalendar_locale'),
|
||||
)
|
||||
LOCALE_PATHS = (os.path.join(BASE_DIR, 'chrono', 'locale'),)
|
||||
|
||||
FORMAT_MODULE_PATH = 'chrono.formats'
|
||||
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: workalendar\n"
|
||||
"Language: French\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
msgid "New year"
|
||||
msgstr "Jour de l'An"
|
||||
|
||||
msgid "Easter Monday"
|
||||
msgstr "Lundi de Pâques"
|
||||
|
||||
msgid "Labour Day"
|
||||
msgstr "Fête du travail"
|
||||
|
||||
msgid "Victory in Europe Day"
|
||||
msgstr "Armistice 1945"
|
||||
|
||||
msgid "Ascension Thursday"
|
||||
msgstr "Ascension"
|
||||
|
||||
msgid "Whit Monday"
|
||||
msgstr "Lundi de Pentecôte"
|
||||
|
||||
msgid "Bastille Day"
|
||||
msgstr "Fête Nationale"
|
||||
|
||||
msgid "Assumption of Mary to Heaven"
|
||||
msgstr "Assomption"
|
||||
|
||||
msgid "All Saints Day"
|
||||
msgstr "Toussaint"
|
||||
|
||||
msgid "Armistice Day"
|
||||
msgstr "Armistice 1918"
|
||||
|
||||
msgid "Christmas Day"
|
||||
msgstr "Noël"
|
Loading…
Reference in New Issue