From 1c22f1605e9cb8aea1139d96b7bab17ec30fb5d6 Mon Sep 17 00:00:00 2001 From: napcok Date: Fri, 6 Jan 2017 15:14:57 +0100 Subject: [PATCH] recantly used pipemenu translation --- usr/bin/mabox-recent-files-pipemenu | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/usr/bin/mabox-recent-files-pipemenu b/usr/bin/mabox-recent-files-pipemenu index b5aa3ca..db081b8 100755 --- a/usr/bin/mabox-recent-files-pipemenu +++ b/usr/bin/mabox-recent-files-pipemenu @@ -26,6 +26,14 @@ 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 if [ $XDG_DATA_HOME ] && [ -r "${XDG_DATA_HOME}/recently-used.xbel" ] @@ -40,7 +48,7 @@ then else echo "$0: cannot find a readable recently-used.xbel file" >&2 echo ' - + ' exit 1 fi