10 msggrep -K -F -e "$2" $top_builddir/$1 2> /dev/null | msgattrib --translated --no-fuzzy | awk -F \" '/^msgstr "/{print $2}' | grep -v '^$'
14 GenericName=`TRANSLATE "Statistical Software"`
15 Comment=`TRANSLATE "Analyze statistical data with a free alternative to SPSS"`
18 printf "# Generated from $0 -*- buffer-read-only: t -*-\n\n"
20 printf '[Desktop Entry]\n';
21 printf 'Name=GNU PSPP\n';
22 printf "GenericName=$GenericName\n"
24 for pfile in $POFILES; do
27 xlate=`extract_string $pfile "$GenericName"`
28 if test -z "$xlate"; then continue; fi
29 printf "GenericName[$lang]=$xlate\n";
33 printf "Comment=$Comment\n"
35 for pfile in $POFILES; do
38 xlate=`extract_string $pfile "$Comment"`
39 if test -z "$xlate"; then continue; fi
40 printf "Comment[$lang]= $xlate\n";
43 printf 'Exec=psppire %%F\n'
44 printf 'Icon=pspp%s\n'
45 printf 'Terminal=false%s\n'
46 printf 'Type=Application%s\n'
47 printf 'Categories=GTK;Education;Science;Math;%s\n'
48 printf 'MimeType=application/x-spss-sav;application/x-spss-por;%s\n'