cli: fix spelling in user visible texts
authorThomas Haller <thaller@redhat.com>
Thu, 17 Dec 2015 11:22:43 +0000 (12:22 +0100)
committerThomas Haller <thaller@redhat.com>
Thu, 17 Dec 2015 11:25:26 +0000 (12:25 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=759555

Reported-by: Anders Jonsson <anders.jonsson@norsjovallen.se>
clients/cli/settings.c
po/pl.po

index e4d96f5..c899d8f 100644 (file)
@@ -4798,7 +4798,7 @@ _validate_s390_option_value (const char *option, const char *value, GError **err
 {
        /*  nm_setting_wired_add_s390_option() requires value len in <1,199> interval */
        if (!value || !*value || strlen (value) >= 200) {
-               g_set_error (error, 1, 0, _("'%s' string value should consists of 1 - 199 characters"), option);
+               g_set_error (error, 1, 0, _("'%s' string value should consist of 1 - 199 characters"), option);
                return NULL;
        }
        return value;
@@ -5548,7 +5548,7 @@ nmc_property_tun_set_mode (NMSetting *setting, const char *prop,
                                              (int *) &mode, NULL);
 
                if (!ret) {
-                       g_set_error (error, 1, 0, _("invalid option '%s', use '%s' or '%s"),
+                       g_set_error (error, 1, 0, _("invalid option '%s', use '%s' or '%s'"),
                                     val, "tun", "tap");
                        return FALSE;
                }
index 40a1124..977a9f6 100644 (file)
--- a/po/pl.po
+++ b/po/pl.po
@@ -5598,7 +5598,7 @@ msgstr ""
 
 #: ../clients/cli/settings.c:4295
 #, c-format
-msgid "'%s' string value should consists of 1 - 199 characters"
+msgid "'%s' string value should consist of 1 - 199 characters"
 msgstr "wartość ciągu \"%s\" powinna składać się z 1-199 znaków"
 
 #: ../clients/cli/settings.c:4327