diff options
author | René Genz <liebundartig@freenet.de> | 2017-11-14 23:30:31 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2017-11-15 11:42:20 +0100 |
commit | bb254b40b724dce327ecb832adc0029e995231c7 (patch) | |
tree | 80ed004b5668c84aa559f8b2a106d3f345b03b31 | |
parent | 6fb1741bd9a2ccc66507daea2c76da83e1e19222 (diff) |
Fix minor spelling mistakes
-rwxr-xr-x | autogen.sh | 2 | ||||
-rw-r--r-- | man/user-dirs.conf.xml | 2 | ||||
-rw-r--r-- | man/xdg-user-dirs-update.xml | 4 | ||||
-rw-r--r-- | xdg-user-dirs-update.c | 4 |
4 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ -#! /bin/sh +#!/bin/sh srcdir=`dirname $0` test -z "$srcdir" && srcdir=. diff --git a/man/user-dirs.conf.xml b/man/user-dirs.conf.xml index 40c0205..6664d94 100644 --- a/man/user-dirs.conf.xml +++ b/man/user-dirs.conf.xml @@ -45,7 +45,7 @@ change the XDG user dirs configuration.</para></listitem> <varlistentry> <term>filename_encoding=<replaceable>encoding</replaceable></term> <listitem><para>This sets the filename encoding to use. -<replaceable>encoding</replaceable> can be an explict encoding name, +<replaceable>encoding</replaceable> can be an explicit encoding name, such as UTF-8, or "locale", which means the encoding of the users locale will be used.</para></listitem> </varlistentry> diff --git a/man/xdg-user-dirs-update.xml b/man/xdg-user-dirs-update.xml index dfc4561..49d8aa5 100644 --- a/man/xdg-user-dirs-update.xml +++ b/man/xdg-user-dirs-update.xml @@ -52,11 +52,11 @@ directory, so they likely don't want to use it anymore. <para> On the first run a <filename>user-dirs.locale</filename> file is created containing the locale that was used for the translation. This -is used later by gui tools like +is used later by GUI tools like <command>xdg-user-dirs-gtk-update</command> to detect if the locale was changed, letting you to migrate from the old names.</para> -<para>xdg-user-dirs-update is normally run automatically at the start +<para><command>xdg-user-dirs-update</command> is normally run automatically at the start of a user session to update the XDG user dirs according to the users locale.</para> </refsect1> diff --git a/xdg-user-dirs-update.c b/xdg-user-dirs-update.c index d468a8c..0924a1e 100644 --- a/xdg-user-dirs-update.c +++ b/xdg-user-dirs-update.c @@ -786,7 +786,7 @@ save_user_dirs (void) fprintf (file, "# This file is written by xdg-user-dirs-update\n"); fprintf (file, "# If you want to change or add directories, just edit the line you're\n"); - fprintf (file, "# interested in. All local changes will be retained on the next run\n"); + fprintf (file, "# interested in. All local changes will be retained on the next run.\n"); fprintf (file, "# Format is XDG_xxx_DIR=\"$HOME/yyy\", where yyy is a shell-escaped\n"); fprintf (file, "# homedir-relative path, or XDG_xxx_DIR=\"/yyy\", where /yyy is an\n"); fprintf (file, "# absolute path. No other format is supported.\n"); @@ -1006,7 +1006,7 @@ main (int argc, char *argv[]) locale_dir = strdup (LOCALEDIR); else { - /* In case LOCALEDIR does not exist, e.x. xdg-user-dirs is installed in + /* In case LOCALEDIR does not exist, e.g. xdg-user-dirs is installed in * a different location than the one determined at compile time, look * through the XDG_DATA_DIRS environment variable for alternate locations * of the locale files */ |