~ecryptfs/ecryptfs/trunk

« back to all changes in this revision

Viewing changes to src/utils/ecryptfs-umount-private

  • Committer: Dustin Kirkland
  • Date: 2009-07-23 22:01:08 UTC
  • Revision ID: kirkland@canonical.com-20090723220108-522tqw0q90fppk6b
  * src/utils/ecryptfs-mount-private, src/utils/ecryptfs-rewrite-file,
    src/utils/ecryptfs-setup-private, src/utils/ecryptfs-setup-swap,
    src/utils/ecryptfs-umount-private: use gettext for all string printing,
    such that we can internationalize ecryptfs


Signed-off-by: Dustin Kirkland <kirkland@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# Original by Michael Halcrow, IBM
6
6
# Extracted to a stand-alone script by Dustin Kirkland <kirkland@canonical.com>
7
7
 
 
8
TEXTDOMAIN="ecryptfs-utils"
 
9
 
8
10
if grep -qs "$HOME/.Private $PWD ecryptfs " /proc/mounts 2>/dev/null; then
9
11
        pwd_mounted=1
10
12
fi
16
18
        done
17
19
        if [ "$pwd_mounted" = "1" ]; then
18
20
                echo
19
 
                echo "INFO: Your private directory has been unmounted."
20
 
                echo "INFO: To see this change in your current shell:"
 
21
                echo `gettext "INFO:"` `gettext "Your private directory has been unmounted."`
 
22
                echo `gettext "INFO:"` `gettext "To see this change in your current shell:"`
21
23
                echo "  cd $PWD"
22
24
                echo
23
25
        fi