1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 14:31:44 +01:00

feat: localizes dropdowns (#4273)

This commit is contained in:
Amir Raminfar
2025-12-02 10:33:34 -08:00
committed by GitHub
parent a9cfa97704
commit 109c0e50e0
18 changed files with 355 additions and 15 deletions

View File

@@ -88,9 +88,9 @@
<DropdownMenu <DropdownMenu
v-model="hourStyle" v-model="hourStyle"
:options="[ :options="[
{ label: 'Auto', value: 'auto' }, { label: $t('settings.hour.auto'), value: 'auto' },
{ label: '12', value: '12' }, { label: $t('settings.hour.12'), value: '12' },
{ label: '24', value: '24' }, { label: $t('settings.hour.24'), value: '24' },
]" ]"
/> />
</div> </div>
@@ -105,9 +105,9 @@
<DropdownMenu <DropdownMenu
v-model="size" v-model="size"
:options="[ :options="[
{ label: 'Small', value: 'small' }, { label: $t('settings.size.small'), value: 'small' },
{ label: 'Medium', value: 'medium' }, { label: $t('settings.size.medium'), value: 'medium' },
{ label: 'Large', value: 'large' }, { label: $t('settings.size.large'), value: 'large' },
]" ]"
/> />
</template> </template>
@@ -121,9 +121,9 @@
<DropdownMenu <DropdownMenu
v-model="lightTheme" v-model="lightTheme"
:options="[ :options="[
{ label: 'Auto', value: 'auto' }, { label: $t('settings.theme.auto'), value: 'auto' },
{ label: 'Dark', value: 'dark' }, { label: $t('settings.theme.dark'), value: 'dark' },
{ label: 'Light', value: 'light' }, { label: $t('settings.theme.light'), value: 'light' },
]" ]"
/> />
</template> </template>
@@ -151,9 +151,9 @@
<DropdownMenu <DropdownMenu
v-model="automaticRedirect" v-model="automaticRedirect"
:options="[ :options="[
{ label: 'Instant', value: 'instant' }, { label: $t('settings.redirect.instant'), value: 'instant' },
{ label: 'Delayed', value: 'delayed' }, { label: $t('settings.redirect.delayed'), value: 'delayed' },
{ label: 'None', value: 'none' }, { label: $t('settings.redirect.none'), value: 'none' },
]" ]"
/> />
</template> </template>
@@ -166,9 +166,9 @@
<DropdownMenu <DropdownMenu
v-model="groupContainers" v-model="groupContainers"
:options="[ :options="[
{ label: 'Always', value: 'always' }, { label: $t('settings.grouping.always'), value: 'always' },
{ label: 'At least 2', value: 'at-least-2' }, { label: $t('settings.grouping.at-least-2'), value: 'at-least-2' },
{ label: 'Never', value: 'never' }, { label: $t('settings.grouping.never'), value: 'never' },
]" ]"
/> />
</template> </template>

View File

@@ -104,6 +104,26 @@ settings:
show-std: Vis stdout og stderr mærker show-std: Vis stdout og stderr mærker
automatic-redirect: Automatisk omdiriger til nye containere med det samme navn automatic-redirect: Automatisk omdiriger til nye containere med det samme navn
compact: Slå kompakt tilstand til for logs compact: Slå kompakt tilstand til for logs
size:
small: Lille
medium: Mellem
large: Stor
theme:
auto: Auto
dark: Mørk
light: Lys
redirect:
instant: Øjeblikkelig
delayed: Forsinket
none: Ingen
grouping:
always: Altid
at-least-2: Mindst 2
never: Aldrig
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: Dette er en forhåndsvisning af loggene preview: Dette er en forhåndsvisning af loggene
warning: En advarselslog ser sådan ud warning: En advarselslog ser sådan ud

View File

@@ -104,6 +104,26 @@ settings:
show-std: Zeige stdout und stderr Labels show-std: Zeige stdout und stderr Labels
automatic-redirect: Automatische Weiterleitung zu neuen Containern mit demselben Namen automatic-redirect: Automatische Weiterleitung zu neuen Containern mit demselben Namen
compact: Aktiviere den kompakten Modus für Logs compact: Aktiviere den kompakten Modus für Logs
size:
small: Klein
medium: Mittel
large: Groß
theme:
auto: Auto
dark: Dunkel
light: Hell
redirect:
instant: Sofort
delayed: Verzögert
none: Keine
grouping:
always: Immer
at-least-2: Mindestens 2
never: Nie
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: Dies ist eine Vorschau auf die Protokolle preview: Dies ist eine Vorschau auf die Protokolle
warning: Ein Warnprotokoll sieht wie folgt aus warning: Ein Warnprotokoll sieht wie folgt aus

View File

@@ -110,6 +110,26 @@ settings:
show-std: Show stdout and stderr labels show-std: Show stdout and stderr labels
automatic-redirect: Automatically redirect to new containers with the same name automatic-redirect: Automatically redirect to new containers with the same name
compact: Enable compact mode for logs compact: Enable compact mode for logs
size:
small: Small
medium: Medium
large: Large
theme:
auto: Auto
dark: Dark
light: Light
redirect:
instant: Instant
delayed: Delayed
none: None
grouping:
always: Always
at-least-2: At least 2
never: Never
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: This is a preview of the logs preview: This is a preview of the logs
warning: A warning log looks like this warning: A warning log looks like this

View File

@@ -104,6 +104,26 @@ settings:
show-std: Mostrar etiquetas de salida estándar y salida de error estándar show-std: Mostrar etiquetas de salida estándar y salida de error estándar
automatic-redirect: Redireccionar automáticamente a nuevos contenedores con el mismo nombre automatic-redirect: Redireccionar automáticamente a nuevos contenedores con el mismo nombre
compact: Modo compacto compact: Modo compacto
size:
small: Pequeño
medium: Mediano
large: Grande
theme:
auto: Auto
dark: Oscuro
light: Claro
redirect:
instant: Instantáneo
delayed: Retrasado
none: Ninguno
grouping:
always: Siempre
at-least-2: Al menos 2
never: Nunca
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: Esta es una vista previa de los registros preview: Esta es una vista previa de los registros
warning: Un registro de advertencia se ve así warning: Un registro de advertencia se ve así

View File

@@ -104,6 +104,26 @@ settings:
show-std: Afficher les étiquettes stdout et stderr show-std: Afficher les étiquettes stdout et stderr
automatic-redirect: Redirection automatique vers de nouveaux conteneurs portant le même nom automatic-redirect: Redirection automatique vers de nouveaux conteneurs portant le même nom
compact: Activer le mode compact pour les journaux compact: Activer le mode compact pour les journaux
size:
small: Petit
medium: Moyen
large: Grand
theme:
auto: Auto
dark: Sombre
light: Clair
redirect:
instant: Instantané
delayed: Différé
none: Aucun
grouping:
always: Toujours
at-least-2: Au moins 2
never: Jamais
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: Voici un aperçu des logs preview: Voici un aperçu des logs
warning: Un log d'avertissement ressemble à ceci warning: Un log d'avertissement ressemble à ceci

View File

@@ -112,6 +112,26 @@ settings:
show-std: Tampilkan label stdout dan stderr show-std: Tampilkan label stdout dan stderr
automatic-redirect: Alihkan otomatis ke kontainer baru dengan nama yang sama automatic-redirect: Alihkan otomatis ke kontainer baru dengan nama yang sama
compact: Aktifkan mode ringkas untuk log compact: Aktifkan mode ringkas untuk log
size:
small: Kecil
medium: Sedang
large: Besar
theme:
auto: Auto
dark: Gelap
light: Terang
redirect:
instant: Instan
delayed: Tertunda
none: Tidak ada
grouping:
always: Selalu
at-least-2: Setidaknya 2
never: Tidak pernah
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: Ini adalah pratinjau log preview: Ini adalah pratinjau log
warning: Log peringatan seperti ini warning: Log peringatan seperti ini

View File

@@ -104,6 +104,26 @@ settings:
show-std: Visualizza stdout e stderr show-std: Visualizza stdout e stderr
automatic-redirect: Reindirizza automaticamente al nuovo container con lo stesso nome automatic-redirect: Reindirizza automaticamente al nuovo container con lo stesso nome
compact: Abilita la modalità compatta per i log compact: Abilita la modalità compatta per i log
size:
small: Piccolo
medium: Medio
large: Grande
theme:
auto: Auto
dark: Scuro
light: Chiaro
redirect:
instant: Immediato
delayed: Ritardato
none: Nessuno
grouping:
always: Sempre
at-least-2: Almeno 2
never: Mai
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: Questa è un'anteprima dei log preview: Questa è un'anteprima dei log
warning: Un log di avviso appare così warning: Un log di avviso appare così

View File

@@ -108,6 +108,26 @@ settings:
show-std: stdout 및 stderr 라벨 표시 show-std: stdout 및 stderr 라벨 표시
automatic-redirect: 같은 이름의 새 컨테이너로 자동 이동 automatic-redirect: 같은 이름의 새 컨테이너로 자동 이동
compact: 로그 간단하게 보기 compact: 로그 간단하게 보기
size:
small: 작게
medium: 중간
large: 크게
theme:
auto: 자동
dark: 어두움
light: 밝음
redirect:
instant: 즉시
delayed: 지연
none: 안 함
grouping:
always: 항상
at-least-2: 최소 2개
never: 안 함
hour:
auto: 자동
12: "12"
24: "24"
log: log:
preview: 로그 미리보기입니다 preview: 로그 미리보기입니다
warning: 경고 로그는 이렇게 표시됩니다 warning: 경고 로그는 이렇게 표시됩니다

View File

@@ -105,6 +105,26 @@ settings:
show-std: Toon stdout- en stderr-labels show-std: Toon stdout- en stderr-labels
automatic-redirect: Automatisch omleiden naar nieuwe containers met dezelfde naam automatic-redirect: Automatisch omleiden naar nieuwe containers met dezelfde naam
compact: Compacte modus inschakelen voor logs compact: Compacte modus inschakelen voor logs
size:
small: Klein
medium: Middel
large: Groot
theme:
auto: Auto
dark: Donker
light: Licht
redirect:
instant: Direct
delayed: Vertraagd
none: Geen
grouping:
always: Altijd
at-least-2: Minimaal 2
never: Nooit
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: Voorbeeld van de logweergave preview: Voorbeeld van de logweergave
warning: Een waarschuwingslog ziet er zo uit warning: Een waarschuwingslog ziet er zo uit

View File

@@ -111,6 +111,26 @@ settings:
show-std: Pokaż etykiety dla stdout i stderr show-std: Pokaż etykiety dla stdout i stderr
automatic-redirect: Automatycznie przekieruj na kontener o tej samej nazwie automatic-redirect: Automatycznie przekieruj na kontener o tej samej nazwie
compact: Włącz tryb kompaktowy dla logów compact: Włącz tryb kompaktowy dla logów
size:
small: Mały
medium: Średni
large: Duży
theme:
auto: Auto
dark: Ciemny
light: Jasny
redirect:
instant: Natychmiastowe
delayed: Opóźnione
none: Brak
grouping:
always: Zawsze
at-least-2: Co najmniej 2
never: Nigdy
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: To jest podgląd logów preview: To jest podgląd logów
warning: Log ostrzeżenia wygląda tak warning: Log ostrzeżenia wygląda tak

View File

@@ -113,6 +113,26 @@ settings:
show-std: Mostrar etiquetas de saída padrão e saída de erro padrão show-std: Mostrar etiquetas de saída padrão e saída de erro padrão
automatic-redirect: Redirecionar automaticamente para novos contentores com o mesmo nome automatic-redirect: Redirecionar automaticamente para novos contentores com o mesmo nome
compact: Compactar a interface do utilizador compact: Compactar a interface do utilizador
size:
small: Pequeno
medium: Médio
large: Grande
theme:
auto: Auto
dark: Escuro
light: Claro
redirect:
instant: Instantâneo
delayed: Atrasado
none: Nenhum
grouping:
always: Sempre
at-least-2: Pelo menos 2
never: Nunca
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: Esta é uma prévia dos logs preview: Esta é uma prévia dos logs
warning: Um log de aviso se parece com isto warning: Um log de aviso se parece com isto

View File

@@ -104,6 +104,26 @@ settings:
show-std: Mostrar rótulos stdout e stderr show-std: Mostrar rótulos stdout e stderr
automatic-redirect: Redirecionar automaticamente para novos containers com o mesmo nome automatic-redirect: Redirecionar automaticamente para novos containers com o mesmo nome
compact: Ativar modo compacto para logs compact: Ativar modo compacto para logs
size:
small: Pequeno
medium: Médio
large: Grande
theme:
auto: Auto
dark: Escuro
light: Claro
redirect:
instant: Instantâneo
delayed: Atrasado
none: Nenhum
grouping:
always: Sempre
at-least-2: Pelo menos 2
never: Nunca
hour:
auto: Auto
12: "12"
24: "24"
log: log:
preview: Esta é uma prévia dos logs preview: Esta é uma prévia dos logs
warning: Um log de aviso se parece com isto warning: Um log de aviso se parece com isto

View File

@@ -104,6 +104,26 @@ settings:
show-std: Показывать метки stdout и stderr show-std: Показывать метки stdout и stderr
automatic-redirect: Автоматическое перенаправление на новые контейнеры с тем же именем. automatic-redirect: Автоматическое перенаправление на новые контейнеры с тем же именем.
compact: Компактный режим compact: Компактный режим
size:
small: Маленький
medium: Средний
large: Большой
theme:
auto: Авто
dark: Тёмная
light: Светлая
redirect:
instant: Мгновенное
delayed: Отложенное
none: Нет
grouping:
always: Всегда
at-least-2: Минимум 2
never: Никогда
hour:
auto: Авто
12: "12"
24: "24"
log: log:
preview: Это предварительный просмотр логов preview: Это предварительный просмотр логов
warning: Так выглядит лог предупреждения warning: Так выглядит лог предупреждения

View File

@@ -102,6 +102,26 @@ settings:
target="_blank" rel="noreferrer noopener">{nextVersion}</a>. target="_blank" rel="noreferrer noopener">{nextVersion}</a>.
show-std: Prikaži oznake stdout in stderr show-std: Prikaži oznake stdout in stderr
compact: Omogoči kompaktni način za dnevnike compact: Omogoči kompaktni način za dnevnike
size:
small: Majhna
medium: Srednja
large: Velika
theme:
auto: Samodejno
dark: Temna
light: Svetla
redirect:
instant: Takojšnje
delayed: Zakasnelo
none: Brez
grouping:
always: Vedno
at-least-2: Vsaj 2
never: Nikoli
hour:
auto: Samodejno
12: "12"
24: "24"
log: log:
preview: To je predogled dnevnikov preview: To je predogled dnevnikov
warning: Dnevnik opozoril izgleda tako warning: Dnevnik opozoril izgleda tako

View File

@@ -114,6 +114,26 @@ settings:
show-std: stdout ve stderr etiketlerini göster show-std: stdout ve stderr etiketlerini göster
automatic-redirect: Aynı ada sahip yeni konteynerlere otomatik olarak yönlendir automatic-redirect: Aynı ada sahip yeni konteynerlere otomatik olarak yönlendir
compact: Günlükler için kompakt modu etkinleştir compact: Günlükler için kompakt modu etkinleştir
size:
small: Küçük
medium: Orta
large: Büyük
theme:
auto: Otomatik
dark: Karanlık
light: ık
redirect:
instant: Anında
delayed: Gecikmeli
none: Hiçbiri
grouping:
always: Her zaman
at-least-2: En az 2
never: Asla
hour:
auto: Otomatik
12: "12"
24: "24"
releases: releases:
features: bir yeni özellik | {count} özellik features: bir yeni özellik | {count} özellik
bugFixes: bir hata düzeltmesi | {count} düzeltme bugFixes: bir hata düzeltmesi | {count} düzeltme

View File

@@ -107,6 +107,26 @@ settings:
show-std: 顯示標準輸出(stdout)與標準錯誤(stderr)標籤 show-std: 顯示標準輸出(stdout)與標準錯誤(stderr)標籤
automatic-redirect: 自動重新導向至相同名稱的新容器 automatic-redirect: 自動重新導向至相同名稱的新容器
compact: 啟用緊湊模式 compact: 啟用緊湊模式
size:
small:
medium:
large:
theme:
auto: 自動
dark: 深色
light: 淺色
redirect:
instant: 立即
delayed: 延遲
none:
grouping:
always: 總是
at-least-2: 至少 2 個
never: 從不
hour:
auto: 自動
12: "12"
24: "24"
log: log:
preview: 這是日誌的預覽 preview: 這是日誌的預覽
warning: 警告日誌看起來是這樣的 warning: 警告日誌看起來是這樣的

View File

@@ -104,6 +104,26 @@ settings:
show-std: 显示stdout和stderr标签 show-std: 显示stdout和stderr标签
automatic-redirect: 自动重定向到同名的新容器 automatic-redirect: 自动重定向到同名的新容器
compact: 紧凑模式 compact: 紧凑模式
size:
small:
medium:
large:
theme:
auto: 自动
dark: 深色
light: 浅色
redirect:
instant: 即时
delayed: 延迟
none:
grouping:
always: 始终
at-least-2: 至少 2 个
never: 从不
hour:
auto: 自动
12: "12"
24: "24"
log: log:
preview: 这是默认日志样式 preview: 这是默认日志样式
warning: 警告日志看起来像这样 warning: 警告日志看起来像这样