nmcli: remove the extra full stop from error messages

$ nmcli dev modify
Error: No interface specified..
$ nmcli dev modify bla
Error: Device 'bla' not found..
This commit is contained in:
Jiří Klimeš 2016-07-15 11:38:01 +02:00
parent f9821a1669
commit 887cdcc217

View file

@ -624,7 +624,7 @@ get_device (NmCli *nmc, int *argc, char ***argv, GError **error)
if (!ifname_ask) {
g_set_error_literal (error, NMCLI_ERROR, NMC_RESULT_ERROR_USER_INPUT,
_("No interface specified."));
_("No interface specified"));
return NULL;
}
} else {
@ -643,7 +643,7 @@ get_device (NmCli *nmc, int *argc, char ***argv, GError **error)
if (devices[i] == NULL) {
g_set_error (error, NMCLI_ERROR, NMC_RESULT_ERROR_NOT_FOUND,
_("Device '%s' not found."), ifname);
_("Device '%s' not found"), ifname);
}
return devices[i];