Skip to content

Commit

Permalink
translations: add compiled translations files
Browse files Browse the repository at this point in the history
This seems be required to be usabled to the main Flask application.

Signed-off-by: Johnny Mariéthoz <[email protected]>
  • Loading branch information
jma committed Apr 2, 2020
1 parent afbec85 commit 7e78c87
Show file tree
Hide file tree
Showing 11 changed files with 164 additions and 52 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ coverage.xml
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ recursive-include flask_wiki *.js
recursive-include flask_wiki *.less
recursive-include flask_wiki *.otf
recursive-include flask_wiki *.po
recursive-include flask_wiki *.pot
recursive-include flask_wiki *.mo
recursive-include flask_wiki *.scss
recursive-include flask_wiki *.svg
recursive-include flask_wiki *.ttf
Expand Down
Binary file added flask_wiki/translations/de/LC_MESSAGES/messages.mo
Binary file not shown.
22 changes: 9 additions & 13 deletions flask_wiki/translations/de/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Flask-Admin VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2020-02-05 08:37+0100\n"
"POT-Creation-Date: 2020-04-02 14:09+0200\n"
"PO-Revision-Date: 2020-01-30 11:47+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: de\n"
Expand All @@ -31,23 +31,23 @@ msgstr ""
msgid "tags"
msgstr ""

#: flask_wiki/views.py:133
#: flask_wiki/views.py:139
msgid "Saved"
msgstr ""

#: flask_wiki/views.py:155
#: flask_wiki/views.py:161
msgid "No file part"
msgstr ""

#: flask_wiki/views.py:161
#: flask_wiki/views.py:167
msgid "No selected file"
msgstr ""

#: flask_wiki/views.py:168
#: flask_wiki/views.py:174
msgid "File already exists"
msgstr ""

#: flask_wiki/views.py:172
#: flask_wiki/views.py:178
msgid "You do not have the permission to add files."
msgstr ""

Expand Down Expand Up @@ -92,15 +92,15 @@ msgstr "German"
msgid "Edit in"
msgstr ""

#: flask_wiki/templates/wiki/files.html:20
#: flask_wiki/templates/wiki/files.html:21
msgid "Copied in you clipboard"
msgstr ""

#: flask_wiki/templates/wiki/files.html:26
#: flask_wiki/templates/wiki/files.html:28
msgid "Upload a file"
msgstr ""

#: flask_wiki/templates/wiki/files.html:31
#: flask_wiki/templates/wiki/files.html:34
msgid "List of Uploaded Files"
msgstr ""

Expand All @@ -125,7 +125,3 @@ msgstr ""
#: flask_wiki/templates/wiki/search.html:16
msgid "results"
msgstr ""

#~ msgid "MarkDown Demo"
#~ msgstr ""

Binary file added flask_wiki/translations/en/LC_MESSAGES/messages.mo
Binary file not shown.
22 changes: 9 additions & 13 deletions flask_wiki/translations/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Flask-Admin VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2020-02-05 08:37+0100\n"
"POT-Creation-Date: 2020-04-02 14:09+0200\n"
"PO-Revision-Date: 2020-01-30 11:47+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -31,23 +31,23 @@ msgstr ""
msgid "tags"
msgstr ""

#: flask_wiki/views.py:133
#: flask_wiki/views.py:139
msgid "Saved"
msgstr ""

#: flask_wiki/views.py:155
#: flask_wiki/views.py:161
msgid "No file part"
msgstr ""

#: flask_wiki/views.py:161
#: flask_wiki/views.py:167
msgid "No selected file"
msgstr ""

#: flask_wiki/views.py:168
#: flask_wiki/views.py:174
msgid "File already exists"
msgstr ""

#: flask_wiki/views.py:172
#: flask_wiki/views.py:178
msgid "You do not have the permission to add files."
msgstr ""

Expand Down Expand Up @@ -92,15 +92,15 @@ msgstr ""
msgid "Edit in"
msgstr ""

#: flask_wiki/templates/wiki/files.html:20
#: flask_wiki/templates/wiki/files.html:21
msgid "Copied in you clipboard"
msgstr ""

#: flask_wiki/templates/wiki/files.html:26
#: flask_wiki/templates/wiki/files.html:28
msgid "Upload a file"
msgstr ""

#: flask_wiki/templates/wiki/files.html:31
#: flask_wiki/templates/wiki/files.html:34
msgid "List of Uploaded Files"
msgstr ""

