diff options
Diffstat (limited to 'help/fi/l10n_scripts/text_info.sh')
-rwxr-xr-x | help/fi/l10n_scripts/text_info.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/help/fi/l10n_scripts/text_info.sh b/help/fi/l10n_scripts/text_info.sh new file mode 100755 index 0000000..e14917f --- /dev/null +++ b/help/fi/l10n_scripts/text_info.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +FILE=`zenity --file-selection \ + --title="Valitse tiedosto"` + +case $? in + 0) + zenity --text-info \ + --title=$FILE \ + --filename=$FILE \ + --editable 2>/tmp/tmp.txt;; + 1) + echo "Tiedostoa ei valittu.";; + -1) + echo "Tiedostoa ei valittu.";; +esac |