Skip to content

Commit

Permalink
prettier/add missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-intuitem committed Dec 12, 2024
1 parent 5b64519 commit b93bee7
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 24 deletions.
2 changes: 1 addition & 1 deletion frontend/messages/cz.json
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
"yourStreamlined": "Vaše zefektivněné",
"oneStopShop": "jednotné řešení",
"forComplianceRiskManagement": "pro řízení souladu a rizik.",
"youCanSetPAsswordHere": "Zde si můžete nastavit heslo",
"youCanSetPAsswordHere": "Zde si můžete nastavit heslo.",
"setPassword": "Nastavit heslo",
"logIntoYourAccount": "Přihlaste se ke svému účtu",
"youNeedToLogIn": "Pro přístup ke všem funkcím se musíte přihlásit",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
"yourStreamlined": "Ihr optimierter",
"oneStopShop": "One-Stop-Shop",
"forComplianceRiskManagement": "für Compliance- und Risikomanagement.",
"youCanSetPAsswordHere": "Sie können hier Ihr Passwort festlegen",
"youCanSetPAsswordHere": "Sie können hier Ihr Passwort festlegen.",
"setPassword": "Passwort festlegen",
"logIntoYourAccount": "Melden Sie sich in Ihrem Konto an",
"youNeedToLogIn": "Sie müssen sich anmelden, um auf alle Funktionen zuzugreifen",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
"yourStreamlined": "Your streamlined",
"oneStopShop": "one-stop shop",
"forComplianceRiskManagement": "for compliance and risk management.",
"youCanSetPAsswordHere": "You can set your password here",
"youCanSetPAsswordHere": "You can set your password here.",
"setPassword": "Set password",
"logIntoYourAccount": "Log into your account",
"youNeedToLogIn": "You need to login to access all the features",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
"yourStreamlined": "Tu simplificado",
"oneStopShop": "todo en uno",
"forComplianceRiskManagement": "para la gestión de cumplimiento y riesgos.",
"youCanSetPAsswordHere": "Puede establecer su contraseña aquí",
"youCanSetPAsswordHere": "Puede establecer su contraseña aquí.",
"setPassword": "Establecer contraseña",
"logIntoYourAccount": "Inicie sesión en su cuenta",
"youNeedToLogIn": "Debe iniciar sesión para acceder a todas las funciones",
Expand Down
3 changes: 1 addition & 2 deletions frontend/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
"yourStreamlined": "Votre solution",
"oneStopShop": "tout-en-un",
"forComplianceRiskManagement": "pour la conformité et la gestion des risques.",
"youCanSetPAsswordHere": "Vous pouvez définir votre mot de passe ici",
"youCanSetPAsswordHere": "Vous pouvez définir votre mot de passe ici.",
"setPassword": "Définir le mot de passe",
"logIntoYourAccount": "Connectez-vous à votre compte",
"youNeedToLogIn": "Vous devez vous connecter pour accéder à toutes les fonctionnalités",
Expand Down Expand Up @@ -871,7 +871,6 @@
"addTag": "Ajouter une étiquette",
"tagsHelpText": "Les étiquettes sont utilisées pour classer et filtrer les éléments. Vous pouvez ajouter des étiquettes dans la section Extra",
"existingMeasures": "Mesures existantes",
"youCanSetPasswordHere": "Vous pouvez définir votre mot de passe ici",
"forgotPassword": "Mot de passe oublié",
"ssoSettingsUpdated": "Paramètres SSO mis à jour",
"scoreSemiColon": "Score:",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
"yourStreamlined": "Il tuo",
"oneStopShop": "punto unico di accesso (one-stop-shop)",
"forComplianceRiskManagement": "per la gestione delle conformità e dei rischi.",
"youCanSetPAsswordHere": "Puoi impostare la tua password qui",
"youCanSetPAsswordHere": "Puoi impostare la tua password qui.",
"setPassword": "Imposta password",
"logIntoYourAccount": "Accedi",
"youNeedToLogIn": "Devi accedere per poter utilizzare tutte le funzionalità",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
"yourStreamlined": "Je gestroomlijnde",
"oneStopShop": "one-stop-shop",
"forComplianceRiskManagement": "voor naleving en risicomanagement.",
"youCanSetPAsswordHere": "Je kunt hier je wachtwoord instellen",
"youCanSetPAsswordHere": "Je kunt hier je wachtwoord instellen.",
"setPassword": "Wachtwoord instellen",
"logIntoYourAccount": "Log in op je account",
"youNeedToLogIn": "Je moet inloggen om toegang te krijgen tot alle functies",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
"yourStreamlined": "Twoje usprawnione",
"oneStopShop": "jedno miejsce",
"forComplianceRiskManagement": "dla zgodności i zarządzania ryzykiem.",
"youCanSetPAsswordHere": "Możesz ustawić swoje hasło tutaj",
"youCanSetPAsswordHere": "Możesz ustawić swoje hasło tutaj.",
"setPassword": "Ustaw hasło",
"logIntoYourAccount": "Zaloguj się na swoje konto",
"youNeedToLogIn": "Musisz się zalogować, aby uzyskać dostęp do wszystkich funkcji",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
"yourStreamlined": "Sua solução",
"oneStopShop": "tudo em um",
"forComplianceRiskManagement": "para conformidade e gerenciamento de riscos.",
"youCanSetPAsswordHere": "Você pode definir sua senha aqui",
"youCanSetPAsswordHere": "Você pode definir sua senha aqui.",
"setPassword": "Definir senha",
"logIntoYourAccount": "Faça login em sua conta",
"youNeedToLogIn": "Você precisa fazer login para acessar todos os recursos",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
"yourStreamlined": "Asistentul tău",
"oneStopShop": "universal",
"forComplianceRiskManagement": "pentru conformitate și managementul riscurilor.",
"youCanSetPAsswordHere": "Puteți seta parola dvs. aici",
"youCanSetPAsswordHere": "Puteți seta parola dvs. aici.",
"setPassword": "Setează parola",
"logIntoYourAccount": "Conectați-vă la contul dvs.",
"youNeedToLogIn": "Trebuie să vă conectați pentru a accesa toate funcțiile",
Expand Down
2 changes: 1 addition & 1 deletion frontend/messages/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@
"addTag": "Lägg till etikett",
"tagsHelpText": "Etiketter hjälper till att kategorisera och filtrera flera objekt. Du kan hantera dem i menyn Extra.",
"existingMeasures": "Befintliga kontroller",
"youCanSetPasswordHere": "Du kan ställa in ditt lösenord här",
"youCanSetPasswordHere": "Du kan ställa in ditt lösenord här.",
"forgotPassword": "Glömt lösenord",
"ssoSettingsUpdated": "SSO-inställningar uppdaterade",
"scoreSemiColon": "Göra:",
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/lib/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ export const BASE_API_URL = `${
}`;

