Merge pull request 'develop' (#6) from Applications/ublexec:develop into devel

Reviewed-on: Igor1/ublexec#6
pull/28/head
Igor Belitskiy 3 years ago
commit badbc4cc1f

@ -1,5 +1,4 @@
#!/usr/bin/make -f #!/usr/bin/make -f
#!/usr/bin/make -f
#SHELL := /bin/bash #SHELL := /bin/bash
MAKEFILE_FILEPATH := $(abspath $(lastword $(MAKEFILE_LIST))) MAKEFILE_FILEPATH := $(abspath $(lastword $(MAKEFILE_LIST)))
@ -7,52 +6,58 @@ MAKEFILE_DIR := $(notdir $(patsubst %/,%,$(dir $(MAKEFILE_FILEPATH))))
MAKEFILE_PATH := $(dir $(MAKEFILE_FILEPATH)) MAKEFILE_PATH := $(dir $(MAKEFILE_FILEPATH))
CMAKE_COMMAND = cmake CMAKE_COMMAND = cmake
#CMAKE_SOURCE_DIR = $(MAKEFILE_PATH)source CMAKE_SOURCE_DIR = $(MAKEFILE_PATH)source
#CMAKE_BUILD_DIR = $(MAKEFILE_PATH)compile CMAKE_BUILD_DIR = $(MAKEFILE_PATH)compile
CMAKE_SOURCE_DIR = ./source #CMAKE_SOURCE_DIR = ./source
CMAKE_BUILD_DIR = ./compile #CMAKE_BUILD_DIR = ./compile
DEPENDS = cmake FILE_VERSION = VERSION.md
pkgname = $(MAKEFILE_DIR) DEPENDS = /bin/cmake
#pkgname = ublexec PREFIX ?= /usr
pkgdir = PKGNAME = $(MAKEFILE_DIR)
#PKGNAME = ublexec
default_target: all default_target: all
.PHONY: all init depend debug prepare check build uninstall install clean up_ver help
all: init build all: init build
init: init:
@echo "Initialize ..."; \ @echo "Initialize ..."; \
sed -r "s/(version_application = ).*/\1\"$$(grep 'VERSION' VERSION.md | cut -d" " -f2)\";/" -i source/ublexec.h; \ sed -r "s/(version_application = ).*/\1\"$$(grep 'VERSION' ${FILE_VERSION} | cut -d" " -f2)\";/" -i source/ublexec.h; \
echo "-- Build path: ${CMAKE_BUILD_DIR}" echo "-- Build path: ${CMAKE_BUILD_DIR}"
depend: depend:
@echo "Check depends ..."; \ @echo "Check depends ..."
if [ ! -f /bin/${DEPENDS} ]; then \ @for FILE_DEPEND in $(DEPENDS); do \
echo "-- Depend '${DEPENDS}' not fount !"; \ if [ ! -f $${FILE_DEPEND} ]; then \
exit 1; \ echo "ERROR: Depend '$${FILE_DEPEND}' not found !"; \
fi; \ exit 1; \
fi; \
done; \
echo "Check depends: OK" echo "Check depends: OK"
# $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 # $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
debug: debug:
@echo "Debug ..." @echo "Debug ..."
if [ ! -d ${CMAKE_BUILD_DIR} ]; then \ if [ ! -d ${CMAKE_BUILD_DIR} ]; then \
$(CMAKE_COMMAND) -S${CMAKE_SOURCE_DIR} -B${CMAKE_BUILD_DIR} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="/usr"; \ $(CMAKE_COMMAND) -S${CMAKE_SOURCE_DIR} -B${CMAKE_BUILD_DIR} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="${PREFIX}"; \
fi; \ fi; \
echo "Debug: OK" echo "Debug: OK"
prepare: prepare:
@echo "Prepare ..."; \ @echo "Prepare ..."; \
if [ ! -d ${CMAKE_BUILD_DIR} ]; then \ if [ ! -d ${CMAKE_BUILD_DIR} ]; then \
$(CMAKE_COMMAND) -S${CMAKE_SOURCE_DIR} -B${CMAKE_BUILD_DIR} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr"; \ $(CMAKE_COMMAND) -S${CMAKE_SOURCE_DIR} -B${CMAKE_BUILD_DIR} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${PREFIX}"; \
fi; \ fi; \
echo "Prepare: OK" echo "Prepare: OK"
check: check:
@echo "Check ..."; \ @echo "Check ..."; \
if [ -f ${CMAKE_BUILD_DIR}/${pkgname} ]; then \ if [ -f ${CMAKE_BUILD_DIR}/${PKGNAME} ]; then \
echo "Check: OK"; \ echo "Check: OK"; \
else \ else \
echo "Check: ${CMAKE_BUILD_DIR}/${pkgname} not fount !"; \ echo "Check: ${CMAKE_BUILD_DIR}/${PKGNAME} not found !"; \
exit 1; \ exit 1; \
fi fi
@ -66,53 +71,57 @@ uninstall:
@for FILE_PO in $(wildcard *.po); do \ @for FILE_PO in $(wildcard *.po); do \
LANG=$${FILE_PO##*_};LANG=$${LANG%.*}; \ LANG=$${FILE_PO##*_};LANG=$${LANG%.*}; \
FILE_MO=$${FILE_PO##*/}; FILE_MO="$${FILE_MO%_*.po}.mo"; \ FILE_MO=$${FILE_PO##*/}; FILE_MO="$${FILE_MO%_*.po}.mo"; \
PATH_FILE_MO="/usr/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \ PATH_FILE_MO="${DESTDIR}${PREFIX}/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \
$(RM) "/usr/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \ $(RM) "${DESTDIR}${PREFIX}/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \
done done
@for SIZE in 16x16 32x32 48x48 scalable; do \ @for SIZE in 16x16 32x32 48x48 scalable; do \
$(RM) "/usr/share/icons/hicolor/$${SIZE}/apps/ru.ublinux.${pkgname}.svg"; \ $(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}/apps/com.ublinux.${PKGNAME}.svg"; \
$(RM) "/usr/share/icons/hicolor/$${SIZE}/apps/ru.ublinux.${pkgname}.png"; \ $(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}/apps/com.ublinux.${PKGNAME}.png"; \
done done
@for FILE_SVG in $(wildcard *.svg); do \ @for FILE_SVG in $(wildcard *.svg); do \
for SIZE in 16x16 32x32 48x48 scalable; do \ for SIZE in 16x16 32x32 48x48 scalable; do \
$(RM) "/usr/share/icons/hicolor/$${SIZE}/status/$${FILE_SVG%.*}".{svg,png,jpg}; \ $(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}/status/$${FILE_SVG%.*}".{svg,png,jpg}; \
done; \ done; \
done done
@$(RM) "/usr/bin/${pkgname}" @$(RM) "${DESTDIR}${PREFIX}/bin/${PKGNAME}"
@$(RM) "/usr/share/applications/${pkgname}.desktop" @$(RM) "${DESTDIR}${PREFIX}/share/applications/${PKGNAME}.desktop"
@$(RM) "/usr/share/polkit-1/actions/ru.ublinux.pkexec.${pkgname}.exec.policy" @$(RM) "${DESTDIR}${PREFIX}/share/${PKGNAME}/images/logo-background.png"
@$(RM) -rd "/usr/share/${pkgname}" @$(RM) "${DESTDIR}${PREFIX}/share/polkit-1/actions/com.ublinux.pkexec.${PKGNAME}.exec.policy"
@gtk-update-icon-cache -fiq /usr/share/icons/hicolor/ &>/dev/null @$(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/com.ublinux.${PKGNAME}.svg"
@update-desktop-database --quiet 2>/dev/null @$(RM) -rd "${DESTDIR}${PREFIX}/share/${PKGNAME}"
@touch /usr/share/applications @[ -d "${DESTDIR}${PREFIX}/share/icons/hicolor/" ] && gtk-update-icon-cache -fiq "${DESTDIR}${PREFIX}/share/icons/hicolor/" &>/dev/null || true
@update-desktop-database --quiet &>/dev/null || true
@[ -d "${DESTDIR}${PREFIX}/share/applications" ] && touch "${DESTDIR}${PREFIX}/share/applications" &>/dev/null || true
@echo "Uninstall: OK" @echo "Uninstall: OK"
install: check uninstall install: check uninstall
@echo "Install ..." @echo "Install ..."
@for FILE_PO in $(wildcard *.po); do \ @for FILE_PO in $(wildcard *.po); do \
LANG=$${FILE_PO##*_};LANG=$${LANG%.*}; \ LANG=$${FILE_PO##*_};LANG=$${LANG%.*}; \
install -dm755 "${pkgdir}/usr/share/locale/$${LANG}/LC_MESSAGES"; \ install -dm755 "${DESTDIR}${PREFIX}/share/locale/$${LANG}/LC_MESSAGES"; \
FILE_MO=$${FILE_PO##*/}; FILE_MO="$${FILE_MO%_*.po}.mo"; \ FILE_MO=$${FILE_PO##*/}; FILE_MO="$${FILE_MO%_*.po}.mo"; \
PATH_FILE_MO="${pkgdir}/usr/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \ PATH_FILE_MO="${DESTDIR}${PREFIX}/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \
echo $${FILE_PO}; \ echo $${FILE_PO}; \
msgfmt "$${FILE_PO}" -v -f -o "$${PATH_FILE_MO}"; \ msgfmt "$${FILE_PO}" -v -f -o "$${PATH_FILE_MO}"; \
done done
@for SIZE in 16 32 48; do \ @for SIZE in 16 32 48; do \
install -dm755 "${pkgdir}/usr/share/icons/hicolor/$${SIZE}x$${SIZE}/apps"; \ install -dm755 "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps"; \
rsvg-convert -w $${SIZE} -h $${SIZE} -f png --keep-image-data "ru.ublinux.${pkgname}.svg" -o "${pkgdir}/usr/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/ru.ublinux.${pkgname}.png"; \ rsvg-convert -w $${SIZE} -h $${SIZE} -f png --keep-image-data "com.ublinux.${PKGNAME}.svg" -o "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/com.ublinux.${PKGNAME}.png"; \
done done
@install -dm755 "${pkgdir}/usr/share/icons/hicolor/scalable/apps" @install -dm755 "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps"
@install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps/" "ru.ublinux.${pkgname}.svg" @install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" "com.ublinux.${PKGNAME}.svg"
@install -Dm755 -t "${pkgdir}/usr/bin/" "${CMAKE_BUILD_DIR}/${pkgname}" @install -Dm755 -t "${DESTDIR}${PREFIX}/bin/" "${CMAKE_BUILD_DIR}/${PKGNAME}"
@install -Dm644 -t "${pkgdir}/usr/share/applications/" "${pkgname}.desktop" @install -dm755 "${DESTDIR}${PREFIX}/share/applications"
@install -Dm644 -t "${pkgdir}/usr/share/polkit-1/actions/" "com.ublinux.pkexec.${pkgname}.exec.policy" @install -Dm644 -t "${DESTDIR}${PREFIX}/share/applications/" "${PKGNAME}.desktop"
@install -dm755 "${pkgdir}/usr/share/${pkgname}"/{ui,css,images} @install -dm755 "${DESTDIR}${PREFIX}/share/polkit-1/actions"
@install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/ui/" "${pkgname}.glade" @install -Dm644 -t "${DESTDIR}${PREFIX}/share/polkit-1/actions/" "com.ublinux.pkexec.${PKGNAME}.exec.policy"
@install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/css/" style.css @install -dm755 "${DESTDIR}${PREFIX}/share/${PKGNAME}"/{ui,css,images}
@install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/images/" "logo-background.png" @install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/ui/" "${PKGNAME}.glade"
@gtk-update-icon-cache -fiq /usr/share/icons/hicolor/ &>/dev/null @install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/css/" "${PKGNAME}.css"
@update-desktop-database --quiet 2>/dev/null @install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/images/" "logo-background.png"
@touch /usr/share/applications @gtk-update-icon-cache -fiq "${DESTDIR}${PREFIX}/share/icons/hicolor/" &>/dev/null || true
@update-desktop-database --quiet &>/dev/null || true
@touch "${DESTDIR}${PREFIX}/share/applications" &>/dev/null || true
@echo "Install: OK" @echo "Install: OK"
clean: clean:
@ -124,6 +133,14 @@ clean:
echo "Clean: OK"; \ echo "Clean: OK"; \
fi fi
up_ver:
@CURRENT=$$(grep 'VERSION' ${FILE_VERSION} | cut -d" " -f2); \
MAJOR=$$(cut -d. -f1 <<< $${CURRENT}); \
MINOR=$$(cut -d. -f2 <<< $${CURRENT}); \
VER="$${MAJOR}.$$(($${MINOR}+1))"; \
sed "s/VERSION *[[:digit:]]*.*/VERSION $${VER}/" -i ${FILE_VERSION}; \
echo "Updated version to VERSION.md: $${CURRENT} to $${VER}"
help: help:
@echo "The following are some of the valid targets for this Makefile:" @echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)" @echo "... all (the default if no target is provided)"

@ -1 +1 @@
VERSION 1.2 VERSION 2.23

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

@ -9,9 +9,9 @@
<action id="org.freedesktop.policykit.ublexec.pkexec.policy.run"> <action id="org.freedesktop.policykit.ublexec.pkexec.policy.run">
<description>Run "ublexec" as root</description> <description>Run "ublexec" as root</description>
<description xml:lang="ru">Запус "Выполнить" с правами root</description> <description xml:lang="ru">Запус "Выполнить как..." с правами root</description>
<message>Authentication is required to run ublexec</message> <message>Authentication is required to run "Run as..."</message>
<message xml:lang="ru">Требуется авторизация для запуска "Выполнить" с правами root</message> <message xml:lang="ru">Требуется авторизация для запуска "Выполнить как..." с правами root</message>
<defaults> <defaults>
<allow_any>auth_admin</allow_any> <allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive> <allow_inactive>auth_admin</allow_inactive>

Before

Width:  |  Height:  |  Size: 212 KiB

After

Width:  |  Height:  |  Size: 212 KiB

@ -1,18 +0,0 @@
#!/bin/bash
##
## Update VERSION 1.4
## $1 - Version
## Default - current Version value plus one (in minor section)
##
FILE_VERSION="VERSION.md"
[[ $1 ]] && VER=$1
if [[ -z ${VER} ]] ; then
SOURCE_FILE_VERSION=$(find ../ -maxdepth 1 -type f -iname "${FILE_VERSION}" -print -quit)
CURRENT=$(cat ${SOURCE_FILE_VERSION} | grep 'VERSION' | cut -d" " -f2)
MAJOR=$(echo ${CURRENT} | cut -d. -f1)
MINOR=$(echo ${CURRENT} | cut -d. -f2)
VER="${MAJOR}.$(echo $((${MINOR} +1)))"
fi
echo ":: Updated VERSION ${CURRENT} to ${VER}"
find ../ -maxdepth 2 -type f -iname "${FILE_VERSION}" -exec echo ":: Insert version in file: {}" \; -exec sed "s/VERSION *[[:digit:]]*.*/VERSION ${VER}/" -i {} \;

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<vendor>UBLinux</vendor>
<vendor_url>https://ublinux.ru</vendor_url>
<action id="org.freedesktop.policykit.ublexec.pkexec.policy.run">
<description>Run "ublexec" as root</description>
<description xml:lang="ru">Запус "Выполнить" с правами root</description>
<message>Authentication is required to run ublexec</message>
<message xml:lang="ru">Требуется авторизация для запуска "Выполнить" с правами root</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/ublexec</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>

@ -7,12 +7,12 @@ pkg_check_modules(GTK REQUIRED gtkmm-3.0)
include_directories(${GTK_INCLUDE_DIRS}) include_directories(${GTK_INCLUDE_DIRS})
link_directories(${GTK_LIBRARY_DIRS}) link_directories(${GTK_LIBRARY_DIRS})
add_definitions(${GTK_CFLAGS_OTHER}) add_definitions(${GTK_CFLAGS_OTHER})
find_package(Threads REQUIRED)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always -std=c++2a -g") #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always -std=c++2a -g")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wmissing-declarations -fdiagnostics-color=always") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always \
set(CMAKE_CXX_STANDARD 20) -O2 -pipe -fno-plt -fexceptions \
set(CMAKE_CXX_STANDARD_REQUIRED ON) -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection")
set(SOURCE_FILES set(SOURCE_FILES
main.cc main.cc
@ -26,5 +26,5 @@ set(LIBRARIES
pthread) pthread)
add_executable(ublexec ${SOURCE_FILES}) add_executable(ublexec ${SOURCE_FILES})
target_link_libraries(ublexec ${LIBRARIES} Threads::Threads) target_link_libraries(ublexec ${LIBRARIES})
install(TARGETS ublexec DESTINATION bin) install(TARGETS ublexec DESTINATION bin)

@ -3,7 +3,7 @@ using namespace std;
const string path_app = "/usr/bin/"; 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/style.css"; const string path_css = "/usr/share/ublexec/css/ublexec.css";
const string app_name = "ublexec"; const string app_name = "ublexec";
int socket_ext_id_I = 0; int socket_ext_id_I = 0;
int socket_trd_id_I = 0; int socket_trd_id_I = 0;
@ -162,7 +162,7 @@ void MainWindow::localization() {
btnStart->set_label(_("Run")); btnStart->set_label(_("Run"));
wndChooseFileWallpaper->set_title(_("Please select File")); wndChooseFileWallpaper->set_title(_("Please select File"));
dialogStartMenu->set_title(_("Selecting Programs")); dialogStartMenu->set_title(_("Selecting Programs"));
lblInfoHead->set_text(_("Running applications as a user with a\nspecified priority")); lblInfoHead->set_text(_("Run applications as another user\nwith the specified priority"));
lblinfoCmd->set_text(_("Command Line")); lblinfoCmd->set_text(_("Command Line"));
lblInfoTime->set_text(_("Team:")); lblInfoTime->set_text(_("Team:"));
labInfoExecutTerm->set_text(_("Run in the terminal emulator")); labInfoExecutTerm->set_text(_("Run in the terminal emulator"));

@ -201,7 +201,7 @@ public:
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 "};
string version_application = "1.2"; string version_application = "2.23";
string cmd_old = ""; string cmd_old = "";
string user_exec_app = ""; string user_exec_app = "";
string user_cmd = ""; string user_cmd = "";

@ -2,13 +2,13 @@
Encoding=UTF-8 Encoding=UTF-8
Name=ublexec Name=ublexec
Name[ru]=Выполнить как... Name[ru]=Выполнить как...
GenericName=Execution from user rights GenericName=Run as...
GenericName[ru]=Выполнить как... GenericName[ru]=Выполнить как...
Comment=Execution from user rights Comment=Run as another user
Comment[ru]=Выполнить как... Comment[ru]=Выполнить от другого пользователя
Type=Application Type=Application
Exec=ublexec Exec=ublexec
Icon=ru.ublinux.ublexec Icon=com.ublinux.ublexec
Terminal=false Terminal=false
X-XfcePluggable=true X-XfcePluggable=true
X-UBLPluggable=true X-UBLPluggable=true

@ -28,7 +28,7 @@
Подробнее в &lt;a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"&gt;GNU General Public License, версии 2 или позднее&lt;/a&gt;.</property> Подробнее в &lt;a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"&gt;GNU General Public License, версии 2 или позднее&lt;/a&gt;.</property>
<property name="authors">UBGroup</property> <property name="authors">UBGroup</property>
<property name="artists">UBGroup</property> <property name="artists">UBGroup</property>
<property name="logo-icon-name">ru.ublinux.ublexec</property> <property name="logo-icon-name">com.ublinux.ublexec</property>
<property name="wrap-license">True</property> <property name="wrap-license">True</property>
<property name="license-type">gpl-2-0</property> <property name="license-type">gpl-2-0</property>
<child internal-child="vbox"> <child internal-child="vbox">
@ -66,7 +66,7 @@
<property name="width-request">410</property> <property name="width-request">410</property>
<property name="height-request">240</property> <property name="height-request">240</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="icon-name">ru.ublinux.ublexec</property> <property name="icon-name">com.ublinux.ublexec</property>
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
@ -1019,7 +1019,7 @@
</object> </object>
<object class="GtkWindow" id="window"> <object class="GtkWindow" id="window">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="icon-name">ru.ublinux.ublexec</property> <property name="icon-name">com.ublinux.ublexec</property>
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
@ -1040,7 +1040,7 @@
<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="pixel-size">69</property> <property name="pixel-size">69</property>
<property name="icon-name">ru.ublinux.ublexec</property> <property name="icon-name">com.ublinux.ublexec</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -1059,8 +1059,8 @@
<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">Running applications as a user with a <property name="label" translatable="yes">Run applications as another user
specified priority</property> with the specified priority</property>
<attributes> <attributes>
<attribute name="font-desc" value="URW Gothic Semi-Bold 10"/> <attribute name="font-desc" value="URW Gothic Semi-Bold 10"/>
<attribute name="foreground" value="#000023233232"/> <attribute name="foreground" value="#000023233232"/>
@ -1862,7 +1862,7 @@ specified priority</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="pixel-size">32</property> <property name="pixel-size">32</property>
<property name="icon-name">ru.ublinux.ublexec</property> <property name="icon-name">com.ublinux.ublexec</property>
</object> </object>
</child> </child>
<child> <child>
@ -1904,7 +1904,7 @@ specified priority</property>
<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">Внимание!</property>
<property name="icon-name">ru.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">
<object class="GtkBox"> <object class="GtkBox">
@ -1965,7 +1965,7 @@ specified priority</property>
<property name="default-width">500</property> <property name="default-width">500</property>
<property name="default-height">400</property> <property name="default-height">400</property>
<property name="destroy-with-parent">True</property> <property name="destroy-with-parent">True</property>
<property name="icon-name">ru.ublinux.ublexec</property> <property name="icon-name">com.ublinux.ublexec</property>
<property name="type-hint">dialog</property> <property name="type-hint">dialog</property>
<property name="skip-taskbar-hint">True</property> <property name="skip-taskbar-hint">True</property>
<property name="urgency-hint">True</property> <property name="urgency-hint">True</property>

@ -1,8 +1,22 @@
# Russian translations for PACKAGE package. # Language translations for ublexec package.
# Copyright (C) 2023 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.
# Automatically generated, 2023. # 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: UBLinux Team <info@ublinux.com>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "" msgid ""
msgstr "" msgstr ""
@ -57,13 +71,13 @@ msgstr ""
msgid "ОК" msgid "ОК"
msgstr "" msgstr ""
msgid "Exit" msgid "Cancel"
msgstr "" msgstr ""
msgid "Selecting Programs" msgid "Selecting Programs"
msgstr "" msgstr ""
msgid "Running applications as a user with a\nspecified priority" msgid "Run applications as another user\nwith the specified priority"
msgstr "" msgstr ""
msgid "Team" msgid "Team"
@ -126,8 +140,5 @@ msgstr ""
msgid "ublexec" msgid "ublexec"
msgstr "" msgstr ""
msgid "ubl-exec"
msgstr ""
msgid "Copyright © UBSoft LLC, 2022 - " msgid "Copyright © UBSoft LLC, 2022 - "
msgstr "" msgstr ""

@ -1,16 +1,17 @@
# Russian translations for PACKAGE package. # Russian translations for ublexec package.
# Copyright (C) 2023 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.
# Automatically generated, 2023. # UBLinux Team <info@ublinux.com>, 2022
# #
#, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: ubconfig 1.0\n" "Project-Id-Version: ublexec 1.0\n"
"Report-Msgid-Bugs-To: info@ublinux.ru\n" "Report-Msgid-Bugs-To: info@ublinux.com\n"
"POT-Creation-Date: 2020-02-22 23:22+0600\n" "POT-Creation-Date: 2023-01-01 00:00+0600\n"
"PO-Revision-Date: 2020-02-22 23:28+0600\n" "PO-Revision-Date: 2023-01-01 00:00+0600\n"
"Last-Translator: ublinux <info@ublinux.ru>\n" "Last-Translator: UBLinux Team <info@ublinux.com>\n"
"Language-Team: Russian - UBLinux Team <info@ublinux.ru>\n" "Language-Team: Russian - UBLinux Team <info@ublinux.com>\n"
"Language: Russian\n" "Language: Russian\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"
@ -67,14 +68,14 @@ msgstr "Графика"
msgid "ОК" msgid "ОК"
msgstr "ОК" msgstr "ОК"
msgid "Exit" msgid "Cancel"
msgstr "Выход" msgstr "Отмена"
msgid "Selecting Programs" msgid "Selecting Programs"
msgstr "Выбор программ" msgstr "Выбор программ"
msgid "Running applications as a user with a\nspecified priority" msgid "Run applications as another user\nwith the specified priority"
msgstr "Запуск приложений от имени пользователя с\nуказанным приоритетом" msgstr "Запускать приложения от имени другого пользователя\nс указанным приоритетом"
msgid "Team:" msgid "Team:"
msgstr "Команда:" msgstr "Команда:"
@ -139,8 +140,5 @@ msgstr "Внимание!"
msgid "ublexec" msgid "ublexec"
msgstr "Выполнить как..." msgstr "Выполнить как..."
msgid "ubl-exec"
msgstr "ubl-exec"
msgid "Copyright © UBSoft LLC, 2022 - " msgid "Copyright © UBSoft LLC, 2022 - "
msgstr "Авторские права © ООО \"Юбисофт\", 2022 - " msgstr "Авторские права © ООО \"Юбисофт\", 2022 - "
Loading…
Cancel
Save