Fix definitions related to ALT packages

This commit is contained in:
Игорь Чудов 2020-05-12 00:46:51 +04:00 committed by Evgeny Sinelnikov
parent 44c7ce135e
commit 4c3711724e
3 changed files with 21 additions and 41 deletions

View File

@ -14,31 +14,21 @@
</categories>
<policies>
<policy class="Machine" displayName="$(string.packages_install)" explainText="$(string.packages_install_help)" key="Software\BaseALT\Policies\Packages" name="PackagesForInstall" presentation="$(presentation.packages_install)">
<policy class="Machine" displayName="$(string.packages_install)" explainText="$(string.packages_install_help)" key="Software\BaseALT\Policies\Packages" name="InstallPackages" presentation="$(presentation.packages_install)">
<parentCategory ref="ALT_Packages"/>
<supportedOn ref="system:SUPPORTED_AltP8"/>
<elements>
<text id="PackagesForInstall" valueName="PackagesForInstall" required="true" />
<text id="InstallPackages" valueName="InstallPackages" required="true" />
</elements>
</policy>
<policy class="Machine" displayName="$(string.packages_remove)" explainText="$(string.packages_remove_help)" key="Software\BaseALT\Policies\Packages" name="PackagesForRemove" presentation="$(presentation.packages_remove)">
<policy class="Machine" displayName="$(string.packages_remove)" explainText="$(string.packages_remove_help)" key="Software\BaseALT\Policies\Packages" name="RemovePackages" presentation="$(presentation.packages_remove)">
<parentCategory ref="ALT_Packages"/>
<supportedOn ref="system:SUPPORTED_AltP8"/>
<elements>
<text id="PackagesForRemove" valueName="PackagesForRemove" required="true" />
<text id="RemovePackages" valueName="RemovePackages" required="true" />
</elements>
</policy>
<policy class="Machine" displayName="$(string.packages_upgrade)" explainText="$(string.packages_upgrade_help)" key="Software\BaseALT\Policies\Packages" name="PackagesUpgrade" valueName="PackagesUpgrade">
<parentCategory ref="ALT_Packages"/>
<supportedOn ref="system:SUPPORTED_AltP8"/>
<enabledValue>
<decimal value="1"/>
</enabledValue>
<disabledValue>
<decimal value="0"/>
</disabledValue>
</policy>
<policy class="Machine" displayName="$(string.kernel_upgrade)" explainText="$(string.kernel_upgrade_help)" key="Software\BaseALT\Policies\Packages" name="KernelUpgrade" valueName="KernelUpgrade">
<policy class="Machine" displayName="$(string.packages_upgrade)" explainText="$(string.packages_upgrade_help)" key="Software\BaseALT\Policies\Packages" name="UpgradePackages" valueName="UpgradePackages">
<parentCategory ref="ALT_Packages"/>
<supportedOn ref="system:SUPPORTED_AltP8"/>
<enabledValue>

View File

@ -7,49 +7,39 @@
<resources>
<stringTable>
<string id="ALT_Packages">Packages</string>
<string id="ALT_Packages_Help">Configuration of software installation from packages repository.</string>
<string id="ALT_Packages_Help">Software installation settings</string>
<string id="packages_install">Install packages</string>
      <string id="packages_install_help">This policy defines the list of packages that should be installed if not available.
<string id="packages_install">Software install</string>
      <string id="packages_install_help">This policy defines the list of packages to be installed
Specify a list of packages with a space
Space-separated list of packages:
      </string>
<string id="packages_remove">Remove packages</string>
      <string id="packages_remove_help">This policy defines the list of packages that should be removed if available.
<string id="packages_remove">Software removal</string>
      <string id="packages_remove_help">This policy defines the list of packages to be removed
Specify a list of packages with a space
Space-separated list of packages:
      </string>
      <string id="packages_upgrade">Upgrade packages</string>
      <string id="packages_upgrade_help">This policy defines automatic upgrading of the ALT operating system.
      <string id="packages_upgrade">Software upgrade</string>
      <string id="packages_upgrade_help">This policy defines automatic update behavior
Not Configuration - Do not change automatic upgrading state
Undefined - Do nothing
Enabled - Turn on the automatic upgrading
Disabled - Don't update OS automatically
Disabled - Turn off the automatic upgrading
      </string>
      <string id="kernel_upgrade">Upgrade kernel</string>
      <string id="kernel_upgrade_help">This policy defines automatic upgrading of the Linux kernel
Not Configuration - Do not change automatic upgrading state
Enabled - Turn on the automatic kernel upgrading
Disabled - Turn off the automatic kernel upgrading
Enabled - Update OS automatically
      </string>
</stringTable>
<presentationTable>
       <presentation id="packages_install">
<text>List of packages to install:</text>
<textBox refId="PackagesForInstall">
<textBox refId="InstallPackages">
<label/>
</textBox>
      </presentation>
      <presentation id="packages_remove">
<text>List of packages to remove:</text>
<textBox refId="PackagesForRemove">
<textBox refId="RemovePackages">
<label/>
</textBox>
      </presentation>

View File

@ -33,13 +33,13 @@
<presentationTable>
       <presentation id="packages_install">
<text>Список пакетов для установки:</text>
<textBox refId="PackagesForInstall">
<textBox refId="InstallPackages">
<label/>
</textBox>
      </presentation>
      <presentation id="packages_remove">
<text>Список пакетов для удаления:</text>
<textBox refId="PackagesForRemove">
<textBox refId="RemovePackages">
<label/>
</textBox>
      </presentation>