PL translation started

master 0.4.3
Daniel Napora 2022-06-11 12:57:39 +02:00
parent af6623eece
commit 11b191511a
1 changed files with 31 additions and 7 deletions

View File

@ -1,20 +1,44 @@
#!/bin/bash
case "$LANG" in
pl*)
OBTHEME="Motyw Openbox"
MENUPANELS="Menu i Panele"
TERMINALTHEME="Motyw terminala"
OTHERTOOLS="Inne narzędzia"
WALLPAPER="Tapety"
HELP="Pomoc"
;;
*)
OBTHEME="Openbox Theme"
MENUPANELS="Menus/Panels"
TERMINALTHEME="Terminal color scheme"
OTHERTOOLS="Other tools"
WALLPAPER="Wallpaper"
HELP="About and Help"
;;
esac
out+=("^sep(Mabox Colorizer)")
out+=("Openbox Theme,^pipe(colorizer-ob)")
out+=("Menus/Panels,^pipe(colorizer-menus)")
out+=("$OBTHEME,^pipe(colorizer-ob)")
out+=("$MENUPANELS,^pipe(colorizer-menus)")
#out+=("TINT2,^pipe(colorizer-tint2)")
out+=("Conky,^pipe(colorizer-conky)")
#out+=("Systray HW monitor,^pipe(colorizer-phwmon)")
out+=("Terminal color scheme,^term(theme.sh -i2;/bin/bash)")
out+=("$TERMINALTHEME,^term(theme.sh -i2;/bin/bash)")
#out+=("GTKTHEME,^pipe(colorizer-gtktheme)")
out+=("^sep(Other tools)")
out+=("^sep($OTHERTOOLS)")
out+=("Tint2 Menu,^pipe(jgtint2-pipe)")
out+=("Wallpaper,^pipe(jgwallpaperchanger)")
out+=("Color Menu,mbxcolors")
out+=("$WALLPAPER,^pipe(jgwallpaperchanger)")
out+=("Color Menu,colormenu")
out+=("^sep()")
#out+=("PREFERENCES")
out+=("About and Help,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Colorizer'")
LNG=${LANG:0:2}
if [[ -f "/usr/share/mabox-colorizer/help/$LNG.html" ]];then
out+=("$HELP,yhtml /usr/share/mabox-colorizer/help/$LNG.html 'Mabox Help - Colorizer'")
else
out+=("$HELP,yhtml /usr/share/mabox-colorizer/help/en.html 'Mabox Help - Colorizer'")
fi
### RUN
if [[ "$1" == "-s" ]]; then