fixed hotkey name localization

This commit is contained in:
Eugene Pankov
2022-01-26 20:17:16 +01:00
parent 372662c787
commit 1695c0b522
3 changed files with 4 additions and 4 deletions

View File

@@ -201,11 +201,11 @@ export class AppHotkeyProvider extends HotkeyProvider {
...this.hotkeys,
...profiles.map(profile => ({
id: `profile.${AppHotkeyProvider.getProfileHotkeyName(profile)}`,
name: `New tab: ${profile.name}`,
name: this.translate.instant('New tab: {profile}', { profile: profile.name }),
})),
...this.profilesService.getProviders().map(provider => ({
id: `profile-selectors.${provider.id}`,
name: `Show ${provider.name} profile selector`,
name: this.translate.instant('Show {type} profile selector', { type: provider.name }),
})),
]
}