cli: fix spelling in user visible texts

https://bugzilla.gnome.org/show_bug.cgi?id=759555

Reported-by: Anders Jonsson <anders.jonsson@norsjovallen.se>
This commit is contained in:
Thomas Haller 2015-12-17 12:22:43 +01:00
parent d612cccc4f
commit 0959109b19
2 changed files with 3 additions and 3 deletions

View 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;
}

View file

@ -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