list -> textbox desktoptheme policy

This commit is contained in:
Valentin Sokolov 2023-11-28 18:00:49 +04:00
parent 737a3c7014
commit 19d03448c7
3 changed files with 23 additions and 53 deletions

View File

@ -360,33 +360,7 @@
<parentCategory ref="system:ALT_Appearance_KDE" />
<supportedOn ref="system:SUPPORTED_AltP10" />
<elements>
<enum id="kde-desktoptheme_setter" valueName="name" required="true">
<item displayName="$(string.kde-desktoptheme-default)">
<value>
<string>default</string>
</value>
</item>
<item displayName="$(string.kde-desktoptheme-breeze-light)">
<value>
<string>breeze-light</string>
</value>
</item>
<item displayName="$(string.kde-desktoptheme-breeze-dark)">
<value>
<string>breeze-dark</string>
</value>
</item>
<item displayName="$(string.kde-desktoptheme-oxygen)">
<value>
<string>oxygen</string>
</value>
</item>
<item displayName="$(string.kde-desktoptheme-air)">
<value>
<string>air</string>
</value>
</item>
</enum>
<text id="kde-desktoptheme_setter" valueName="name"/>
<boolean id="kde-desktoptheme_blocker" key="Software\BaseALT\Policies\KDELocks" valueName="plasmarc.Theme.name" >
<trueValue>
<decimal value="1" />

View File

@ -209,13 +209,15 @@ The "Block" option is necessary to prevent the user from changing this setting.
</string>
<string id="kde-desktoptheme">Desktop decoration</string>
<string id="kde-desktoptheme_help">This policy allows you to choose the appearance of the desktop. Valid parameter values:
<string id="kde-desktoptheme_help">This policy allows you to set a desktop theme by specifying the theme name (for example, default). The use of a desktop theme depends on its availability on the system. To add new themes, you must install packages that include those themes.
- Default
- Breeze_dark
- Breeze-light
- Oxygen
- Air
Possible parameter values:
- default
- breeze-light
- breeze-dark
- oxygen
- air
The "Block" option is necessary to prevent the user from changing this setting.
@ -313,12 +315,6 @@ The "Block" option is necessary to prevent the user from changing this setting.
<string id="kde-lockonresume-enabled">Enabled</string>
<string id="kde-lockonresume-disabled">Disabled</string>
<string id="kde-desktoptheme-default">Default</string>
<string id="kde-desktoptheme-breeze-light">Breeze-light</string>
<string id="kde-desktoptheme-breeze-dark">Breeze-dark</string>
<string id="kde-desktoptheme-oxygen">Oxygen</string>
<string id="kde-desktoptheme-air">Air</string>
<string id="kde-browserapp-yandex">Yandex-Browser</string>
<string id="kde-browserapp-firefox">Firefox</string>
<string id="kde-browserapp-chromium">Chromium-gost</string>
@ -417,7 +413,9 @@ The "Block" option is necessary to prevent the user from changing this setting.
<checkBox refId="kde-background_blocker">Block</checkBox>
</presentation>
<presentation id="kde-desktoptheme-pr">
<dropdownList noSort="true" defaultItem="0" refId="kde-desktoptheme_setter">Desktop theme:</dropdownList>
<textBox refId="kde-desktoptheme_setter">
<label>Desktop theme:</label>
</textBox>
<checkBox refId="kde-desktoptheme_blocker">Block</checkBox>
</presentation>
<presentation id="kde-browserapp-pr">

View File

@ -209,13 +209,15 @@
</string>
<string id="kde-desktoptheme">Оформление рабочего стола</string>
<string id="kde-desktoptheme_help">Данная политика позволяет выбрать оформление рабочего стола. Допустимые значения параметра:
<string id="kde-desktoptheme_help">Данная политика позволяет установить тему оформления рабочего стола, указав название темы (например, default). Применение темы рабочего стола зависит от её наличия в системе. Для добавления новых тем необходимо установить пакеты, включающие в себя эти темы.
- Default
- Breeze_dark
- Breeze-light
- Oxygen
- Air
Возможные значения параметра:
- default
- breeze-light
- breeze-dark
- oxygen
- air
Опция «Блокировать» необходима для запрета изменений данной настройки пользователем.
@ -313,12 +315,6 @@
<string id="kde-lockonresume-enabled">Включено</string>
<string id="kde-lockonresume-disabled">Отключено</string>
<string id="kde-desktoptheme-default">Default</string>
<string id="kde-desktoptheme-breeze-light">Breeze-light</string>
<string id="kde-desktoptheme-breeze-dark">Breeze-dark</string>
<string id="kde-desktoptheme-oxygen">Oxygen</string>
<string id="kde-desktoptheme-air">Air</string>
<string id="kde-browserapp-yandex">Yandex-Browser</string>
<string id="kde-browserapp-firefox">Firefox</string>
<string id="kde-browserapp-chromium">Chromium-gost</string>
@ -417,7 +413,9 @@
<checkBox refId="kde-background_blocker">Блокировать</checkBox>
</presentation>
<presentation id="kde-desktoptheme-pr">
<dropdownList noSort="true" defaultItem="0" refId="kde-desktoptheme_setter">Тема оформления рабочего стола:</dropdownList>
<textBox refId="kde-desktoptheme_setter">
<label>Тема оформления рабочего стола:</label>
</textBox>
<checkBox refId="kde-desktoptheme_blocker">Блокировать</checkBox>
</presentation>
<presentation id="kde-browserapp-pr">