# HG changeset patch # User Paul Issott # Date 1307816128 -3600 # Node ID adba1713f61589a14453a28de1657db4e4ce6d30 # Parent 4384bbec9d9a6a899a2035a9890c4987110a1e5f Tiny edits diff -r 4384bbec9d9a -r adba1713f615 ssfs-box --- a/ssfs-box Sat Jun 11 18:59:59 2011 +0100 +++ b/ssfs-box Sat Jun 11 19:15:28 2011 +0100 @@ -29,7 +29,7 @@ if [ ! -s "$config" ]; then $0 setup && exit 0 fi - text=$(gettext "Welcome to Ssfs GTK user interface") + text=$(gettext "Welcome to the Ssfs GTK user interface") info | yad \ --list --title="Ssfs GTK tools" \ --width=460 --height=280 --image-on-top \ @@ -64,7 +64,7 @@ # Setup GUI box function. setup_main() { text=$(gettext \ -"Welcome to Ssfs Setup\n +"Welcome to the Ssfs Setup\n Any account on a server yet ? You can vist www.slitaz.org services or setup your own server in a few minutes!\n") yad --form --title="Ssfs GTK Setup" \ diff -r 4384bbec9d9a -r adba1713f615 ssfs-server --- a/ssfs-server Sat Jun 11 18:59:59 2011 +0100 +++ b/ssfs-server Sat Jun 11 19:15:28 2011 +0100 @@ -45,7 +45,7 @@ $(echo -e "\033[1m$(gettext "Commands:")\033[0m") help $(gettext "Display this short usage.") - users $(gettext "List users account and stats.") + users $(gettext "List user accounts and stats.") adduser $(gettext "Add a user to the system with \$HOME in chroot.") deluser $(gettext "Delete a user and remove \$HOME files.") chroot $(gettext "Chroot to Ssfs storage root.") @@ -121,7 +121,7 @@ gettext -e "\nChecking:"; echo " /etc/passwd" if grep ^$login: /etc/passwd; then - gettext -e "Exiting user already exist:" + gettext -e "Exiting, user already exists:" echo -e " $login\n" && exit 0 fi gettext "Creating user: $login..." @@ -129,14 +129,14 @@ adduser -h "$home" -g "Ssfs User" -u $id $login >/dev/null status - # We dont want any files from /etc/skel. + # We don't want any files from /etc/skel. gettext "Cleaning home and creating: Sync/..." rm -rf $home && mkdir -p $home/Sync && status gettext "Changing mode on user home: 0700..." chown -R $login.$login $home chmod 0700 $home && status - # Create a custom config peer user in SSFS_USERS. + # Create a custom config per user in SSFS_USERS. [ ! -d "$SSFS_USERS" ] && mkdir -p $SSFS_USERS user_config ;; deluser) @@ -155,9 +155,9 @@ gettext -e "\nBack to the host system:" echo -e " $(hostname)\n" ;; gen-chroot) - # Generated a minimal chroot for Ssfs users home. + # Generate a minimal chroot for Ssfs users home. if [ -d "$root/bin" ]; then - gettext -e "A chroot already exist in:"; echo " $root" + gettext -e "A chroot already exists in:"; echo " $root" exit 0 fi gettext -e "\nCreating chroot in:"; echo " $root"