Добавил загрузку параметров

pull/11/head
Igor Belitskiy 3 years ago
parent f4fcef5ace
commit 80956fb202

@ -1,14 +1,14 @@
Get,Set=1,Set=0,Option,Description Get,Set=1,Set=0,Option,Description
get boot GRUB_BOOT_SILENT,quiet,cmd_false,quiet,Downloading without text messages quiet,Downloading without text messages
get boot GRUB_BOOT_SILENT,splash,cmd_false,splash,Show welcome window splash,Show welcome window
get boot GRUB_BOOT_SILENT,noplymouth,cmd_false,noplymouth,Disable Plymouth noplymouth,Disable Plymouth
get boot GRUB_BOOT_SILENT,acpi=off,cmd_false,acpi=off,Disable ACPI acpi=off,Disable ACPI
get boot GRUB_BOOT_SILENT,noapic,cmd_false,noapic,Disable APIC noapic,Disable APIC
get boot GRUB_BOOT_SILENT,nolapic,cmd_false,nolapic,Disable local APIC nolapic,Disable local APIC
get boot GRUB_BOOT_SILENT,single,cmd_false,single,Single User Mode single,Single User Mode
get boot GRUB_BOOT_SILENT,nomodeset,cmd_false,nomodeset,Disable kernel selection and loading of video drivers nomodeset,Disable kernel selection and loading of video drivers
get boot GRUB_BOOT_SILENT,915.enable_dc=0,cmd_false,915.enable_dc=0,Disable GPU power management 915.enable_dc=0,Disable GPU power management
get boot GRUB_BOOT_SILENT,ahci.mobile_lpm_policy=1,cmd_false,ahci.mobile_lpm_policy=1,"Maximum performance, power management" ahci.mobile_lpm_policy=1,"Maximum performance, power management"
get boot GRUB_BOOT_SILENT,snd-intel-dspcfg.dsp_driver=1,cmd_false,snd-intel-dspcfg.dsp_driver=1,Forced selection of an Intel sound device driver snd-intel-dspcfg.dsp_driver=1,Forced selection of an Intel sound device driver
get boot GRUB_BOOT_SILENT,intel_idle.max_cstate=1,cmd_false,intel_idle.max_cstate=1,Prevents the processor from going into a deep sleep state intel_idle.max_cstate=1,Prevents the processor from going into a deep sleep state
get boot GRUB_BOOT_SILENT,intel_idle.max_cstate=4,cmd_false,intel_idle.max_cstate=4,Eliminates flickering laptop display on Ultra Voltage processors intel_idle.max_cstate=4,Eliminates flickering laptop display on Ultra Voltage processors

Can't render this file because it has a wrong number of fields in line 2.

@ -1,6 +1,6 @@
Get,Set=1,Set=0,Option,Description Get,Set=1,Set=0,Option,Description
ubconfig get boot GRUB_TERMINAL_INPUT,cmd_true,cmd_false,console,PC BIOS & EFI console console,PC BIOS & EFI console
ubconfig get boot GRUB_TERMINAL_INPUT,cmd_true,cmd_false,serial,Serial terminal serial,Serial terminal
ubconfig get boot GRUB_TERMINAL_INPUT,cmd_true,cmd_false,ofconsole,Open Firmware Console ofconsole,Open Firmware Console
ubconfig get boot GRUB_TERMINAL_INPUT,cmd_true,cmd_false,at_keyboard,PC AT Keyboard (Coreboot) at_keyboard,PC AT Keyboard (Coreboot)
ubconfig get boot GRUB_TERMINAL_INPUT,cmd_true,cmd_false,usb_keyboard,USB Keyboard (HID Boot protocol) usb_keyboard,USB Keyboard (HID Boot protocol)

