From 191f09b04409202fc88fc88f5e05c16d4cdfa86c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 16 Aug 2012 22:23:20 -0400 Subject: [PATCH] Change "dash" to "hyphen" in translatable strings GSchemas use hyphens, not dashes. Patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 --- gio/glib-compile-schemas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c index 27d0181..c21f487 100644 --- a/gio/glib-compile-schemas.c +++ b/gio/glib-compile-schemas.c @@ -794,7 +794,7 @@ is_valid_keyname (const gchar *key, { g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_INVALID_CONTENT, _("invalid name '%s': invalid character '%c'; " - "only lowercase letters, numbers and dash ('-') " + "only lowercase letters, numbers and hyphen ('-') " "are permitted."), key, key[i]); return FALSE; } @@ -802,7 +802,7 @@ is_valid_keyname (const gchar *key, if (key[i] == '-' && key[i + 1] == '-') { g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_INVALID_CONTENT, - _("invalid name '%s': two successive dashes ('--') " + _("invalid name '%s': two successive hyphens ('--') " "are not permitted."), key); return FALSE; } @@ -812,7 +812,7 @@ is_valid_keyname (const gchar *key, { g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_INVALID_CONTENT, _("invalid name '%s': the last character may not be a " - "dash ('-')."), key); + "hyphen ('-')."), key); return FALSE; } -- 2.7.4