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

Fixed error message and added logging module

This commit is contained in:
Данила Скачедубов 2024-01-16 18:29:49 +04:00 committed by Valery Sinelnikov
parent 89d5e36d6c
commit 54eb4188a7
3 changed files with 4 additions and 3 deletions

View File

@ -904,8 +904,8 @@ msgstr "Ошибка при подключении к серверу"
msgid "Wallpaper configuration file not found"
msgstr "Конфигурационный файл для обоев не найден"
msgid "The user setting was not installed, conflict with computer setting."
msgstr "Пользовательская настройка не была установлена, конфликт с настройкой компьютера."
msgid "The user setting was not installed, conflict with computer setting"
msgstr "Пользовательская настройка не была установлена, конфликт с настройкой компьютера"
msgid "Action for ini file failed"
msgstr "Не удалось выполнить действие для INI-файла"

View File

@ -341,7 +341,7 @@ def warning_code(code):
warning_ids[19] = 'Failed to change KDE configuration file'
warning_ids[20] = 'Error connecting to server'
warning_ids[21] = 'Wallpaper configuration file not found'
warning_ids[22] = 'The user setting was not installed, conflict with computer setting.'
warning_ids[22] = 'The user setting was not installed, conflict with computer setting'
warning_ids[23] = 'Action for ini file failed'

View File

@ -19,6 +19,7 @@
import subprocess
from pathlib import Path
from util.util import string_to_literal_eval, touch_file
from util.logging import log
import re