projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Delete trailing whitespace at line endings.
[pspp]
/
src
/
ui
/
gui
/
gen-dot-desktop.sh
diff --git
a/src/ui/gui/gen-dot-desktop.sh
b/src/ui/gui/gen-dot-desktop.sh
index bb86c01f2ce0068bb524cce9795f8c39b0499eea..ea5b3eb71c5cbca18e6bf565fa1badc647bc2146 100644
(file)
--- a/
src/ui/gui/gen-dot-desktop.sh
+++ b/
src/ui/gui/gen-dot-desktop.sh
@@
-7,7
+7,7
@@
TRANSLATE ()
extract_string ()
{
extract_string ()
{
- msggrep -K -F -e "$2" $top_builddir/$1 2> /dev/null | msgattrib --translated --no-fuzzy | awk -F \" '/^msgstr "/{print $2}' | grep -v '^$'
+ msggrep -K -F -e "$2" $top_builddir/$1 2> /dev/null | msgattrib --translated --no-fuzzy | awk -F \" '/^msgstr "/{print $2}' | grep -v '^$'
}
}
@@
-21,7
+21,7
@@
printf '[Desktop Entry]\n';
printf 'Name=GNU PSPP\n';
printf "GenericName=$GenericName\n"
printf 'Name=GNU PSPP\n';
printf "GenericName=$GenericName\n"
-for pfile in $POFILES; do
+for pfile in $POFILES; do
lang=${pfile%%.po}
lang=${lang##po/}
xlate=`extract_string $pfile "$GenericName"`
lang=${pfile%%.po}
lang=${lang##po/}
xlate=`extract_string $pfile "$GenericName"`
@@
-32,7
+32,7
@@
done
printf "Comment=$Comment\n"
printf "Comment=$Comment\n"
-for pfile in $POFILES; do
+for pfile in $POFILES; do
lang=${pfile%%.po}
lang=${lang##po/}
xlate=`extract_string $pfile "$Comment"`
lang=${pfile%%.po}
lang=${lang##po/}
xlate=`extract_string $pfile "$Comment"`