[gnome-online-accounts] Use double quotes instead of single quotes in translatable strings
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] Use double quotes instead of single quotes in translatable strings
- Date: Fri, 20 Jan 2017 12:31:12 +0000 (UTC)
commit c8d70bc470b991e4b41b1a41d19ee56c2950cad5
Author: Piotr Drąg <piotrdrag gmail com>
Date: Thu Sep 29 22:57:52 2016 +0200
Use double quotes instead of single quotes in translatable strings
As recommended by:
https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772205
src/goabackend/goaewsclient.c | 6 +++---
src/goabackend/goaexchangeprovider.c | 2 +-
src/goabackend/goaimapsmtpprovider.c | 4 ++--
src/goabackend/goakerberosprovider.c | 4 ++--
src/goabackend/goalastfmprovider.c | 2 +-
src/goabackend/goaowncloudprovider.c | 2 +-
src/goabackend/goautils.c | 2 +-
7 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/goabackend/goaewsclient.c b/src/goabackend/goaewsclient.c
index 7070d5d..0ed0a71 100644
--- a/src/goabackend/goaewsclient.c
+++ b/src/goabackend/goaewsclient.c
@@ -253,7 +253,7 @@ ews_client_autodiscover_response_cb (SoupSession *session, SoupMessage *msg, gpo
GOA_ERROR,
GOA_ERROR_FAILED, /* TODO: more specific */
/* Translators: the parameter is an XML element name. */
- _("Failed to find ‘%s’ element"), "Autodiscover");
+ _("Failed to find “%s” element"), "Autodiscover");
goto out;
}
@@ -268,7 +268,7 @@ ews_client_autodiscover_response_cb (SoupSession *session, SoupMessage *msg, gpo
GOA_ERROR,
GOA_ERROR_FAILED, /* TODO: more specific */
/* Translators: the parameter is an XML element name. */
- _("Failed to find ‘%s’ element"), "Response");
+ _("Failed to find “%s” element"), "Response");
goto out;
}
@@ -283,7 +283,7 @@ ews_client_autodiscover_response_cb (SoupSession *session, SoupMessage *msg, gpo
GOA_ERROR,
GOA_ERROR_FAILED, /* TODO: more specific */
/* Translators: the parameter is an XML element name. */
- _("Failed to find ‘%s’ element"), "Account");
+ _("Failed to find “%s” element"), "Account");
goto out;
}
diff --git a/src/goabackend/goaexchangeprovider.c b/src/goabackend/goaexchangeprovider.c
index 68f6d04..0addebc 100644
--- a/src/goabackend/goaexchangeprovider.c
+++ b/src/goabackend/goaexchangeprovider.c
@@ -268,7 +268,7 @@ ensure_credentials_sync (GoaProvider *provider,
* (eg., debarshi ray gmail com or rishi), and the
* (%s, %d) is the error domain and code.
*/
- _("Invalid password with username ‘%s’ (%s, %d): "),
+ _("Invalid password with username “%s” (%s, %d): "),
username,
g_quark_to_string ((*error)->domain),
(*error)->code);
diff --git a/src/goabackend/goaimapsmtpprovider.c b/src/goabackend/goaimapsmtpprovider.c
index 0d4d00f..5c24615 100644
--- a/src/goabackend/goaimapsmtpprovider.c
+++ b/src/goabackend/goaimapsmtpprovider.c
@@ -361,7 +361,7 @@ ensure_credentials_sync (GoaProvider *provider,
* username (eg., rishi), and the (%s, %d)
* is the error domain and code.
*/
- _("Invalid %s with username ‘%s’ (%s, %d): "),
+ _("Invalid %s with username “%s” (%s, %d): "),
"imap-password",
imap_username,
g_quark_to_string ((*error)->domain),
@@ -412,7 +412,7 @@ ensure_credentials_sync (GoaProvider *provider,
* username (eg., rishi), and the (%s, %d)
* is the error domain and code.
*/
- _("Invalid %s with username ‘%s’ (%s, %d): "),
+ _("Invalid %s with username “%s” (%s, %d): "),
"smtp-password",
smtp_username,
g_quark_to_string ((*error)->domain),
diff --git a/src/goabackend/goakerberosprovider.c b/src/goabackend/goakerberosprovider.c
index c4654a3..d9edc80 100644
--- a/src/goabackend/goakerberosprovider.c
+++ b/src/goabackend/goakerberosprovider.c
@@ -323,7 +323,7 @@ get_ticket_sync (GoaKerberosProvider *self,
g_set_error (error,
GOA_ERROR,
GOA_ERROR_NOT_AUTHORIZED,
- _("Could not find saved credentials for principal ‘%s’ in keyring"), identifier);
+ _("Could not find saved credentials for principal “%s” in keyring"), identifier);
goto out;
}
else if (credentials != NULL)
@@ -336,7 +336,7 @@ get_ticket_sync (GoaKerberosProvider *self,
g_set_error (error,
GOA_ERROR,
GOA_ERROR_NOT_AUTHORIZED,
- _("Did not find password for principal ‘%s’ in credentials"),
+ _("Did not find password for principal “%s” in credentials"),
identifier);
goto out;
}
diff --git a/src/goabackend/goalastfmprovider.c b/src/goabackend/goalastfmprovider.c
index 971149c..be3bba2 100644
--- a/src/goabackend/goalastfmprovider.c
+++ b/src/goabackend/goalastfmprovider.c
@@ -278,7 +278,7 @@ ensure_credentials_sync (GoaProvider *provider,
* (eg., debarshi ray gmail com or rishi), and the
* (%s, %d) is the error domain and code.
*/
- _("Invalid password with username ‘%s’ (%s, %d): "),
+ _("Invalid password with username “%s” (%s, %d): "),
username,
g_quark_to_string ((*error)->domain),
(*error)->code);
diff --git a/src/goabackend/goaowncloudprovider.c b/src/goabackend/goaowncloudprovider.c
index ab3de42..b4fbb08 100644
--- a/src/goabackend/goaowncloudprovider.c
+++ b/src/goabackend/goaowncloudprovider.c
@@ -311,7 +311,7 @@ ensure_credentials_sync (GoaProvider *provider,
* (eg., debarshi ray gmail com or rishi), and the
* (%s, %d) is the error domain and code.
*/
- _("Invalid password with username ‘%s’ (%s, %d): "),
+ _("Invalid password with username “%s” (%s, %d): "),
username,
g_quark_to_string ((*error)->domain),
(*error)->code);
diff --git a/src/goabackend/goautils.c b/src/goabackend/goautils.c
index 0688750..54f9c0d 100644
--- a/src/goabackend/goautils.c
+++ b/src/goabackend/goautils.c
@@ -966,7 +966,7 @@ goa_utils_get_credentials (GoaProvider *provider,
if (!g_variant_lookup (credentials, id, "s", &password))
{
g_set_error (error, GOA_ERROR, GOA_ERROR_FAILED, /* TODO: more specific */
- _("Did not find %s with identity ‘%s’ in credentials"),
+ _("Did not find %s with identity “%s” in credentials"),
id, username);
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]