Добавлена локализация для кнопки режима квот

pull/3/head
Igor Belitskiy 2 years ago
parent 54fd25c9c9
commit 825d9244c9

@ -251,6 +251,7 @@ void MainWindow::lacalization() {
btnCancelHelp->set_label(cancel);
chkAlwaysOpenHelp->set_label(always_redirect);
lblwebHeaderName->set_label(name_app);
chbMangSystemFile->set_label(str_quotas_mode);
}
@ -496,6 +497,9 @@ void MainWindow::get_builder() {
builder->get_widget("btnReadHelp", btnReadHelp);
builder->get_widget("btnCancelHelp", btnCancelHelp);
builder->get_widget("wndShowWeb", wndShowWeb);
builder->get_widget("chbMangSystemFile", chbMangSystemFile);
}

@ -74,6 +74,7 @@
#define str_file_system _("File system:")
#define str_name _("Name")
#define str_size _("Size")
#define str_quotas_mode _("Direct control of the file system")
#define str_lb_head _("Configuration of disk quotas parameters for system groups and users")
#define str_soft_limit _("Soft limit")
#define str_currently_using _("Currently using:")
@ -341,6 +342,7 @@ class MainWindow : public Gtk::ApplicationWindow {
Gtk::Button *btnReadHelp;
Gtk::Button *btnCancelHelp;
Gtk::Window *wndShowWeb;
Gtk::CheckMenuItem *chbMangSystemFile;
#ifdef WEBKIT_FOUND
Gtk::Window *wndWeb;
Gtk::Widget *three;

@ -528,6 +528,14 @@
<property name="can-focus">False</property>
<property name="take-focus">False</property>
<property name="reserve-toggle-size">False</property>
<child>
<object class="GtkCheckMenuItem" id="chbMangSystemFile">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Direct control of the file system</property>
<property name="use-underline">True</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="btnSynopsis">
<property name="visible">True</property>
@ -549,13 +557,6 @@
</style>
</object>
</child>
<child>
<object class="GtkCheckMenuItem" id="chbMangSystemFile">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="use-underline">True</property>
</object>
</child>
</object>
<object class="GtkMenu" id="menuLoad">
<property name="visible">True</property>

@ -357,6 +357,9 @@ msgstr ""
msgid "Load global configuration"
msgstr ""
msgid "Direct control of the file system"
msgstr ""
#: source/ubl-settings-diskquota.cc:223 source/ubl-settings-diskquota.cc:153
#: source/ubl-settings-diskquota.cc:143
msgid "Load local configuration"

@ -227,6 +227,9 @@ msgstr "Файлы"
msgid "Filters"
msgstr "Фильтры"
msgid "Direct control of the file system"
msgstr "Прямое управление файловой системой"
msgid ""
"GTK settings disk quota for UBLinux\n"
"\n"

Loading…
Cancel
Save