From 72bb993429832fc96db1a5b443f99bc92b053a4a Mon Sep 17 00:00:00 2001 From: max/sooulix Date: Wed, 14 Aug 2024 23:56:41 +0200 Subject: [PATCH] [i18n] add base for translation --- babel.cfg | 1 + messages.pot | 23 ++++++++++++++++++++++ translations/en/LC_MESSAGES/messages.mo | Bin 0 -> 473 bytes translations/en/LC_MESSAGES/messages.po | 25 ++++++++++++++++++++++++ translations/fr/LC_MESSAGES/messages.mo | Bin 0 -> 473 bytes translations/fr/LC_MESSAGES/messages.po | 25 ++++++++++++++++++++++++ 6 files changed, 74 insertions(+) create mode 100644 babel.cfg create mode 100644 messages.pot create mode 100644 translations/en/LC_MESSAGES/messages.mo create mode 100644 translations/en/LC_MESSAGES/messages.po create mode 100644 translations/fr/LC_MESSAGES/messages.mo create mode 100644 translations/fr/LC_MESSAGES/messages.po diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 0000000..5222541 --- /dev/null +++ b/babel.cfg @@ -0,0 +1 @@ +[jinja2: ./templates/**.html] diff --git a/messages.pot b/messages.pot new file mode 100644 index 0000000..4058bb6 --- /dev/null +++ b/messages.pot @@ -0,0 +1,23 @@ +# Translations template for PROJECT. +# Copyright (C) 2024 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2024-08-14 18:16+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.16.0\n" + +#: templates/base.html:91 templates/base.html:127 templates/base.html:159 +#: templates/base.html:183 +msgid "Home" +msgstr "" + diff --git a/translations/en/LC_MESSAGES/messages.mo b/translations/en/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..e02ff4c1b5b5d807d07373d79c7ec5440e2a7d7d GIT binary patch literal 473 zcmZut%}#?r7(~-};ON=I=S`zqfi#uS()5oi23kU~_buHbhVC}YV(e3R^2K}rpT!TG zSWW!0lbzX2cD~H#Y2#hPIYyizu50mYy2u*{7x8waX+ykE5Fg03d$D0!B*imJ74cVO z!DN{W?m!gJ9=uTk3ooAgv#B1lt&oa@WtOkVu*yo32nW1y;0OJ|cpQ84xgO0DGLnoc z{DF+AVh&h_)gp#X%odooW45mh%P`PLV)l~PN&ow9_r8FZiX@WqvY<*x2PTg}0MkL} zLHAE|PY)>1Dw<&=<3EBVjBe@|=mtT*$eTiDJv}NaNeeO&a#K3Mx8JgKtq$y|d%@w{ z1@p3_hkocCIx(AuJ`!9pj$7@vn5EdOy4e;q=N(9&s4SUsE43!}!B=m;W|DY36|0357Xi4|d)I|qhz$qKNVW*Z~4R8)AhFWHlWhX4Qo literal 0 HcmV?d00001 diff --git a/translations/en/LC_MESSAGES/messages.po b/translations/en/LC_MESSAGES/messages.po new file mode 100644 index 0000000..6a5d30d --- /dev/null +++ b/translations/en/LC_MESSAGES/messages.po @@ -0,0 +1,25 @@ +# English translations for PROJECT. +# Copyright (C) 2024 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2024-08-14 18:16+0200\n" +"PO-Revision-Date: 2024-08-14 18:17+0200\n" +"Last-Translator: FULL NAME \n" +"Language: en\n" +"Language-Team: en \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.15.0\n" + +#: templates/base.html:91 templates/base.html:127 templates/base.html:159 +#: templates/base.html:183 +msgid "Home" +msgstr "coucou" + diff --git a/translations/fr/LC_MESSAGES/messages.mo b/translations/fr/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..4cfcdbc06cc5dc98884a4ccec7bb81c77f63fdb3 GIT binary patch literal 473 zcmZut!AiqG6pT_3a`f!s9TnZ0gi=G=l%{Q}k;H~H_P$NGF_P|<%|`4`c=N;j0l&o; z3s%7g!_F+jo5y^fw%#?IW5gNasu91YkGzF&5pPGDHp2G=@qt{s6C0+*QarOvkzhp@ zOjd>94#dgq-XEv1@RNBkd(acM6;hF?%8L~l)p~(&v1C-? z1~Q?FIba!9hZr_7J7C(5*}XI@!$2cR*h|qQ{qMWk`$AeNl1j>}k}4q`m_CLfJa~~0 z{XfwIJ)}IZX^xR=`6Ecm=%)FBei#nRqAg@T(Bra}v?Nm@HcO76=NtxL zUi9=Ri2Oq(X4}xmf-A=HsNEK$6njpS, 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2024-08-14 18:16+0200\n" +"PO-Revision-Date: 2024-08-14 18:17+0200\n" +"Last-Translator: FULL NAME \n" +"Language: fr\n" +"Language-Team: fr \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.15.0\n" + +#: templates/base.html:91 templates/base.html:127 templates/base.html:159 +#: templates/base.html:183 +msgid "Home" +msgstr "Accueil" +