Add de es ru sv locales
This commit is contained in:
parent
ad5a9c02db
commit
d3d78aeaac
13 changed files with 3703 additions and 1046 deletions
2
Makefile
2
Makefile
|
@ -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
|
LOCALES = en_US fr_FR de es ru sv
|
||||||
|
|
||||||
# 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))
|
||||||
|
|
|
@ -37,3 +37,7 @@ Push on master (Weblate will be automatically updated)
|
||||||
```
|
```
|
||||||
$ git push origin master
|
$ 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
|
@ -1310,7 +1310,7 @@ msgstr "Unlimited space"
|
||||||
msgid "Upgrade PeerTube"
|
msgid "Upgrade PeerTube"
|
||||||
msgstr "Upgrade PeerTube"
|
msgstr "Upgrade PeerTube"
|
||||||
|
|
||||||
#: src/main.js:52
|
#: src/main.js:56
|
||||||
msgid "value"
|
msgid "value"
|
||||||
msgstr "value"
|
msgstr "value"
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -2419,7 +2419,7 @@ msgstr "Espace illimité"
|
||||||
msgid "Upgrade PeerTube"
|
msgid "Upgrade PeerTube"
|
||||||
msgstr "Mettre à jour PeerTube"
|
msgstr "Mettre à jour PeerTube"
|
||||||
|
|
||||||
#: src/main.js:52
|
#: src/main.js:56
|
||||||
msgid "value"
|
msgid "value"
|
||||||
msgstr "valeur"
|
msgstr "valeur"
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -20,7 +20,11 @@ Vue.use(VueRouter)
|
||||||
|
|
||||||
const availableLanguages = {
|
const availableLanguages = {
|
||||||
'en_US': 'English',
|
'en_US': 'English',
|
||||||
'fr_FR': 'Français'
|
'fr_FR': 'Français',
|
||||||
|
'de': 'Deutsch',
|
||||||
|
'es': 'Español',
|
||||||
|
'ru': 'русский',
|
||||||
|
'sv': 'svenska'
|
||||||
}
|
}
|
||||||
const aliasesLanguages = {
|
const aliasesLanguages = {
|
||||||
'en': 'en_US',
|
'en': 'en_US',
|
||||||
|
|
1
src/translations/de.json
Normal file
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
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
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
1
src/translations/sv.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue