mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Change all quotes in strings and comments to the new GNU standard.
The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
This commit is contained in:
parent
fc00d3fcb2
commit
096e7457ec
175 changed files with 4857 additions and 4869 deletions
|
@ -82,7 +82,7 @@ run_umount_helper (const char *mountpoint)
|
|||
|
||||
err = gnupg_spawn_process_detached (pgmname, args, NULL);
|
||||
if (err)
|
||||
log_error ("failed to run `%s': %s\n",
|
||||
log_error ("failed to run '%s': %s\n",
|
||||
pgmname, gpg_strerror (err));
|
||||
}
|
||||
|
||||
|
@ -100,7 +100,7 @@ handle_status_line (runner_t runner, const char *line,
|
|||
{
|
||||
for (line +=8; *line && spacep (line); line++)
|
||||
;
|
||||
log_info ("got status `%s'\n", line);
|
||||
log_info ("got status '%s'\n", line);
|
||||
if (!strcmp (line, "fuse_main_start"))
|
||||
{
|
||||
/* Send a special error code back to let the caller know
|
||||
|
@ -114,7 +114,7 @@ handle_status_line (runner_t runner, const char *line,
|
|||
{
|
||||
for (line +=8; *line && spacep (line); line++)
|
||||
;
|
||||
log_info ("got prompt `%s'\n", line);
|
||||
log_info ("got prompt '%s'\n", line);
|
||||
if (!strcmp (line, "create_root_dir"))
|
||||
err = send_cmd (runner, cmd == ENCFS_CMD_CREATE? "y":"n");
|
||||
else if (!strcmp (line, "create_mount_point"))
|
||||
|
@ -270,7 +270,7 @@ run_encfs_tool (ctrl_t ctrl, enum encfs_cmds cmd,
|
|||
outbound[0], -1, inbound[1], &pid);
|
||||
if (err)
|
||||
{
|
||||
log_error ("error spawning `%s': %s\n", pgmname, gpg_strerror (err));
|
||||
log_error ("error spawning '%s': %s\n", pgmname, gpg_strerror (err));
|
||||
goto leave;
|
||||
}
|
||||
close (outbound[0]); outbound[0] = -1;
|
||||
|
@ -291,7 +291,7 @@ run_encfs_tool (ctrl_t ctrl, enum encfs_cmds cmd,
|
|||
goto leave;
|
||||
|
||||
*r_id = runner_get_rid (runner);
|
||||
log_info ("running `%s' in the background\n", pgmname);
|
||||
log_info ("running '%s' in the background\n", pgmname);
|
||||
|
||||
leave:
|
||||
if (inbound[0] != -1)
|
||||
|
@ -418,7 +418,7 @@ be_encfs_create_container (ctrl_t ctrl, const char *fname, tupledesc_t tuples,
|
|||
if (!mkdtemp (mountpoint))
|
||||
{
|
||||
err = gpg_error_from_syserror ();
|
||||
log_error (_("can't create directory `%s': %s\n"),
|
||||
log_error (_("can't create directory '%s': %s\n"),
|
||||
"/tmp/.#g13_XXXXXX", gpg_strerror (err));
|
||||
goto leave;
|
||||
}
|
||||
|
@ -428,7 +428,7 @@ be_encfs_create_container (ctrl_t ctrl, const char *fname, tupledesc_t tuples,
|
|||
|
||||
/* In any case remove the temporary mount point. */
|
||||
if (rmdir (mountpoint))
|
||||
log_error ("error removing temporary mount point `%s': %s\n",
|
||||
log_error ("error removing temporary mount point '%s': %s\n",
|
||||
mountpoint, gpg_strerror (gpg_error_from_syserror ()));
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue