summaryrefslogtreecommitdiff
path: root/xfconfd
diff options
context:
space:
mode:
authorBrian Tarricone <brian@tarricone.org>2009-01-09 02:07:06 +0000
committerBrian Tarricone <brian@tarricone.org>2009-01-09 02:07:06 +0000
commit1ee1d4717dfa71b30721d6857c3ef0b9a8ec2f03 (patch)
tree142a46d77a77e727209a9370d16dee194fa62977 /xfconfd
parent1310d012ed5af5628c50d83e7019a659829bf04c (diff)
downloadxfconf-1ee1d4717dfa71b30721d6857c3ef0b9a8ec2f03.tar.gz
string review patch from david mohr (bug 4770)
(Old svn revision: 29117)
Diffstat (limited to 'xfconfd')
-rw-r--r--xfconfd/main.c2
-rw-r--r--xfconfd/xfconf-backend-perchannel-xml.c5
-rw-r--r--xfconfd/xfconf-backend.c4
-rw-r--r--xfconfd/xfconf-daemon.c2
4 files changed, 7 insertions, 6 deletions
diff --git a/xfconfd/main.c b/xfconfd/main.c
index bb5927b..7ca223e 100644
--- a/xfconfd/main.c
+++ b/xfconfd/main.c
@@ -129,7 +129,7 @@ main(int argc,
gboolean print_version = FALSE;
GOptionEntry options[] = {
{ "version", 'V', 0, G_OPTION_ARG_NONE, &print_version,
- N_("Prints the xfconfd version"), NULL },
+ N_("Prints the xfconfd version."), NULL },
{ "backends", 'b', 0, G_OPTION_ARG_STRING_ARRAY, &backends,
N_("Configuration backends to use. The first backend specified " \
"is opened read/write; the others, read-only."), NULL },
diff --git a/xfconfd/xfconf-backend-perchannel-xml.c b/xfconfd/xfconf-backend-perchannel-xml.c
index 4ff6462..809b094 100644
--- a/xfconfd/xfconf-backend-perchannel-xml.c
+++ b/xfconfd/xfconf-backend-perchannel-xml.c
@@ -277,7 +277,8 @@ xfconf_backend_perchannel_xml_initialize(XfconfBackend *backend,
if(error) {
g_set_error(error, XFCONF_ERROR,
XFCONF_ERROR_WRITE_FAILURE,
- _("Unable to create configuration directory"));
+ _("Unable to create configuration directory \"%s\""),
+ path);
}
g_free(path);
return FALSE;
@@ -324,7 +325,7 @@ xfconf_backend_perchannel_xml_set(XfconfBackend *backend,
if(error) {
g_set_error(error, XFCONF_ERROR,
XFCONF_ERROR_PERMISSION_DENIED,
- _("You don't have permission to modify property \"%s\" on channel \"%s\""),
+ _("Permission denied while modifying property \"%s\" on channel \"%s\""),
property, channel_name);
}
return FALSE;
diff --git a/xfconfd/xfconf-backend.c b/xfconfd/xfconf-backend.c
index fe74cac..f8a525c 100644
--- a/xfconfd/xfconf-backend.c
+++ b/xfconfd/xfconf-backend.c
@@ -132,7 +132,7 @@ xfconf_property_is_valid(const gchar *property,
if(error) {
g_set_error(error, XFCONF_ERROR,
XFCONF_ERROR_INVALID_PROPERTY,
- _("Property names cannot have two or more '/' characters in a row"));
+ _("Property names cannot have two or more consecutive '/' characters"));
}
return FALSE;
}
@@ -395,7 +395,7 @@ xfconf_backend_reset(XfconfBackend *backend,
if(!recursive && (!*property || (property[0] == '/' && !property[1]))) {
if(error) {
g_set_error(error, XFCONF_ERROR, XFCONF_ERROR_INVALID_PROPERTY,
- _("The property name can only be empty or \"/\" if a recursive reset was specified."));
+ _("The property name can only be empty or \"/\" if a recursive reset was specified"));
}
return FALSE;
}
diff --git a/xfconfd/xfconf-daemon.c b/xfconfd/xfconf-daemon.c
index 61a8588..ba5ea96 100644
--- a/xfconfd/xfconf-daemon.c
+++ b/xfconfd/xfconf-daemon.c
@@ -241,7 +241,7 @@ xfconf_set_property(XfconfDaemon *xfconfd,
if(error) {
g_set_error(error, XFCONF_ERROR,
XFCONF_ERROR_PERMISSION_DENIED,
- _("You don't have permission to modify property \"%s\" on channel \"%s\""),
+ _("Permission denied while modifying property \"%s\" on channel \"%s\""),
property, channel);
}
return FALSE;