Исправлен дизайн и локализация

pull/28/head
Igor Belitskiy 3 years ago
parent c48f53507b
commit 34d3f35256

@ -5,6 +5,7 @@ const string path_app = "/usr/bin/";
const string path_glade = "/usr/share/ublexec/ui/ublexec.glade"; const string path_glade = "/usr/share/ublexec/ui/ublexec.glade";
const string path_css = "/usr/share/ublexec/css/ublexec.css"; const string path_css = "/usr/share/ublexec/css/ublexec.css";
const string app_name = "ublexec"; const string app_name = "ublexec";
const string path_img_head_background = "/usr/share/ublexec/images/logo-background.png";
int socket_ext_id_I = 0; int socket_ext_id_I = 0;
int socket_trd_id_I = 0; int socket_trd_id_I = 0;
@ -42,6 +43,9 @@ MainWindow::MainWindow(Glib::RefPtr<Gtk::Builder> const& builder) {
} }
void MainWindow::get_builder() { void MainWindow::get_builder() {
builder->get_widget("imgHeadBackground", imgHeadBackground);
builder->get_widget("overHead", overHead);
builder->get_widget("btnFilemaneg", btnFilemaneg); builder->get_widget("btnFilemaneg", btnFilemaneg);
builder->get_widget("btnListApp", btnListApp); builder->get_widget("btnListApp", btnListApp);
builder->get_widget("btnStart", btnStart); builder->get_widget("btnStart", btnStart);
@ -135,10 +139,9 @@ void MainWindow::add_CSS() {
Glib::RefPtr<Gtk::StyleContext> styleContext = Gtk::StyleContext::create(); Glib::RefPtr<Gtk::StyleContext> styleContext = Gtk::StyleContext::create();
Glib::RefPtr<Gdk::Screen> screen = Gdk::Screen::get_default();//get default screen Glib::RefPtr<Gdk::Screen> screen = Gdk::Screen::get_default();//get default screen
styleContext->add_provider_for_screen(screen, cssProvider, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);//add provider for screen in all application styleContext->add_provider_for_screen(screen, cssProvider, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);//add provider for screen in all application
Glib::RefPtr<Gtk::StyleContext> context_box = boxColor->get_style_context();
Glib::RefPtr<Gtk::StyleContext> context_lbl_head = lblInfoHead->get_style_context(); Glib::RefPtr<Gtk::StyleContext> context_lbl_head = lblInfoHead->get_style_context();
Glib::RefPtr<Gtk::StyleContext> boxAbout_css = boxAbout->get_style_context(); Glib::RefPtr<Gtk::StyleContext> boxAbout_css = boxAbout->get_style_context();
context_box->add_class("cssboxColor1"); imgHeadBackground->set(path_img_head_background);
context_lbl_head->add_class("textHead"); context_lbl_head->add_class("textHead");
if (socket_ext_id_I == 0){ if (socket_ext_id_I == 0){
boxAbout_css->add_class("bkim_no_plug"); boxAbout_css->add_class("bkim_no_plug");
@ -154,11 +157,12 @@ void MainWindow::localization() {
aboutWindows->set_website(gettext("https://wiki.ublinux.com")); aboutWindows->set_website(gettext("https://wiki.ublinux.com"));
btnSynopsis->set_label(gettext("Help")); btnSynopsis->set_label(gettext("Help"));
btnAbout->set_label(gettext("About")); btnAbout->set_label(gettext("About"));
aboutWindows->set_comments(gettext("ublexec")); aboutWindows->set_comments(gettext("Run as..."));
aboutWindows->set_website_label(gettext("Project Home Page")); aboutWindows->set_website_label(gettext("Project Home Page"));
aboutWindows->set_version(gettext(version_application.c_str())); aboutWindows->set_version(gettext(version_application.c_str()));
lblHeaderName->set_text(gettext("ublexec")); aboutWindows->set_title(gettext(" Run as..."));
this->set_title(gettext("ublexec")); lblHeaderName->set_text(gettext("Run as..."));
this->set_title(gettext("Run as..."));
btnStart->set_label(gettext("Run")); btnStart->set_label(gettext("Run"));
wndChooseFileWallpaper->set_title(gettext("Please select File")); wndChooseFileWallpaper->set_title(gettext("Please select File"));
dialogStartMenu->set_title(gettext("Selecting Programs")); dialogStartMenu->set_title(gettext("Selecting Programs"));
@ -173,6 +177,7 @@ void MainWindow::localization() {
lblInfoExec->set_text(gettext("Change startup priority")); lblInfoExec->set_text(gettext("Change startup priority"));
lblInfoPriority->set_text(gettext("Priority:")); lblInfoPriority->set_text(gettext("Priority:"));
lblMessageError->set_text(gettext("Select an executable file or program")); lblMessageError->set_text(gettext("Select an executable file or program"));
messageError->set_title(gettext("Warning!"));
lblGraphics->set_text(gettext("Graphics")); lblGraphics->set_text(gettext("Graphics"));
lblTools->set_text(gettext("Tools")); lblTools->set_text(gettext("Tools"));
lblInternet->set_text(gettext("Internet")); lblInternet->set_text(gettext("Internet"));
@ -185,6 +190,7 @@ void MainWindow::localization() {
lblSystem->set_text(gettext("System")); lblSystem->set_text(gettext("System"));
btnListApp->set_tooltip_text(gettext("Application Overview")); btnListApp->set_tooltip_text(gettext("Application Overview"));
btnFilemaneg->set_tooltip_text(gettext("File Overview")); btnFilemaneg->set_tooltip_text(gettext("File Overview"));
btnStartMenuExit->set_label(gettext("Cancel"));
} }
void MainWindow::event() { void MainWindow::event() {
@ -419,6 +425,9 @@ void MainWindow::settings() {
lblTimeEpriorityLow->set_text(gettext("19 (Low)")); lblTimeEpriorityLow->set_text(gettext("19 (Low)"));
lblTime4EpriorityHigh->set_text(gettext("0 (High)")); lblTime4EpriorityHigh->set_text(gettext("0 (High)"));
scalePriority->set_inverted(true); scalePriority->set_inverted(true);
Gtk::Widget *boxWidget;
builder->get_widget("boxColor", boxWidget);
overHead->add_overlay(*boxWidget);
this->pars_dir_bin(); this->pars_dir_bin();
this->pars_dir_terminal(); this->pars_dir_terminal();
this->pars_users(); this->pars_users();
@ -434,6 +443,7 @@ void MainWindow::settings() {
btnBoxAboutDialog->set_visible(false); btnBoxAboutDialog->set_visible(false);
cmbTerminal->set_sensitive(false); cmbTerminal->set_sensitive(false);
ubl_make_plugs(boxAbout, boxAbout, socket_ext_id_I, 0); ubl_make_plugs(boxAbout, boxAbout, socket_ext_id_I, 0);
} }
void MainWindow::close_entry_app() { void MainWindow::close_entry_app() {
@ -618,6 +628,7 @@ string MainWindow::start_cmd(string user_cmd) {
str_nice_cmd = "nice -n " + to_string(spinPriority->get_value_as_int()) + " "; str_nice_cmd = "nice -n " + to_string(spinPriority->get_value_as_int()) + " ";
} }
if (user_cmd.length() == 0 && name_app.length() == 0 && path_file.length() == 0) { if (user_cmd.length() == 0 && name_app.length() == 0 && path_file.length() == 0) {
messageError->set_title(gettext("Warning!"));
messageError->show(); messageError->show();
return ""; return "";
} }
@ -686,6 +697,7 @@ void MainWindow::denamic_cmd() {
name_app = ""; name_app = "";
user_cmd = ""; user_cmd = "";
txtCmd->set_text(user_cmd); txtCmd->set_text(user_cmd);
messageError->set_title(gettext("Warning!"));
messageError->show(); messageError->show();
} }
else{ else{

@ -24,6 +24,7 @@ extern const string path_app;
extern const string app_name; extern const string app_name;
extern const string path_glade; extern const string path_glade;
extern const string path_css; extern const string path_css;
extern const string path_img_head_background;
extern int socket_ext_id_I; extern int socket_ext_id_I;
extern int socket_trd_id_I; extern int socket_trd_id_I;
void me_thread(string cmd); void me_thread(string cmd);
@ -198,6 +199,8 @@ public:
Glib::RefPtr<Gtk::ListStore> list_Other; Glib::RefPtr<Gtk::ListStore> list_Other;
Glib::RefPtr<Gtk::ListStore> list_Development; Glib::RefPtr<Gtk::ListStore> list_Development;
Glib::RefPtr<Gtk::ListStore> list_System; Glib::RefPtr<Gtk::ListStore> list_System;
Gtk::Image *imgHeadBackground;
Gtk::Overlay *overHead;
Gtk::Widget *boxAbout; Gtk::Widget *boxAbout;
public: public:
string termunal_cmd[3] = {"konsole -e ", "xfce4-terminal -x ", "xterm -e "}; string termunal_cmd[3] = {"konsole -e ", "xfce4-terminal -x ", "xterm -e "};

@ -1,6 +1,3 @@
.cssboxColor1{
background: url("/usr/share/ublexec/images/logo-background.png") no-repeat;
}
.textHead{ .textHead{
text-shadow: 1px 1px #ffffff; text-shadow: 1px 1px #ffffff;
} }

@ -13,7 +13,7 @@
<property name="resizable">False</property> <property name="resizable">False</property>
<property name="modal">True</property> <property name="modal">True</property>
<property name="window-position">center</property> <property name="window-position">center</property>
<property name="icon-name">ubl-settings-datetime</property> <property name="icon-name">com.ublinux.ublexec</property>
<property name="type-hint">dialog</property> <property name="type-hint">dialog</property>
<property name="urgency-hint">True</property> <property name="urgency-hint">True</property>
<property name="accept-focus">False</property> <property name="accept-focus">False</property>
@ -39,6 +39,12 @@
<child internal-child="action_area"> <child internal-child="action_area">
<object class="GtkButtonBox" id="btnBoxAboutDialog"> <object class="GtkButtonBox" id="btnBoxAboutDialog">
<property name="can-focus">False</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="layout-style">end</property> <property name="layout-style">end</property>
<child> <child>
<placeholder/> <placeholder/>
@ -62,6 +68,54 @@
<property name="step-increment">1</property> <property name="step-increment">1</property>
<property name="page-increment">10</property> <property name="page-increment">10</property>
</object> </object>
<object class="GtkBox" id="boxColor">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkImage">
<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="pixel-size">69</property>
<property name="icon-name">com.ublinux.ublexec</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="lblInfoHead">
<property name="visible">True</property>
<property name="can-focus">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="label" translatable="yes">Run applications as another user
with the specified priority</property>
<attributes>
<attribute name="font-desc" value="URW Gothic Semi-Bold 10"/>
<attribute name="foreground" value="#000023233232"/>
<attribute name="size" value="15360"/>
</attributes>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<object class="GtkWindow" id="dialogStartMenu"> <object class="GtkWindow" id="dialogStartMenu">
<property name="width-request">410</property> <property name="width-request">410</property>
<property name="height-request">240</property> <property name="height-request">240</property>
@ -913,10 +967,8 @@
<property name="halign">end</property> <property name="halign">end</property>
<property name="layout-style">start</property> <property name="layout-style">start</property>
<child> <child>
<object class="GtkButton" id="btnStartMenuOK"> <object class="GtkButton" id="btnStartMenuExit">
<property name="label" translatable="yes">ОК</property> <property name="label" translatable="yes">Exit</property>
<property name="width-request">-1</property>
<property name="height-request">-1</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
@ -934,8 +986,10 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkButton" id="btnStartMenuExit"> <object class="GtkButton" id="btnStartMenuOK">
<property name="label" translatable="yes">Выход</property> <property name="label" translatable="yes">ОК</property>
<property name="width-request">-1</property>
<property name="height-request">-1</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
@ -1026,56 +1080,22 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>
<object class="GtkBox" id="boxColor"> <object class="GtkOverlay" id="overHead">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkImage"> <object class="GtkImage" id="imgHeadBackground">
<property name="visible">True</property> <property name="height-request">81</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="pixel-size">69</property>
<property name="icon-name">com.ublinux.ublexec</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="lblInfoHead">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">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="label" translatable="yes">Run applications as another user
with the specified priority</property>
<attributes>
<attribute name="font-desc" value="URW Gothic Semi-Bold 10"/>
<attribute name="foreground" value="#000023233232"/>
<attribute name="size" value="15360"/>
</attributes>
</object> </object>
<packing> <packing>
<property name="expand">True</property> <property name="index">-1</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing> </packing>
</child> </child>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">True</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
@ -1903,7 +1923,7 @@ with the specified priority</property>
</object> </object>
<object class="GtkMessageDialog" id="messageError"> <object class="GtkMessageDialog" id="messageError">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="title" translatable="yes">Внимание!</property> <property name="title" translatable="yes">Warning!</property>
<property name="icon-name">com.ublinux.ublexec</property> <property name="icon-name">com.ublinux.ublexec</property>
<property name="type-hint">dialog</property> <property name="type-hint">dialog</property>
<child internal-child="vbox"> <child internal-child="vbox">
@ -1921,10 +1941,16 @@ with the specified priority</property>
</child> </child>
<child> <child>
<object class="GtkButton" id="btnMessageErrorOk"> <object class="GtkButton" id="btnMessageErrorOk">
<property name="label" translatable="yes">ОК</property> <property name="label" translatable="yes">OK</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</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> </object>
<packing> <packing>
<property name="expand">True</property> <property name="expand">True</property>
@ -1959,7 +1985,7 @@ with the specified priority</property>
</object> </object>
<object class="GtkFileChooserDialog" id="wndChooseFileWallpaper"> <object class="GtkFileChooserDialog" id="wndChooseFileWallpaper">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="title" translatable="yes">Пожалуйста выберите Файл</property> <property name="title" translatable="yes">Please select File</property>
<property name="modal">True</property> <property name="modal">True</property>
<property name="window-position">center</property> <property name="window-position">center</property>
<property name="default-width">500</property> <property name="default-width">500</property>

@ -1,109 +1,124 @@
# SOME DESCRIPTIVE TITLE. # Language translations for ublexec package.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) 2022, UBTech LLC
# This file is distributed under the same license as the PACKAGE package. # This file is distributed under the same license as the ublexec package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # UBLinux Team <info@ublinux.com>, 2022
# #
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: ublexec 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: info@ublinux.com\n"
"POT-Creation-Date: 2023-03-22 11:23+0600\n" "POT-Creation-Date: 2023-01-01 00:00+0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2023-01-01 00:00+0600\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: UBLinux Team <info@ublinux.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: UBLinux Team <info@ublinux.com>\n"
"Language: \n" "Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"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 ""
msgstr ""
#: source/ublexec.cc:163
msgid " Run as..."
msgstr ""
#: source/ublexec.cc:242 source/ublexec.cc:250 source/ublexec.cc:281
#: source/ublexec.cc:236 source/ublexec.cc:244 source/ublexec.cc:275 #: source/ublexec.cc:236 source/ublexec.cc:244 source/ublexec.cc:275
msgid "-20 (High)" msgid "-20 (High)"
msgstr "" msgstr ""
#: source/ublexec.cc:252 source/ublexec.cc:260 source/ublexec.cc:283 #: source/ublexec.cc:258 source/ublexec.cc:266 source/ublexec.cc:289
#: source/ublexec.cc:413 #: source/ublexec.cc:426 source/ublexec.cc:252 source/ublexec.cc:260
#: source/ublexec.cc:283 source/ublexec.cc:413
msgid "0 (High)" msgid "0 (High)"
msgstr "" msgstr ""
#: source/ublexec.cc:235 source/ublexec.cc:243 source/ublexec.cc:251 #: source/ublexec.cc:241 source/ublexec.cc:249 source/ublexec.cc:257
#: source/ublexec.cc:259 source/ublexec.cc:274 source/ublexec.cc:282 #: source/ublexec.cc:265 source/ublexec.cc:280 source/ublexec.cc:288
#: source/ublexec.cc:412 #: source/ublexec.cc:425 source/ublexec.cc:235 source/ublexec.cc:243
#: source/ublexec.cc:251 source/ublexec.cc:259 source/ublexec.cc:274
#: source/ublexec.cc:282 source/ublexec.cc:412
msgid "19 (Low)" msgid "19 (Low)"
msgstr "" msgstr ""
#: source/ublexec.cc:156 #: source/ublexec.cc:159 source/ublexec.cc:156
msgid "About" msgid "About"
msgstr "" msgstr ""
#: source/ublexec.cc:186 #: source/ublexec.cc:191 source/ublexec.cc:186
msgid "Application Overview" msgid "Application Overview"
msgstr "" msgstr ""
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
#: source/ublexec.cc:173 #: source/ublexec.cc:177 source/ublexec.cc:173
msgid "Change startup priority" msgid "Change startup priority"
msgstr "" msgstr ""
#: source/ublexec.cc:166 #: source/ublexec.cc:193
msgid "Сancel"
msgstr ""
#: source/ublexec.cc:170 source/ublexec.cc:166
msgid "Command Line" msgid "Command Line"
msgstr "" msgstr ""
#: source/ublexec.cc:152 #: source/ublexec.cc:155 source/ublexec.cc:152
msgid "Copyright © UBSoft LLC, 2022 - " msgid "Copyright © UBSoft LLC, 2022 - "
msgstr "" msgstr ""
#: source/ublexec.cc:184 #: source/ublexec.cc:189 source/ublexec.cc:184
msgid "Development" msgid "Development"
msgstr "" msgstr ""
#: source/ublexec.cc:181 #: source/ublexec.cc:186 source/ublexec.cc:181
msgid "Education" msgid "Education"
msgstr "" msgstr ""
#: source/ublexec.cc:187 #: source/ublexec.cc:192 source/ublexec.cc:187
msgid "File Overview" msgid "File Overview"
msgstr "" msgstr ""
#: source/ublexec.cc:176 #: source/ublexec.cc:181 source/ublexec.cc:176
msgid "Graphics" msgid "Graphics"
msgstr "" msgstr ""
#: source/ublexec.cc:155 #: source/ublexec.cc:158 source/ublexec.cc:155
msgid "Help" msgid "Help"
msgstr "" msgstr ""
#: source/ublexec.cc:178 #: source/ublexec.cc:183 source/ublexec.cc:178
msgid "Internet" msgid "Internet"
msgstr "" msgstr ""
#: source/ublexec.cc:179 #: source/ublexec.cc:184 source/ublexec.cc:179
msgid "Multimedia" msgid "Multimedia"
msgstr "" msgstr ""
#: source/ublexec.cc:182 #: source/ublexec.cc:187 source/ublexec.cc:182
msgid "Office" msgid "Office"
msgstr "" msgstr ""
#: source/ublexec.cc:183 #: source/ublexec.cc:188 source/ublexec.cc:183
msgid "Other" msgid "Other"
msgstr "" msgstr ""
#: source/ublexec.cc:163 #: source/ublexec.cc:167 source/ublexec.cc:163
msgid "Please select File" msgid "Please select File"
msgstr "" msgstr ""
#: source/ublexec.cc:172 #: source/ublexec.cc:176 source/ublexec.cc:172
msgid "Priority" msgid "Priority"
msgstr "" msgstr ""
#: source/ublexec.cc:174 #: source/ublexec.cc:178 source/ublexec.cc:174
msgid "Priority:" msgid "Priority:"
msgstr "" msgstr ""
#: source/ublexec.cc:158 #: source/ublexec.cc:161 source/ublexec.cc:158
msgid "Project Home Page" msgid "Project Home Page"
msgstr "" msgstr ""
@ -111,7 +126,7 @@ msgstr ""
msgid "Run" msgid "Run"
msgstr "" msgstr ""
#: source/ublexec.cc:165 #: source/ublexec.cc:169 source/ublexec.cc:165
msgid "" msgid ""
"Run applications as another user\n" "Run applications as another user\n"
"with the specified priority" "with the specified priority"
@ -120,60 +135,66 @@ msgstr ""
msgid "Run as another user" msgid "Run as another user"
msgstr "" msgstr ""
#: source/ublexec.cc:170 #: source/ublexec.cc:174 source/ublexec.cc:170
msgid "Run as another user:" msgid "Run as another user:"
msgstr "" msgstr ""
#: source/ublexec.cc:168 #: source/ublexec.cc:160 source/ublexec.cc:164 source/ublexec.cc:165
#: source/ublexec.cc:166
msgid "Run as..."
msgstr ""
#: source/ublexec.cc:172 source/ublexec.cc:168
msgid "Run in the terminal emulator" msgid "Run in the terminal emulator"
msgstr "" msgstr ""
#: source/ublexec.cc:175 #: source/ublexec.cc:179 source/ublexec.cc:175
msgid "Select an executable file or program" msgid "Select an executable file or program"
msgstr "" msgstr ""
#: source/ublexec.cc:164 #: source/ublexec.cc:168 source/ublexec.cc:164
msgid "Selecting Programs" msgid "Selecting Programs"
msgstr "" msgstr ""
#: source/ublexec.cc:180 #: source/ublexec.cc:185 source/ublexec.cc:180
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: source/ublexec.cc:185 #: source/ublexec.cc:190 source/ublexec.cc:185
msgid "System" msgid "System"
msgstr "" msgstr ""
msgid "Team" msgid "Team"
msgstr "" msgstr ""
#: source/ublexec.cc:167 #: source/ublexec.cc:171 source/ublexec.cc:167
msgid "Team:" msgid "Team:"
msgstr "" msgstr ""
#: source/ublexec.cc:177 #: source/ublexec.cc:182 source/ublexec.cc:177
msgid "Tools" msgid "Tools"
msgstr "" msgstr ""
#: source/ublexec.cc:169 #: source/ublexec.cc:173 source/ublexec.cc:169
msgid "User" msgid "User"
msgstr "" msgstr ""
msgid "User Name" msgid "User Name"
msgstr "" msgstr ""
#: source/ublexec.cc:171 #: source/ublexec.cc:175 source/ublexec.cc:171
msgid "User Name:" msgid "User Name:"
msgstr "" msgstr ""
#: source/ublexec.cc:180 source/ublexec.cc:631 source/ublexec.cc:700
msgid "Warning!" msgid "Warning!"
msgstr "" msgstr ""
#: source/ublexec.cc:154 #: source/ublexec.cc:157 source/ublexec.cc:154
msgid "https://wiki.ublinux.com" msgid "https://wiki.ublinux.com"
msgstr "" msgstr ""
#: source/ublexec.cc:313 #: source/ublexec.cc:321 source/ublexec.cc:313
msgid "" msgid ""
"https://wiki.ublinux.com/ru/Программное_обеспечениерограммы_и_утилиты/Все/" "https://wiki.ublinux.com/ru/Программное_обеспечениерограммы_и_утилиты/Все/"
msgstr "" msgstr ""

@ -7,8 +7,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: ublexec 1.0\n" "Project-Id-Version: ublexec 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: info@ublinux.com\n"
"POT-Creation-Date: 2023-03-22 11:23+0600\n" "POT-Creation-Date: 2023-01-01 00:00+0600\n"
"PO-Revision-Date: 2023-01-01 00:00+0600\n" "PO-Revision-Date: 2023-01-01 00:00+0600\n"
"Last-Translator: UBLinux Team <info@ublinux.com>\n" "Last-Translator: UBLinux Team <info@ublinux.com>\n"
"Language-Team: Russian - UBLinux Team <info@ublinux.com>\n" "Language-Team: Russian - UBLinux Team <info@ublinux.com>\n"
@ -17,93 +17,105 @@ 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"
#: source/ublexec.cc:163
msgid " Run as..."
msgstr "О программе ublexec"
#: source/ublexec.cc:242 source/ublexec.cc:250 source/ublexec.cc:281
#: source/ublexec.cc:236 source/ublexec.cc:244 source/ublexec.cc:275 #: source/ublexec.cc:236 source/ublexec.cc:244 source/ublexec.cc:275
msgid "-20 (High)" msgid "-20 (High)"
msgstr "-20 (Высокий)" msgstr "-20 (Высокий)"
#: source/ublexec.cc:252 source/ublexec.cc:260 source/ublexec.cc:283 #: source/ublexec.cc:258 source/ublexec.cc:266 source/ublexec.cc:289
#: source/ublexec.cc:413 #: source/ublexec.cc:426 source/ublexec.cc:252 source/ublexec.cc:260
#: source/ublexec.cc:283 source/ublexec.cc:413
msgid "0 (High)" msgid "0 (High)"
msgstr "0 (Высокий)" msgstr "0 (Высокий)"
#: source/ublexec.cc:235 source/ublexec.cc:243 source/ublexec.cc:251 #: source/ublexec.cc:241 source/ublexec.cc:249 source/ublexec.cc:257
#: source/ublexec.cc:259 source/ublexec.cc:274 source/ublexec.cc:282 #: source/ublexec.cc:265 source/ublexec.cc:280 source/ublexec.cc:288
#: source/ublexec.cc:412 #: source/ublexec.cc:425 source/ublexec.cc:235 source/ublexec.cc:243
#: source/ublexec.cc:251 source/ublexec.cc:259 source/ublexec.cc:274
#: source/ublexec.cc:282 source/ublexec.cc:412
msgid "19 (Low)" msgid "19 (Low)"
msgstr "19 (Низкий)" msgstr "19 (Низкий)"
#: source/ublexec.cc:156 #: source/ublexec.cc:159 source/ublexec.cc:156
msgid "About" msgid "About"
msgstr "О программе" msgstr "О программе"
#: source/ublexec.cc:186 #: source/ublexec.cc:191 source/ublexec.cc:186
msgid "Application Overview" msgid "Application Overview"
msgstr "Обзор приложений" msgstr "Обзор приложений"
msgid "Cancel" msgid "Cancel"
msgstr "Отмена" msgstr "Отмена"
#: source/ublexec.cc:173 #: source/ublexec.cc:177 source/ublexec.cc:173
msgid "Change startup priority" msgid "Change startup priority"
msgstr "Изменить приоритет запуска" msgstr "Изменить приоритет запуска"
#: source/ublexec.cc:166 #: source/ublexec.cc:193
msgid "Сancel"
msgstr "Отмена"
#: source/ublexec.cc:170 source/ublexec.cc:166
msgid "Command Line" msgid "Command Line"
msgstr "Командная строка" msgstr "Командная строка"
#: source/ublexec.cc:152 #: source/ublexec.cc:155 source/ublexec.cc:152
msgid "Copyright © UBSoft LLC, 2022 - " msgid "Copyright © UBSoft LLC, 2022 - "
msgstr "Авторские права © ООО \"Юбисофт\", 2022 - " msgstr "Авторские права © ООО \"Юбисофт\", 2022 - "
#: source/ublexec.cc:184 #: source/ublexec.cc:189 source/ublexec.cc:184
msgid "Development" msgid "Development"
msgstr "Разработка" msgstr "Разработка"
#: source/ublexec.cc:181 #: source/ublexec.cc:186 source/ublexec.cc:181
msgid "Education" msgid "Education"
msgstr "Образование" msgstr "Образование"
#: source/ublexec.cc:187 #: source/ublexec.cc:192 source/ublexec.cc:187
msgid "File Overview" msgid "File Overview"
msgstr "Обзор файлов" msgstr "Обзор файлов"
#: source/ublexec.cc:176 #: source/ublexec.cc:181 source/ublexec.cc:176
msgid "Graphics" msgid "Graphics"
msgstr "Графика" msgstr "Графика"
#: source/ublexec.cc:155 #: source/ublexec.cc:158 source/ublexec.cc:155
msgid "Help" msgid "Help"
msgstr "Справка" msgstr "Справка"
#: source/ublexec.cc:178 #: source/ublexec.cc:183 source/ublexec.cc:178
msgid "Internet" msgid "Internet"
msgstr "Интернет" msgstr "Интернет"
#: source/ublexec.cc:179 #: source/ublexec.cc:184 source/ublexec.cc:179
msgid "Multimedia" msgid "Multimedia"
msgstr "Мультимедиа" msgstr "Мультимедиа"
#: source/ublexec.cc:182 #: source/ublexec.cc:187 source/ublexec.cc:182
msgid "Office" msgid "Office"
msgstr "Офис" msgstr "Офис"
#: source/ublexec.cc:183 #: source/ublexec.cc:188 source/ublexec.cc:183
msgid "Other" msgid "Other"
msgstr "Прочие" msgstr "Прочие"
#: source/ublexec.cc:163 #: source/ublexec.cc:167 source/ublexec.cc:163
msgid "Please select File" msgid "Please select File"
msgstr "Пожалуйста выберите Файл" msgstr "Пожалуйста выберите Файл"
#: source/ublexec.cc:172 #: source/ublexec.cc:176 source/ublexec.cc:172
msgid "Priority" msgid "Priority"
msgstr "Приоритет" msgstr "Приоритет"
#: source/ublexec.cc:174 #: source/ublexec.cc:178 source/ublexec.cc:174
msgid "Priority:" msgid "Priority:"
msgstr "Приоритет:" msgstr "Приоритет:"
#: source/ublexec.cc:158 #: source/ublexec.cc:161 source/ublexec.cc:158
msgid "Project Home Page" msgid "Project Home Page"
msgstr "Домашняя страница проекта" msgstr "Домашняя страница проекта"
@ -111,7 +123,7 @@ msgstr "Домашняя страница проекта"
msgid "Run" msgid "Run"
msgstr "Запустить" msgstr "Запустить"
#: source/ublexec.cc:165 #: source/ublexec.cc:169 source/ublexec.cc:165
msgid "" msgid ""
"Run applications as another user\n" "Run applications as another user\n"
"with the specified priority" "with the specified priority"
@ -123,27 +135,32 @@ msgstr ""
msgid "Run as another user" msgid "Run as another user"
msgstr "Выполнить от имени другого пользователя:" msgstr "Выполнить от имени другого пользователя:"
#: source/ublexec.cc:170 #: source/ublexec.cc:174 source/ublexec.cc:170
msgid "Run as another user:" msgid "Run as another user:"
msgstr "Выполнить от имени другого пользователя:" msgstr "Выполнить от имени другого пользователя:"
#: source/ublexec.cc:168 #: source/ublexec.cc:160 source/ublexec.cc:164 source/ublexec.cc:165
#: source/ublexec.cc:166
msgid "Run as..."
msgstr "Выполнить как..."
#: source/ublexec.cc:172 source/ublexec.cc:168
msgid "Run in the terminal emulator" msgid "Run in the terminal emulator"
msgstr "Выполнить в эмуляторе терминала" msgstr "Выполнить в эмуляторе терминала"
#: source/ublexec.cc:175 #: source/ublexec.cc:179 source/ublexec.cc:175
msgid "Select an executable file or program" msgid "Select an executable file or program"
msgstr "Выберите исполняемый файл или программу" msgstr "Выберите исполняемый файл или программу"
#: source/ublexec.cc:164 #: source/ublexec.cc:168 source/ublexec.cc:164
msgid "Selecting Programs" msgid "Selecting Programs"
msgstr "Выбор программ" msgstr "Выбор программ"
#: source/ublexec.cc:180 #: source/ublexec.cc:185 source/ublexec.cc:180
msgid "Settings" msgid "Settings"
msgstr "Настройки" msgstr "Настройки"
#: source/ublexec.cc:185 #: source/ublexec.cc:190 source/ublexec.cc:185
msgid "System" msgid "System"
msgstr "Система" msgstr "Система"
@ -151,15 +168,15 @@ msgstr "Система"
msgid "Team" msgid "Team"
msgstr "Команда:" msgstr "Команда:"
#: source/ublexec.cc:167 #: source/ublexec.cc:171 source/ublexec.cc:167
msgid "Team:" msgid "Team:"
msgstr "Команда:" msgstr "Команда:"
#: source/ublexec.cc:177 #: source/ublexec.cc:182 source/ublexec.cc:177
msgid "Tools" msgid "Tools"
msgstr "Инструменты" msgstr "Инструменты"
#: source/ublexec.cc:169 #: source/ublexec.cc:173 source/ublexec.cc:169
msgid "User" msgid "User"
msgstr "Пользователь" msgstr "Пользователь"
@ -167,18 +184,19 @@ msgstr "Пользователь"
msgid "User Name" msgid "User Name"
msgstr "Имя пользователя:" msgstr "Имя пользователя:"
#: source/ublexec.cc:171 #: source/ublexec.cc:175 source/ublexec.cc:171
msgid "User Name:" msgid "User Name:"
msgstr "Имя пользователя:" msgstr "Имя пользователя:"
#: source/ublexec.cc:180 source/ublexec.cc:631 source/ublexec.cc:700
msgid "Warning!" msgid "Warning!"
msgstr "Внимание!" msgstr "Внимание!"
#: source/ublexec.cc:154 #: source/ublexec.cc:157 source/ublexec.cc:154
msgid "https://wiki.ublinux.com" msgid "https://wiki.ublinux.com"
msgstr "https://wiki.ublinux.ru" msgstr "https://wiki.ublinux.ru"
#: source/ublexec.cc:313 #: source/ublexec.cc:321 source/ublexec.cc:313
msgid "" msgid ""
"https://wiki.ublinux.com/ru/Программное_обеспечениерограммы_и_утилиты/Все/" "https://wiki.ublinux.com/ru/Программное_обеспечениерограммы_и_утилиты/Все/"
msgstr "" msgstr ""
@ -194,8 +212,9 @@ msgid "sudo"
msgstr "sudo" msgstr "sudo"
#: source/ublexec.cc:157 source/ublexec.cc:160 source/ublexec.cc:161 #: source/ublexec.cc:157 source/ublexec.cc:160 source/ublexec.cc:161
#, fuzzy
msgid "ublexec" msgid "ublexec"
msgstr "Выполнить как..." msgstr "pkexec"
msgid "ОК" msgid "ОК"
msgstr "ОК" msgstr "ОК"

@ -1,144 +0,0 @@
# Russian translations for ublexec package.
# Copyright (C) 2022, UBTech LLC
# This file is distributed under the same license as the ublexec package.
# UBLinux Team <info@ublinux.com>, 2022
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: ublexec 1.0\n"
"Report-Msgid-Bugs-To: info@ublinux.com\n"
"POT-Creation-Date: 2023-01-01 00:00+0600\n"
"PO-Revision-Date: 2023-01-01 00:00+0600\n"
"Last-Translator: UBLinux Team <info@ublinux.com>\n"
"Language-Team: Russian - UBLinux Team <info@ublinux.com>\n"
"Language: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "File Overview"
msgstr "Обзор файлов"
msgid "Application Overview"
msgstr "Обзор приложений"
msgid "https://wiki.ublinux.com"
msgstr "https://wiki.ublinux.ru"
msgid "About"
msgstr "О программе"
msgid "Help"
msgstr "Справка"
msgid "Project Home Page"
msgstr "Домашняя страница проекта"
msgid "System"
msgstr "Система"
msgid "Development"
msgstr "Разработка"
msgid "Other"
msgstr "Прочие"
msgid "Office"
msgstr "Офис"
msgid "Education"
msgstr "Образование"
msgid "Settings"
msgstr "Настройки"
msgid "Multimedia"
msgstr "Мультимедиа"
msgid "Internet"
msgstr "Интернет"
msgid "Tools"
msgstr "Инструменты"
msgid "Graphics"
msgstr "Графика"
msgid "ОК"
msgstr "ОК"
msgid "Cancel"
msgstr "Отмена"
msgid "Selecting Programs"
msgstr "Выбор программ"
msgid "Run applications as another user\nwith the specified priority"
msgstr "Запускать приложения от имени другого пользователя\nс указанным приоритетом"
msgid "Team:"
msgstr "Команда:"
msgid "Run in the terminal emulator"
msgstr "Выполнить в эмуляторе терминала"
msgid "Command Line"
msgstr "Командная строка"
msgid "Run as another user:"
msgstr "Выполнить от имени другого пользователя:"
msgid "pkexec"
msgstr "pkexec"
msgid "su"
msgstr "su"
msgid "sudo"
msgstr "sudo"
msgid "User Name:"
msgstr "Имя пользователя:"
msgid "User"
msgstr "Пользователь"
msgid "Change startup priority"
msgstr "Изменить приоритет запуска"
msgid "Priority:"
msgstr "Приоритет:"
msgid "Priority"
msgstr "Приоритет"
msgid "19 (Low)"
msgstr "19 (Низкий)"
msgid "-20 (High)"
msgstr "-20 (Высокий)"
msgid "https://wiki.ublinux.com/ru/Программное_обеспечениерограммы_и_утилиты/Все/"
msgstr "https://wiki.ublinux.ru/ru/Программное_обеспечениерограммы_и_утилиты/Все/"
msgid "0 (High)"
msgstr "0 (Высокий)"
msgid "Run"
msgstr "Запустить"
msgid "Select an executable file or program"
msgstr "Выберите исполняемый файл или программу"
msgid "Please select File"
msgstr "Пожалуйста выберите Файл"
msgid "Warning!"
msgstr "Внимание!"
msgid "ublexec"
msgstr "Выполнить как..."
msgid "Copyright © UBSoft LLC, 2022 - "
msgstr "Авторские права © ООО \"Юбисофт\", 2022 - "
Loading…
Cancel
Save