Add missing translations

This commit is contained in:
NGnius (Graham) 2024-03-30 21:29:11 -04:00
parent d7db00ac78
commit 0373e8d47a
10 changed files with 22 additions and 2 deletions

View file

@ -410,7 +410,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => {
</PanelSectionRow>
<PanelSectionRow>
<Field
label={tr("Profile Variant")} // TODO translate
label={tr("Profile Variant")}
>
{(!isVariantLoading && <Dropdown
menuLabel={tr("Profile Variant")}
@ -461,7 +461,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => {
//layout="below"
onClick={(_: MouseEvent) => {
backend.log(backend.LogLevel.Debug, "Creating new PowerTools settings variant");
modalResult = showModal(<TextFieldModal label={tr("Profile Variant") /* TODO translate */} placeholder={tr("Variant name") /* TODO translate */} onClosed={onNewVariantModelClosed} closeModal={() => { modalResult?.Close(); Navigation.OpenQuickAccessMenu(QuickAccessTab.Decky)}}/>, window);
modalResult = showModal(<TextFieldModal label={tr("Profile Variant")} placeholder={tr("Variant name")} onClosed={onNewVariantModelClosed} closeModal={() => { modalResult?.Close(); Navigation.OpenQuickAccessMenu(QuickAccessTab.Decky)}}/>, window);
}}
>
<HiPlus/>

Binary file not shown.

Binary file not shown.

View file

@ -49,6 +49,16 @@ msgstr "Réappliquer le profil"
msgid "Defaults"
msgstr "Valeurs par défaut"
#: index.tsx:413
# (Settings selection dropdown)
msgid "Profile Variant"
msgstr "Variante de profil"
#: index.tsx:464
# (Alternate settings profile name)
msgid "Variant name"
msgstr "Nom de la variante"
# -- components/battery.tsx --
# (Battery section title)
#: components/battery.tsx:42

Binary file not shown.

View file

@ -47,6 +47,16 @@ msgstr ""
msgid "Defaults"
msgstr ""
#: index.tsx:413
# (Settings selection dropdown)
msgid "Profile Variant"
msgstr ""
#: index.tsx:464
# (Alternate settings profile name)
msgid "Variant name"
msgstr ""
# -- components/battery.tsx --
#: components/battery.tsx:42

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.