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", "name": "kdb-web",
"version": "1.0.dev294_frontend_version", "version": "1.1.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"update-version": "ts-node-esm update-version.ts", "update-version": "ts-node-esm update-version.ts",
@ -51,4 +51,4 @@
"tslib": "^2.4.1", "tslib": "^2.4.1",
"typescript": "~4.9.5" "typescript": "~4.9.5"
} }
} }

View File

@ -110,7 +110,7 @@ export class ConfigComponent implements OnInit {
return throwError(err); return throwError(err);
})).subscribe(result => { })).subscribe(result => {
this.spinner.hideSpinner(); 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 = { this.serverConfig = {
label: this.isSidebarOpen ? this.translateService.instant("sidebar.server.config") : "", label: this.isSidebarOpen ? this.translateService.instant("sidebar.server.configuration") : "",
icon: "pi pi-cog", icon: "pi pi-cog",
visible: true, visible: true,
routerLink: `server/${this.server$.value?.id}/config` routerLink: `server/${this.server$.value?.id}/config`

View File

@ -296,6 +296,7 @@
"server": { "server": {
"achievements": "Errungenschaften", "achievements": "Errungenschaften",
"auto_roles": "Auto Rollen", "auto_roles": "Auto Rollen",
"configuration": "Konfiguration",
"dashboard": "Dashboard", "dashboard": "Dashboard",
"levels": "Level", "levels": "Level",
"members": "Mitglieder", "members": "Mitglieder",
@ -427,7 +428,11 @@
"xp_per_ontime_hour": "XP für eine Stunde im Sprachkanal", "xp_per_ontime_hour": "XP für eine Stunde im Sprachkanal",
"xp_per_reaction": "XP für eine Reaktion" "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": { "dashboard": {
"deleted_message_count": "Gelöschte Nachrichten", "deleted_message_count": "Gelöschte Nachrichten",

View File

@ -296,6 +296,7 @@
"server": { "server": {
"achievements": "Achievements", "achievements": "Achievements",
"auto_roles": "Auto role", "auto_roles": "Auto role",
"configuration": "Configuration",
"dashboard": "Dashboard", "dashboard": "Dashboard",
"levels": "Level", "levels": "Level",
"members": "Members", "members": "Members",
@ -427,7 +428,11 @@
"xp_per_ontime_hour": "XP for one hour in an voice channel", "xp_per_ontime_hour": "XP for one hour in an voice channel",
"xp_per_reaction": "XP for an reaction" "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": { "dashboard": {
"deleted_message_count": "Deleted messages", "deleted_message_count": "Deleted messages",

View File

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