mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-01-26 06:03:46 +03:00
Added new logs for user networkshare
This commit is contained in:
parent
ca50d7f73b
commit
b7e61e4ab8
@ -38,11 +38,11 @@ class networkshare_applier(applier_frontend):
|
||||
self.__module_enabled_user = check_enabled(self.storage, self.__module_name_user, self.__module_experimental)
|
||||
|
||||
def run(self):
|
||||
for networkshar in self.networkshare_info:
|
||||
for networkshare in self.networkshare_info:
|
||||
if self.username:
|
||||
Networkshare(networkshar, self.username)
|
||||
Networkshare(networkshare, self.username)
|
||||
else:
|
||||
Networkshare(networkshar)
|
||||
Networkshare(networkshare)
|
||||
|
||||
def apply(self):
|
||||
if self.__module_enabled:
|
||||
|
@ -768,6 +768,12 @@ msgstr "Yandex_browser_applier для машины не запустится"
|
||||
msgid "Wrote YandexBrowser preferences to"
|
||||
msgstr "Запись настройки Яндекс Браузера в"
|
||||
|
||||
msgid "Running networkshare applier for user"
|
||||
msgstr "Запуск применение настроек сетевых каталогов для пользователя"
|
||||
|
||||
msgid "Running networkshare applier for user will not be started"
|
||||
msgstr "Применение настроек сетевых каталогов для пользователя не будет запущено"
|
||||
|
||||
# Debug_end
|
||||
|
||||
# Warning
|
||||
|
@ -292,6 +292,8 @@ def debug_code(code):
|
||||
debug_ids[185] = 'Wrote YandexBrowser preferences to'
|
||||
debug_ids[186] = 'Saving information about network shares'
|
||||
debug_ids[187] = 'Running networkshare applier for machine'
|
||||
debug_ids[188] = 'Running networkshare applier for user'
|
||||
debug_ids[189] = 'Running networkshare applier for user will not be started'
|
||||
|
||||
return debug_ids.get(code, 'Unknown debug code')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user