recantly used pipemenu translation

master
Daniel Napora 2017-01-06 15:14:57 +01:00
parent 3df171572d
commit 1c22f1605e
1 changed files with 9 additions and 1 deletions

View File

@ -26,6 +26,14 @@
maximum_entries=15 # max. number of entries in menu maximum_entries=15 # max. number of entries in menu
####################################################################### #######################################################################
case $LANG in
pl*)
NOTFOUND="Nie znaleziono pliku recently-used.xbel"
;;
*)
NOTFOUND="Cannot find a readable recently-used.xbel file"
;;
esac
# look for recently-used.xbel # look for recently-used.xbel
if [ $XDG_DATA_HOME ] && [ -r "${XDG_DATA_HOME}/recently-used.xbel" ] if [ $XDG_DATA_HOME ] && [ -r "${XDG_DATA_HOME}/recently-used.xbel" ]
@ -40,7 +48,7 @@ then
else else
echo "$0: cannot find a readable recently-used.xbel file" >&2 echo "$0: cannot find a readable recently-used.xbel file" >&2
echo '<openbox_pipe_menu> echo '<openbox_pipe_menu>
<separator label="Nie znaleziono pliku recently-used.xbel." /> <separator label="$NOTFOUND" />
</openbox_pipe_menu>' </openbox_pipe_menu>'
exit 1 exit 1
fi fi