From 7e78c8785692a197827bea86e1ccf5bff2464709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Marie=CC=81thoz?= Date: Thu, 2 Apr 2020 14:13:11 +0200 Subject: [PATCH] translations: add compiled translations files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This seems be required to be usabled to the main Flask application. Signed-off-by: Johnny Mariéthoz --- .gitignore | 4 - MANIFEST.in | 2 + .../translations/de/LC_MESSAGES/messages.mo | Bin 0 -> 475 bytes .../translations/de/LC_MESSAGES/messages.po | 22 ++- .../translations/en/LC_MESSAGES/messages.mo | Bin 0 -> 447 bytes .../translations/en/LC_MESSAGES/messages.po | 22 ++- .../translations/fr/LC_MESSAGES/messages.mo | Bin 0 -> 1731 bytes .../translations/fr/LC_MESSAGES/messages.po | 19 +-- .../translations/it/LC_MESSAGES/messages.mo | Bin 0 -> 476 bytes .../translations/it/LC_MESSAGES/messages.po | 22 ++- flask_wiki/translations/messages.pot | 125 ++++++++++++++++++ 11 files changed, 164 insertions(+), 52 deletions(-) create mode 100644 flask_wiki/translations/de/LC_MESSAGES/messages.mo create mode 100644 flask_wiki/translations/en/LC_MESSAGES/messages.mo create mode 100644 flask_wiki/translations/fr/LC_MESSAGES/messages.mo create mode 100644 flask_wiki/translations/it/LC_MESSAGES/messages.mo create mode 100644 flask_wiki/translations/messages.pot diff --git a/.gitignore b/.gitignore index b6e4761..b7f0e50 100644 --- a/.gitignore +++ b/.gitignore @@ -51,10 +51,6 @@ coverage.xml .hypothesis/ .pytest_cache/ -# Translations -*.mo -*.pot - # Django stuff: *.log local_settings.py diff --git a/MANIFEST.in b/MANIFEST.in index fa0e3d8..91dcd4c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 diff --git a/flask_wiki/translations/de/LC_MESSAGES/messages.mo b/flask_wiki/translations/de/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..a1dd2aefb334c2dd6dec0c1429100a2b0a43c22d GIT binary patch literal 475 zcmY*V!A`@utDSZ6y&aHG)(^(kcPuzRCjS(~6wmh%P?+)XGxi^;2SQXmfASXY*FUeT@@B5I)WtY4ARR^uQy7@V}E!%!7D@3 z@fPe!M-hY~6eyY~LI|3XIIFW3Y{U^gm+Q0*Uw|h9f*@+1)(947{+\n" "Language: de\n" @@ -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 "" @@ -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 "" @@ -125,7 +125,3 @@ msgstr "" #: flask_wiki/templates/wiki/search.html:16 msgid "results" msgstr "" - -#~ msgid "MarkDown Demo" -#~ msgstr "" - diff --git a/flask_wiki/translations/en/LC_MESSAGES/messages.mo b/flask_wiki/translations/en/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..1ae51acf7589591676ad79c8cf0f9f3c12d0d231 GIT binary patch literal 447 zcmY*VO;5r=5XHn(kDfh@i3bf1ZYzmcDB-IZk`@S5?h9RNwd|7J#mLX_;NSDNIMqaC zl1b*xyv%!fUuUPE6{-{JbLz_y{Hq(9Kj?_%ZmQLbSXmsUxDeXpO8PJ?xOv5Hy2&Lh z!r6Q@89OtvRoY@~vOLA!E;E=YAHujhiaOoFU>45j&UBJsUkh&O3l6vyK6uPy$m+;E zaO*yMs1jyG#F==@OSL1Oi+2oM*RS7KnM=Hg8;gnN(iGe(P0pU82*%wwgw~OCo2W9| z@r)#e`~#Q>z9~1*ilR=D*OboM&a~KRUf@vajqyQlf1nAxCj5@Um4u4`+-oNu#o-|q zx5k{ll2%AEwcnDI74PqVfD\n" "Language: en\n" @@ -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 "" @@ -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 "" @@ -125,7 +125,3 @@ msgstr "" #: flask_wiki/templates/wiki/search.html:16 msgid "results" msgstr "" - -#~ msgid "MarkDown Demo" -#~ msgstr "" - diff --git a/flask_wiki/translations/fr/LC_MESSAGES/messages.mo b/flask_wiki/translations/fr/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..2ad76c4f257645470d3a0a7633c14ace02f7f4a0 GIT binary patch literal 1731 zcmaKrJ&YSg6vqch;IIPXLxc!{^eDifV;%c)QZ7#J6z9%?L%t8$&PkNx-LXB#dS^2; zdly58M302%0|j6TY9vUt1riOSphBXhIf;gbj{jTl#g_(4-rvs7`0DK<&9XtpA1wI9yfG>jofak%b$Ax$rd=_N8OW;NDHShws z3O)z6z?Z--$Z^IX+ovGM$-pPUk3qKo1bhbk9DD=(5^R7!gYSUAg`~0 z9B&Q$3}@T`xz1m)c?moLInQ|*@wqR6{QV-h1YQQY?lq9(y$`+)?txtQU6A8_3bNl< zAlLIF$Z_+MzknS7H<11Q0NMU;um&!{_!@W>Tm|of9OrA0{k{h|{|_Ks!~;-lnpCTZ zbV5^;Q5frVV5E)2rd84_l9Z@pO65q2cBFmrfU&r(V{FDSil(IQY3E(>4NqeSI*L>x z-ZK*=I@lsJq&sPBWQ0uY>BO#~A%{q%^}KK@R-wl>e--=4N0CvE664G8HL-8ikygi| zCy!L|h(u3G8;(U^4iF1jHcjGH;>A20PG5xk0F_CrieNI1%`x(L&Z)?cwJXZ23AT!K zR9J;&^~sdNc}N->yRfFI@}-9<9L6{kwo#C>6YZQf38#?JydqZ<0~1Y!RW6IsDlbQP zXwS7;bBNM|?I<`&~9s|O*bA%y#do?l;Pf*G_(&FL0`!Uf1w+l z&dpfYj2&%M_T$XTIKZS#T$7TtSi1F<>ok8|e=DI4YP?<9+1_a{y3(lCE9C_T{b`C! zUfuJT(^%@{I)!6to$~9M9|mg+J3jkR*`S?-Ceq2MNoxb`EAOgASu_Z(oHpr}9H^L9 zYHP?)C?cOx1V`ct#hp1GROrM)7WqtB$`YQY>`2AM443M_K8pnVnEsB!@P%VI%?B6* zozD*Q`;bZT)rnRXa-7A)EEEG{41ekG$mg>-pK*nweC8kzhkdSil2VmNygCnd>Ol?; z7%E(E!Va6tL(8mUN~(ogd4-{DA$k5y1~s7;TOgl_t_sHrx>BXE_$(9Yb^a}SA^MBM z6rDItDh^Br!B+F{JnRvkWQLj1I1ABwkH;lqQ}PR${lj|yvr8-hqfbeP+Zw?cUt jr6&7-&sd&mB1KhsXfnQq(;h-rHBm+@B`D8`&?@mCf^y*7 literal 0 HcmV?d00001 diff --git a/flask_wiki/translations/fr/LC_MESSAGES/messages.po b/flask_wiki/translations/fr/LC_MESSAGES/messages.po index 4962a7b..17c09aa 100644 --- a/flask_wiki/translations/fr/LC_MESSAGES/messages.po +++ b/flask_wiki/translations/fr/LC_MESSAGES/messages.po @@ -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 \n" "Language: fr\n" @@ -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." @@ -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" @@ -125,3 +125,4 @@ msgstr "Table des matières" #: flask_wiki/templates/wiki/search.html:16 msgid "results" msgstr "resultats" + diff --git a/flask_wiki/translations/it/LC_MESSAGES/messages.mo b/flask_wiki/translations/it/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..f0c69ea984d4173b4ff2ab44157fbbd11a7363e5 GIT binary patch literal 476 zcmY*V!A`*-YL{-sgVp-J{th91u=7;?J~**9bA;ZO8Mv^zIQphHV&`g zhsH+=4r2(8{UR&U?OB34^Ltu3p{UgBlA@e=ac9elOLYa)M{cZe@ygAyx%F+z&xOHM mP4!HwGJ@uW8r}#c3|)wB`5Hl&PecV_y-5jP=6EH!^1c9pXoW!l literal 0 HcmV?d00001 diff --git a/flask_wiki/translations/it/LC_MESSAGES/messages.po b/flask_wiki/translations/it/LC_MESSAGES/messages.po index db641ef..3d7263c 100644 --- a/flask_wiki/translations/it/LC_MESSAGES/messages.po +++ b/flask_wiki/translations/it/LC_MESSAGES/messages.po @@ -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 \n" "Language: it\n" @@ -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 "" @@ -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 "" @@ -125,7 +125,3 @@ msgstr "" #: flask_wiki/templates/wiki/search.html:16 msgid "results" msgstr "" - -#~ msgid "MarkDown Demo" -#~ msgstr "" - diff --git a/flask_wiki/translations/messages.pot b/flask_wiki/translations/messages.pot new file mode 100644 index 0000000..8d7b1d6 --- /dev/null +++ b/flask_wiki/translations/messages.pot @@ -0,0 +1,125 @@ +# Translations template for Flask-Wiki. +# Copyright (C) 2020 ORGANIZATION +# This file is distributed under the same license as the Flask-Wiki project. +# FIRST AUTHOR , 2020. +# +msgid "" +msgstr "" +"Project-Id-Version: Flask-Wiki VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2020-04-02 14:09+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: flask_wiki/forms.py:19 +msgid "title" +msgstr "" + +#: flask_wiki/forms.py:20 +msgid "body" +msgstr "" + +#: flask_wiki/forms.py:21 +msgid "tags" +msgstr "" + +#: flask_wiki/views.py:139 +msgid "Saved" +msgstr "" + +#: flask_wiki/views.py:161 +msgid "No file part" +msgstr "" + +#: flask_wiki/views.py:167 +msgid "No selected file" +msgstr "" + +#: flask_wiki/views.py:174 +msgid "File already exists" +msgstr "" + +#: flask_wiki/views.py:178 +msgid "You do not have the permission to add files." +msgstr "" + +#: flask_wiki/templates/wiki/403.html:19 +msgid "Forbidden" +msgstr "" + +#: flask_wiki/templates/wiki/403.html:20 +msgid "You are not allowed to see this page." +msgstr "" + +#: flask_wiki/templates/wiki/404.html:19 +msgid "Page does not exists." +msgstr "" + +#: flask_wiki/templates/wiki/404.html:20 +msgid "You did not create any content for this page yet." +msgstr "" + +#: flask_wiki/templates/wiki/404.html:23 +msgid "Create a new page" +msgstr "" + +#: flask_wiki/templates/wiki/base.html:29 +#: flask_wiki/templates/wiki/base.html:35 +msgid "Flask-Wiki" +msgstr "" + +#: flask_wiki/templates/wiki/editor.html:20 +msgid "Edit" +msgstr "" + +#: flask_wiki/templates/wiki/editor.html:25 +msgid "Preview" +msgstr "" + +#: flask_wiki/templates/wiki/editor.html:35 +msgid "Save" +msgstr "" + +#: flask_wiki/templates/wiki/editor.html:38 +msgid "Edit in" +msgstr "" + +#: flask_wiki/templates/wiki/files.html:21 +msgid "Copied in you clipboard" +msgstr "" + +#: flask_wiki/templates/wiki/files.html:28 +msgid "Upload a file" +msgstr "" + +#: flask_wiki/templates/wiki/files.html:34 +msgid "List of Uploaded Files" +msgstr "" + +#: flask_wiki/templates/wiki/navigation.html:13 +msgid "Home" +msgstr "" + +#: flask_wiki/templates/wiki/navigation.html:16 +msgid "Files" +msgstr "" + +#: flask_wiki/templates/wiki/navigation.html:20 +#: flask_wiki/templates/wiki/navigation.html:21 +#: flask_wiki/templates/wiki/navigation.html:23 +msgid "Search" +msgstr "" + +#: flask_wiki/templates/wiki/page.html:27 +msgid "Table of Content" +msgstr "" + +#: flask_wiki/templates/wiki/search.html:16 +msgid "results" +msgstr "" +