1 Get Get,Set=1,Set=0,Option,Description Set=1 Set=0 Option Description
2 ubconfig get boot GRUB_TERMINAL_INPUT console,PC BIOS & EFI console cmd_true cmd_false console PC BIOS & EFI console
3 ubconfig get boot GRUB_TERMINAL_INPUT serial,Serial terminal cmd_true cmd_false serial Serial terminal
4 ubconfig get boot GRUB_TERMINAL_INPUT ofconsole,Open Firmware Console cmd_true cmd_false ofconsole Open Firmware Console
5 ubconfig get boot GRUB_TERMINAL_INPUT at_keyboard,PC AT Keyboard (Coreboot) cmd_true cmd_false at_keyboard PC AT Keyboard (Coreboot)
6 ubconfig get boot GRUB_TERMINAL_INPUT usb_keyboard,USB Keyboard (HID Boot protocol) cmd_true cmd_false usb_keyboard USB Keyboard (HID Boot protocol)

@ -1,6 +1,6 @@
Get,Set=1,Set=0,Option,Description Get,Set=1,Set=0,Option,Description
ubconfig get boot GRUB_TERMINAL_OUTPUT,console,cmd_false,console,PC BIOS & EFI console console,PC BIOS & EFI console
ubconfig get boot GRUB_TERMINAL_OUTPUT,serial,cmd_false,serial,Serial terminal serial,Serial terminal
ubconfig get boot GRUB_TERMINAL_OUTPUT,ofconsole,cmd_false,ofconsole,Open Firmware Console ofconsole,Open Firmware Console
ubconfig get boot GRUB_TERMINAL_OUTPUT,gfxterm,cmd_false,gfxterm,Output in graphical mode gfxterm,Output in graphical mode
ubconfig get boot GRUB_TERMINAL_OUTPUT,vga_text,cmd_false,vga_text,VGA text output (Coreboot) vga_text,VGA text output (Coreboot)

1 Get Get,Set=1,Set=0,Option,Description Set=1 Set=0 Option Description
2 ubconfig get boot GRUB_TERMINAL_OUTPUT console,PC BIOS & EFI console console cmd_false console PC BIOS & EFI console
3 ubconfig get boot GRUB_TERMINAL_OUTPUT serial,Serial terminal serial cmd_false serial Serial terminal
4 ubconfig get boot GRUB_TERMINAL_OUTPUT ofconsole,Open Firmware Console ofconsole cmd_false ofconsole Open Firmware Console
5 ubconfig get boot GRUB_TERMINAL_OUTPUT gfxterm,Output in graphical mode gfxterm cmd_false gfxterm Output in graphical mode
6 ubconfig get boot GRUB_TERMINAL_OUTPUT vga_text,VGA text output (Coreboot) vga_text cmd_false vga_text VGA text output (Coreboot)

