[gtk+] Use proper quotation marks
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Use proper quotation marks
- Date: Thu, 18 Jul 2013 02:42:17 +0000 (UTC)
commit 2378bff415a239f4627dec1a5a58120d6c53ddfc
Author: William Jon McCann <william jon mccann gmail com>
Date: Wed Jul 17 22:37:50 2013 -0400
Use proper quotation marks
As per https://wiki.gnome.org/GnomeOS/Design/Whiteboards/Typography
gtk/gtkappchooserdialog.c | 8 ++++----
gtk/gtkappchooserwidget.c | 2 +-
gtk/gtkfilechooserdefault.c | 4 ++--
gtk/gtkprintunixdialog.c | 4 ++--
4 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtkappchooserdialog.c b/gtk/gtkappchooserdialog.c
index 29b1627..bb0ffc9 100644
--- a/gtk/gtkappchooserdialog.c
+++ b/gtk/gtkappchooserdialog.c
@@ -331,16 +331,16 @@ set_dialog_properties (GtkAppChooserDialog *self)
if (name != NULL)
{
/* Translators: %s is a filename */
- label = g_strdup_printf (_("Select an application to open \"%s\""), name);
- string = g_strdup_printf (_("No applications available to open \"%s\""),
+ label = g_strdup_printf (_("Select an application to open “%s”"), name);
+ string = g_strdup_printf (_("No applications available to open “%s”"),
name);
}
else
{
/* Translators: %s is a file type description */
- label = g_strdup_printf (_("Select an application for \"%s\" files"),
+ label = g_strdup_printf (_("Select an application for “%s” files"),
unknown ? self->priv->content_type : description);
- string = g_strdup_printf (_("No applications available to open \"%s\" files"),
+ string = g_strdup_printf (_("No applications available to open “%s” files"),
unknown ? self->priv->content_type : description);
}
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index 83cab70..10309be 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -657,7 +657,7 @@ add_no_applications_label (GtkAppChooserWidget *self)
if (self->priv->content_type)
desc = g_content_type_get_description (self->priv->content_type);
- string = text = g_strdup_printf (_("No applications available to open \"%s\""),
+ string = text = g_strdup_printf (_("No applications available to open “%s”"),
desc);
g_free (desc);
}
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 9d216c7..b25c0bc 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -5475,10 +5475,10 @@ confirm_dialog_should_accept_filename (GtkFileChooserDefault *impl,
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_NONE,
- _("A file named \"%s\" already exists. Do you want to replace it?"),
+ _("A file named “%s” already exists. Do you want to replace it?"),
file_part);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
- _("The file already exists in \"%s\". Replacing it will "
+ _("The file already exists in “%s”. Replacing it will "
"overwrite its contents."),
folder_display_name);
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index db0c559..cbf0e2f 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -673,11 +673,11 @@ error_dialogs (GtkPrintUnixDialog *print_dialog,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_NONE,
- _("A file named \"%s\" already exists. Do you want
to replace it?"),
+ _("A file named “%s” already exists. Do you want to
replace it?"),
basename);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
- _("The file already exists in \"%s\".
Replacing it will "
+ _("The file already exists in “%s”.
Replacing it will "
"overwrite its contents."),
dirname);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]