mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
Fix/controls (#2938)
* adjust copy to display package state * use package id for service column in notifications table * fixes * less translations, fix notificaiton item, remove unnecessary conditional * tidy up * forgot spanish --------- Co-authored-by: Matt Hill <mattnine@protonmail.com>
This commit is contained in:
@@ -143,7 +143,7 @@ export default {
|
||||
140: 'Diagnose-Logs des Tor-Daemons unter StartOS',
|
||||
141: 'Downgrade',
|
||||
142: 'Neu installieren',
|
||||
143: 'Installierte anzeigen',
|
||||
143: 'Installierte',
|
||||
144: 'Wechseln',
|
||||
145: 'Installieren',
|
||||
146: 'Installation wird gestartet',
|
||||
|
||||
@@ -142,7 +142,7 @@ export const ENGLISH = {
|
||||
'Diagnostic logs for the Tor daemon on StartOS': 140,
|
||||
'Downgrade': 141,
|
||||
'Reinstall': 142,
|
||||
'View Installed': 143,
|
||||
'Installed': 143,
|
||||
'Switch': 144,
|
||||
'Install': 145,
|
||||
'Beginning install': 146,
|
||||
|
||||
@@ -143,7 +143,7 @@ export default {
|
||||
140: 'Registros de diagnóstico del servicio Tor en StartOS',
|
||||
141: 'Retroceder versión',
|
||||
142: 'Reinstalar',
|
||||
143: 'Ver instalados',
|
||||
143: 'Instalados',
|
||||
144: 'Cambiar',
|
||||
145: 'Instalar',
|
||||
146: 'Iniciando instalación',
|
||||
|
||||
@@ -143,7 +143,7 @@ export default {
|
||||
140: 'Logi diagnostyczne usługi Tor w StartOS',
|
||||
141: 'Przywróć starszą wersję',
|
||||
142: 'Zainstaluj ponownie',
|
||||
143: 'Zobacz zainstalowane',
|
||||
143: 'Zainstalowane',
|
||||
144: 'Przełącz',
|
||||
145: 'Zainstaluj',
|
||||
146: 'Rozpoczynanie instalacji',
|
||||
|
||||
@@ -12,8 +12,8 @@ export class i18nPipe implements PipeTransform {
|
||||
private readonly i18n = inject(I18N)
|
||||
|
||||
// @TODO uncomment to make sure translations are present
|
||||
transform(englishKey: string | null | undefined): string | undefined {
|
||||
// transform(englishKey: i18nKey | null | undefined): string | undefined {
|
||||
// transform(englishKey: string | null | undefined): string | undefined {
|
||||
transform(englishKey: i18nKey | null | undefined): string | undefined {
|
||||
return englishKey
|
||||
? this.i18n()?.[ENGLISH[englishKey as i18nKey]] || englishKey
|
||||
: undefined
|
||||
|
||||
Reference in New Issue
Block a user