Commit a2da4ddc authored by Piotr Drąg's avatar Piotr Drąg 😐 Committed by Matthias Clasen
parent 73317354
......@@ -50,9 +50,9 @@ static gboolean dummy;
const GOptionEntry _gdk_windowing_args[] = {
{ "sync", 0, 0, G_OPTION_ARG_NONE, &gdk_synchronize,
/* Description of --sync in --help output */ N_("Don't batch GDI requests"), NULL },
/* Description of --sync in --help output */ N_("Dont batch GDI requests"), NULL },
{ "no-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab,
/* Description of --no-wintab in --help output */ N_("Don't use the Wintab API for tablet support"), NULL },
/* Description of --no-wintab in --help output */ N_("Dont use the Wintab API for tablet support"), NULL },
{ "ignore-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab,
/* Description of --ignore-wintab in --help output */ N_("Same as --no-wintab"), NULL },
{ "use-wintab", 0, 0, G_OPTION_ARG_NONE, &dummy,
......
......@@ -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 (_("Cant 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 (_("Cant 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 (_("Cant 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 (_("Cant close stream"));
return 1;
}
......
......@@ -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 (_("Couldnt 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 (_("Cant 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 (_("Cant parse file: %s\n"), error->message);
exit (1);
}
......
......@@ -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;
}
......
......@@ -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,
......
......@@ -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);
......
......@@ -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_("Widgets default text"),
P_("The default text appearing when there are no applications"),
NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -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 frames child"),
TRUE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
......
......@@ -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, dont allow to enter strings other than the chosen ones"),
TRUE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
......
......@@ -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 dont know how much."),
-1, G_MAXINT, -1,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
......
......@@ -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);
......
......@@ -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));
......
......@@ -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 combos 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 boxs 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 boxs 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 popups width should be a "
"fixed width matching the allocated width "
"of the combo box"),
TRUE,
......
......@@ -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 thats 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 its empty and unfocused"),
NULL,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -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 expanders label"),
NULL,
GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT));
......
......@@ -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));
......
......@@ -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 frames label"),
NULL,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -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;
}
......
......@@ -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 labels mnemonic key is pressed"),
GTK_TYPE_WIDGET,
GTK_PARAM_READWRITE);
......
......@@ -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 dialogs primary and secondary labels"),
GTK_TYPE_WIDGET,
GTK_PARAM_READABLE));
......
......@@ -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 childs 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 childs 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 childs 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 childs tab should fill the allocated area"),
TRUE,
GTK_PARAM_READWRITE));
......
......@@ -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));
......
......@@ -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);
......
......@@ -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 adjustments 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 adjustments upper side"),
GTK_TYPE_SENSITIVITY_TYPE,
GTK_SENSITIVITY_AUTO,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -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;
}
......
......@@ -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);
......
......@@ -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;
......
......@@ -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);
......
......@@ -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));
......
......@@ -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 buttons nearest step increment"),
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
......
......@@ -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,