Forráskód Böngészése

fix(i18n): use proper Fluent plural selectors for tmux-health-all-stopped

Alexander Korolev 2 hónapja
szülő
commit
c2956d7e7f
6 módosított fájl, 25 hozzáadás és 6 törlés
  1. 4 1
      locales/de/main.ftl
  2. 4 1
      locales/en/main.ftl
  3. 4 1
      locales/es/main.ftl
  4. 4 1
      locales/fr/main.ftl
  5. 4 1
      locales/it/main.ftl
  6. 5 1
      locales/ru/main.ftl

+ 4 - 1
locales/de/main.ftl

@@ -170,7 +170,10 @@ tmux-health-section = Tmux:
 tmux-health-entry-running = { $recipe } — { $node }: laufend (API: { $api })
 tmux-health-entry-degraded = { $recipe } — { $node }: degradiert (Sitzung existiert, Prozess tot)
 tmux-health-entry-stopped = { $recipe } — { $node }: gestoppt
-tmux-health-all-stopped = { $count } tmux-Rezept(e) konfiguriert, alle gestoppt
+tmux-health-all-stopped = { $count ->
+    [one] { $count } tmux-Rezept konfiguriert, alle gestoppt
+   *[other] { $count } tmux-Rezepte konfiguriert, alle gestoppt
+}
 tmux-api-ok = 200
 tmux-api-down = aus
 venv-preparing = 🔧 Bereite venv vor: { $venv }

+ 4 - 1
locales/en/main.ftl

@@ -156,7 +156,10 @@ tmux-health-section = Tmux:
 tmux-health-entry-running = { $recipe } — { $node }: running (API: { $api })
 tmux-health-entry-degraded = { $recipe } — { $node }: degraded (session exists, process dead)
 tmux-health-entry-stopped = { $recipe } — { $node }: stopped
-tmux-health-all-stopped = { $count } tmux recipe(s) configured, all stopped
+tmux-health-all-stopped = { $count ->
+    [one] { $count } tmux recipe configured, all stopped
+   *[other] { $count } tmux recipes configured, all stopped
+}
 tmux-api-ok = 200
 tmux-api-down = down
 venv-preparing = 🔧 Preparing venv: { $venv }

+ 4 - 1
locales/es/main.ftl

@@ -170,7 +170,10 @@ tmux-health-section = Tmux:
 tmux-health-entry-running = { $recipe } — { $node }: en ejecución (API: { $api })
 tmux-health-entry-degraded = { $recipe } — { $node }: degradado (la sesión existe, proceso muerto)
 tmux-health-entry-stopped = { $recipe } — { $node }: detenido
-tmux-health-all-stopped = { $count } receta(s) de tmux configurada(s), todas detenidas
+tmux-health-all-stopped = { $count ->
+    [one] { $count } receta de tmux configurada, todas detenidas
+   *[other] { $count } recetas de tmux configuradas, todas detenidas
+}
 tmux-api-ok = 200
 tmux-api-down = caído
 venv-preparing = 🔧 Preparando venv: { $venv }

+ 4 - 1
locales/fr/main.ftl

@@ -170,7 +170,10 @@ tmux-health-section = Tmux:
 tmux-health-entry-running = { $recipe } — { $node }: en cours (API : { $api })
 tmux-health-entry-degraded = { $recipe } — { $node }: dégradé (la session existe, processus mort)
 tmux-health-entry-stopped = { $recipe } — { $node }: arrêté
-tmux-health-all-stopped = { $count } recette(s) tmux configurée(s), toutes arrêtées
+tmux-health-all-stopped = { $count ->
+    [one] { $count } recette tmux configurée, toutes arrêtées
+   *[other] { $count } recettes tmux configurées, toutes arrêtées
+}
 tmux-api-ok = 200
 tmux-api-down = arrêté
 venv-preparing = 🔧 Préparation du venv : { $venv }

+ 4 - 1
locales/it/main.ftl

@@ -170,7 +170,10 @@ tmux-health-section = Tmux:
 tmux-health-entry-running = { $recipe } — { $node }: in esecuzione (API: { $api })
 tmux-health-entry-degraded = { $recipe } — { $node }: degradata (la sessione esiste, processo morto)
 tmux-health-entry-stopped = { $recipe } — { $node }: fermato
-tmux-health-all-stopped = { $count } ricetta(e) tmux configurata(e), tutte fermate
+tmux-health-all-stopped = { $count ->
+    [one] { $count } ricetta tmux configurata, tutte fermate
+   *[other] { $count } ricette tmux configurate, tutte fermate
+}
 tmux-api-ok = 200
 tmux-api-down = giù
 venv-preparing = 🔧 Preparazione venv: { $venv }

+ 5 - 1
locales/ru/main.ftl

@@ -179,7 +179,11 @@ tmux-health-section = Tmux:
 tmux-health-entry-running = { $recipe } — { $node }: запущен (API: { $api })
 tmux-health-entry-degraded = { $recipe } — { $node }: деградирован (сессия существует, процесс мёртв)
 tmux-health-entry-stopped = { $recipe } — { $node }: остановлен
-tmux-health-all-stopped = { $count } tmux-рецепт(а) настроен(ы), все остановлены
+tmux-health-all-stopped = { $count ->
+    [one] { $count } tmux-рецепт настроен, все остановлены
+    [few] { $count } tmux-рецепта настроены, все остановлены
+   *[other] { $count } tmux-рецептов настроены, все остановлены
+}
 tmux-api-ok = 200
 tmux-api-down = недоступен
 venv-preparing = 🔧 Подготовка venv: { $venv }