forked from NG-SD-Plugins/PowerTools
Add missing translations
This commit is contained in:
parent
d7db00ac78
commit
0373e8d47a
10 changed files with 22 additions and 2 deletions
|
@ -410,7 +410,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => {
|
||||||
</PanelSectionRow>
|
</PanelSectionRow>
|
||||||
<PanelSectionRow>
|
<PanelSectionRow>
|
||||||
<Field
|
<Field
|
||||||
label={tr("Profile Variant")} // TODO translate
|
label={tr("Profile Variant")}
|
||||||
>
|
>
|
||||||
{(!isVariantLoading && <Dropdown
|
{(!isVariantLoading && <Dropdown
|
||||||
menuLabel={tr("Profile Variant")}
|
menuLabel={tr("Profile Variant")}
|
||||||
|
@ -461,7 +461,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => {
|
||||||
//layout="below"
|
//layout="below"
|
||||||
onClick={(_: MouseEvent) => {
|
onClick={(_: MouseEvent) => {
|
||||||
backend.log(backend.LogLevel.Debug, "Creating new PowerTools settings variant");
|
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/>
|
<HiPlus/>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -49,6 +49,16 @@ msgstr "Réappliquer le profil"
|
||||||
msgid "Defaults"
|
msgid "Defaults"
|
||||||
msgstr "Valeurs par défaut"
|
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 --
|
# -- components/battery.tsx --
|
||||||
# (Battery section title)
|
# (Battery section title)
|
||||||
#: components/battery.tsx:42
|
#: components/battery.tsx:42
|
||||||
|
|
Binary file not shown.
|
@ -47,6 +47,16 @@ msgstr ""
|
||||||
msgid "Defaults"
|
msgid "Defaults"
|
||||||
msgstr ""
|
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 --
|
||||||
|
|
||||||
#: components/battery.tsx:42
|
#: components/battery.tsx:42
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue