From d932589ac245c38d4eb3e5c892273d0aaf258fe3 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Sat, 30 Jun 2018 11:34:59 +0200 Subject: [PATCH] See #161: initial poc/pos on App --- .gitignore | 1 - front/locales/app.pot | 66 ++++++++++++++++++++++++++ front/locales/en_US/LC_MESSAGES/app.po | 66 ++++++++++++++++++++++++++ front/locales/fr_FR/LC_MESSAGES/app.po | 66 ++++++++++++++++++++++++++ front/src/App.vue | 32 ++++++------- 5 files changed, 214 insertions(+), 17 deletions(-) create mode 100644 front/locales/app.pot create mode 100644 front/locales/en_US/LC_MESSAGES/app.po create mode 100644 front/locales/fr_FR/LC_MESSAGES/app.po diff --git a/.gitignore b/.gitignore index 157871899..2b1de550a 100644 --- a/.gitignore +++ b/.gitignore @@ -92,4 +92,3 @@ po/*.po docs/swagger _build front/src/translations.json -front/locales/*.pot diff --git a/front/locales/app.pot b/front/locales/app.pot new file mode 100644 index 000000000..1d6aa5759 --- /dev/null +++ b/front/locales/app.pot @@ -0,0 +1,66 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the front package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: front 1.0.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-06-30 11:34+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" + +#: src/App.vue:51 +msgid "About Funkwhale" +msgstr "" + +#: src/App.vue:53 +msgid "Funkwhale is a free and open-source project run by volunteers. You can help us improve the platform by reporting bugs, suggesting features and share the project with your friends!" +msgstr "" + +#: src/App.vue:29 +msgid "Links" +msgstr "" + +#: src/App.vue:38 +msgid "Source code" +msgstr "" + +#: src/App.vue:37 +msgid "Source code (%{version})" +msgstr "" + +#: src/App.vue:56 +msgid "The funkwhale logo was kindly designed and provided by Francis Gading." +msgstr "" + +#: src/App.vue:118 +msgid "This will erase your local data and disconnect you, do you want to continue?" +msgstr "" + +#: src/App.vue:5 +msgid "Choose your instance" +msgstr "" + +#: src/App.vue:7 +msgid "You need to select an instance in order to continue" +msgstr "" + +#: src/App.vue:33 +msgid "About this instance" +msgstr "" + +#: src/App.vue:36 +msgid "Documentation" +msgstr "" + +#: src/App.vue:43 +msgid "Use another instance" +msgstr "" diff --git a/front/locales/en_US/LC_MESSAGES/app.po b/front/locales/en_US/LC_MESSAGES/app.po new file mode 100644 index 000000000..20d2591fa --- /dev/null +++ b/front/locales/en_US/LC_MESSAGES/app.po @@ -0,0 +1,66 @@ +# English translations for front package. +# Copyright (C) 2018 THE front'S COPYRIGHT HOLDER +# This file is distributed under the same license as the front package. +# Automatically generated, 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: front 1.0.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-06-30 11:34+0200\n" +"PO-Revision-Date: 2018-06-30 11:34+0200\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: en_US\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" + +#: src/App.vue:51 +msgid "About Funkwhale" +msgstr "About Funkwhale" + +#: src/App.vue:53 +msgid "Funkwhale is a free and open-source project run by volunteers. You can help us improve the platform by reporting bugs, suggesting features and share the project with your friends!" +msgstr "Funkwhale is a free and open-source project run by volunteers. You can help us improve the platform by reporting bugs, suggesting features and share the project with your friends!" + +#: src/App.vue:29 +msgid "Links" +msgstr "Links" + +#: src/App.vue:38 +msgid "Source code" +msgstr "Source code" + +#: src/App.vue:37 +msgid "Source code (%{version})" +msgstr "Source code (%{version})" + +#: src/App.vue:56 +msgid "The funkwhale logo was kindly designed and provided by Francis Gading." +msgstr "The funkwhale logo was kindly designed and provided by Francis Gading." + +#: src/App.vue:118 +msgid "This will erase your local data and disconnect you, do you want to continue?" +msgstr "This will erase your local data and disconnect you, do you want to continue?" + +#: src/App.vue:5 +msgid "Choose your instance" +msgstr "Choose your instance" + +#: src/App.vue:7 +msgid "You need to select an instance in order to continue" +msgstr "You need to select an instance in order to continue" + +#: src/App.vue:33 +msgid "About this instance" +msgstr "About this instance" + +#: src/App.vue:36 +msgid "Documentation" +msgstr "Documentation" + +#: src/App.vue:43 +msgid "Use another instance" +msgstr "Use another instance" diff --git a/front/locales/fr_FR/LC_MESSAGES/app.po b/front/locales/fr_FR/LC_MESSAGES/app.po new file mode 100644 index 000000000..da6b50bfe --- /dev/null +++ b/front/locales/fr_FR/LC_MESSAGES/app.po @@ -0,0 +1,66 @@ +# French translations for front package. +# Copyright (C) 2018 THE front'S COPYRIGHT HOLDER +# This file is distributed under the same license as the front package. +# Automatically generated, 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: front 1.0.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-06-30 11:34+0200\n" +"PO-Revision-Date: 2018-06-30 11:34+0200\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: fr\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" + +#: src/App.vue:51 +msgid "About Funkwhale" +msgstr "" + +#: src/App.vue:53 +msgid "Funkwhale is a free and open-source project run by volunteers. You can help us improve the platform by reporting bugs, suggesting features and share the project with your friends!" +msgstr "" + +#: src/App.vue:29 +msgid "Links" +msgstr "" + +#: src/App.vue:38 +msgid "Source code" +msgstr "" + +#: src/App.vue:37 +msgid "Source code (%{version})" +msgstr "" + +#: src/App.vue:56 +msgid "The funkwhale logo was kindly designed and provided by Francis Gading." +msgstr "" + +#: src/App.vue:118 +msgid "This will erase your local data and disconnect you, do you want to continue?" +msgstr "" + +#: src/App.vue:5 +msgid "Choose your instance" +msgstr "" + +#: src/App.vue:7 +msgid "You need to select an instance in order to continue" +msgstr "" + +#: src/App.vue:33 +msgid "About this instance" +msgstr "" + +#: src/App.vue:36 +msgid "Documentation" +msgstr "" + +#: src/App.vue:43 +msgid "Use another instance" +msgstr "" diff --git a/front/src/App.vue b/front/src/App.vue index 56dbe0aad..0d66cfc9a 100644 --- a/front/src/App.vue +++ b/front/src/App.vue @@ -2,14 +2,14 @@
-

{{ $t('Choose your instance') }}

+

{{ $gettext('Choose your instance') }}

-

{{ $t('You need to select an instance in order to continue') }}

+

{{ $gettext('You need to select an instance in order to continue') }}

- +
-

{{ $t('Suggested choices') }}

+

{{ $gettext('Suggested choices') }}