mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772221
This commit is contained in:
@@ -258,7 +258,7 @@ ensure_keyring_directory (GError **error)
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
g_io_error_from_errno (errno),
|
||||
_("Error when getting information for directory '%s': %s"),
|
||||
_("Error when getting information for directory “%s”: %s"),
|
||||
path,
|
||||
strerror (errno));
|
||||
g_free (path);
|
||||
@@ -270,7 +270,7 @@ ensure_keyring_directory (GError **error)
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("Permissions on directory '%s' are malformed. Expected mode 0700, got 0%o"),
|
||||
_("Permissions on directory “%s” are malformed. Expected mode 0700, got 0%o"),
|
||||
path,
|
||||
statbuf.st_mode & 0777);
|
||||
g_free (path);
|
||||
@@ -291,7 +291,7 @@ ensure_keyring_directory (GError **error)
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
g_io_error_from_errno (errno),
|
||||
_("Error creating directory '%s': %s"),
|
||||
_("Error creating directory “%s”: %s"),
|
||||
path,
|
||||
strerror (errno));
|
||||
g_free (path);
|
||||
@@ -374,7 +374,7 @@ keyring_lookup_entry (const gchar *cookie_context,
|
||||
error))
|
||||
{
|
||||
g_prefix_error (error,
|
||||
_("Error opening keyring '%s' for reading: "),
|
||||
_("Error opening keyring “%s” for reading: "),
|
||||
path);
|
||||
goto out;
|
||||
}
|
||||
@@ -398,7 +398,7 @@ keyring_lookup_entry (const gchar *cookie_context,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("Line %d of the keyring at '%s' with content '%s' is malformed"),
|
||||
_("Line %d of the keyring at “%s” with content “%s” is malformed"),
|
||||
n + 1,
|
||||
path,
|
||||
line);
|
||||
@@ -412,7 +412,7 @@ keyring_lookup_entry (const gchar *cookie_context,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("First token of line %d of the keyring at '%s' with content '%s' is malformed"),
|
||||
_("First token of line %d of the keyring at “%s” with content “%s” is malformed"),
|
||||
n + 1,
|
||||
path,
|
||||
line);
|
||||
@@ -427,7 +427,7 @@ keyring_lookup_entry (const gchar *cookie_context,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("Second token of line %d of the keyring at '%s' with content '%s' is malformed"),
|
||||
_("Second token of line %d of the keyring at “%s” with content “%s” is malformed"),
|
||||
n + 1,
|
||||
path,
|
||||
line);
|
||||
@@ -451,7 +451,7 @@ keyring_lookup_entry (const gchar *cookie_context,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("Didn't find cookie with id %d in the keyring at '%s'"),
|
||||
_("Didn’t find cookie with id %d in the keyring at “%s”"),
|
||||
cookie_id,
|
||||
path);
|
||||
|
||||
@@ -529,7 +529,7 @@ keyring_acquire_lock (const gchar *path,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
g_io_error_from_errno (errno),
|
||||
_("Error deleting stale lock file '%s': %s"),
|
||||
_("Error deleting stale lock file “%s”: %s"),
|
||||
lock,
|
||||
strerror (errno));
|
||||
goto out;
|
||||
@@ -561,7 +561,7 @@ keyring_acquire_lock (const gchar *path,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
g_io_error_from_errno (errno),
|
||||
_("Error creating lock file '%s': %s"),
|
||||
_("Error creating lock file “%s”: %s"),
|
||||
lock,
|
||||
strerror (errno));
|
||||
goto out;
|
||||
@@ -591,7 +591,7 @@ keyring_release_lock (const gchar *path,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
g_io_error_from_errno (errno),
|
||||
_("Error closing (unlinked) lock file '%s': %s"),
|
||||
_("Error closing (unlinked) lock file “%s”: %s"),
|
||||
lock,
|
||||
strerror (errno));
|
||||
goto out;
|
||||
@@ -601,7 +601,7 @@ keyring_release_lock (const gchar *path,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
g_io_error_from_errno (errno),
|
||||
_("Error unlinking lock file '%s': %s"),
|
||||
_("Error unlinking lock file “%s”: %s"),
|
||||
lock,
|
||||
strerror (errno));
|
||||
goto out;
|
||||
@@ -678,7 +678,7 @@ keyring_generate_entry (const gchar *cookie_context,
|
||||
{
|
||||
g_propagate_prefixed_error (error,
|
||||
local_error,
|
||||
_("Error opening keyring '%s' for writing: "),
|
||||
_("Error opening keyring “%s” for writing: "),
|
||||
path);
|
||||
goto out;
|
||||
}
|
||||
@@ -711,7 +711,7 @@ keyring_generate_entry (const gchar *cookie_context,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("Line %d of the keyring at '%s' with content '%s' is malformed"),
|
||||
_("Line %d of the keyring at “%s” with content “%s” is malformed"),
|
||||
n + 1,
|
||||
path,
|
||||
line);
|
||||
@@ -725,7 +725,7 @@ keyring_generate_entry (const gchar *cookie_context,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("First token of line %d of the keyring at '%s' with content '%s' is malformed"),
|
||||
_("First token of line %d of the keyring at “%s” with content “%s” is malformed"),
|
||||
n + 1,
|
||||
path,
|
||||
line);
|
||||
@@ -739,7 +739,7 @@ keyring_generate_entry (const gchar *cookie_context,
|
||||
g_set_error (error,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("Second token of line %d of the keyring at '%s' with content '%s' is malformed"),
|
||||
_("Second token of line %d of the keyring at “%s” with content “%s” is malformed"),
|
||||
n + 1,
|
||||
path,
|
||||
line);
|
||||
@@ -875,7 +875,7 @@ keyring_generate_entry (const gchar *cookie_context,
|
||||
else
|
||||
{
|
||||
g_prefix_error (error,
|
||||
_("(Additionally, releasing the lock for '%s' also failed: %s) "),
|
||||
_("(Additionally, releasing the lock for “%s” also failed: %s) "),
|
||||
path,
|
||||
local_error->message);
|
||||
}
|
||||
|
Reference in New Issue
Block a user