Add de es ru sv locales

This commit is contained in:
Chocobozzz 2019-11-26 10:15:29 +01:00
parent ad5a9c02db
commit d3d78aeaac
No known key found for this signature in database
GPG key ID: 583A612D890159BE
13 changed files with 3703 additions and 1046 deletions

View file

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

View file

@ -37,3 +37,7 @@ Push on master (Weblate will be automatically updated)
```
$ git push origin master
```
## Add locale
Add the locale in `src/main.js` and `Makefile`. Then update translations.

File diff suppressed because it is too large Load diff

View file

@ -1310,7 +1310,7 @@ msgstr "Unlimited space"
msgid "Upgrade PeerTube"
msgstr "Upgrade PeerTube"
#: src/main.js:52
#: src/main.js:56
msgid "value"
msgstr "value"

File diff suppressed because it is too large Load diff

View file

@ -2419,7 +2419,7 @@ msgstr "Espace illimité"
msgid "Upgrade PeerTube"
msgstr "Mettre à jour PeerTube"
#: src/main.js:52
#: src/main.js:56
msgid "value"
msgstr "valeur"

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -20,7 +20,11 @@ Vue.use(VueRouter)
const availableLanguages = {
'en_US': 'English',
'fr_FR': 'Français'
'fr_FR': 'Français',
'de': 'Deutsch',
'es': 'Español',
'ru': 'русский',
'sv': 'svenska'
}
const aliasesLanguages = {
'en': 'en_US',

1
src/translations/de.json Normal file

File diff suppressed because one or more lines are too long

1
src/translations/es.json Normal file

File diff suppressed because one or more lines are too long

1
src/translations/ru.json Normal file

File diff suppressed because one or more lines are too long

1
src/translations/sv.json Normal file

File diff suppressed because one or more lines are too long