1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Rename the applier yandex_applier.py -> yandex_browser_applier.py

This commit is contained in:
Valery Sinelnikov 2022-10-26 18:11:53 +04:00
parent d35dd5433d
commit da71aaf0dd
4 changed files with 10 additions and 10 deletions

View File

@ -67,7 +67,7 @@ from .ini_applier import (
)
from .networkshare_applier import networkshare_applier
from .yandex_applier import yandex_applier
from .yandex_browser_applier import yandex_browser_applier
from util.sid import get_sid
from util.users import (
@ -141,7 +141,7 @@ class frontend_manager:
self.machine_appliers['systemd'] = systemd_applier(self.storage)
self.machine_appliers['firefox'] = firefox_applier(self.storage, self.sid, self.username)
self.machine_appliers['chromium'] = chromium_applier(self.storage, self.sid, self.username)
self.machine_appliers['yandex'] = yandex_applier(self.storage, self.sid, self.username)
self.machine_appliers['yandex_browser'] = yandex_browser_applier(self.storage, self.sid, self.username)
self.machine_appliers['shortcuts'] = shortcut_applier(self.storage)
self.machine_appliers['gsettings'] = gsettings_applier(self.storage, self.file_cache)
self.machine_appliers['cups'] = cups_applier(self.storage)

View File

@ -26,8 +26,8 @@ import os
from util.logging import log
from util.util import is_machine_name
class yandex_applier(applier_frontend):
__module_name = 'YandexApplier'
class yandex_browser_applier(applier_frontend):
__module_name = 'YandexBrowserApplier'
__module_enabled = True
__module_experimental = False
__registry_branch = 'Software\\Policies\\YandexBrowser'

View File

@ -753,11 +753,11 @@ msgstr "Применение настроек сетевых каталогов
msgid "Apply network share data action failed"
msgstr "Не удалось применить действие с данными общего сетевого ресурса"
msgid "Running yandex_applier for machine"
msgstr "Запуск yandex_applier для машины"
msgid "Running yandex_browser_applier for machine"
msgstr "Запуск yandex_browser_applier для машины"
msgid "Yandex_applier for machine will not be started"
msgstr "Yandex_applier для машины не запустится"
msgid "Yandex_browser_applier for machine will not be started"
msgstr "Yandex_browser_applier для машины не запустится"
msgid "Wrote YandexBrowser preferences to"
msgstr "Запись настройки Яндекс Браузера в"

View File

@ -287,8 +287,8 @@ def debug_code(code):
debug_ids[180] = 'Running networkshare applier for machine'
debug_ids[181] = 'Running networkshare applier for machine will not be started'
debug_ids[182] = 'Apply network share data action failed'
debug_ids[183] = 'Running yandex_applier for machine'
debug_ids[184] = 'Yandex_applier for machine will not be started'
debug_ids[183] = 'Running yandex_browser_applier for machine'
debug_ids[184] = 'Yandex_browser_applier for machine will not be started'
debug_ids[185] = 'Wrote YandexBrowser preferences to'
return debug_ids.get(code, 'Unknown debug code')