From 568c99f4a8492ebf0c38f6d333f8d25a65fabf41 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 12 Feb 2024 12:55:52 +0600 Subject: [PATCH] Localisation updates --- grub-cmdline-linux.csv | 70 ++++++++--------- grub-play.csv | 4 +- grub-terminal-input.csv | 12 +-- grub-terminal-output.csv | 12 +-- source/util.cc | 2 +- ubl-settings-bootloader.pot | 120 ++++++++++++++++++++++++++++ ubl-settings-bootloader_ru.po | 144 ++++++++++++++++++++++++++++------ 7 files changed, 292 insertions(+), 72 deletions(-) diff --git a/grub-cmdline-linux.csv b/grub-cmdline-linux.csv index e27bec1..db8a5d4 100644 --- a/grub-cmdline-linux.csv +++ b/grub-cmdline-linux.csv @@ -1,35 +1,35 @@ -Option;Description -noplymouth;Disable Plymouth -rd.plymouth=0;Disable Plymouth -plymouth.enable=0;Disable Plymouth -plymouth.debug;Write debug output into /var/log/plymouth-debug.log -acpi=off;Disable ACPI -noapic;Disable APIC -nolapic;Disable local APIC -single;Single User Mode -nomodeset;Disable kernel selection and loading of video drivers -nouveau.modeset=0; enable driver (default: auto, 0 = disabled, 1 = enabled, 2 = headless) (int) -nouveau.noaccel;disable kernel/abi16 acceleration (int) -i915.modeset=1;Use kernel modesetting [KMS] (0=disable, 1=on, -1=force vga console preference [default]) (int) -i915.enable_fbc=0;Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int) -i915.enable_dc=0;Enable power-saving display C-states. (-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; 3=up to DC5 with DC3CO; 4=up to DC6 with DC3CO) (int) -i915.enable_psr=0;Enable PSR (0=disabled, 1=enabled) (int) -i915.disable_power_well=1;Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int) -i915.enable_ips=N;Enable IPS (default: true) (int) -i915.fastboot=1;Try to skip unnecessary mode sets at boot time (0=disabled, 1=enabled) Default: -1 (use per-chip default) (int) -i915.disable_display=Y;Disable display (default: false) (bool) -i915.enable_guc=0;Enable GuC load for GuC submission and/or HuC load. Required functionality can be selected using bitmask values. (-1=auto [default], 0=disable, 1=GuC submission, 2=HuC load) (int) -i915.enable_dp_mst=N;Enable multi-stream transport (MST) for new DisplayPort sinks. (default: true) (bool) -i915.enable_gvt=Y;Enable support for Intel GVT-g graphics virtualization host support (default:false) (bool) -ahci.marvell_enable=1;Marvell SATA via AHCI (1 = enabled) (int) -ahci.mobile_lpm_policy=1;Default LPM policy for mobile chipsets (default:-1) (int) -snd-intel-dspcfg.dsp_driver=1;Force the DSP driver for Intel DSP (0=auto, 1=legacy, 2=SST, 3=SOF) (int) -intel_idle.no_acpi=Y;Do not use ACPI _CST for building the idle states list (default:N) (bool) -intel_idle.use_acpi=Y;Use ACPI _CST for building the idle states list (default:N) (bool) -intel_idle.max_cstate=1;Prevents the processor from going into a deep sleep state (default:9) (int) -intel_idle.max_cstate=2;Eliminates flickering laptop display on Ultra Voltage processors (int) -intel_idle.max_cstate=3;Eliminates flickering laptop display on Ultra Voltage processors (int) -intel_idle.max_cstate=4;Eliminates flickering laptop display on Ultra Voltage processors (int) -intel_idle.states_off=1;Mask of disabled idle states (0=disabled, 1=enabled) Default: 0 (uint) -usbcore.autosuspend=-1;default autosuspend delay (-1=disabled) (int) -modprobe.blacklist=nouveau;Force dont`t load nouveau driver video for Nvidia \ No newline at end of file +Option|Description +noplymouth|Disable Plymouth +rd.plymouth=0|Disable Plymouth +plymouth.enable=0|Disable Plymouth +plymouth.debug|Write debug output into /var/log/plymouth-debug.log +acpi=off|Disable ACPI +noapic|Disable APIC +nolapic|Disable local APIC +single|Single User Mode +nomodeset|Disable kernel selection and loading of video drivers +nouveau.modeset=0|Enable driver (default: auto, 0 = disabled, 1 = enabled, 2 = headless) (int) +nouveau.noaccel|Disable kernel/abi16 acceleration (int) +i915.modeset=1|Use kernel modesetting [KMS] (0=disable, 1=on, -1=force vga console preference [default]) (int) +i915.enable_fbc=0|Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int) +i915.enable_dc=0|Enable power-saving display C-states. (-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; 3=up to DC5 with DC3CO; 4=up to DC6 with DC3CO) (int) +i915.enable_psr=0|Enable PSR (0=disabled, 1=enabled) (int) +i915.disable_power_well=1|Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int) +i915.enable_ips=N|Enable IPS (default: true) (int) +i915.fastboot=1|Try to skip unnecessary mode sets at boot time (0=disabled, 1=enabled) Default: -1 (use per-chip default) (int) +i915.disable_display=Y|Disable display (default: false) (bool) +i915.enable_guc=0|Enable GuC load for GuC submission and/or HuC load. Required functionality can be selected using bitmask values. (-1=auto [default], 0=disable, 1=GuC submission, 2=HuC load) (int) +i915.enable_dp_mst=N|Enable multi-stream transport (MST) for new DisplayPort sinks. (default: true) (bool) +i915.enable_gvt=Y|Enable support for Intel GVT-g graphics virtualization host support (default:false) (bool) +ahci.marvell_enable=1|Marvell SATA via AHCI (1 = enabled) (int) +ahci.mobile_lpm_policy=1|Default LPM policy for mobile chipsets (default:-1) (int) +snd-intel-dspcfg.dsp_driver=1|Force the DSP driver for Intel DSP (0=auto, 1=legacy, 2=SST, 3=SOF) (int) +intel_idle.no_acpi=Y|Do not use ACPI _CST for building the idle states list (default:N) (bool) +intel_idle.use_acpi=Y|Use ACPI _CST for building the idle states list (default:N) (bool) +intel_idle.max_cstate=1|Prevents the processor from going into a deep sleep state (default:9) (int) +intel_idle.max_cstate=2|Eliminates flickering laptop display on Ultra Voltage processors (int) +intel_idle.max_cstate=3|Eliminates flickering laptop display on Ultra Voltage processors (int) +intel_idle.max_cstate=4|Eliminates flickering laptop display on Ultra Voltage processors (int) +intel_idle.states_off=1|Mask of disabled idle states (0=disabled, 1=enabled) Default: 0 (uint) +usbcore.autosuspend=-1|Default autosuspend delay (-1=disabled) (int) +modprobe.blacklist=nouveau|Force dont`t load nouveau driver video for Nvidia \ No newline at end of file diff --git a/grub-play.csv b/grub-play.csv index 63cb15d..070f201 100644 --- a/grub-play.csv +++ b/grub-play.csv @@ -1,2 +1,2 @@ -Option;Tone code -ubbeep;480 900 2 1000 2 800 2 400 2 600 3 \ No newline at end of file +Option|Tone code +ubbeep|480 900 2 1000 2 800 2 400 2 600 3 \ No newline at end of file diff --git a/grub-terminal-input.csv b/grub-terminal-input.csv index 98148e6..b2b265b 100644 --- a/grub-terminal-input.csv +++ b/grub-terminal-input.csv @@ -1,6 +1,6 @@ -Option;Description -console;PC BIOS & EFI console -serial;Serial terminal -ofconsole;Open Firmware Console -at_keyboard;PC AT Keyboard (Coreboot) -usb_keyboard;USB Keyboard (HID Boot protocol) +Option|Description +console|PC BIOS & EFI console +serial|Serial terminal +ofconsole|Open Firmware Console +at_keyboard|PC AT Keyboard (Coreboot) +usb_keyboard|USB Keyboard (HID Boot protocol) diff --git a/grub-terminal-output.csv b/grub-terminal-output.csv index e4a86fd..6ffc336 100644 --- a/grub-terminal-output.csv +++ b/grub-terminal-output.csv @@ -1,6 +1,6 @@ -Option;Description -console;PC BIOS & EFI console -serial;Serial terminal -ofconsole;Open Firmware Console -gfxterm;Output in graphical mode -vga_text;VGA text output (Coreboot) +Option|Description +console|PC BIOS & EFI console +serial|Serial terminal +ofconsole|Open Firmware Console +gfxterm|Output in graphical mode +vga_text|VGA text output (Coreboot) diff --git a/source/util.cc b/source/util.cc index 61c7688..86763c9 100644 --- a/source/util.cc +++ b/source/util.cc @@ -8,7 +8,7 @@ array, 5> read_csv(const string& filename) { vector vec_opcision; ifstream file(filename); string line; - char delimiter = ';'; + char delimiter = '|'; getline(file, line); while (getline(file, line)) { stringstream stream(line); diff --git a/ubl-settings-bootloader.pot b/ubl-settings-bootloader.pot index 8445b53..e46f96d 100644 --- a/ubl-settings-bootloader.pot +++ b/ubl-settings-bootloader.pot @@ -588,4 +588,124 @@ msgstr "" #: source/ubl-settings-bootloader.h:162 msgid "Last succeeded load mode" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable Plymouth" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Write debug output into /var/log/plymouth-debug.log" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable ACPI" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable APIC" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable local APIC" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Single User Mode" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable kernel selection and loading of video drivers" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "enable driver (default: auto, 0 = disabled, 1 = enabled, 2 = headless) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "disable kernel/abi16 acceleration (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Use kernel modesetting [KMS] (0=disable, 1=on, -1=force vga console preference [default]) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable power-saving display C-states. (-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; 3=up to DC5 with DC3CO; 4=up to DC6 with DC3CO) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable PSR (0=disabled, 1=enabled) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable IPS (default: true) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Try to skip unnecessary mode sets at boot time (0=disabled, 1=enabled) Default: -1 (use per-chip default) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable display (default: false) (bool)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable GuC load for GuC submission and/or HuC load. Required functionality can be selected using bitmask values. (-1=auto [default], 0=disable, 1=GuC submission, 2=HuC load) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable multi-stream transport (MST) for new DisplayPort sinks. (default: true) (bool)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable support for Intel GVT-g graphics virtualization host support (default:false) (bool)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Marvell SATA via AHCI (1 = enabled) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Default LPM policy for mobile chipsets (default:-1) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Force the DSP driver for Intel DSP (0=auto, 1=legacy, 2=SST, 3=SOF) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Do not use ACPI _CST for building the idle states list (default:N) (bool)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Use ACPI _CST for building the idle states list (default:N) (bool)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Prevents the processor from going into a deep sleep state (default:9) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Eliminates flickering laptop display on Ultra Voltage processors (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Mask of disabled idle states (0=disabled, 1=enabled) Default: 0 (uint)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "default autosuspend delay (-1=disabled) (int)" +msgstr "" + +#: source/ubl-settings-bootloader.h:162 +msgid "Force dont`t load nouveau driver video for Nvidia" msgstr "" \ No newline at end of file diff --git a/ubl-settings-bootloader_ru.po b/ubl-settings-bootloader_ru.po index 0282871..d58a7f7 100644 --- a/ubl-settings-bootloader_ru.po +++ b/ubl-settings-bootloader_ru.po @@ -110,24 +110,6 @@ msgstr "По умолчанию" msgid "Description" msgstr "Описание" -msgid "Disable ACPI" -msgstr "Отключить ACPI" - -msgid "Disable APIC" -msgstr "Отключить APIC" - -msgid "Disable GPU power management" -msgstr "Отключить управление питанием графического процессора" - -msgid "Disable Plymouth" -msgstr "Отключить Plymouth" - -msgid "Disable kernel selection and loading of video drivers" -msgstr "Отключить выбор и загрузку ядром драйверов видео" - -msgid "Disable local APIC" -msgstr "Отключить локальный APIC" - #: source/ubl-settings-bootloader.h:48 source/ubl-settings-bootloader.h:47 #: source/ubl-settings-bootloader.cc:426 source/ubl-settings-bootloader.cc:294 msgid "Download menu" @@ -448,9 +430,6 @@ msgstr "Настройка загрузчика" msgid "Show welcome window" msgstr "Показывать окно приветствия" -msgid "Single User Mode" -msgstr "Режим одного пользователя" - #: source/ubl-settings-bootloader.h:89 source/ubl-settings-bootloader.h:88 #: source/ubl-settings-bootloader.cc:920 source/ubl-settings-bootloader.cc:464 msgid "Successfully saved local and global configuration" @@ -631,4 +610,125 @@ msgstr "" #: source/ubl-settings-bootloader.h:162 msgid "Last succeeded load mode" -msgstr "Последний удачный вариант загрузки" \ No newline at end of file +msgstr "Последний удачный вариант загрузки" + + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable Plymouth" +msgstr "Отключить Плимут" + +#: source/ubl-settings-bootloader.h:162 +msgid "Write debug output into /var/log/plymouth-debug.log" +msgstr "Записать выходные данные отладки в /var/log/plymouth-debug.log" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable ACPI" +msgstr "Отключить ACPI" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable APIC" +msgstr "Отключить APIC" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable local APIC" +msgstr "Отключить локальный APIC" + +#: source/ubl-settings-bootloader.h:162 +msgid "Single User Mode" +msgstr "Однопользовательский режим" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable kernel selection and loading of video drivers" +msgstr "Отключить выбор ядра и загрузку видеодрайверов" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable driver (default: auto, 0 = disabled, 1 = enabled, 2 = headless) (int)" +msgstr "Включить драйвер (по умолчанию: авто, 0 = отключено, 1 = включено, 2 = без головы) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable kernel/abi16 acceleration (int)" +msgstr "Отключить ускорение ядра/abi16 (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Use kernel modesetting [KMS] (0=disable, 1=on, -1=force vga console preference [default]) (int)" +msgstr "Использовать настройку режима ядра [KMS] (0=отключить, 1=включить, -1=принудительно настроить консоль vga [по умолчанию]) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)" +msgstr "Включить сжатие кадрового буфера для экономии энергии (по умолчанию: -1 (используйте значение по умолчанию для каждого чипа)) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable power-saving display C-states. (-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; 3=up to DC5 with DC3CO; 4=up to DC6 with DC3CO) (int)" +msgstr "Включить энергосберегающее отображение C-состояний. (-1=авто [по умолчанию]; 0=отключить; 1=до DC5; 2=до DC6; 3=до DC5 с DC3CO; 4=до DC6 с DC3CO) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable PSR (0=disabled, 1=enabled) (int)" +msgstr "Включить PSR (0=выключено, 1=включено) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int)" +msgstr "Отключить отображение энергетических колодцев, когда это возможно (-1=авто [по умолчанию], 0=энергетические колодцы всегда включены, 1=энергетические колодцы отключены, когда это возможно) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable IPS (default: true) (int)" +msgstr "Включить IPS (по умолчанию: true) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Try to skip unnecessary mode sets at boot time (0=disabled, 1=enabled) Default: -1 (use per-chip default) (int)" +msgstr "Попробовать пропустить ненужные наборы режимов во время загрузки (0=отключено, 1=включено). По умолчанию: -1 (используйте настройки по умолчанию для каждого чипа) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Disable display (default: false) (bool)" +msgstr "Отключить отображение (по умолчанию: false) (bool)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable GuC load for GuC submission and/or HuC load. Required functionality can be selected using bitmask values. (-1=auto [default], 0=disable, 1=GuC submission, 2=HuC load) (int)" +msgstr "Включить загрузку GuC для отправки GuC и/или загрузки HuC. Требуемую функциональность можно выбрать с помощью значений битовой маски. (-1=авто [по умолчанию], 0=отключить, 1=отправка GuC, 2=загрузка HuC) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable multi-stream transport (MST) for new DisplayPort sinks. (default: true) (bool)" +msgstr "Включить многопотоковую передачу (MST) для новых приемников DisplayPort. (по умолчанию: true) (bool)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Enable support for Intel GVT-g graphics virtualization host support (default:false) (bool)" +msgstr "Включить поддержку хоста виртуализации графики Intel GVT-g (по умолчанию: false) (bool)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Marvell SATA via AHCI (1 = enabled) (int)" +msgstr "Marvell SATA через AHCI (1 = включено) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Default LPM policy for mobile chipsets (default:-1) (int)" +msgstr "Политика LPM по умолчанию для мобильных чипсетов (по умолчанию:-1) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Force the DSP driver for Intel DSP (0=auto, 1=legacy, 2=SST, 3=SOF) (int)" +msgstr "Принудительно установить драйвер DSP для Intel DSP (0=авто, 1=устаревший, 2=SST, 3=SOF) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Do not use ACPI _CST for building the idle states list (default:N) (bool)" +msgstr "Не использовать ACPI _CST для создания списка состояний простоя (по умолчанию: N) (bool)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Use ACPI _CST for building the idle states list (default:N) (bool)" +msgstr "Используйте ACPI _CST для создания списка состояний простоя (по умолчанию: N) (bool)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Prevents the processor from going into a deep sleep state (default:9) (int)" +msgstr "Предотвращает переход процессора в состояние глубокого сна (по умолчанию: 9) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Eliminates flickering laptop display on Ultra Voltage processors (int)" +msgstr "Устраняет мерцание дисплея ноутбука на процессорах сверхнапряжения (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Mask of disabled idle states (0=disabled, 1=enabled) Default: 0 (uint)" +msgstr "Маска отключенных состояний простоя (0=отключено, 1=включено) По умолчанию: 0 (uint)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Default autosuspend delay (-1=disabled) (int)" +msgstr "Задержка автоприостановки по умолчанию (-1=отключено) (int)" + +#: source/ubl-settings-bootloader.h:162 +msgid "Force dont`t load nouveau driver video for Nvidia" +msgstr "Принудительно не загружать видео драйвера nouveau для Nvidia" \ No newline at end of file