From 5d4d587d1d5608e6cf18a157cb89c56b5fa5834b Mon Sep 17 00:00:00 2001 From: NeoUmbreon Date: Fri, 23 Jan 2026 12:53:19 -0500 Subject: [PATCH] Fix missing spaces in text --- app.py | 2 -- locales/de.ini | 4 ++-- locales/en.ini | 4 ++-- locales/es.ini | 4 ++-- locales/fr.ini | 4 ++-- locales/it.ini | 4 ++-- locales/nl.ini | 4 ++-- locales/ru.ini | 4 ++-- 8 files changed, 14 insertions(+), 16 deletions(-) diff --git a/app.py b/app.py index ca3e6bb..98524bb 100644 --- a/app.py +++ b/app.py @@ -65,8 +65,6 @@ def inject_translations(): template = ( g.translations.get(section, {}) .get(key, f"${section}: {key}$") - .replace("\\n", " \\n") - .replace("\n", "") ) try: diff --git a/locales/de.ini b/locales/de.ini index 300960e..5d547c9 100644 --- a/locales/de.ini +++ b/locales/de.ini @@ -66,10 +66,10 @@ screenshots = Bildschirmfotos download_choice = Was soll ich wählen? download_help = Für einen Einsteiger ist die LiveCD am besten geeignet.\n\ \n\ - Im Vergleich zu einer LiveCD hat ein universelles Image den Vorteil, dass\ + Im Vergleich zu einer LiveCD hat ein universelles Image den Vorteil, dass \ Sie die in KolibriOS vorgenommenen Änderungen speichern können.\n\ \n\ - Das Hybrid-Image enthält Unterstützung für die UEFI-Technologie, die zum\ + Das Hybrid-Image enthält Unterstützung für die UEFI-Technologie, die zum \ Booten des Systems auf neuen Computern und Laptops verwendet wird. download_description = Auf dieser Seite können Sie die nächtlichen diff --git a/locales/en.ini b/locales/en.ini index 1d8656a..99f2650 100644 --- a/locales/en.ini +++ b/locales/en.ini @@ -62,10 +62,10 @@ all_rev = All nightly builds download_choice = Which to choose? download_help = For a beginner, the LiveCD is best.\n\ \n\ - Compared to a LiveCD, the advantage of a universal image is that you can\ + Compared to a LiveCD, the advantage of a universal image is that you can \ save changes made in KolibriOS.\n\ \n\ - Hybrid image includes support for UEFI technology, which is used to boot\ + Hybrid image includes support for UEFI technology, which is used to boot \ the system on new computers and laptops. download_description = On this page you can download the nightly builds diff --git a/locales/es.ini b/locales/es.ini index a79ca60..9bcd658 100644 --- a/locales/es.ini +++ b/locales/es.ini @@ -64,10 +64,10 @@ all_rev = Todos los montajes nocturnos download_choice = ¿Cuál elegir? download_help = Para un principiante, el LiveCD es lo mejor.\n\ \n\ - En comparación con un LiveCD, la ventaja de una imagen universal es que\ + En comparación con un LiveCD, la ventaja de una imagen universal es que \ puedes guardar los cambios realizados en KolibriOS.\n\ \n\ - Imagen híbrida incluye soporte para la tecnología UEFI, que se utiliza para\ + Imagen híbrida incluye soporte para la tecnología UEFI, que se utiliza para \ arrancar el sistema en los nuevos ordenadores y portátiles. download_description = En esta página puedes descargar la distribución de diff --git a/locales/fr.ini b/locales/fr.ini index 8ac4332..e349167 100644 --- a/locales/fr.ini +++ b/locales/fr.ini @@ -64,10 +64,10 @@ all_rev = Toutes les constructions nocturnes download_choice = Que choisir ? download_help = Pour un débutant, le LiveCD est le meilleur.\n\ \n\ - Par rapport à un LiveCD, l`avantage d`une image universelle est que vous\ + Par rapport à un LiveCD, l`avantage d`une image universelle est que vous \ pouvez sauvegarder les changements effectués dans KolibriOS.\n\ \n\ - L`image hybride inclut le support de la technologie UEFI, qui est utilisée\ + L`image hybride inclut le support de la technologie UEFI, qui est utilisée \ pour démarrer le système sur les nouveaux ordinateurs et portables. download_description = Sur cette page, vous pouvez télécharger la distribution diff --git a/locales/it.ini b/locales/it.ini index 7ce4251..ad9fa1d 100644 --- a/locales/it.ini +++ b/locales/it.ini @@ -63,10 +63,10 @@ all_rev = Tutte le build notturne download_choice = Quale scegliere? download_help = Per un principiante, il LiveCD è la soluzione migliore.\n\ \n\ - Rispetto a un LiveCD, il vantaggio di un`immagine universale è che è\ + Rispetto a un LiveCD, il vantaggio di un`immagine universale è che è \ possibile salvare le modifiche apportate in KolibriOS.\n\ \n\ - L`immagine ibrida include il supporto per la tecnologia UEFI, utilizzata\ + L`immagine ibrida include il supporto per la tecnologia UEFI, utilizzata \ per avviare il sistema su nuovi computer e portatili. download_description = In questa pagina puoi scaricare la distribuzione delle diff --git a/locales/nl.ini b/locales/nl.ini index e174d01..32978b1 100644 --- a/locales/nl.ini +++ b/locales/nl.ini @@ -64,10 +64,10 @@ all_rev = Alle nachtelijke builds download_choice = Welke moet ik kiezen? download_help = Voor een beginner is de LiveCD het beste.\n\ \n\ - Vergeleken met een LiveCD heeft een universeel image het voordeel dat je\ + Vergeleken met een LiveCD heeft een universeel image het voordeel dat je \ wijzigingen die je in KolibriOS hebt aangebracht, kunt opslaan.\n\ \n\ - Hybride image bevat ondersteuning voor UEFI-technologie, die wordt gebruikt\ + Hybride image bevat ondersteuning voor UEFI-technologie, die wordt gebruikt \ om het systeem op te starten op nieuwe computers en laptops. download_description = Op deze pagina kunt u de nightly builds-distributie diff --git a/locales/ru.ini b/locales/ru.ini index 909e78a..1eaa3ba 100644 --- a/locales/ru.ini +++ b/locales/ru.ini @@ -64,10 +64,10 @@ all_rev = Все ночные сборки download_choice = Какой выбрать? download_help = Для новичка лучше всего подойдет LiveCD.\n \ \n\ - По сравнению с LiveCD преимущество универсального образа в том, что вы\ + По сравнению с LiveCD преимущество универсального образа в том, что вы \ можете сохранить изменения, сделанные в КолибриОС.\n\ \n\ - Гибридный образ включает поддержку технологии UEFI, которая используется\ + Гибридный образ включает поддержку технологии UEFI, которая используется \ для загрузки системы на новых компьютерах и ноутбуках. download_description = На этой странице вы можете скачать ночные сборки