Fix missing newlines in error messages
Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
parent
518b887937
commit
95089f7762
1 changed files with 5 additions and 5 deletions
|
@ -176,7 +176,7 @@ main (int argc, char **argv)
|
||||||
err = errno;
|
err = errno;
|
||||||
|
|
||||||
/* Translators: first %s is a filename; second %s is an error message */
|
/* Translators: first %s is a filename; second %s is an error message */
|
||||||
g_print (_("Could not open %s: %s"),
|
g_print (_("Could not open %s: %s\n"),
|
||||||
source_filename,
|
source_filename,
|
||||||
g_strerror (err));
|
g_strerror (err));
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
@ -212,7 +212,7 @@ main (int argc, char **argv)
|
||||||
|
|
||||||
if (statbuf.st_uid != pkexec_uid) {
|
if (statbuf.st_uid != pkexec_uid) {
|
||||||
/* Translators: we are complaining that a file must be really owned by the user who called this program */
|
/* Translators: we are complaining that a file must be really owned by the user who called this program */
|
||||||
g_print (_("%s must be owned by you"), source_filename);
|
g_print (_("%s must be owned by you\n"), source_filename);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -228,7 +228,7 @@ main (int argc, char **argv)
|
||||||
/* Chdir to the destination directory to keep it open... */
|
/* Chdir to the destination directory to keep it open... */
|
||||||
|
|
||||||
if (chdir (SYSTEM_RANDR_PATH) != 0) {
|
if (chdir (SYSTEM_RANDR_PATH) != 0) {
|
||||||
g_print (_("%s must be a directory"), SYSTEM_RANDR_PATH);
|
g_print (_("%s must be a directory\n"), SYSTEM_RANDR_PATH);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -239,7 +239,7 @@ main (int argc, char **argv)
|
||||||
if (dest_fd == -1) {
|
if (dest_fd == -1) {
|
||||||
err = errno;
|
err = errno;
|
||||||
/* Translators: the first %s/%s is a directory/filename; the last %s is an error message */
|
/* Translators: the first %s/%s is a directory/filename; the last %s is an error message */
|
||||||
g_print (_("Could not open %s/%s: %s"),
|
g_print (_("Could not open %s/%s: %s\n"),
|
||||||
SYSTEM_RANDR_PATH,
|
SYSTEM_RANDR_PATH,
|
||||||
template,
|
template,
|
||||||
g_strerror (err));
|
g_strerror (err));
|
||||||
|
@ -259,7 +259,7 @@ main (int argc, char **argv)
|
||||||
if (rename (template, dest_name) != 0) {
|
if (rename (template, dest_name) != 0) {
|
||||||
err = errno;
|
err = errno;
|
||||||
unlink (template);
|
unlink (template);
|
||||||
g_print (_("Could not rename %s to %s: %s"),
|
g_print (_("Could not rename %s to %s: %s\n"),
|
||||||
template,
|
template,
|
||||||
dest_name,
|
dest_name,
|
||||||
g_strerror (err));
|
g_strerror (err));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue