summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/encodesymbolic.c8
-rw-r--r--gtk/gtk-builder-tool.c6
-rw-r--r--gtk/gtk-launch.c8
-rw-r--r--gtk/gtkactionable.c2
-rw-r--r--gtk/gtkappchooserbutton.c2
-rw-r--r--gtk/gtkappchooserwidget.c2
-rw-r--r--gtk/gtkaspectframe.c2
-rw-r--r--gtk/gtkcellrenderercombo.c2
-rw-r--r--gtk/gtkcellrendererprogress.c2
-rw-r--r--gtk/gtkcellrenderertext.c4
-rw-r--r--gtk/gtkcheckmenuitem.c2
-rw-r--r--gtk/gtkcombobox.c8
-rw-r--r--gtk/gtkentry.c8
-rw-r--r--gtk/gtkexpander.c2
-rw-r--r--gtk/gtkfontchooser.c2
-rw-r--r--gtk/gtkframe.c2
-rw-r--r--gtk/gtkicontheme.c4
-rw-r--r--gtk/gtklabel.c2
-rw-r--r--gtk/gtkmessagedialog.c2
-rw-r--r--gtk/gtknotebook.c8
-rw-r--r--gtk/gtkpaned.c4
-rw-r--r--gtk/gtkplacessidebar.c8
-rw-r--r--gtk/gtkrange.c4
-rw-r--r--gtk/gtkrecentchooserdefault.c4
-rw-r--r--gtk/gtkrecentchoosermenu.c6
-rw-r--r--gtk/gtkrecentmanager.c16
-rw-r--r--gtk/gtksettings.c2
-rw-r--r--gtk/gtkshortcutsshortcut.c4
-rw-r--r--gtk/gtkspinbutton.c2
-rw-r--r--gtk/gtktextbufferserialize.c38
-rw-r--r--gtk/gtktexttag.c2
-rw-r--r--gtk/gtktogglebutton.c2
-rw-r--r--gtk/gtktoolbar.c2
-rw-r--r--gtk/gtkwidget.c2
-rw-r--r--gtk/gtkwindow.c6
-rw-r--r--gtk/updateiconcache.c6
36 files changed, 93 insertions, 93 deletions
diff --git a/gtk/encodesymbolic.c b/gtk/encodesymbolic.c
index e6d01dd5c2..3b24ca7dba 100644
--- a/gtk/encodesymbolic.c
+++ b/gtk/encodesymbolic.c
@@ -276,7 +276,7 @@ main (int argc, char **argv)
symbolic = make_symbolic_pixbuf (path, width, height, &error);
if (symbolic == NULL)
{
- g_printerr (_("Can't load file: %s\n"), error->message);
+ g_printerr (_("Can’t load file: %s\n"), error->message);
return 1;
}
@@ -304,19 +304,19 @@ main (int argc, char **argv)
NULL, &error);
if (out == NULL)
{
- g_printerr (_("Can't save file %s: %s\n"), pngpath, error->message);
+ g_printerr (_("Can’t save file %s: %s\n"), pngpath, error->message);
return 1;
}
if (!gdk_pixbuf_save_to_stream (symbolic, G_OUTPUT_STREAM (out), "png", NULL, &error, NULL))
{
- g_printerr (_("Can't save file %s: %s\n"), pngpath, error->message);
+ g_printerr (_("Can’t save file %s: %s\n"), pngpath, error->message);
return 1;
}
if (!g_output_stream_close (G_OUTPUT_STREAM (out), NULL, &error))
{
- g_printerr (_("Can't close stream"));
+ g_printerr (_("Can’t close stream"));
return 1;
}
diff --git a/gtk/gtk-builder-tool.c b/gtk/gtk-builder-tool.c
index 7c5eb18131..0a22d00213 100644
--- a/gtk/gtk-builder-tool.c
+++ b/gtk/gtk-builder-tool.c
@@ -133,7 +133,7 @@ value_is_default (MyParserData *data,
if (!gtk_builder_value_from_string (data->builder, pspec, value_string, &value, &error))
{
- g_printerr (_("Couldn't parse value for %s::%s: %s\n"), class_name, property_name, error->message);
+ g_printerr (_("Couldn’t parse value for %s::%s: %s\n"), class_name, property_name, error->message);
g_error_free (error);
ret = FALSE;
}
@@ -665,7 +665,7 @@ do_simplify (int *argc,
if (!g_file_get_contents (filenames[0], &buffer, NULL, &error))
{
- g_printerr (_("Can't load file: %s\n"), error->message);
+ g_printerr (_("Can’t load file: %s\n"), error->message);
exit (1);
}
@@ -686,7 +686,7 @@ do_simplify (int *argc,
context = g_markup_parse_context_new (&parser, G_MARKUP_TREAT_CDATA_AS_TEXT, &data, NULL);
if (!g_markup_parse_context_parse (context, buffer, -1, &error))
{
- g_printerr (_("Can't parse file: %s\n"), error->message);
+ g_printerr (_("Can’t parse file: %s\n"), error->message);
exit (1);
}
diff --git a/gtk/gtk-launch.c b/gtk/gtk-launch.c
index 4a2fcd389c..692fb941e5 100644
--- a/gtk/gtk-launch.c
+++ b/gtk/gtk-launch.c
@@ -70,8 +70,8 @@ main (int argc, char *argv[])
context =
/* Translators: this message will appear immediately after the */
- /* usage string - Usage: COMMAND [OPTION...] <THIS_MESSAGE> */
- g_option_context_new (_("APPLICATION [URI...] — launch an APPLICATION"));
+ /* usage string - Usage: COMMAND [OPTION…] <THIS_MESSAGE> */
+ g_option_context_new (_("APPLICATION [URI…] — launch an APPLICATION"));
/* Translators: this message will appear after the usage string */
/* and before the list of options. */
@@ -89,7 +89,7 @@ main (int argc, char *argv[])
{
g_printerr (_("Error parsing commandline options: %s\n"), error->message);
g_printerr ("\n");
- g_printerr (_("Try \"%s --help\" for more information."), g_get_prgname ());
+ g_printerr (_("Try “%s --help” for more information."), g_get_prgname ());
g_printerr ("\n");
g_error_free (error);
return 1;
@@ -110,7 +110,7 @@ main (int argc, char *argv[])
/* means the user is calling gtk-launch without any argument. */
g_printerr (_("%s: missing application name"), g_get_prgname ());
g_printerr ("\n");
- g_printerr (_("Try \"%s --help\" for more information."), g_get_prgname ());
+ g_printerr (_("Try “%s --help” for more information."), g_get_prgname ());
g_printerr ("\n");
return 1;
}
diff --git a/gtk/gtkactionable.c b/gtk/gtkactionable.c
index e12936a834..0d4d610a5c 100644
--- a/gtk/gtkactionable.c
+++ b/gtk/gtkactionable.c
@@ -69,7 +69,7 @@ gtk_actionable_default_init (GtkActionableInterface *iface)
{
g_object_interface_install_property (iface,
g_param_spec_string ("action-name", P_("Action name"),
- P_("The name of the associated action, like 'app.quit'"),
+ P_("The name of the associated action, like “app.quit”"),
NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_interface_install_property (iface,
diff --git a/gtk/gtkappchooserbutton.c b/gtk/gtkappchooserbutton.c
index c0af584a95..90838d1d83 100644
--- a/gtk/gtkappchooserbutton.c
+++ b/gtk/gtkappchooserbutton.c
@@ -615,7 +615,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
*/
properties[PROP_SHOW_DIALOG_ITEM] =
g_param_spec_boolean ("show-dialog-item",
- P_("Include an 'Other…' item"),
+ P_("Include an “Other…” item"),
P_("Whether the combobox should include an item that triggers a GtkAppChooserDialog"),
FALSE,
G_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index 9a4103a8fc..8b07134d86 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -1031,7 +1031,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
* See also gtk_app_chooser_widget_set_default_text().
*/
pspec = g_param_spec_string ("default-text",
- P_("Widget's default text"),
+ P_("Widget’s default text"),
P_("The default text appearing when there are no applications"),
NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c
index 07b8f809f6..733a1952cc 100644
--- a/gtk/gtkaspectframe.c
+++ b/gtk/gtkaspectframe.c
@@ -130,7 +130,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
PROP_OBEY_CHILD,
g_param_spec_boolean ("obey-child",
P_("Obey child"),
- P_("Force aspect ratio to match that of the frame's child"),
+ P_("Force aspect ratio to match that of the frame’s child"),
TRUE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
diff --git a/gtk/gtkcellrenderercombo.c b/gtk/gtkcellrenderercombo.c
index c79570b57a..14bc99fb21 100644
--- a/gtk/gtkcellrenderercombo.c
+++ b/gtk/gtkcellrenderercombo.c
@@ -165,7 +165,7 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass)
PROP_HAS_ENTRY,
g_param_spec_boolean ("has-entry",
P_("Has Entry"),
- P_("If FALSE, don't allow to enter strings other than the chosen ones"),
+ P_("If FALSE, don’t allow to enter strings other than the chosen ones"),
TRUE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
diff --git a/gtk/gtkcellrendererprogress.c b/gtk/gtkcellrendererprogress.c
index 2a925d3156..24a6665d9f 100644
--- a/gtk/gtkcellrendererprogress.c
+++ b/gtk/gtkcellrendererprogress.c
@@ -178,7 +178,7 @@ gtk_cell_renderer_progress_class_init (GtkCellRendererProgressClass *klass)
PROP_PULSE,
g_param_spec_int ("pulse",
P_("Pulse"),
- P_("Set this to positive values to indicate that some progress is made, but you don't know how much."),
+ P_("Set this to positive values to indicate that some progress is made, but you don’t know how much."),
-1, G_MAXINT, -1,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c
index 4070fdae9b..f5c5eb79d9 100644
--- a/gtk/gtkcellrenderertext.c
+++ b/gtk/gtkcellrenderertext.c
@@ -328,7 +328,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
text_cell_renderer_props[PROP_FONT] =
g_param_spec_string ("font",
P_("Font"),
- P_("Font description as a string, e.g. \"Sans Italic 12\""),
+ P_("Font description as a string, e.g. “Sans Italic 12”"),
NULL,
GTK_PARAM_READWRITE);
@@ -431,7 +431,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
P_("Language"),
P_("The language this text is in, as an ISO code. "
"Pango can use this as a hint when rendering the text. "
- "If you don't understand this parameter, you probably don't need it"),
+ "If you don’t understand this parameter, you probably don’t need it"),
NULL,
GTK_PARAM_READWRITE);
diff --git a/gtk/gtkcheckmenuitem.c b/gtk/gtkcheckmenuitem.c
index c45084e428..2cb356a4ad 100644
--- a/gtk/gtkcheckmenuitem.c
+++ b/gtk/gtkcheckmenuitem.c
@@ -201,7 +201,7 @@ gtk_check_menu_item_class_init (GtkCheckMenuItemClass *klass)
PROP_INCONSISTENT,
g_param_spec_boolean ("inconsistent",
P_("Inconsistent"),
- P_("Whether to display an \"inconsistent\" state"),
+ P_("Whether to display an “inconsistent” state"),
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index fdf975afac..6ed4360ab0 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -906,7 +906,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
PROP_POPUP_SHOWN,
g_param_spec_boolean ("popup-shown",
P_("Popup shown"),
- P_("Whether the combo's dropdown is shown"),
+ P_("Whether the combo’s dropdown is shown"),
FALSE,
GTK_PARAM_READABLE));
@@ -955,7 +955,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
PROP_ENTRY_TEXT_COLUMN,
g_param_spec_int ("entry-text-column",
P_("Entry Text Column"),
- P_("The column in the combo box's model to associate "
+ P_("The column in the combo box’s model to associate "
"with strings from the entry if the combo was "
"created with #GtkComboBox:has-entry = %TRUE"),
-1, G_MAXINT, -1,
@@ -973,7 +973,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
PROP_ID_COLUMN,
g_param_spec_int ("id-column",
P_("ID Column"),
- P_("The column in the combo box's model that provides "
+ P_("The column in the combo box’s model that provides "
"string IDs for the values in the model"),
-1, G_MAXINT, -1,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -1006,7 +1006,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
PROP_POPUP_FIXED_WIDTH,
g_param_spec_boolean ("popup-fixed-width",
P_("Popup Fixed Width"),
- P_("Whether the popup's width should be a "
+ P_("Whether the popup’s width should be a "
"fixed width matching the allocated width "
"of the combo box"),
TRUE,
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index dafb25e337..add81408dc 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -836,7 +836,7 @@ gtk_entry_class_init (GtkEntryClass *class)
entry_props[PROP_VISIBILITY] =
g_param_spec_boolean ("visibility",
P_("Visibility"),
- P_("FALSE displays the \"invisible char\" instead of the actual text (password mode)"),
+ P_("FALSE displays the “invisible char” instead of the actual text (password mode)"),
TRUE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -850,7 +850,7 @@ gtk_entry_class_init (GtkEntryClass *class)
entry_props[PROP_INVISIBLE_CHAR] =
g_param_spec_unichar ("invisible-char",
P_("Invisible character"),
- P_("The character to use when masking entry contents (in \"password mode\")"),
+ P_("The character to use when masking entry contents (in “password mode”)"),
'*',
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1002,7 +1002,7 @@ gtk_entry_class_init (GtkEntryClass *class)
entry_props[PROP_PROGRESS_FRACTION] =
g_param_spec_double ("progress-fraction",
P_("Progress Fraction"),
- P_("The current fraction of the task that's been completed"),
+ P_("The current fraction of the task that’s been completed"),
0.0, 1.0,
0.0,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1034,7 +1034,7 @@ gtk_entry_class_init (GtkEntryClass *class)
entry_props[PROP_PLACEHOLDER_TEXT] =
g_param_spec_string ("placeholder-text",
P_("Placeholder text"),
- P_("Show text in the entry when it's empty and unfocused"),
+ P_("Show text in the entry when it’s empty and unfocused"),
NULL,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index ecadd028de..45286a19ca 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -291,7 +291,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
PROP_LABEL,
g_param_spec_string ("label",
P_("Label"),
- P_("Text of the expander's label"),
+ P_("Text of the expander’s label"),
NULL,
GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT));
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c
index 6a14da26e1..4502a93f9a 100644
--- a/gtk/gtkfontchooser.c
+++ b/gtk/gtkfontchooser.c
@@ -62,7 +62,7 @@ gtk_font_chooser_default_init (GtkFontChooserInterface *iface)
(iface,
g_param_spec_string ("font",
P_("Font"),
- P_("Font description as a string, e.g. \"Sans Italic 12\""),
+ P_("Font description as a string, e.g. “Sans Italic 12”"),
GTK_FONT_CHOOSER_DEFAULT_FONT_NAME,
GTK_PARAM_READWRITE));
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 54578cfeeb..86e07674f8 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -194,7 +194,7 @@ gtk_frame_class_init (GtkFrameClass *class)
frame_props[PROP_LABEL] =
g_param_spec_string ("label",
P_("Label"),
- P_("Text of the frame's label"),
+ P_("Text of the frame’s label"),
NULL,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 1d8dd57da1..8b12c02eab 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -2301,7 +2301,7 @@ gtk_icon_theme_load_icon_for_scale (GtkIconTheme *icon_theme,
if (!icon_info)
{
g_set_error (error, GTK_ICON_THEME_ERROR, GTK_ICON_THEME_NOT_FOUND,
- _("Icon '%s' not present in theme %s"), icon_name, icon_theme->priv->current_theme);
+ _("Icon “%s” not present in theme %s"), icon_name, icon_theme->priv->current_theme);
return NULL;
}
@@ -2365,7 +2365,7 @@ gtk_icon_theme_load_surface (GtkIconTheme *icon_theme,
if (!icon_info)
{
g_set_error (error, GTK_ICON_THEME_ERROR, GTK_ICON_THEME_NOT_FOUND,
- _("Icon '%s' not present in theme %s"), icon_name, icon_theme->priv->current_theme);
+ _("Icon “%s” not present in theme %s"), icon_name, icon_theme->priv->current_theme);
return NULL;
}
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 42dac23e26..def71826d2 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -898,7 +898,7 @@ gtk_label_class_init (GtkLabelClass *class)
label_props[PROP_MNEMONIC_WIDGET] =
g_param_spec_object ("mnemonic-widget",
P_("Mnemonic widget"),
- P_("The widget to be activated when the label's mnemonic key is pressed"),
+ P_("The widget to be activated when the label’s mnemonic key is pressed"),
GTK_TYPE_WIDGET,
GTK_PARAM_READWRITE);
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index c90056fd37..1cd9959f83 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -263,7 +263,7 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
PROP_MESSAGE_AREA,
g_param_spec_object ("message-area",
P_("Message area"),
- P_("GtkBox that holds the dialog's primary and secondary labels"),
+ P_("GtkBox that holds the dialog’s primary and secondary labels"),
GTK_TYPE_WIDGET,
GTK_PARAM_READABLE));
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 31fed44ea0..9887a64ca2 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -819,14 +819,14 @@ gtk_notebook_class_init (GtkNotebookClass *class)
CHILD_PROP_TAB_LABEL,
g_param_spec_string ("tab-label",
P_("Tab label"),
- P_("The string displayed on the child's tab label"),
+ P_("The string displayed on the child’s tab label"),
NULL,
GTK_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_MENU_LABEL,
g_param_spec_string ("menu-label",
P_("Menu label"),
- P_("The string displayed in the child's menu entry"),
+ P_("The string displayed in the child’s menu entry"),
NULL,
GTK_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
@@ -840,14 +840,14 @@ gtk_notebook_class_init (GtkNotebookClass *class)
CHILD_PROP_TAB_EXPAND,
g_param_spec_boolean ("tab-expand",
P_("Tab expand"),
- P_("Whether to expand the child's tab"),
+ P_("Whether to expand the child’s tab"),
FALSE,
GTK_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_FILL,
g_param_spec_boolean ("tab-fill",
P_("Tab fill"),
- P_("Whether the child's tab should fill the allocated area"),
+ P_("Whether the child’s tab should fill the allocated area"),
TRUE,
GTK_PARAM_READWRITE));
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 1fadaf578f..b31fe0b7e7 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -376,7 +376,7 @@ gtk_paned_class_init (GtkPanedClass *class)
PROP_MIN_POSITION,
g_param_spec_int ("min-position",
P_("Minimal Position"),
- P_("Smallest possible value for the \"position\" property"),
+ P_("Smallest possible value for the “position” property"),
0, G_MAXINT, 0,
GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY));
@@ -393,7 +393,7 @@ gtk_paned_class_init (GtkPanedClass *class)
PROP_MAX_POSITION,
g_param_spec_int ("max-position",
P_("Maximal Position"),
- P_("Largest possible value for the \"position\" property"),
+ P_("Largest possible value for the “position” property"),
0, G_MAXINT, G_MAXINT,
GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY));
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 46c65812b3..e89634f56a 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -4373,13 +4373,13 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
G_PARAM_READWRITE);
properties[PROP_SHOW_DESKTOP] =
g_param_spec_boolean ("show-desktop",
- P_("Show 'Desktop'"),
+ P_("Show “Desktop”"),
P_("Whether the sidebar includes a builtin shortcut to the Desktop folder"),
TRUE,
G_PARAM_READWRITE);
properties[PROP_SHOW_ENTER_LOCATION] =
g_param_spec_boolean ("show-enter-location",
- P_("Show 'Enter Location'"),
+ P_("Show “Enter Location”"),
P_("Whether the sidebar includes a builtin shortcut to manually enter a location"),
FALSE,
G_PARAM_READWRITE);
@@ -4391,13 +4391,13 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
G_PARAM_READWRITE);
properties[PROP_SHOW_TRASH] =
g_param_spec_boolean ("show-trash",
- P_("Show 'Trash'"),
+ P_("Show “Trash”"),
P_("Whether the sidebar includes a builtin shortcut to the Trash location"),
TRUE,
G_PARAM_READWRITE);
properties[PROP_SHOW_OTHER_LOCATIONS] =
g_param_spec_boolean ("show-other-locations",
- P_("Show 'Other locations'"),
+ P_("Show “Other locations”"),
P_("Whether the sidebar includes an item to show external locations"),
FALSE,
G_PARAM_READWRITE);
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index a7658e25b9..5c16fa5015 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -445,7 +445,7 @@ gtk_range_class_init (GtkRangeClass *class)
properties[PROP_LOWER_STEPPER_SENSITIVITY] =
g_param_spec_enum ("lower-stepper-sensitivity",
P_("Lower stepper sensitivity"),
- P_("The sensitivity policy for the stepper that points to the adjustment's lower side"),
+ P_("The sensitivity policy for the stepper that points to the adjustment’s lower side"),
GTK_TYPE_SENSITIVITY_TYPE,
GTK_SENSITIVITY_AUTO,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -453,7 +453,7 @@ gtk_range_class_init (GtkRangeClass *class)
properties[PROP_UPPER_STEPPER_SENSITIVITY] =
g_param_spec_enum ("upper-stepper-sensitivity",
P_("Upper stepper sensitivity"),
- P_("The sensitivity policy for the stepper that points to the adjustment's upper side"),
+ P_("The sensitivity policy for the stepper that points to the adjustment’s upper side"),
GTK_TYPE_SENSITIVITY_TYPE,
GTK_SENSITIVITY_AUTO,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c
index 02341c0d0d..1e1a3f6871 100644
--- a/gtk/gtkrecentchooserdefault.c
+++ b/gtk/gtkrecentchooserdefault.c
@@ -1023,7 +1023,7 @@ gtk_recent_chooser_default_set_current_uri (GtkRecentChooser *chooser,
g_set_error (error, GTK_RECENT_CHOOSER_ERROR,
GTK_RECENT_CHOOSER_ERROR_NOT_FOUND,
- _("No item for URI '%s' found"),
+ _("No item for URI “%s” found"),
uri);
return FALSE;
}
@@ -1060,7 +1060,7 @@ gtk_recent_chooser_default_select_uri (GtkRecentChooser *chooser,
g_set_error (error, GTK_RECENT_CHOOSER_ERROR,
GTK_RECENT_CHOOSER_ERROR_NOT_FOUND,
- _("No item for URI '%s' found"),
+ _("No item for URI “%s” found"),
uri);
return FALSE;
}
diff --git a/gtk/gtkrecentchoosermenu.c b/gtk/gtkrecentchoosermenu.c
index 5a5b1a6849..82f59be4d8 100644
--- a/gtk/gtkrecentchoosermenu.c
+++ b/gtk/gtkrecentchoosermenu.c
@@ -492,7 +492,7 @@ gtk_recent_chooser_menu_set_current_uri (GtkRecentChooser *chooser,
{
g_set_error (error, GTK_RECENT_CHOOSER_ERROR,
GTK_RECENT_CHOOSER_ERROR_NOT_FOUND,
- _("No recently used resource found with URI '%s'"),
+ _("No recently used resource found with URI “%s”"),
uri);
}
@@ -548,7 +548,7 @@ gtk_recent_chooser_menu_select_uri (GtkRecentChooser *chooser,
{
g_set_error (error, GTK_RECENT_CHOOSER_ERROR,
GTK_RECENT_CHOOSER_ERROR_NOT_FOUND,
- _("No recently used resource found with URI '%s'"),
+ _("No recently used resource found with URI “%s”"),
uri);
return FALSE;
}
@@ -747,7 +747,7 @@ gtk_recent_chooser_menu_add_tip (GtkRecentChooserMenu *menu,
path = gtk_recent_info_get_uri_display (info);
if (path)
{
- gchar *tip_text = g_strdup_printf (_("Open '%s'"), path);
+ gchar *tip_text = g_strdup_printf (_("Open “%s”"), path);
gtk_widget_set_tooltip_text (item, tip_text);
gtk_widget_set_has_tooltip (item, priv->show_tips);
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c
index f2dd510c5d..70077fba45 100644
--- a/gtk/gtkrecentmanager.c
+++ b/gtk/gtkrecentmanager.c
@@ -1050,7 +1050,7 @@ gtk_recent_manager_remove_item (GtkRecentManager *manager,
g_set_error (error, GTK_RECENT_MANAGER_ERROR,
GTK_RECENT_MANAGER_ERROR_NOT_FOUND,
- _("Unable to find an item with URI '%s'"),
+ _("Unable to find an item with URI “%s”"),
uri);
return FALSE;
@@ -1063,7 +1063,7 @@ gtk_recent_manager_remove_item (GtkRecentManager *manager,
g_set_error (error, GTK_RECENT_MANAGER_ERROR,
GTK_RECENT_MANAGER_ERROR_NOT_FOUND,
- _("Unable to find an item with URI '%s'"),
+ _("Unable to find an item with URI “%s”"),
uri);
return FALSE;
@@ -1200,7 +1200,7 @@ gtk_recent_manager_lookup_item (GtkRecentManager *manager,
g_set_error (error, GTK_RECENT_MANAGER_ERROR,
GTK_RECENT_MANAGER_ERROR_NOT_FOUND,
- _("Unable to find an item with URI '%s'"),
+ _("Unable to find an item with URI “%s”"),
uri);
return NULL;
@@ -1210,7 +1210,7 @@ gtk_recent_manager_lookup_item (GtkRecentManager *manager,
{
g_set_error (error, GTK_RECENT_MANAGER_ERROR,
GTK_RECENT_MANAGER_ERROR_NOT_FOUND,
- _("Unable to find an item with URI '%s'"),
+ _("Unable to find an item with URI “%s”"),
uri);
return NULL;
}
@@ -1262,7 +1262,7 @@ gtk_recent_manager_move_item (GtkRecentManager *recent_manager,
{
g_set_error (error, GTK_RECENT_MANAGER_ERROR,
GTK_RECENT_MANAGER_ERROR_NOT_FOUND,
- _("Unable to find an item with URI '%s'"),
+ _("Unable to find an item with URI “%s”"),
uri);
return FALSE;
}
@@ -1271,7 +1271,7 @@ gtk_recent_manager_move_item (GtkRecentManager *recent_manager,
{
g_set_error (error, GTK_RECENT_MANAGER_ERROR,
GTK_RECENT_MANAGER_ERROR_NOT_FOUND,
- _("Unable to find an item with URI '%s'"),
+ _("Unable to find an item with URI “%s”"),
uri);
return FALSE;
}
@@ -1286,7 +1286,7 @@ gtk_recent_manager_move_item (GtkRecentManager *recent_manager,
g_set_error (error, GTK_RECENT_MANAGER_ERROR,
GTK_RECENT_MANAGER_ERROR_UNKNOWN,
- _("Unable to move the item with URI '%s' to '%s'"),
+ _("Unable to move the item with URI “%s” to “%s”"),
uri, new_uri);
return FALSE;
}
@@ -2504,7 +2504,7 @@ gtk_recent_info_create_app_info (GtkRecentInfo *info,
{
g_set_error (error, GTK_RECENT_MANAGER_ERROR,
GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED,
- _("No registered application with name '%s' for item with URI '%s' found"),
+ _("No registered application with name “%s” for item with URI “%s” found"),
app_name,
info->uri);
return NULL;
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 6b47ee6a8c..76116051db 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1013,7 +1013,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
result = settings_install_property_parser (class,
g_param_spec_boolean ("gtk-enable-primary-paste",
P_("Enable primary paste"),
- P_("Whether a middle click on a mouse should paste the 'PRIMARY' clipboard content at the cursor location."),
+ P_("Whether a middle click on a mouse should paste the “PRIMARY” clipboard content at the cursor location."),
TRUE,
GTK_PARAM_READWRITE),
NULL);
diff --git a/gtk/gtkshortcutsshortcut.c b/gtk/gtkshortcutsshortcut.c
index 669b8a759d..93e28ecb93 100644
--- a/gtk/gtkshortcutsshortcut.c
+++ b/gtk/gtkshortcutsshortcut.c
@@ -550,7 +550,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
properties[PROP_ACCELERATOR] =
g_param_spec_string ("accelerator",
P_("Accelerator"),
- P_("The accelerator keys for shortcuts of type 'Accelerator'"),
+ P_("The accelerator keys for shortcuts of type “Accelerator”"),
NULL,
(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
@@ -564,7 +564,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
properties[PROP_ICON] =
g_param_spec_object ("icon",
P_("Icon"),
- P_("The icon to show for shortcuts of type 'Other Gesture'"),
+ P_("The icon to show for shortcuts of type “Other Gesture”"),
G_TYPE_ICON,
(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index 954e1def78..1ca10823fd 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -389,7 +389,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
PROP_SNAP_TO_TICKS,
g_param_spec_boolean ("snap-to-ticks",
P_("Snap to Ticks"),
- P_("Whether erroneous values are automatically changed to a spin button's nearest step increment"),
+ P_("Whether erroneous values are automatically changed to a spin button’s nearest step increment"),
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
diff --git a/gtk/gtktextbufferserialize.c b/gtk/gtktextbufferserialize.c
index 49ce9b8905..45ea75ccba 100644
--- a/gtk/gtktextbufferserialize.c
+++ b/gtk/gtktextbufferserialize.c
@@ -706,7 +706,7 @@ check_id_or_name (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR,
G_MARKUP_ERROR_PARSE,
- _("Both \"id\" and \"name\" were found on the <%s> element"),
+ _("Both “id” and “name” were found on the <%s> element"),
element_name);
return FALSE;
}
@@ -716,7 +716,7 @@ check_id_or_name (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR,
G_MARKUP_ERROR_PARSE,
- _("The attribute \"%s\" was found twice on the <%s> element"),
+ _("The attribute “%s” was found twice on the <%s> element"),
"name", element_name);
return FALSE;
}
@@ -732,7 +732,7 @@ check_id_or_name (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR,
G_MARKUP_ERROR_PARSE,
- _("Both \"id\" and \"name\" were found on the <%s> element"),
+ _("Both “id” and “name” were found on the <%s> element"),
element_name);
return FALSE;
}
@@ -742,7 +742,7 @@ check_id_or_name (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR,
G_MARKUP_ERROR_PARSE,
- _("The attribute \"%s\" was found twice on the <%s> element"),
+ _("The attribute “%s” was found twice on the <%s> element"),
"id", element_name);
return FALSE;
}
@@ -758,7 +758,7 @@ check_id_or_name (GMarkupParseContext *context,
{
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("<%s> element has invalid ID \"%s\""), element_name, attribute_values[i]);
+ _("<%s> element has invalid ID “%s”"), element_name, attribute_values[i]);
return FALSE;
}
}
@@ -768,7 +768,7 @@ check_id_or_name (GMarkupParseContext *context,
{
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("<%s> element has neither a \"name\" nor an \"id\" attribute"), element_name);
+ _("<%s> element has neither a “name” nor an “id” attribute"), element_name);
return FALSE;
}
@@ -855,7 +855,7 @@ locate_attributes (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR,
G_MARKUP_ERROR_PARSE,
- _("Attribute \"%s\" repeated twice on the same <%s> element"),
+ _("Attribute “%s” repeated twice on the same <%s> element"),
attrs[j].name, element_name);
retval = FALSE;
goto out;
@@ -873,7 +873,7 @@ locate_attributes (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR,
G_MARKUP_ERROR_PARSE,
- _("Attribute \"%s\" is invalid on <%s> element in this context"),
+ _("Attribute “%s” is invalid on <%s> element in this context"),
attribute_names[i], element_name);
retval = FALSE;
goto out;
@@ -898,7 +898,7 @@ check_no_attributes (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR,
G_MARKUP_ERROR_PARSE,
- _("Attribute \"%s\" is invalid on <%s> element in this context"),
+ _("Attribute “%s” is invalid on <%s> element in this context"),
attribute_names[0], element_name);
return FALSE;
}
@@ -937,7 +937,7 @@ tag_exists (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("Tag \"%s\" has not been defined."), name);
+ _("Tag “%s” has not been defined."), name);
return NULL;
}
@@ -960,7 +960,7 @@ tag_exists (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("Tag \"%s\" does not exist in buffer and tags can not be created."), name);
+ _("Tag “%s” does not exist in buffer and tags can not be created."), name);
return NULL;
}
@@ -1092,7 +1092,7 @@ parse_attr_element (GMarkupParseContext *context,
{
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("\"%s\" is not a valid attribute type"), type);
+ _("“%s” is not a valid attribute type"), type);
return;
}
@@ -1100,7 +1100,7 @@ parse_attr_element (GMarkupParseContext *context,
{
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("\"%s\" is not a valid attribute name"), name);
+ _("“%s” is not a valid attribute name"), name);
return;
}
@@ -1110,7 +1110,7 @@ parse_attr_element (GMarkupParseContext *context,
{
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("\"%s\" could not be converted to a value of type \"%s\" for attribute \"%s\""),
+ _("“%s” could not be converted to a value of type “%s” for attribute “%s”"),
value, type, name);
return;
}
@@ -1119,7 +1119,7 @@ parse_attr_element (GMarkupParseContext *context,
{
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("\"%s\" is not a valid value for attribute \"%s\""),
+ _("“%s” is not a valid value for attribute “%s”"),
value, name);
g_value_unset (&gvalue);
return;
@@ -1204,7 +1204,7 @@ parse_tag_element (GMarkupParseContext *context,
{
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("Tag \"%s\" already defined"), name);
+ _("Tag “%s” already defined"), name);
return;
}
}
@@ -1217,7 +1217,7 @@ parse_tag_element (GMarkupParseContext *context,
{
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("Tag \"%s\" has invalid priority \"%s\""), name, priority);
+ _("Tag “%s” has invalid priority “%s”"), name, priority);
return;
}
@@ -1301,7 +1301,7 @@ start_element_handler (GMarkupParseContext *context,
else if (!info->parsed_tags)
{
set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("A <text> element can't occur before a <tags> element"));
+ _("A <text> element can’t occur before a <tags> element"));
return;
}
@@ -1786,7 +1786,7 @@ _gtk_text_buffer_deserialize_rich_text (GtkTextBuffer *register_buffer,
g_set_error_literal (error,
G_MARKUP_ERROR,
G_MARKUP_ERROR_PARSE,
- _("Serialized data is malformed. First section isn't GTKTEXTBUFFERCONTENTS-0001"));
+ _("Serialized data is malformed. First section isn’t GTKTEXTBUFFERCONTENTS-0001"));
retval = FALSE;
goto out;
diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c
index 63d8c06cde..6dab6d754c 100644
--- a/gtk/gtktexttag.c
+++ b/gtk/gtktexttag.c
@@ -288,7 +288,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
PROP_FONT,
g_param_spec_string ("font",
P_("Font"),
- P_("Font description as a string, e.g. \"Sans Italic 12\""),
+ P_("Font description as a string, e.g. “Sans Italic 12”"),
NULL,
GTK_PARAM_READWRITE));
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c
index 0cf9cf547a..cb6394c46d 100644
--- a/gtk/gtktogglebutton.c
+++ b/gtk/gtktogglebutton.c
@@ -171,7 +171,7 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
toggle_button_props[PROP_INCONSISTENT] =
g_param_spec_boolean ("inconsistent",
P_("Inconsistent"),
- P_("If the toggle button is in an \"in between\" state"),
+ P_("If the toggle button is in an “in between” state"),
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index 069f3e528e..5d5995ff1c 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -534,7 +534,7 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
PROP_SHOW_ARROW,
g_param_spec_boolean ("show-arrow",
P_("Show Arrow"),
- P_("If an arrow should be shown if the toolbar doesn't fit"),
+ P_("If an arrow should be shown if the toolbar doesn’t fit"),
TRUE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index b9466dc734..cd32ff7283 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -1258,7 +1258,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
widget_props[PROP_WINDOW] =
g_param_spec_object ("window",
P_("Window"),
- P_("The widget's window if it is realized"),
+ P_("The widget’s window if it is realized"),
GDK_TYPE_WINDOW,
GTK_PARAM_READABLE);
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index c6600c2574..536994a5a1 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -883,7 +883,7 @@ gtk_window_class_init (GtkWindowClass *klass)
window_props[PROP_HIDE_TITLEBAR_WHEN_MAXIMIZED] =
g_param_spec_boolean ("hide-titlebar-when-maximized",
P_("Hide the titlebar during maximization"),
- P_("If this window's titlebar should be hidden when the window is maximized"),
+ P_("If this window’s titlebar should be hidden when the window is maximized"),
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -989,7 +989,7 @@ gtk_window_class_init (GtkWindowClass *klass)
window_props[PROP_URGENCY_HINT] =
g_param_spec_boolean ("urgency-hint",
P_("Urgent"),
- P_("TRUE if the window should be brought to the user's attention."),
+ P_("TRUE if the window should be brought to the user’s attention."),
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -11351,7 +11351,7 @@ gtk_window_set_debugging (gboolean enable,
"application to break or crash."));
area = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog));
- check = gtk_check_button_new_with_label (_("Don't show this message again"));
+ check = gtk_check_button_new_with_label (_("Don’t show this message again"));
gtk_widget_set_margin_start (check, 10);
gtk_widget_show (check);
gtk_container_add (GTK_CONTAINER (area), check);
diff --git a/gtk/updateiconcache.c b/gtk/updateiconcache.c
index bf7262b74e..1bcbbe2271 100644
--- a/gtk/updateiconcache.c
+++ b/gtk/updateiconcache.c
@@ -1654,8 +1654,8 @@ write_csource (const gchar *path)
static GOptionEntry args[] = {
{ "force", 'f', 0, G_OPTION_ARG_NONE, &force_update, N_("Overwrite an existing cache, even if up to date"), NULL },
- { "ignore-theme-index", 't', 0, G_OPTION_ARG_NONE, &ignore_theme_index, N_("Don't check for the existence of index.theme"), NULL },
- { "index-only", 'i', 0, G_OPTION_ARG_NONE, &index_only, N_("Don't include image data in the cache"), NULL },
+ { "ignore-theme-index", 't', 0, G_OPTION_ARG_NONE, &ignore_theme_index, N_("Don’t check for the existence of index.theme"), NULL },
+ { "index-only", 'i', 0, G_OPTION_ARG_NONE, &index_only, N_("Don’t include image data in the cache"), NULL },
{ "include-image-data", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &index_only, N_("Include image data in the cache"), NULL },
{ "source", 'c', 0, G_OPTION_ARG_STRING, &var_name, N_("Output a C header file"), "NAME" },
{ "quiet", 'q', 0, G_OPTION_ARG_NONE, &quiet, N_("Turn off verbose output"), NULL },
@@ -1749,7 +1749,7 @@ main (int argc, char **argv)
}
else
{
- g_printerr (_("No theme index file in '%s'.\n"
+ g_printerr (_("No theme index file in “%s”.\n"
"If you really want to create an icon cache here, use --ignore-theme-index.\n"), path);
}