From f963b126d17ee654b390d090c8d88b18641e0fdf Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Thu, 20 Apr 2023 19:31:13 -0500 Subject: [PATCH] localize restart button --- gui/src/components/control/ModelControl.tsx | 2 +- gui/src/strings/de.ts | 3 +++ gui/src/strings/en.ts | 3 +++ gui/src/strings/es.ts | 3 +++ gui/src/strings/fr.ts | 3 +++ 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gui/src/components/control/ModelControl.tsx b/gui/src/components/control/ModelControl.tsx index 55d221e4..e96482a5 100644 --- a/gui/src/components/control/ModelControl.tsx +++ b/gui/src/components/control/ModelControl.tsx @@ -163,7 +163,7 @@ export function ModelControl() { addToken('lora', name); }} /> - + ; } diff --git a/gui/src/strings/de.ts b/gui/src/strings/de.ts index 92b8b138..9f71faef 100644 --- a/gui/src/strings/de.ts +++ b/gui/src/strings/de.ts @@ -6,6 +6,9 @@ export const I18N_STRINGS_DE = { de: { translation: { + admin: { + restart: '', + }, error: { inpaint: { support: '', diff --git a/gui/src/strings/en.ts b/gui/src/strings/en.ts index ee382f78..82dbb904 100644 --- a/gui/src/strings/en.ts +++ b/gui/src/strings/en.ts @@ -1,6 +1,9 @@ export const I18N_STRINGS_EN = { en: { translation: { + admin: { + restart: 'Restart Workers', + }, error: { inpaint: { support: 'This diffusion model may not support inpainting.', diff --git a/gui/src/strings/es.ts b/gui/src/strings/es.ts index e46fc0a8..54fbd3c5 100644 --- a/gui/src/strings/es.ts +++ b/gui/src/strings/es.ts @@ -6,6 +6,9 @@ export const I18N_STRINGS_ES = { es: { translation: { + admin: { + restart: '', + }, error: { inpaint: { support: '', diff --git a/gui/src/strings/fr.ts b/gui/src/strings/fr.ts index 1c6a7e80..75386884 100644 --- a/gui/src/strings/fr.ts +++ b/gui/src/strings/fr.ts @@ -6,6 +6,9 @@ export const I18N_STRINGS_FR = { fr: { translation: { + admin: { + restart: '', + }, error: { inpaint: { support: '',