translation
parent
58ed0ad91f
commit
c42dab1c3b
46
bin/mcc
46
bin/mcc
|
@ -4,7 +4,15 @@
|
|||
EDITOR=geany
|
||||
case $LANG in
|
||||
pl*)
|
||||
MCC="\t\t\t\t\t\t <big>Mabox Control Center</big>\n\t\t\t\t Konfigurator wyglądu i zachowania Maboxa."
|
||||
SYSTEM="System i Sprzęt"
|
||||
LOCALE_SETTINGS="Język i formaty"
|
||||
LANGUAGE_PACKAGES="Pakiety językowe"
|
||||
KERNEL="Jądro systemowe"
|
||||
USER_ACCOUNTS="Konta użytkowników"
|
||||
TIME_DATE="Data i Czas"
|
||||
KEYBOARD="Ustawienia klawiatury"
|
||||
HARDWARE="Konfiguracja sprzętowa"
|
||||
SOFTWARE="Programy"
|
||||
LOOK="Wygląd"
|
||||
TINT2="Panel Tint2"
|
||||
|
@ -15,7 +23,8 @@ case $LANG in
|
|||
THEMES="Motywy"
|
||||
SYSTEM_DESC="Ustawienia oraz informacje systemowe i sprzętowe"
|
||||
MONITORS="<b>Monitor(y)</b>"
|
||||
AUTOSTART_DESC="Openbox posiada 2 mechanizmy autostartu"
|
||||
AUTOSTART_DESC="Openbox posiada dwa mechanizmy autostartu"
|
||||
EDIT_FILE="Edutuj plik"
|
||||
TINT_DESC="<b>Konfigurator paneli tint2</b>\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 <i>~/.config/tint2</i>."
|
||||
T_CONF="Konfigurator paneli tint2!!Konfiguracja wyglądu panelu"
|
||||
T_CHOOSE="Wybierz tint2!!Możesz uruchomić kilka paneli"
|
||||
|
@ -43,7 +52,15 @@ case $LANG in
|
|||
MT_MNGR_DESC="\nMotyw Maboxa składa się z:\n - tapety\n - wystroju GTK2/GTK3\n - motywu Openboxa\n - ustawień panelu Tint2\n - uruchamianych automatycznie Conky\n\nZa pomocą menedżera motywów możesz w wygodny sposób zapisywać swoje konfiguracje Maboxa, a następnie dowolnie przełączać się między nimi.\n"
|
||||
;;
|
||||
*)
|
||||
MCC="\t\t\t\t\t\t <big>Mabox Control Center</big>\n\t\t\t\t "
|
||||
SYSTEM="System & Hardware"
|
||||
LOCALE_SETTINGS="Locale Settings"
|
||||
LANGUAGE_PACKAGES="Language Packages"
|
||||
KERNEL="Kernel"
|
||||
USER_ACCOUNTS="User Accounts"
|
||||
TIME_DATE="Time and Date"
|
||||
KEYBOARD="Keyboard Settings"
|
||||
HARDWARE="Hardware Configuration"
|
||||
SOFTWARE="Software"
|
||||
LOOK="Look & Feel"
|
||||
TINT2="Tin2 Panel"
|
||||
|
@ -54,13 +71,14 @@ case $LANG in
|
|||
THEMES="Themes"
|
||||
SYSTEM_DESC="System and Hardware settings and information"
|
||||
MONITORS="<b>Monitor(s)</b>"
|
||||
AUTOSTART_DESC="Openbox uses two autistart mechanism"
|
||||
AUTOSTART_DESC="Openbox uses two autostart methods"
|
||||
EDIT_FILE="Edit file"
|
||||
TINT_DESC="<b>Tint2 panels Configurator</b>\nHere you can choose Tint2 panel(s) configuration.\nThere are some predefined configurations in Mabox, you can also add your own to <i>~/.config/tint2</i> directory."
|
||||
T_CONF="Configure tint2"
|
||||
T_CHOOSE="Choose tint2!!You can run several tint2 panels at once"
|
||||
T_RESTART="Restart tint2"
|
||||
TINT_DIR="Open <i>~/.config/tint2/</i> in file manager "
|
||||
CONKY_DESC="<b>Conky Manager</b>\nChoose Conky you want to run. There are several predefined Conky configurations, yiu can also add your own to <i>~/.config/conky</i> directory."
|
||||
CONKY_DESC="<b>Conky Manager</b>\nChoose Conky you want to run. There are several predefined Conky configurations, you can also add your own to <i>~/.config/conky</i> directory."
|
||||
CONKY_CHOOSE="Choose Conky(s)"
|
||||
CONKY_RESTART="Reload Conky"
|
||||
CONKY_EDIT="Edit Conky"
|
||||
|
@ -104,13 +122,13 @@ trap "rm -f $res1 $res2 $res3 $res4 $res5 $res6 $res7 $res8 $res9 $out" EXIT
|
|||
# TAB1 SYSTEM_SPRZET
|
||||
yad --plug=$KEY --tabnum=1 --text="$SYSTEM_DESC" --columns=2 --align="center" --form --borders=10 \
|
||||
--field="<b>$SETTINGS</b>:LBL" " " \
|
||||
--field="Język i formaty:FBTN" "manjaro-settings-manager -m msm_locale" \
|
||||
--field="Pakiety językowe:FBTN" "manjaro-settings-manager -m msm_language_packages" \
|
||||
--field="Jądro systemowe:FBTN" "manjaro-settings-manager -m msm_kernel" \
|
||||
--field="Konta użytkowników:FBTN" "manjaro-settings-manager -m msm_users" \
|
||||
--field="Data i Czas:FBTN" "manjaro-settings-manager -m msm_timedate" \
|
||||
--field="Ustawienia klawiatury:FBTN" "manjaro-settings-manager -m msm_keyboard" \
|
||||
--field="Konfiguracja sprzętowa:FBTN" "manjaro-settings-manager -m msm_mhwd" \
|
||||
--field="$LOCALE_SETTINGS:FBTN" "manjaro-settings-manager -m msm_locale" \
|
||||
--field="$LANGUAGE_PACKAGES:FBTN" "manjaro-settings-manager -m msm_language_packages" \
|
||||
--field="$KERNEL:FBTN" "manjaro-settings-manager -m msm_kernel" \
|
||||
--field="$USER_ACCOUNTS:FBTN" "manjaro-settings-manager -m msm_users" \
|
||||
--field="$TIME_DATE:FBTN" "manjaro-settings-manager -m msm_timedate" \
|
||||
--field="$KEYBOARD:FBTN" "manjaro-settings-manager -m msm_keyboard" \
|
||||
--field="$HARDWARE:FBTN" "manjaro-settings-manager -m msm_mhwd" \
|
||||
--field="$MONITORS:LBL" "" \
|
||||
--field="ARandr:FBTN" "arandr" \
|
||||
--field="<b>Info</b>:LBL" "" \
|
||||
|
@ -132,8 +150,8 @@ yad --plug=$KEY --tabnum=3 --borders=20 \
|
|||
--columns=1 --form \
|
||||
--field="$AUTOSTART_DESC:LBL" "" \
|
||||
--field="Autostart XDG:FBTN" "yautostart" \
|
||||
--field="Edycja pliku <i>$HOME/.config/openbox/autostart</i>:LBL" "" \
|
||||
--field="Edycja pliku:FBTN" "geany $HOME/.config/openbox/autostart" \
|
||||
--field="$EDIT_FILE <i>$HOME/.config/openbox/autostart</i>:LBL" "" \
|
||||
--field="$EDIT_FILE:FBTN" "geany $HOME/.config/openbox/autostart" \
|
||||
> $res3 &
|
||||
|
||||
#TAB 4 WYGLĄD
|
||||
|
@ -194,10 +212,10 @@ yad --plug=$KEY --tabnum=9 --borders=20 \
|
|||
#main window
|
||||
yad --window-icon=utilities-terminal \
|
||||
--notebook --tab-pos="left" --key=$KEY \
|
||||
--tab="$SYSTEM" --tab="$SOFTWARE" --tab="Autostart" --tab="$LOOK" --tab="Panel Tint2"\
|
||||
--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="\t\t\t\t\t\t <big>Mabox Control Center</big>\n\t\t\t\t Konfigurator wyglądu i zachowania Maboxa." --no-buttons > $out &
|
||||
--width=680 --image-on-top --text="$MCC" --no-buttons > $out &
|
||||
}
|
||||
|
||||
maindialog
|
||||
|
|
Loading…
Reference in New Issue