From 8fd4e311c2bbe6edc0f7054a6c1107717e84545d Mon Sep 17 00:00:00 2001 From: Samuel Paccoud - FUN MOOC Date: Thu, 21 May 2020 09:40:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90(i18n)=20add=20translations=20for?= =?UTF-8?q?=20strings=20specific=20to=20fun-mooc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I ran the makemessages command on the project and provided french translations for the string it found. --- CHANGELOG.md | 4 +++ Makefile | 4 +++ src/backend/locale/fr/LC_MESSAGES/django.po | 38 +++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 src/backend/locale/fr/LC_MESSAGES/django.po diff --git a/CHANGELOG.md b/CHANGELOG.md index e3d7755d..ec948d26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added + +- Add translations for strings specific to fun-mooc + ### Changed - Upgrade richie to 2.0.0-beta.6. diff --git a/Makefile b/Makefile index 4b5b962e..ecd2a628 100644 --- a/Makefile +++ b/Makefile @@ -154,6 +154,10 @@ import-fixtures: ## import fixtures @$(MANAGE) import_fixtures -v3 .PHONY: import-fixtures +messages: ## create the .po files used for i18n + @$(MANAGE) makemessages --keep-pot +.PHONY: messages + migrate: ## perform database migrations @$(MANAGE) migrate .PHONY: migrate diff --git a/src/backend/locale/fr/LC_MESSAGES/django.po b/src/backend/locale/fr/LC_MESSAGES/django.po new file mode 100644 index 00000000..06afe6a5 --- /dev/null +++ b/src/backend/locale/fr/LC_MESSAGES/django.po @@ -0,0 +1,38 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-21 09:32+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: base/admin.py:31 +msgid "Unsorted uploads are not allowed." +msgstr "Les téléchargements non classés sont interdits" + +#: funmooc/settings.py:290 funmooc/settings.py:305 +msgid "English" +msgstr "Anglais" + +#: funmooc/settings.py:290 funmooc/settings.py:313 +msgid "French" +msgstr "Français" + +#: gimporter/import_scripts/organizations.py:90 +msgid "organization banner" +msgstr "bannière d'établissement" + +#: templates/richie/base.html:18 +msgid "Help" +msgstr "Aide"