export const DEFAULT_LANGUAGE = `${
Object.hasOwn(env, 'PUBLIC_DEFAULT_LANGUAGE')
? env.PUBLIC_DEFAULT_LANGUAGE
: 'en'
Object.hasOwn(env, 'PUBLIC_DEFAULT_LANGUAGE') ? env.PUBLIC_DEFAULT_LANGUAGE : 'en'
}`;

export const ALLAUTH_API_URL = `${BASE_API_URL}/_allauth/app/v1`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<i class="fa-solid fa-key" />
</div>
<p class="text-gray-600 text-sm text-center">
{m.youCanSetPAsswordHere()}.<br />
{m.youCanSetPAsswordHere()}<br />
</p>
<!-- SuperForm with dataType 'form' -->
<div class="flex w-full">
Expand All @@ -50,12 +50,12 @@
let:form
validators={zod(ResetPasswordSchema)}
>
<TextField type="password" {form} field="new_password" label="New password" />
<TextField type="password" {form} field="new_password" label={m.newPassword()} />
<TextField
type="password"
{form}
field="confirm_new_password"
label="Confirm new password"
label={m.confirmNewPassword()}
/>
<p class="pt-3">
<button
Expand Down
1 change: 0 additions & 1 deletion frontend/src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ export const load: LayoutServerLoad = async ({ locals, cookies }) => {
setLanguageTag(cookies.get('ciso_lang') || DEFAULT_LANGUAGE);
return { featureFlags: locals.featureFlags };
};

6 changes: 1 addition & 5 deletions frontend/src/routes/ParaglideJsProvider.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<script>
import {
languageTag,
onSetLanguageTag,
setLanguageTag,
} from '$paraglide/runtime';
import { languageTag, onSetLanguageTag, setLanguageTag } from '$paraglide/runtime';
import { onDestroy, onMount } from 'svelte';
import { browser } from '$app/environment';
import { getCookie, deleteCookie, setCookie } from '$lib/utils/cookies';
Expand Down

0 comments on commit b93bee7

Please sign in to comment.