Skip to content

Commit

Permalink
🌐(i18n) add translations for strings specific to fun-mooc
Browse files Browse the repository at this point in the history
I ran the makemessages command on the project and provided french
translations for the string it found.
  • Loading branch information
sampaccoud committed May 21, 2020
1 parent 258ad8e commit 8fd4e31
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
38 changes: 38 additions & 0 deletions src/backend/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -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 <EMAIL@ADDRESS>, 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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\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"

0 comments on commit 8fd4e31

Please sign in to comment.