Fixed translations #1.1.0

This commit is contained in:
Sven Heidemann 2023-08-14 19:36:22 +02:00
parent 44e225c273
commit 9db00516c3
6 changed files with 18 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{
"name": "kdb-web",
"version": "1.0.dev294_frontend_version",
"version": "1.1.0",
"scripts": {
"ng": "ng",
"update-version": "ts-node-esm update-version.ts",
@ -51,4 +51,4 @@
"tslib": "^2.4.1",
"typescript": "~4.9.5"
}
}
}

View File

@ -110,7 +110,7 @@ export class ConfigComponent implements OnInit {
return throwError(err);
})).subscribe(result => {
this.spinner.hideSpinner();
this.toastService.success(this.translate.instant("view.server.config.message.technician_config_create"), this.translate.instant("view.server.config.message.technician_config_create_d"));
this.toastService.success(this.translate.instant("view.server.config.message.server_config_create"), this.translate.instant("view.server.config.message.server_config_create_d"));
});
}
}

View File

@ -112,7 +112,7 @@ export class SidebarService {
};
this.serverConfig = {
label: this.isSidebarOpen ? this.translateService.instant("sidebar.server.config") : "",
label: this.isSidebarOpen ? this.translateService.instant("sidebar.server.configuration") : "",
icon: "pi pi-cog",
visible: true,
routerLink: `server/${this.server$.value?.id}/config`

View File

@ -296,6 +296,7 @@
"server": {
"achievements": "Errungenschaften",
"auto_roles": "Auto Rollen",
"configuration": "Konfiguration",
"dashboard": "Dashboard",
"levels": "Level",
"members": "Mitglieder",
@ -427,7 +428,11 @@
"xp_per_ontime_hour": "XP für eine Stunde im Sprachkanal",
"xp_per_reaction": "XP für eine Reaktion"
},
"header": "Server Konfiguration"
"header": "Server Konfiguration",
"message": {
"server_config_create": "Konfiguration gespeichert",
"server_config_create_d": "Server Konfiguration erfolgreich gespeichert"
}
},
"dashboard": {
"deleted_message_count": "Gelöschte Nachrichten",

View File

@ -296,6 +296,7 @@
"server": {
"achievements": "Achievements",
"auto_roles": "Auto role",
"configuration": "Configuration",
"dashboard": "Dashboard",
"levels": "Level",
"members": "Members",
@ -427,7 +428,11 @@
"xp_per_ontime_hour": "XP for one hour in an voice channel",
"xp_per_reaction": "XP for an reaction"
},
"header": "Server configuration"
"header": "Server configuration",
"message": {
"server_config_create": "Config saved",
"server_config_create_d": "Saved server config successfully"
}
},
"dashboard": {
"deleted_message_count": "Deleted messages",

View File

@ -1,7 +1,7 @@
{
"WebVersion": {
"Major": "1",
"Minor": "0",
"Micro": "dev294_frontend_version"
"Minor": "1",
"Micro": "0"
}
}