Expand All @@ -125,7 +125,3 @@ msgstr ""
#: flask_wiki/templates/wiki/search.html:16
msgid "results"
msgstr ""

#~ msgid "MarkDown Demo"
#~ msgstr ""

Binary file not shown.
19 changes: 10 additions & 9 deletions flask_wiki/translations/fr/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Flask-Admin VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2020-02-05 08:37+0100\n"
"POT-Creation-Date: 2020-04-02 14:09+0200\n"
"PO-Revision-Date: 2020-01-30 11:47+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: fr\n"
Expand All @@ -31,23 +31,23 @@ msgstr "contenu"
msgid "tags"
msgstr "tags"

#: flask_wiki/views.py:133
#: flask_wiki/views.py:139
msgid "Saved"
msgstr "Sauvé"

#: flask_wiki/views.py:155
#: flask_wiki/views.py:161
msgid "No file part"
msgstr "Pas de champ 'file'"

#: flask_wiki/views.py:161
#: flask_wiki/views.py:167
msgid "No selected file"
msgstr "Aucun fichier sélectionnés"

#: flask_wiki/views.py:168
#: flask_wiki/views.py:174
msgid "File already exists"
msgstr "Le fichier existe déjà"

#: flask_wiki/views.py:172
#: flask_wiki/views.py:178
msgid "You do not have the permission to add files."
msgstr "Vous n'avez pas la permission d'ajouter des fichers."

Expand Down Expand Up @@ -92,15 +92,15 @@ msgstr "Sauver"
msgid "Edit in"
msgstr "Editer en"

#: flask_wiki/templates/wiki/files.html:20
#: flask_wiki/templates/wiki/files.html:21
msgid "Copied in you clipboard"
msgstr "Copié dans le presse papier"

#: flask_wiki/templates/wiki/files.html:26
#: flask_wiki/templates/wiki/files.html:28
msgid "Upload a file"
msgstr "Télécharger un fichier"

#: flask_wiki/templates/wiki/files.html:31
#: flask_wiki/templates/wiki/files.html:34
msgid "List of Uploaded Files"
msgstr "Liste des fichiers téléchargés"

Expand All @@ -125,3 +125,4 @@ msgstr "Table des matières"
#: flask_wiki/templates/wiki/search.html:16
msgid "results"
msgstr "resultats"

Binary file added flask_wiki/translations/it/LC_MESSAGES/messages.mo
Binary file not shown.
22 changes: 9 additions & 13 deletions flask_wiki/translations/it/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Flask-Admin VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2020-02-05 08:37+0100\n"
"POT-Creation-Date: 2020-04-02 14:09+0200\n"
"PO-Revision-Date: 2020-01-30 11:47+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: it\n"
Expand All @@ -31,23 +31,23 @@ msgstr ""
msgid "tags"
msgstr ""

#: flask_wiki/views.py:133
#: flask_wiki/views.py:139
msgid "Saved"
msgstr ""

#: flask_wiki/views.py:155
#: flask_wiki/views.py:161
msgid "No file part"
msgstr ""

#: flask_wiki/views.py:161
#: flask_wiki/views.py:167
msgid "No selected file"
msgstr ""

#: flask_wiki/views.py:168
#: flask_wiki/views.py:174
msgid "File already exists"
msgstr ""

#: flask_wiki/views.py:172
#: flask_wiki/views.py:178
msgid "You do not have the permission to add files."
msgstr ""

Expand Down Expand Up @@ -92,15 +92,15 @@ msgstr "Italian"
msgid "Edit in"
msgstr ""

#: flask_wiki/templates/wiki/files.html:20
#: flask_wiki/templates/wiki/files.html:21
msgid "Copied in you clipboard"
msgstr ""

#: flask_wiki/templates/wiki/files.html:26
#: flask_wiki/templates/wiki/files.html:28
msgid "Upload a file"
msgstr ""

#: flask_wiki/templates/wiki/files.html:31
#: flask_wiki/templates/wiki/files.html:34
msgid "List of Uploaded Files"
msgstr ""

Expand All @@ -125,7 +125,3 @@ msgstr ""
#: flask_wiki/templates/wiki/search.html:16
msgid "results"
msgstr ""

#~ msgid "MarkDown Demo"
#~ msgstr ""

Loading

0 comments on commit 7e78c87

Please sign in to comment.