@ -80,12 +80,12 @@ void MainWindow::settings(){
if (this->check_root() == 0) { if (this->check_root() == 0) {
spbSecond->set_range(0, 100000000000); spbSecond->set_range(0, 100000000000);
spbSecond->set_increments(1.0, 1.0); spbSecond->set_increments(1.0, 1.0);
this->fill_in_view();
this->download_local_cfg(); this->download_local_cfg();
this->download_globl_cfg(); this->download_globl_cfg();
this->fill_in_view();
this->event(); this->event();
} }
else{ else{
boxWidgetAll->set_sensitive(false); boxWidgetAll->set_sensitive(false);
@ -109,6 +109,9 @@ void MainWindow::fill_in_view() {
vec_Option_kernel = this->read_file_and_view("boot-options.csv", row_kernel, list_store_kernel); vec_Option_kernel = this->read_file_and_view("boot-options.csv", row_kernel, list_store_kernel);
vec_Option_IPT = this->read_file_and_view("input-options.csv", row_IPT, list_store_IPT); vec_Option_IPT = this->read_file_and_view("input-options.csv", row_IPT, list_store_IPT);
vec_Option_OTT = this->read_file_and_view("output-options.csv", row_OTT, list_store_OTT); vec_Option_OTT = this->read_file_and_view("output-options.csv", row_OTT, list_store_OTT);
size_kernel = vec_Option_kernel.size();
size_IPT = vec_Option_IPT.size();
size_OTT = vec_Option_OTT.size();
this->view_add_colums(*treeViewKernel); this->view_add_colums(*treeViewKernel);
this->view_add_colums(*treeViewIPT); this->view_add_colums(*treeViewIPT);
this->view_add_colums(*treeViewOTT); this->view_add_colums(*treeViewOTT);
@ -164,8 +167,6 @@ void MainWindow::template_item_selected(std::map<string, string> &map_view, con
} }
Glib::ustring name = row[m_columns.name]; Glib::ustring name = row[m_columns.name];
cout << cmd << " " << name << endl;
map_view[name] = cmd; map_view[name] = cmd;
} }
} }
@ -203,11 +204,13 @@ void MainWindow::view_add_cell(Gtk::TreeModel::Row &row, Glib::RefPtr<Gtk::ListS
row = *(list_store_m->append()); row = *(list_store_m->append());
bool flag_chb = false; bool flag_chb = false;
string name = arr_view[0][index]; string name = arr_view[0][index];
/*
if (map_cmd_selection.find(name) != map_cmd_selection.end()) { if (map_cmd_selection.find(name) != map_cmd_selection.end()) {
if (map_cmd_selection[name] == "1"){ if (map_cmd_selection[name] == "1") {
flag_chb = true; flag_chb = true;
} }
} }
*/
row[m_columns.check_button] = flag_chb; row[m_columns.check_button] = flag_chb;
row[m_columns.name] = gettext(name.c_str()); row[m_columns.name] = gettext(name.c_str());
row[m_columns.description] = gettext(arr_view[1][index].c_str()); row[m_columns.description] = gettext(arr_view[1][index].c_str());
@ -326,6 +329,16 @@ vector<string> MainWindow::get_setting_entry_all(string cmd, Gtk::Entry &entry_t
return vec_params; return vec_params;
} }
bool MainWindow::focus_out_txt_kernel(GdkEventFocus*) {
return true;
}
bool MainWindow::focus_out_txt_IPT(GdkEventFocus*) {
return true;
}
bool MainWindow::focus_out_txt_OTT(GdkEventFocus*) {
return true;
}
void MainWindow::get_menu_boot(string cmd) { void MainWindow::get_menu_boot(string cmd) {
struct Result<string> res_response = this->wrapper_call(cmd); struct Result<string> res_response = this->wrapper_call(cmd);
@ -378,6 +391,9 @@ void MainWindow::event(){
btnSaveLocalGlob->signal_activate().connect([&]() {save_global_local_cfg();}); btnSaveLocalGlob->signal_activate().connect([&]() {save_global_local_cfg();});
btnSaveLocal->signal_activate().connect([&]() {save_local_cfg();}); btnSaveLocal->signal_activate().connect([&]() {save_local_cfg();});
btnSaveGlob->signal_activate().connect([&]() {save_global_cfg();}); btnSaveGlob->signal_activate().connect([&]() {save_global_cfg();});
entryKernel->signal_focus_out_event().connect(sigc::mem_fun(*this, &MainWindow::focus_out_txt_kernel));
entryIPT->signal_focus_out_event().connect(sigc::mem_fun(*this, &MainWindow::focus_out_txt_IPT));
entryOTT->signal_focus_out_event().connect(sigc::mem_fun(*this, &MainWindow::focus_out_txt_OTT));
if (this->check_root() == 0) { if (this->check_root() == 0) {
Glib::RefPtr<Gtk::TreeModel> treeViewKernelModel = treeViewKernel->get_model(); Glib::RefPtr<Gtk::TreeModel> treeViewKernelModel = treeViewKernel->get_model();
treeViewKernelModel->signal_row_changed().connect(sigc::mem_fun(*this, &MainWindow::item_selected_kernel)); treeViewKernelModel->signal_row_changed().connect(sigc::mem_fun(*this, &MainWindow::item_selected_kernel));
@ -473,6 +489,9 @@ void MainWindow::download_globl_cfg() {
this->get_setting_entry_all(cmd_ipt_entry, *entryIPT, map_global_cmd_selection); this->get_setting_entry_all(cmd_ipt_entry, *entryIPT, map_global_cmd_selection);
string cmd_opt_entry = "sudo ubconfig --default --source global get boot GRUB_TERMINAL_OUTPUT"; string cmd_opt_entry = "sudo ubconfig --default --source global get boot GRUB_TERMINAL_OUTPUT";
this->get_setting_entry_all(cmd_opt_entry, *entryOTT, map_global_cmd_selection); this->get_setting_entry_all(cmd_opt_entry, *entryOTT, map_global_cmd_selection);
this->set_row_all(map_global_cmd_selection,list_store_kernel, vec_Option_kernel, size_kernel);
this->set_row_all(map_global_cmd_selection,list_store_IPT, vec_Option_IPT, size_IPT);
this->set_row_all(map_global_cmd_selection,list_store_OTT, vec_Option_OTT, size_OTT);
info_warning_error(1); info_warning_error(1);
} }
@ -492,10 +511,35 @@ void MainWindow::download_local_cfg() {
this->get_setting_entry_all(cmd_ipt_entry, *entryIPT, map_local_cmd_selection); this->get_setting_entry_all(cmd_ipt_entry, *entryIPT, map_local_cmd_selection);
string cmd_opt_entry = "sudo ubconfig --default --source system get boot GRUB_TERMINAL_OUTPUT"; string cmd_opt_entry = "sudo ubconfig --default --source system get boot GRUB_TERMINAL_OUTPUT";
this->get_setting_entry_all(cmd_opt_entry, *entryOTT, map_local_cmd_selection); this->get_setting_entry_all(cmd_opt_entry, *entryOTT, map_local_cmd_selection);
this->set_row_all(map_local_cmd_selection,list_store_kernel , vec_Option_kernel, size_kernel);
this->set_row_all(map_local_cmd_selection,list_store_IPT , vec_Option_IPT, size_IPT);
this->set_row_all(map_local_cmd_selection,list_store_OTT , vec_Option_OTT, size_OTT);
info_warning_error(0); info_warning_error(0);
} }
void MainWindow::set_row_all(std::map <string, string> &map_cmd, Glib::RefPtr<Gtk::ListStore> &list_store, vector<string> &list_params, size_t size) {
for (auto &name: list_params) {
if (map_cmd.find(name) != map_cmd.end()){
this->set_row(list_store, size, name, true);
}
else {
this->set_row(list_store, size, name, false);
}
}
}
void MainWindow::set_row(Glib::RefPtr<Gtk::ListStore> &list_store, int size, std::string name, bool flag_chbox) {
for (int index = 0; index < size; index++) {
Gtk::TreeModel::Row row = list_store->children()[index];
if(row) {
if (row[m_columns.name] == name) {
row[m_columns.check_button] = flag_chbox;
}
}
}
}
void MainWindow::synopsis_show() { void MainWindow::synopsis_show() {
string cmd = "xdg-open " + string(gettext("https://wiki.ublinux.com/ru/Программное_обеспечениерограммы_и_утилиты/Все/")) + app_name + " &"; string cmd = "xdg-open " + string(gettext("https://wiki.ublinux.com/ru/Программное_обеспечениерограммы_и_утилиты/Все/")) + app_name + " &";

@ -1,4 +1,5 @@
#include <cstddef>
#include <iostream> #include <iostream>
#include <gtkmm.h> #include <gtkmm.h>
#include <string> #include <string>
@ -39,11 +40,8 @@ class MainWindow : public Gtk::ApplicationWindow {
public: public:
class ModelColumns : public Gtk::TreeModel::ColumnRecord { class ModelColumns : public Gtk::TreeModel::ColumnRecord {
public: public:
ModelColumns() {add(cmd_get),add(cmd_set_true),add(cmd_set_false),add(check_button), add(name); add(description); } ModelColumns() {add(check_button), add(name); add(description); }
//Gtk::TreeModelColumn<Gtk::CheckButton> check_button; //Gtk::TreeModelColumn<Gtk::CheckButton> check_button;
Gtk::TreeModelColumn<Glib::ustring> cmd_get;
Gtk::TreeModelColumn<Glib::ustring> cmd_set_true;
Gtk::TreeModelColumn<Glib::ustring> cmd_set_false;
Gtk::TreeModelColumn<bool> check_button; Gtk::TreeModelColumn<bool> check_button;
Gtk::TreeModelColumn<Glib::ustring> name; Gtk::TreeModelColumn<Glib::ustring> name;
Gtk::TreeModelColumn<Glib::ustring> description; Gtk::TreeModelColumn<Glib::ustring> description;
@ -116,6 +114,9 @@ class MainWindow : public Gtk::ApplicationWindow {
bool flag_save_all = false; bool flag_save_all = false;
bool flag_save_global = false; bool flag_save_global = false;
bool flag_save_local = false; bool flag_save_local = false;
size_t size_kernel = 0;
size_t size_IPT = 0;
size_t size_OTT = 0;
int index_error = 0; int index_error = 0;
string str_cmd_error = ""; string str_cmd_error = "";
template<typename Type> template<typename Type>
@ -129,6 +130,8 @@ class MainWindow : public Gtk::ApplicationWindow {
MainWindow(Glib::RefPtr<Gtk::Builder> const& builder); MainWindow(Glib::RefPtr<Gtk::Builder> const& builder);
void get_menu_boot(string cmd); void get_menu_boot(string cmd);
void set_menu_boot(string cmd); void set_menu_boot(string cmd);
void set_row_all(std::map <string, string> &map_cmd, Glib::RefPtr<Gtk::ListStore> &list_store, vector<string> &list_params, size_t size);
void set_row(Glib::RefPtr<Gtk::ListStore> &list_store, int size, std::string name, bool flag_chbox);
void get_builder(); void get_builder();
void add_CSS(); void add_CSS();
void localization(); void localization();
@ -151,6 +154,9 @@ class MainWindow : public Gtk::ApplicationWindow {
void info_status_app(string stule); void info_status_app(string stule);
void info_warning_error(int mess); void info_warning_error(int mess);
int check_root(); int check_root();
bool focus_out_txt_kernel(GdkEventFocus*);
bool focus_out_txt_IPT(GdkEventFocus*);
bool focus_out_txt_OTT(GdkEventFocus*);
void fill_in_view(); void fill_in_view();
vector<string> get_setting_entry_all(string cmd, Gtk::Entry &entry_text, std::map <string, string> &map_temp); vector<string> get_setting_entry_all(string cmd, Gtk::Entry &entry_text, std::map <string, string> &map_temp);
void cmd_entry_all(string cmd_settings_kernel,string cmd_settings_IPT,string cmd_settings_OTT); void cmd_entry_all(string cmd_settings_kernel,string cmd_settings_IPT,string cmd_settings_OTT);

@ -373,9 +373,11 @@ specified priority</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkLabel" id="lblInfoDefaultDonw"> <object class="GtkLabel" id="lblInfoDefaultDonw">
<property name="width-request">0</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="margin-left">8</property> <property name="halign">start</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property> <property name="margin-right">5</property>
<property name="margin-start">5</property> <property name="margin-start">5</property>
<property name="margin-end">5</property> <property name="margin-end">5</property>
@ -406,6 +408,27 @@ specified priority</property>
<property name="position">1</property> <property name="position">1</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkCheckButton" id="chbLastSelectionWillBecome">
<property name="label" translatable="yes">The last selection will become the default boot choice</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">False</property>
<property name="halign">start</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<property name="draw-indicator">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -414,19 +437,45 @@ specified priority</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkCheckButton" id="chbLastSelectionWillBecome"> <object class="GtkBox">
<property name="label" translatable="yes">The last selection will become the default boot choice</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">False</property>
<property name="receives-default">False</property> <child>
<property name="halign">start</property> <object class="GtkLabel" id="lblDownloadMode">
<property name="margin-left">5</property> <property name="width-request">0</property>
<property name="margin-right">5</property> <property name="visible">True</property>
<property name="margin-start">5</property> <property name="can-focus">False</property>
<property name="margin-end">5</property> <property name="margin-left">5</property>
<property name="margin-top">6</property> <property name="margin-right">5</property>
<property name="margin-bottom">6</property> <property name="margin-start">5</property>
<property name="draw-indicator">True</property> <property name="margin-end">5</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<property name="label" translatable="yes">Download mode</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBoxText">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -434,6 +483,133 @@ specified priority</property>
<property name="position">2</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkLabel" id="lblSecurityLogin">
<property name="width-request">0</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<property name="label" translatable="yes">Security login:</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBoxText">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkComboBoxText">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkLabel" id="lblPasswordProtec">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<property name="label" translatable="yes">Password protection:</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBoxText">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkComboBoxText">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">5</property>
<property name="margin-right">5</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
</packing>
</child>
</object> </object>
</child> </child>
</object> </object>
@ -677,7 +853,7 @@ specified priority</property>
<property name="margin-end">5</property> <property name="margin-end">5</property>
<property name="margin-top">6</property> <property name="margin-top">6</property>
<property name="margin-bottom">6</property> <property name="margin-bottom">6</property>
<property name="label" translatable="yes">Input terminal</property> <property name="label" translatable="yes">Terminal for input</property>
</object> </object>
</child> </child>
</object> </object>
@ -791,7 +967,7 @@ specified priority</property>
<property name="margin-end">5</property> <property name="margin-end">5</property>
<property name="margin-top">6</property> <property name="margin-top">6</property>
<property name="margin-bottom">6</property> <property name="margin-bottom">6</property>
<property name="label" translatable="yes">Output terminal</property> <property name="label" translatable="yes">Terminal for output</property>
</object> </object>
</child> </child>
</object> </object>

@ -16,6 +16,15 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
msgid "Download mode:"
msgstr "Режим загрузки:"
msgid "Security login:"
msgstr "Логин защиты:"
msgid "Password protection:"
msgstr "Пароль защиты:"
#: source/ubl-settings-bootloader.cc:301 #: source/ubl-settings-bootloader.cc:301
msgid "About" msgid "About"
msgstr "О программе" msgstr "О программе"
@ -121,8 +130,8 @@ msgstr "Справка"
#: source/ubl-settings-bootloader.cc:295 #: source/ubl-settings-bootloader.cc:295
#, fuzzy #, fuzzy
msgid "Input terminal" msgid "Terminal for input"
msgstr "Выходной терминал" msgstr "Терминал для ввода"
#: source/ubl-settings-bootloader.cc:308 #: source/ubl-settings-bootloader.cc:308
msgid "Load" msgid "Load"
@ -176,7 +185,7 @@ msgstr "Вывод в графическом режиме"
#: source/ubl-settings-bootloader.cc:296 #: source/ubl-settings-bootloader.cc:296
msgid "Output terminal" msgid "Output terminal"
msgstr "Выходной терминал" msgstr "Терминал для вывода"
msgid "PC AT Keyboard (Coreboot)" msgid "PC AT Keyboard (Coreboot)"
msgstr "Клавиатура PC AT (Coreboot)" msgstr "Клавиатура PC AT (Coreboot)"

Loading…
Cancel
Save