Commit dfa8fa42 authored by Piotr Drąg's avatar Piotr Drąg 😐
parent 0e0f230b
......@@ -33,12 +33,12 @@
<key name="use-default-font" type="b">
<default>true</default>
<summary>Use Default Font</summary>
<description>Whether to use the system's default fixed width font for editing text instead of a font specific to gedit. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font.</description>
<description>Whether to use the system’s default fixed width font for editing text instead of a font specific to gedit. If this option is turned off, then the font named in the “Editor Font” option will be used instead of the system font.</description>
</key>
<key name="editor-font" type="s">
<default l10n="messages">'Monospace 12'</default>
<summary>Editor Font</summary>
<description>A custom font that will be used for the editing area. This will only take effect if the "Use Default Font" option is turned off.</description>
<description>A custom font that will be used for the editing area. This will only take effect if the “Use Default Font” option is turned off.</description>
</key>
<key name="scheme" type="s">
<default>'classic'</default>
......@@ -53,17 +53,17 @@
<key name="auto-save" type="b">
<default>false</default>
<summary>Autosave</summary>
<description>Whether gedit should automatically save modified files after a time interval. You can set the time interval with the "Autosave Interval" option.</description>
<description>Whether gedit should automatically save modified files after a time interval. You can set the time interval with the “Autosave Interval” option.</description>
</key>
<key name="auto-save-interval" type="u">
<default>10</default>
<summary>Autosave Interval</summary>
<description>Number of minutes after which gedit will automatically save modified files. This will only take effect if the "Autosave" option is turned on.</description>
<description>Number of minutes after which gedit will automatically save modified files. This will only take effect if the “Autosave” option is turned on.</description>
</key>
<key name="max-undo-actions" type="i">
<default>2000</default>
<summary>Maximum Number of Undo Actions</summary>
<description>Maximum number of actions that gedit will be able to undo or redo. Use "-1" for unlimited number of actions.</description>
<description>Maximum number of actions that gedit will be able to undo or redo. Use “-1” for unlimited number of actions.</description>
</key>
<key name="wrap-mode" enum="org.gnome.gedit.WrapMode">
<aliases>
......@@ -73,7 +73,7 @@
</aliases>
<default>'word'</default>
<summary>Line Wrapping Mode</summary>
<description>Specifies how to wrap long lines in the editing area. Use "none" for no wrapping, "word" for wrapping at word boundaries, and "char" for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
<description>Specifies how to wrap long lines in the editing area. Use “none” for no wrapping, “word” for wrapping at word boundaries, and “char” for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
</key>
<key name="wrap-last-split-mode" enum="org.gnome.gedit.WrapMode">
<aliases>
......@@ -82,7 +82,7 @@
</aliases>
<default>'word'</default>
<summary>Last split mode choice for line wrapping mode</summary>
<description>Specifies the last split mode used with line wrapping mode, so that when wrapping mode is off we still remember the split mode choice. Use "word" for wrapping at word boundaries, and "char" for wrapping at individual character boundaries.</description>
<description>Specifies the last split mode used with line wrapping mode, so that when wrapping mode is off we still remember the split mode choice. Use “word” for wrapping at word boundaries, and “char” for wrapping at individual character boundaries.</description>
</key>
<key name="tabs-size" type="u">
<default>8</default>
......@@ -143,7 +143,7 @@
</aliases>
<default>'after'</default>
<summary>Smart Home End</summary>
<description>Specifies how the cursor moves when the HOME and END keys are pressed. Use "disabled" to always move at the start/end of the line, "after" to move to the start/end of the line the first time the keys are pressed and to the start/end of the text ignoring whitespaces the second time the keys are pressed, "before" to move to the start/end of the text before moving to the start/end of the line and "always" to always move to the start/end of the text instead of the start/end of the line.</description>
<description>Specifies how the cursor moves when the HOME and END keys are pressed. Use “disabled” to always move at the start/end of the line, “after” to move to the start/end of the line the first time the keys are pressed and to the start/end of the text ignoring whitespaces the second time the keys are pressed, “before” to move to the start/end of the text before moving to the start/end of the line and “always” to always move to the start/end of the text instead of the start/end of the line.</description>
</key>
<key name="restore-cursor-position" type="b">
<default>true</default>
......@@ -175,7 +175,7 @@
<key name="show-tabs-mode" enum="org.gnome.gedit.GeditNotebookShowTabsModeType">
<default>'auto'</default>
<summary>Notebook Show Tabs Mode</summary>
<description>Specifies when to show the notebook tabs. Use "never" to never show the tabs, "always" to always show the tabs, and "auto" to show the tabs only when there is more than one tab. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
<description>Specifies when to show the notebook tabs. Use “never” to never show the tabs, “always” to always show the tabs, and “auto” to show the tabs only when there is more than one tab. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
</key>
<key name="statusbar-visible" type="b">
<default>true</default>
......@@ -193,7 +193,7 @@
<key name="max-recents" type="u">
<default>5</default>
<summary>Maximum Recent Files</summary>
<description>Specifies the maximum number of recently opened files that will be displayed in the "Recent Files" submenu.</description>
<description>Specifies the maximum number of recently opened files that will be displayed in the “Recent Files” submenu.</description>
</key>
</schema>
<schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.gedit.preferences.print" path="/org/gnome/gedit/preferences/print/">
......@@ -215,7 +215,7 @@
</aliases>
<default>'word'</default>
<summary>Printing Line Wrapping Mode</summary>
<description>Specifies how to wrap long lines for printing. Use "none" for no wrapping, "word" for wrapping at word boundaries, and "char" for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
<description>Specifies how to wrap long lines for printing. Use “none” for no wrapping, “word” for wrapping at word boundaries, and “char” for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
</key>
<key name="print-line-numbers" type="u">
<default>0</default>
......@@ -225,17 +225,17 @@
<key name="print-font-body-pango" type="s">
<default l10n="messages">'Monospace 9'</default>
<summary>Body Font for Printing</summary>
<description>Specifies the font to use for a document's body when printing documents.</description>
<description>Specifies the font to use for a documents body when printing documents.</description>
</key>
<key name="print-font-header-pango" type="s">
<default l10n="messages">'Sans 11'</default>
<summary>Header Font for Printing</summary>
<description>Specifies the font to use for page headers when printing a document. This will only take effect if the "Print Header" option is turned on.</description>
<description>Specifies the font to use for page headers when printing a document. This will only take effect if the “Print Header” option is turned on.</description>
</key>
<key name="print-font-numbers-pango" type="s">
<default l10n="messages">'Sans 8'</default>
<summary>Line Number Font for Printing</summary>
<description>Specifies the font to use for line numbers when printing. This will only take effect if the "Print Line Numbers" option is non-zero.</description>
<description>Specifies the font to use for line numbers when printing. This will only take effect if the “Print Line Numbers” option is non-zero.</description>
</key>
<key name="margin-left" type="d">
<default>25</default>
......@@ -263,7 +263,7 @@
<default>['']</default>
<summary>Candidate Encodings</summary>
<description>List of candidate encodings shown in the Character Encoding menu in the open/save file chooser.
"CURRENT" represents the current locale encoding. Only recognized encodings are used.
“CURRENT” represents the current locale encoding. Only recognized encodings are used.
The default value is the empty list, in which case gedit will choose good defaults depending on the country and language.</description>
</key>
</schema>
......@@ -309,7 +309,7 @@
<key name="active-plugins" type="as">
<default>[@ACTIVE_PLUGINS@]</default>
<summary>Active plugins</summary>
<description>List of active plugins. It contains the "Location" of the active plugins. See the .gedit-plugin file for obtaining the "Location" of a given plugin.</description>
<description>List of active plugins. It contains the “Location” of the active plugins. See the .gedit-plugin file for obtaining the “Location” of a given plugin.</description>
</key>
</schema>
</schemalist>
......@@ -107,7 +107,7 @@ static const GOptionEntry options[] =
/* Version */
{
"version", 'V', 0, G_OPTION_ARG_NONE, NULL,
N_("Show the application's version"), NULL
N_("Show the applications version"), NULL
},
/* List available encodings */
......@@ -155,7 +155,7 @@ static const GOptionEntry options[] =
/* collects file arguments */
{
G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, NULL, NULL,
N_("[FILE...] [+LINE[:COLUMN]]")
N_("[FILE] [+LINE[:COLUMN]]")
},
{NULL}
......
......@@ -321,24 +321,24 @@ get_text_secondary_label (GeditDocument *doc)
if (seconds < 55)
{
secondary_msg = g_strdup_printf (
ngettext ("If you don't save, changes from the last %ld second "
ngettext ("If you dont save, changes from the last %ld second "
"will be permanently lost.",
"If you don't save, changes from the last %ld seconds "
"If you dont save, changes from the last %ld seconds "
"will be permanently lost.",
seconds),
seconds);
}
else if (seconds < 75) /* 55 <= seconds < 75 */
{
secondary_msg = g_strdup (_("If you don't save, changes from the last minute "
secondary_msg = g_strdup (_("If you dont save, changes from the last minute "
"will be permanently lost."));
}
else if (seconds < 110) /* 75 <= seconds < 110 */
{
secondary_msg = g_strdup_printf (
ngettext ("If you don't save, changes from the last minute and %ld "
ngettext ("If you dont save, changes from the last minute and %ld "
"second will be permanently lost.",
"If you don't save, changes from the last minute and %ld "
"If you dont save, changes from the last minute and %ld "
"seconds will be permanently lost.",
seconds - 60 ),
seconds - 60);
......@@ -346,9 +346,9 @@ get_text_secondary_label (GeditDocument *doc)
else if (seconds < 3600)
{
secondary_msg = g_strdup_printf (
ngettext ("If you don't save, changes from the last %ld minute "
ngettext ("If you dont save, changes from the last %ld minute "
"will be permanently lost.",
"If you don't save, changes from the last %ld minutes "
"If you dont save, changes from the last %ld minutes "
"will be permanently lost.",
seconds / 60),
seconds / 60);
......@@ -361,15 +361,15 @@ get_text_secondary_label (GeditDocument *doc)
minutes = seconds / 60;
if (minutes < 5)
{
secondary_msg = g_strdup (_("If you don't save, changes from the last hour "
secondary_msg = g_strdup (_("If you dont save, changes from the last hour "
"will be permanently lost."));
}
else
{
secondary_msg = g_strdup_printf (
ngettext ("If you don't save, changes from the last hour and %d "
ngettext ("If you dont save, changes from the last hour and %d "
"minute will be permanently lost.",
"If you don't save, changes from the last hour and %d "
"If you dont save, changes from the last hour and %d "
"minutes will be permanently lost.",
minutes),
minutes);
......@@ -382,9 +382,9 @@ get_text_secondary_label (GeditDocument *doc)
hours = seconds / 3600;
secondary_msg = g_strdup_printf (
ngettext ("If you don't save, changes from the last %d hour "
ngettext ("If you dont save, changes from the last %d hour "
"will be permanently lost.",
"If you don't save, changes from the last %d hours "
"If you dont save, changes from the last %d hours "
"will be permanently lost.",
hours),
hours);
......@@ -559,7 +559,7 @@ build_multiple_docs_dialog (GeditCloseConfirmationDialog *dlg)
}
else
{
secondary_label = gtk_label_new (_("If you don't save, "
secondary_label = gtk_label_new (_("If you dont save, "
"all your changes will be permanently lost."));
}
......
......@@ -258,7 +258,7 @@ load_file_list (GeditWindow *window,
gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
window->priv->generic_message_cid,
_("Loading file '%s'\342\200\246"),
_("Loading file “%s”\342\200\246"),
uri_for_display);
g_free (uri_for_display);
......@@ -555,7 +555,7 @@ replace_read_only_file (GtkWindow *parent,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_NONE,
_("The file \"%s\" is read-only."),
_("The file “%s” is read-only."),
name_for_display);
g_free (name_for_display);
......@@ -622,7 +622,7 @@ change_compression (GtkWindow *parent,
if (compressed)
{
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
_("The file \"%s\" was previously saved as plain "
_("The file “%s” was previously saved as plain "
"text and will now be saved using compression."),
name_for_display);
......@@ -631,7 +631,7 @@ change_compression (GtkWindow *parent,
else
{
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
_("The file \"%s\" was previously saved "
_("The file “%s” was previously saved "
"using compression and will now be saved as plain text."),
name_for_display);
button_label = _("_Save As Plain Text");
......@@ -749,7 +749,7 @@ save_dialog_response_cb (GeditFileChooserDialog *dialog,
gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
window->priv->generic_message_cid,
_("Saving file '%s'\342\200\246"),
_("Saving file “%s”\342\200\246"),
parse_name);
g_free (parse_name);
......@@ -1016,7 +1016,7 @@ gedit_commands_save_document_async (GeditDocument *document,
uri_for_display = gedit_document_get_uri_for_display (document);
gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
window->priv->generic_message_cid,
_("Saving file '%s'\342\200\246"),
_("Saving file “%s”\342\200\246"),
uri_for_display);
g_free (uri_for_display);
......@@ -1426,7 +1426,7 @@ do_revert (GeditWindow *window,
gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
window->priv->generic_message_cid,
_("Reverting the document '%s'\342\200\246"),
_("Reverting the document “%s”\342\200\246"),
docname);
g_free (docname);
......@@ -1473,7 +1473,7 @@ revert_dialog (GeditWindow *window,
gedit_debug (DEBUG_COMMANDS);
docname = gedit_document_get_short_name_for_display (doc);
primary_msg = g_strdup_printf (_("Revert unsaved changes to document '%s'?"),
primary_msg = g_strdup_printf (_("Revert unsaved changes to document “%s”?"),
docname);
g_free (docname);
......
......@@ -139,7 +139,7 @@ text_not_found (GeditWindow *window,
window->priv->generic_message_cid,
/* Translators: %s is replaced by the text
entered by the user in the search box */
_("\"%s\" not found"), truncated_text);
_("“%s” not found"), truncated_text);
g_free (truncated_text);
}
......
......@@ -325,7 +325,7 @@ update_menu (GeditEncodingsComboBox *menu)
gtk_list_store_append (store, &iter);
gtk_list_store_set (store, &iter,
COLUMN_NAME, _("Add or Remove..."),
COLUMN_NAME, _("Add or Remove"),
COLUMN_ENCODING, NULL,
COLUMN_CONFIGURE_ROW, TRUE,
-1);
......
......@@ -188,7 +188,7 @@ reset_button_clicked_cb (GtkWidget *button,
GTK_BUTTONS_NONE,
"%s",
_("Do you really want to reset the "
"character encodings' preferences?")));
"character encodings preferences?")));
gtk_dialog_add_buttons (msg_dialog,
_("_Cancel"), GTK_RESPONSE_CANCEL,
......
......@@ -571,7 +571,7 @@ create_encoding_combo (GeditFileChooserDialogOSX *dialog,
config = [[ConfigureEncodings alloc] initWithDialog:dialog];
[menu addItem:[NSMenuItem separatorItem]];
citem = [[EncodingItem alloc] initWithTitle:[NSString stringWithUTF8String:_("Add or Remove...")]
citem = [[EncodingItem alloc] initWithTitle:[NSString stringWithUTF8String:_("Add or Remove")]
action:@selector(activateConfigure:)
keyEquivalent:@""];
......
......@@ -766,7 +766,7 @@ gedit_file_already_open_warning_info_bar_new (GFile *location)
gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
/* Translators: the access key chosen for this string should be
different from other main menu access keys (Open, Edit, View...) */
_("D_on't Edit"),
_("D_ont Edit"),
GTK_RESPONSE_CANCEL);
gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
GTK_MESSAGE_WARNING);
......@@ -849,7 +849,7 @@ gedit_externally_modified_saving_error_info_bar_new (GFile *location,
_("S_ave Anyway"),
GTK_RESPONSE_YES);
gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
_("D_on't Save"),
_("D_ont Save"),
GTK_RESPONSE_CANCEL);
gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
GTK_MESSAGE_WARNING);
......@@ -939,7 +939,7 @@ gedit_no_backup_saving_error_info_bar_new (GFile *location,
_("S_ave Anyway"),
GTK_RESPONSE_YES);
gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
_("D_on't Save"),
_("D_ont Save"),
GTK_RESPONSE_CANCEL);
gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
GTK_MESSAGE_WARNING);
......@@ -1229,7 +1229,7 @@ gedit_invalid_character_info_bar_new (GFile *location)
_("S_ave Anyway"),
GTK_RESPONSE_YES);
gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
_("D_on't Save"),
_("D_ont Save"),
GTK_RESPONSE_CANCEL);
gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
GTK_MESSAGE_WARNING);
......
......@@ -598,7 +598,7 @@ file_copy (const gchar *name,
g_set_error (error,
G_FILE_ERROR,
g_file_error_from_errno (save_errno),
_("Directory '%s' could not be created: g_mkdir_with_parents() failed: %s"),
_("Directory “%s” could not be created: g_mkdir_with_parents() failed: %s"),
display_filename,
g_strerror (save_errno));
......@@ -858,7 +858,7 @@ uninstall_scheme_clicked (GtkButton *button,
if (!uninstall_style_scheme (scheme))
{
gedit_warning (GTK_WINDOW (dlg),
_("Could not remove color scheme \"%s\"."),
_("Could not remove color scheme “%s”."),
gtk_source_style_scheme_get_name (scheme));
}
}
......
......@@ -224,7 +224,7 @@ gedit_print_job_init (GeditPrintJob *job)
{
job->gsettings = g_settings_new ("org.gnome.gedit.preferences.print");
job->status_string = g_strdup (_("Preparing..."));
job->status_string = g_strdup (_("Preparing"));
}
static void
......@@ -623,7 +623,7 @@ draw_page_cb (GtkPrintOperation *operation,
n_pages = gtk_source_print_compositor_get_n_pages (job->compositor);
g_free (job->status_string);
job->status_string = g_strdup_printf (_("Rendering page %d of %d..."), page_nr + 1, n_pages);
job->status_string = g_strdup_printf (_("Rendering page %d of %d"), page_nr + 1, n_pages);
job->progress = page_nr / (2.0 * n_pages) + 0.5;
......
......@@ -918,7 +918,7 @@ get_ui_objects_with_translation_domain (const gchar *filename,
if (!*gobj)
{
*error_widget = handle_builder_error (_("Unable to find the object '%s' inside file %s."),
*error_widget = handle_builder_error (_("Unable to find the object “%s” inside file %s."),
name,
filename_markup),
ret = FALSE;
......
......@@ -28,7 +28,7 @@
<property name="has_focus">True</property>
<property name="is_focus">False</property>
<property name="activates_default">True</property>
<property name="placeholder_text" translatable="yes">Search highlight mode...</property>
<property name="placeholder_text" translatable="yes">Search highlight mode</property>
</object>
<packing>
<property name="left_attach">0</property>
......
......@@ -86,7 +86,7 @@
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator">&lt;Alt&gt;1...9</property>
<property name="title" translatable="yes" context="shortcut window">Switch to the first - ninth document</property>
<property name="title" translatable="yes" context="shortcut window">Switch to the first ninth document</property>
</object>
</child>
</object>
......
[Gedit Tool]
_Name=Build
_Comment=Run "make" in the document directory
_Comment=Run “make” in the document directory
Input=nothing
Output=output-panel
Shortcut=<Control>F8
......
......@@ -5,7 +5,7 @@
<summary>Whether to use the system font</summary>
<description>
If true, the external tools will use the desktop-global standard
font if it's monospace (and the most similar font it can
font if its monospace (and the most similar font it can
come up with otherwise).
</description>
</key>
......@@ -13,7 +13,7 @@
<default>'Monospace 10'</default>
<summary>Font</summary>
<description>
A Pango font name. Examples are "Sans 12" or "Monospace Bold 14".
A Pango font name. Examples are “Sans 12” or “Monospace Bold 14”.
</description>
</key>
</schema>
......
......@@ -130,7 +130,7 @@ class AppActivatable(GObject.Object, Gedit.AppActivatable):
self.css, 600)
self.menu_ext = self.extend_menu("preferences-section")
item = Gio.MenuItem.new(_("Manage _External Tools..."), "app.manage-tools")
item = Gio.MenuItem.new(_("Manage _External Tools"), "app.manage-tools")
self.menu_ext.append_menu_item(item)
self.submenu_ext = self.extend_menu("tools-section-1")
......
......@@ -904,7 +904,7 @@ on_confirm_no_trash_cb (GeditFileBrowserWidget *widget,
if (files->next == NULL)
{
normal = gedit_file_browser_utils_file_basename (G_FILE (files->data));
secondary = g_strdup_printf (_("The file \"%s\" cannot be moved to the trash."), normal);
secondary = g_strdup_printf (_("The file “%s” cannot be moved to the trash."), normal);
g_free (normal);
}
else
......@@ -940,7 +940,7 @@ on_confirm_delete_cb (GeditFileBrowserWidget *widget,
if (paths->next == NULL)
{
normal = get_filename_from_path (GTK_TREE_MODEL (store), (GtkTreePath *)(paths->data));
message = g_strdup_printf (_("Are you sure you want to permanently delete \"%s\"?"), normal);
message = g_strdup_printf (_("Are you sure you want to permanently delete “%s”?"), normal);
g_free (normal);
}
else
......
......@@ -2766,7 +2766,7 @@ on_location_entry_activate (GtkEntry *entry,
gchar *display_name, *msg;
display_name = g_file_get_parse_name (new_root);
msg = g_strdup_printf (_("Error when loading '%s': "
msg = g_strdup_printf (_("Error when loading “%s”: "
"No such directory"),
display_name);
......
......@@ -23,7 +23,7 @@
<key name="open-at-first-doc" type="b">
<default>true</default>
<summary>Set Location to First Document</summary>
<description>If TRUE the file browser plugin will view the directory of the first opened document given that the file browser hasn't been used yet. (Thus this generally applies to opening a document from the command line or opening it with Nautilus, etc.)</description>
<description>If TRUE the file browser plugin will view the directory of the first opened document given that the file browser hasnt been used yet. (Thus this generally applies to opening a document from the command line or opening it with Nautilus, etc.)</description>
</key>
<key name="filter-mode" flags="org.gnome.gedit.plugins.filebrowser.GeditFileBrowserStoreFilterMode">
<default>['hide-hidden', 'hide-binary']</default>
......
......@@ -26,7 +26,7 @@
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Rename...</attribute>
<attribute name="label" translatable="yes">_Rename</attribute>
<attribute name="action">browser.rename</attribute>
</item>
<item>
......
......@@ -15,7 +15,7 @@
<summary>Whether to use the system font</summary>
<description>
If true, the terminal will use the desktop-global standard
font if it's monospace (and the most similar font it can
font if its monospace (and the most similar font it can
come up with otherwise).
</description>
</key>
......@@ -23,7 +23,7 @@
<default>'Monospace 10'</default>
<summary>Font</summary>
<description>
A Pango font name. Examples are "Sans 12" or "Monospace Bold 14".
A Pango font name. Examples are “Sans 12” or “Monospace Bold 14”.
</description>
</key>
</schema>
......
......@@ -44,7 +44,7 @@ class QuickOpenAppActivatable(GObject.Object, Gedit.AppActivatable):
self.app.add_accelerator("<Primary><Alt>O", "win.quickopen", None)
self.menu_ext = self.extend_menu("file-section")
item = Gio.MenuItem.new(_("Quick Open..."), "win.quickopen")
item = Gio.MenuItem.new(_("Quick Open"), "win.quickopen")
self.menu_ext.prepend_menu_item(item)
def do_deactivate(self):
......
......@@ -87,7 +87,7 @@ class Popup(Gtk.Dialog):
action_area.set_spacing(6)
self._entry = Gtk.SearchEntry()
self._entry.set_placeholder_text(_('Type to search...'))
self._entry.set_placeholder_text(_('Type to search'))
self._entry.connect('changed', self.on_changed)
self._entry.connect('key-press-event', self.on_key_press_event)
......
......@@ -85,7 +85,7 @@ class AppActivatable(GObject.Object, Gedit.AppActivatable):
action.connect('activate', self.on_action_snippets_activate)
self.app.add_action(action)
item = Gio.MenuItem.new(_("Manage _Snippets..."), "app.snippets")
item = Gio.MenuItem.new(_("Manage _Snippets"), "app.snippets")
self.menu = self.extend_menu("preferences-section")
self.menu.append_menu_item(item)
......
......@@ -85,7 +85,7 @@ class Exporter:
os.chdir(curdir)
if status != 0:
return _('The archive "%s" could not be created' % self.filename)
return _('The archive %s” could not be created' % self.filename)
# Remove the temporary directory
shutil.rmtree(dirname)
......@@ -102,10 +102,10 @@ class Exporter:
def run(self):
dirname = os.path.dirname(self.filename)
if not os.path.exists(dirname):
return _('Target directory "%s" does not exist') % dirname
return _('Target directory %s” does not exist') % dirname
if not os.path.isdir(dirname):
return _('Target directory "%s" is not a valid directory') % dirname
return _('Target directory %s” is not a valid directory') % dirname
(root, ext) = os.path.splitext(self.filename)
......
......@@ -52,10 +52,10 @@ class Importer:
def import_file(self, filename):
if not os.path.exists(filename):
return _('File "%s" does not exist') % filename
return _('File %s” does not exist') % filename
if not os.path.isfile(filename):
return _('File "%s" is not a valid snippets file') % filename
return _('File %s” is not a valid snippets file') % filename
# Find destination for file to copy to
destdir, dest = self.import_destination(filename)
......@@ -72,7 +72,7 @@ class Importer:
# Add library
if not Library().add_user_library(dest):
return _('Imported file "%s" is not a valid snippets file') % os.path.basename(dest)
return _('Imported file %s” is not a valid snippets file') % os.path.basename(dest)
def import_xml(self):
return self.import_file(self.filename)
......@@ -82,7 +82,7 @@ class Importer:
status = os.system('cd %s; %s "%s"' % (dirname, cmd, self.filename))
if status != 0:
return _('The archive "%s" could not be extracted' % self.filename)
return _('The archive %s” could not be extracted' % self.filename)
errors = []
......@@ -113,10 +113,10 @@ class Importer:
def run(self):
if not os.path.exists(self.filename):
return _('File "%s" does not exist') % self.filename
return _('File %s” does not exist') % self.filename
if not os.path.isfile(self.filename):
return _('File "%s" is not a valid snippets archive') % self.filename
return _('File %s” is not a valid snippets archive') % self.filename
(root, ext) = os.path.splitext(self.filename)
......@@ -129,6 +129,6 @@ class Importer:
if self.filename.endswith(k):
return v()
return _('File "%s" is not a valid snippets archive') % self.filename
return _('File %s” is not a valid snippets archive') % self.filename
# ex:ts=4:et:
......@@ -71,7 +71,7 @@ class Manager(Gtk.Window, Gtk.Buildable):
return nodes
def add_new_snippet_node(self, parent):
return self.model.append(parent, ('<i>' + _('Add a new snippet...') + \
return self.model.append(parent, ('<i>' + _('Add a new snippet') + \
'</i>', '', None, None))
def fill_language(self, piter, expand=True):
......
......@@ -240,7 +240,7 @@ gedit_sort_plugin_app_activate (GeditAppActivatable *activatable)
priv = GEDIT_SORT_PLUGIN (activatable)->priv;
priv->menu_ext = gedit_app_activatable_extend_menu (activatable, "tools-section");
item = g_menu_item_new (_("S_ort..."), "win.sort");
item = g_menu_item_new (_("S_ort"), "win.sort");
gedit_menu_extension_append_menu_item (priv->menu_ext, item);
g_object_unref (item);
}
......
......@@ -140,11 +140,11 @@ gedit_spell_app_activatable_activate (GeditAppActivatable *activatable)
gtk_application_set_accels_for_action (GTK_APPLICATION (priv->app),"win.check-spell", accels);
priv->menu_ext = gedit_app_activatable_extend_menu (activatable, "spell-section");
item = g_menu_item_new (_("_Check Spelling..."), "win.check-spell");
item = g_menu_item_new (_("_Check Spelling"), "win.check-spell");
gedit_menu_extension_append_menu_item (priv->menu_ext, item);
g_object_unref (item);
item = g_menu_item_new (_("Set _Language..."), "win.config-spell");
item = g_menu_item_new (_("Set _Language"), "win.config-spell");
gedit_menu_extension_append_menu_item (priv->menu_ext, item);
g_object_unref (item);
......
......@@ -262,7 +262,7 @@ gedit_time_plugin_app_activate (GeditAppActivatable *activatable)
priv = GEDIT_TIME_PLUGIN (activatable)->priv;
priv->menu_ext = gedit_app_activatable_extend_menu (activatable, "tools-section");
item = g_menu_item_new (_("In_sert Date and Time..."), "win.time");
item = g_menu_item_new (_("In_sert Date and Time"), "win.time");
gedit_menu_extension_append_menu_item (priv->menu_ext, item);
g_object_unref (item);
}
......
......@@ -54,7 +54,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">When inserting date/time...</property>
<property name="label" translatable="yes">When inserting date/time</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment