diff --git a/MANIFEST.in b/MANIFEST.in index 8f6a0278..7148835a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 diff --git a/chrono/agendas/templates/workalendar_locale.html b/chrono/agendas/templates/workalendar_locale.html new file mode 100644 index 00000000..15d7c895 --- /dev/null +++ b/chrono/agendas/templates/workalendar_locale.html @@ -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" %} diff --git a/chrono/settings.py b/chrono/settings.py index d679691d..9e70b77f 100644 --- a/chrono/settings.py +++ b/chrono/settings.py @@ -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' diff --git a/chrono/workalendar_locale/fr/LC_MESSAGES/django.po b/chrono/workalendar_locale/fr/LC_MESSAGES/django.po deleted file mode 100644 index 91700e6b..00000000 --- a/chrono/workalendar_locale/fr/LC_MESSAGES/django.po +++ /dev/null @@ -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"