Add it support

This commit is contained in:
Chocobozzz 2021-04-26 09:19:46 +02:00
parent bb0d7d51e0
commit 4e3e8c59db
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 22 additions and 9 deletions

View File

@ -17,7 +17,7 @@ INPUT_FILES = ./src
OUTPUT_DIR = ./src OUTPUT_DIR = ./src
# Available locales for the app. # Available locales for the app.
LOCALES = en_US fr_FR de es gl ru oc ja sv nl pl sq gd el bn LOCALES = en_US fr_FR de es gl ru oc ja sv nl pl sq gd el bn it
# Name of the generated .po files for each available locale. # Name of the generated .po files for each available locale.
LOCALE_FILES ?= $(patsubst %,$(OUTPUT_DIR)/locale/%/LC_MESSAGES/app.po,$(LOCALES)) LOCALE_FILES ?= $(patsubst %,$(OUTPUT_DIR)/locale/%/LC_MESSAGES/app.po,$(LOCALES))

View File

@ -3,8 +3,8 @@ msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"PO-Revision-Date: 2021-04-21 09:14+0000\n" "PO-Revision-Date: 2021-04-21 09:14+0000\n"
"Last-Translator: qwerty <gabriele.tosato@virgilio.it>\n" "Last-Translator: qwerty <gabriele.tosato@virgilio.it>\n"
"Language-Team: Italian <https://weblate.framasoft.org/projects/" "Language-Team: Italian <https://weblate.framasoft.org/projects/peertube-"
"peertube-search-index/client/it/>\n" "search-index/client/it/>\n"
"Language: it\n" "Language: it\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@ -30,7 +30,11 @@ msgstr[0] "%{resultsCount} risultato trovati per"
msgstr[1] "%{resultsCount} risultati trovati per" msgstr[1] "%{resultsCount} risultati trovati per"
#: src/components/SearchWarning.vue:4 #: src/components/SearchWarning.vue:4
msgid "<strong>%{indexName}</strong> displays videos and channels that match your search but is not the publisher, nor the owner. If you notice any problems with a video, report it to the administrators on the PeerTube website where the video is published." msgid ""
"<strong>%{indexName}</strong> displays videos and channels that match your "
"search but is not the publisher, nor the owner. If you notice any problems "
"with a video, report it to the administrators on the PeerTube website where "
"the video is published."
msgstr "" msgstr ""
"<strong>%{indexName}</strong> mostra i video e i canali che risultano dalla " "<strong>%{indexName}</strong> mostra i video e i canali che risultano dalla "
"vostra ricerca, ma non ne è l'editore né il proprietario. Per qualsiasi " "vostra ricerca, ma non ne è l'editore né il proprietario. Per qualsiasi "
@ -42,7 +46,9 @@ msgid "A free software to take back control of your videos"
msgstr "Un software libero per riprendere controllo dei vostri video" msgstr "Un software libero per riprendere controllo dei vostri video"
#: src/components/Header.vue:13 src/components/Header.vue:2 #: src/components/Header.vue:13 src/components/Header.vue:2
msgid "A search engine of <a href=\"https://joinpeertube.org\" target=\"_blank\">PeerTube</a> videos and channels" msgid ""
"A search engine of <a href=\"https://joinpeertube.org\" target=\"_blank"
"\">PeerTube</a> videos and channels"
msgstr "" msgstr ""
"Un motore di ricerca di video e canali video <a href=\"https://joinpeertube." "Un motore di ricerca di video e canali video <a href=\"https://joinpeertube."
"org\" target=\"_blank\">PeerTube</a>" "org\" target=\"_blank\">PeerTube</a>"
@ -140,10 +146,12 @@ msgid "Deutsch"
msgstr "Tedesco" msgstr "Tedesco"
#: src/components/Header.vue:15 src/components/Header.vue:4 #: src/components/Header.vue:15 src/components/Header.vue:4
msgid "Developed by <a href=\"https://framasoft.org\" target=\"_blank\">Framasoft</a>" msgid ""
"Developed by <a href=\"https://framasoft.org\" target=\"_blank\">Framasoft</"
"a>"
msgstr "" msgstr ""
"Sviluppato da <a href=\"https://framasoft.org\" target=\"_blank\"" "Sviluppato da <a href=\"https://framasoft.org\" target=\"_blank\">Framasoft</"
">Framasoft</a>" "a>"
#: src/components/ChannelResult.vue #: src/components/ChannelResult.vue
msgid "Discover this channel on %{host}" msgid "Discover this channel on %{host}"
@ -382,7 +390,10 @@ msgid "Science & Technology"
msgstr "Scienza e tecnologia" msgstr "Scienza e tecnologia"
#: src/views/Search.vue:21 #: src/views/Search.vue:21
msgid "Search for your favorite videos and channels on <a href=\"%{indexedInstancesUrl}\" target=\"_blank\">%{instancesCount} PeerTube websites</a> indexed by %{indexName}!" msgid ""
"Search for your favorite videos and channels on <a href="
"\"%{indexedInstancesUrl}\" target=\"_blank\">%{instancesCount} PeerTube "
"websites</a> indexed by %{indexName}!"
msgstr "" msgstr ""
"Cerca i tuoi video preferiti su <a href=\"%{indexedInstancesUrl}\" target=" "Cerca i tuoi video preferiti su <a href=\"%{indexedInstancesUrl}\" target="
"\"_blank\">%{instancesCount} istanze PeerTube</a> listés par %{indexName} !" "\"_blank\">%{instancesCount} istanze PeerTube</a> listés par %{indexName} !"

View File

@ -22,6 +22,7 @@ const availableLanguages = {
'gd': 'Gàidhlig', 'gd': 'Gàidhlig',
'gl': 'galego', 'gl': 'galego',
'ru': 'русский', 'ru': 'русский',
'it': 'Italiano',
'ja': '日本語', 'ja': '日本語',
'sv': 'svenska', 'sv': 'svenska',
'nl': 'Nederlands', 'nl': 'Nederlands',

File diff suppressed because one or more lines are too long