Fixed the default translation repository
This commit is contained in:
parent
9cf6810896
commit
b2fe92359f
1 changed files with 1 additions and 14 deletions
|
@ -1,16 +1,3 @@
|
||||||
/*
|
|
||||||
"key": {
|
|
||||||
"message": "Show permission description",
|
|
||||||
"line": 374,
|
|
||||||
"character": 30,
|
|
||||||
"filename": "/home/wolverindev/TeaSpeak/TeaSpeak/Web-Client/shared/js/ui/modal/ModalPermissionEdit.ts"
|
|
||||||
},
|
|
||||||
"translated": "Berechtigungsbeschreibung anzeigen",
|
|
||||||
"flags": [
|
|
||||||
"google-translate",
|
|
||||||
"verified"
|
|
||||||
]
|
|
||||||
*/
|
|
||||||
function guid() {
|
function guid() {
|
||||||
function s4() {
|
function s4() {
|
||||||
return Math.floor((1 + Math.random()) * 0x10000)
|
return Math.floor((1 + Math.random()) * 0x10000)
|
||||||
|
@ -210,7 +197,7 @@ namespace i18n {
|
||||||
|
|
||||||
if(config.repositories.length == 0) {
|
if(config.repositories.length == 0) {
|
||||||
//Add the default TeaSpeak repository
|
//Add the default TeaSpeak repository
|
||||||
load_repository(StaticSettings.instance.static("i18n.default_repository", "i18n/")).then(repo => {
|
load_repository(StaticSettings.instance.static("i18n.default_repository", "https://web.teaspeak.de/i18n/")).then(repo => {
|
||||||
log.info(LogCategory.I18N, tr("Successfully added default repository from \"%s\"."), repo.url);
|
log.info(LogCategory.I18N, tr("Successfully added default repository from \"%s\"."), repo.url);
|
||||||
register_repository(repo);
|
register_repository(repo);
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue