From 6a7618ce864398559c816ef78d50a7f5b6a3eca5 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Sun, 23 Feb 2020 19:40:07 +0100 Subject: [PATCH] update --- bin/mcc | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/bin/mcc b/bin/mcc index 4bc7f21..aa07371 100755 --- a/bin/mcc +++ b/bin/mcc @@ -23,7 +23,9 @@ case $LANG in THEMES="Motywy" SYSTEM_DESC="Ustawienia oraz informacje systemowe i sprzętowe" MONITORS="Monitor(y)" + SOFTWARE_DESC="Aktualizacja - Instalacja Programów - Preferowane programy\n" AUTOSTART_DESC="Openbox posiada dwa mechanizmy autostartu" + LOOK_DESC="Narzędzia do konfiguracji wyglądu\n" EDIT_FILE="Edutuj plik" TINT_DESC="Konfigurator paneli tint2\nTutaj możesz wybrać konfigurację panelu Tint2.\nW Maboxie dostępne są różne konfiguracje panelu tint2, możesz również dodać własne do katalogu ~/.config/tint2." T_CONF="Konfigurator paneli tint2!!Konfiguracja wyglądu panelu" @@ -53,7 +55,7 @@ case $LANG in ;; *) MCC="\t\t\t\t\t\t Mabox Control Center\n\t\t\t\t " - SYSTEM="System & Hardware" + SYSTEM="System and Hardware" LOCALE_SETTINGS="Locale Settings" LANGUAGE_PACKAGES="Language Packages" KERNEL="Kernel" @@ -62,7 +64,7 @@ case $LANG in KEYBOARD="Keyboard Settings" HARDWARE="Hardware Configuration" SOFTWARE="Software" - LOOK="Look & Feel" + LOOK="Look and Feel" TINT2="Tin2 Panel" SETTINGS="Settings" TINT2="Tint2 panel" @@ -71,7 +73,9 @@ case $LANG in THEMES="Themes" SYSTEM_DESC="System and Hardware settings and information" MONITORS="Monitor(s)" + SOFTWARE_DESC="Software installation and update - Preferred Applications.\n" AUTOSTART_DESC="Openbox uses two autostart methods" + LOOK_DESC="Customize Look and Feel of your desktop.\n" EDIT_FILE="Edit file" TINT_DESC="Tint2 panels Configurator\nHere you can choose Tint2 panel(s) configuration.\nThere are some predefined configurations in Mabox, you can also add your own to ~/.config/tint2 directory." T_CONF="Configure tint2" @@ -82,7 +86,7 @@ case $LANG in CONKY_CHOOSE="Choose Conky(s)" CONKY_RESTART="Reload Conky" CONKY_EDIT="Edit Conky" - MENU_DESC="Main menu (access it by right click, win+space shortcut or from panel icon) have type to search functionality. Just start to type what you looking for.\n\nThere are also two side-panels available for quick access to file system locations for example. You can add custom commands to both side-panels below\n" + MENU_DESC="Main menu (access it by right click, win+space shortcut or from panel icon) have type to search functionality. Just start to type what you looking for.\n\nThere are also two side-panels available for quick access to file system locations for example. Below you can add custom commands to both side-panels.\n" M_LEFT="\t\t\tLEFT (ctrl+tab)" M_RIGHT="\t\t\tRIGHT (win+tab)" M_LEFT_DESC="\nLeft panel\n - quick navigation\n - GTK Bookmarks\n - Virtualbox machines\n" @@ -140,13 +144,13 @@ yad --plug=$KEY --tabnum=1 --text="$SYSTEM_DESC" --columns=2 --align="center" -- > $res1 & # TAB2 Programy -yad --plug=$KEY --tabnum=2 --text="Aktualizacja - Instalacja Programów - Preferowane programy" \ ---icons --read-dir=/usr/share/mcc/software --item-width=100 \ +yad --plug=$KEY --tabnum=2 --text="$SOFTWARE_DESC" \ +--icons --compact --read-dir=/usr/share/mcc/software --item-width=100 \ > $res2 & #TAB 3 AUTOSTART yad --plug=$KEY --tabnum=3 --borders=20 \ ---text="Openbox" \ +--text="Openbox autostart" \ --columns=1 --form \ --field="$AUTOSTART_DESC:LBL" "" \ --field="Autostart XDG:FBTN" "yautostart" \ @@ -155,7 +159,7 @@ yad --plug=$KEY --tabnum=3 --borders=20 \ > $res3 & #TAB 4 WYGLĄD -yad --plug=$KEY --tabnum=4 --text="Narzędzia do konfiguracji wyglądu " --icons --read-dir=/usr/share/mcc/appearance --item-width=100 \ +yad --plug=$KEY --tabnum=4 --text="$LOOK_DESC" --icons --compact --read-dir=/usr/share/mcc/appearance --item-width=100 \ > $res4 & #TAB 5 TINT2 @@ -204,7 +208,7 @@ yad --plug=$KEY --tabnum=8 --borders=20 \ > $res8 & #TAB 9 MOTYWY -yad --plug=$KEY --tabnum=9 --borders=20 \ +yad --plug=$KEY --tabnum=9 --borders=2 \ --text="$MT_MNGR\n $MT_MNGR_DESC" \ --form --field="$MT_MNGR!preferences-desktop-theme:FBTN" "mb-obthemes" \ > $res9 & @@ -215,7 +219,7 @@ yad --window-icon=utilities-terminal \ --tab="$SYSTEM" --tab="$SOFTWARE" --tab="Autostart" --tab="$LOOK" --tab="$TINT2"\ --tab="Conky" --tab="Menu" --tab="$COMPOSITOR" --tab="$THEMES" \ --title="Mabox Control Center" --image=/usr/share/icons/hicolor/64x64/apps/distributor-logo-mabox.png \ - --width=680 --image-on-top --text="$MCC" --no-buttons > $out & + --width=680 --height=420 --image-on-top --text="$MCC" --no-buttons > $out & } maindialog