mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
|
@ -99,10 +99,10 @@
|
|||
|
||||
/* From simple-gettext.c. */
|
||||
|
||||
/* We assume to have `unsigned long int' value with at least 32 bits. */
|
||||
/* We assume to have 'unsigned long int' value with at least 32 bits. */
|
||||
#define HASHWORDBITS 32
|
||||
|
||||
/* The so called `hashpjw' function by P.J. Weinberger
|
||||
/* The so called 'hashpjw' function by P.J. Weinberger
|
||||
[see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools,
|
||||
1986, 1987 Bell Telephone Laboratories, Inc.] */
|
||||
|
||||
|
@ -228,7 +228,7 @@ my_strusage (int level)
|
|||
/* This is in the GNU C library in unistd.h. */
|
||||
|
||||
#ifndef TEMP_FAILURE_RETRY
|
||||
/* Evaluate EXPRESSION, and repeat as long as it returns -1 with `errno'
|
||||
/* Evaluate EXPRESSION, and repeat as long as it returns -1 with 'errno'
|
||||
set to EINTR. */
|
||||
|
||||
# define TEMP_FAILURE_RETRY(expression) \
|
||||
|
@ -318,7 +318,7 @@ confucius_mktmpdir (void)
|
|||
name = xstrconcat (p, "/", "gpg-XXXXXX", NULL);
|
||||
if (!name || !mkdtemp (name))
|
||||
{
|
||||
log_error (_("can't create temporary directory `%s': %s\n"),
|
||||
log_error (_("can't create temporary directory '%s': %s\n"),
|
||||
name?name:"", strerror (errno));
|
||||
return NULL;
|
||||
}
|
||||
|
@ -935,7 +935,7 @@ main (int argc, char **argv)
|
|||
{
|
||||
if (!default_config)
|
||||
{
|
||||
log_error (_("option file `%s': %s\n"),
|
||||
log_error (_("option file '%s': %s\n"),
|
||||
configname, strerror(errno) );
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue