Commit 547ee7c9 authored by Philip Withnall's avatar Philip Withnall

Miscellaneous string fixes

Various small string fixes, including capitalisation and consistency fixes.
Helps: bgo#610048
parent 8ec9bfad
......@@ -38,7 +38,7 @@
<default>classic</default>
<locale name="C">
<short>Style Scheme</short>
<long>The id of a GtkSourceView Style Scheme used to
<long>The ID of a GtkSourceView Style Scheme used to
color the text.</long>
</locale>
</schema>
......@@ -106,7 +106,7 @@
<type>int</type>
<default>2000</default>
<locale name="C">
<short>Max Number of Undo Actions</short>
<short>Maximum Number of Undo Actions</short>
<long>Maximum number of actions that gedit will be able to
undo or redo. Use "-1" for unlimited number of actions.</long>
</locale>
......@@ -199,7 +199,7 @@
<default>FALSE</default>
<locale name="C">
<short>Highlight Matching Bracket</short>
<long>Whether gedit should highlight matching bracket.</long>
<long>Whether gedit should highlight the bracket matching the selected one.</long>
</locale>
</schema>
......@@ -298,7 +298,7 @@
<default>FALSE</default>
<locale name="C">
<short>Side Pane is Visible</short>
<long>Whether the side pane at the left of the editing window
<long>Whether the side pane at the left of editing windows
should be visible.</long>
</locale>
</schema>
......
......@@ -137,7 +137,7 @@ set_logout_mode (GeditCloseConfirmationDialog *dlg,
if (logout_mode)
{
gtk_dialog_add_button (GTK_DIALOG (dlg),
_("Logout _without Saving"),
_("Log Out _without Saving"),
GTK_RESPONSE_NO);
gedit_dialog_add_button (GTK_DIALOG (dlg),
......
......@@ -568,7 +568,7 @@ setup_font_colors_page_font_section (GeditPreferencesDialog *dlg)
gedit_debug (DEBUG_PREFS);
gtk_widget_set_tooltip_text (dlg->priv->font_button,
_("Push this button to select the font to be used by the editor"));
_("Click on this button to select the font to be used by the editor"));
gedit_utils_set_atk_relation (dlg->priv->font_button,
dlg->priv->default_font_checkbutton,
......
......@@ -94,7 +94,7 @@ tab_get_name (GeditTab *tab)
{
tab_name = g_markup_printf_escaped ("<i>%s</i> [<i>%s</i>]",
docname,
_("Read Only"));
_("Read-Only"));
}
else
{
......@@ -108,7 +108,7 @@ tab_get_name (GeditTab *tab)
{
tab_name = g_markup_printf_escaped ("%s [<i>%s</i>]",
docname,
_("Read Only"));
_("Read-Only"));
}
else
{
......
......@@ -101,7 +101,7 @@ gedit_help_display (GtkWindow *parent,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
_("There was an error displaying help."));
_("There was an error displaying the help."));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
"%s", error->message);
......
......@@ -310,7 +310,7 @@ parse_gio_error (gint code,
{
/* use the same string as INVALID_HOST */
*message_details = g_strdup_printf (
_("Host name was invalid. "
_("Hostname was invalid. "
"Please check that you typed the location "
"correctly and try again."));
}
......@@ -657,8 +657,8 @@ gedit_io_loading_error_message_area_new (const gchar *uri,
{
error_message = g_strdup_printf (_("There was a problem opening the file %s."),
uri_for_display);
message_details = g_strconcat (_("The file you opened has some invalid characters, "
"if you continue editing this file you could make this "
message_details = g_strconcat (_("The file you opened has some invalid characters. "
"If you continue editing this file you could make this "
"document useless."), "\n",
_("You can also choose another character encoding and try again."),
NULL);
......@@ -1066,7 +1066,7 @@ gedit_no_backup_saving_error_message_area_new (const gchar *uri,
GTK_WIDGET_SET_FLAGS (primary_label, GTK_CAN_FOCUS);
gtk_label_set_selectable (GTK_LABEL (primary_label), TRUE);
secondary_text = _("gedit could not backup the old copy of the file before saving the new one. "
secondary_text = _("gedit could not back up the old copy of the file before saving the new one. "
"You can ignore this warning and save the file anyway, but if an error "
"occurs while saving, you could lose the old copy of the file. Save anyway?");
secondary_markup = g_strdup_printf ("<small>%s</small>",
......@@ -1179,7 +1179,7 @@ gedit_unrecoverable_saving_error_message_area_new (const gchar *uri,
error->code == GEDIT_DOCUMENT_ERROR_TOO_BIG)
{
message_details = g_strdup (_("The disk where you are trying to save the file has "
"a limitation on file sizes. Please try saving "
"a limitation on file sizes. Please try saving "
"a smaller file or saving it to a disk that does not "
"have this limitation."));
}
......
......@@ -1129,13 +1129,13 @@ check_type (const gchar* key, GConfValue* val, GConfValueType t, GError** err)
{
/*
gconf_set_error(err, GCONF_ERROR_TYPE_MISMATCH,
_("Expected `%s' got `%s' for key %s"),
_("Expected `%s' got, `%s' for key %s"),
gconf_value_type_to_string(t),
gconf_value_type_to_string(val->type),
key);
*/
g_set_error (err, GCONF_ERROR, GCONF_ERROR_TYPE_MISMATCH,
_("Expected `%s' got `%s' for key %s"),
_("Expected `%s', got `%s' for key %s"),
gconf_value_type_to_string(t),
gconf_value_type_to_string(val->type),
key);
......
......@@ -85,7 +85,7 @@ static const GtkActionEntry gedit_menu_entries[] =
N_("Revert to a saved version of the file"), G_CALLBACK (_gedit_cmd_file_revert) },
#if !GTK_CHECK_VERSION (2, 17, 4)
{ "FilePageSetup", GTK_STOCK_PAGE_SETUP, N_("Page Set_up..."), NULL,
N_("Setup the page settings"), G_CALLBACK (_gedit_cmd_file_page_setup) },
N_("Set up the page settings"), G_CALLBACK (_gedit_cmd_file_page_setup) },
#endif
{ "FilePrintPreview", GTK_STOCK_PRINT_PREVIEW, N_("Print Previe_w"),"<control><shift>P",
N_("Print preview"), G_CALLBACK (_gedit_cmd_file_print_preview) },
......@@ -168,7 +168,7 @@ static const GtkToggleActionEntry gedit_always_sensitive_toggle_menu_entries[] =
N_("Show or hide the statusbar in the current window"),
G_CALLBACK (_gedit_cmd_view_show_statusbar), TRUE },
{ "ViewFullscreen", GTK_STOCK_FULLSCREEN, NULL, "F11",
N_("Edit text at fullscreen"),
N_("Edit text in fullscreen"),
G_CALLBACK (_gedit_cmd_view_toggle_fullscreen_mode), FALSE }
};
......
......@@ -1137,7 +1137,7 @@ gedit_utils_get_ui_objects (const gchar *filename,
if (error != NULL)
{
*error_widget = handle_builder_error (_("Unable to open ui file %s. Error: %s"),
*error_widget = handle_builder_error (_("Unable to open UI file %s. Error: %s"),
filename_markup,
error->message);
g_error_free (error);
......
......@@ -2268,12 +2268,12 @@ set_title (GeditWindow *window)
if (dirname != NULL)
title = g_strdup_printf ("%s [%s] (%s) - gedit",
name,
_("Read Only"),
_("Read-Only"),
dirname);
else
title = g_strdup_printf ("%s [%s] - gedit",
name,
_("Read Only"));
_("Read-Only"));
}
else
{
......
......@@ -129,7 +129,7 @@ static const GOptionEntry options [] =
list_encodings_and_quit, N_("Display list of possible values for the encoding option"), NULL},
{ "new-window", '\0', 0, G_OPTION_ARG_NONE, &new_window_option,
N_("Create a new toplevel window in an existing instance of gedit"), NULL },
N_("Create a new top-level window in an existing instance of gedit"), NULL },
{ "new-document", '\0', 0, G_OPTION_ARG_NONE, &new_document_option,
N_("Create a new document in an existing instance of gedit"), NULL },
......
......@@ -243,7 +243,7 @@ on_response_cb (GtkWidget *infobar,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
_("There was an error displaying the url."));
_("There was an error displaying the URI."));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
"%s", error->message);
......@@ -334,7 +334,7 @@ create_infobar (GeditWindow *window,
"gtk-dialog-info",
message,
_("You can download the new version of gedit"
" by pressing on the download button or"
" by clicking on the download button or"
" ignore that version and wait for a new one"));
g_free (message);
......
......@@ -421,7 +421,7 @@ static const GtkActionEntry action_entries[] =
NULL,
N_("_Document Statistics"),
NULL,
N_("Get statistic info on current document"),
N_("Get statistical information on the current document"),
G_CALLBACK (docinfo_cb) }
};
......
......@@ -787,7 +787,7 @@ static GtkActionEntry toplevel_actions[] =
static const GtkActionEntry tree_actions_selection[] =
{
{"FileMoveToTrash", "gnome-stock-trash", N_("_Move To Trash"), NULL,
{"FileMoveToTrash", "gnome-stock-trash", N_("_Move to Trash"), NULL,
N_("Move selected file or folder to trash"),
G_CALLBACK (on_action_file_move_to_trash)},
{"FileDelete", GTK_STOCK_DELETE, N_("_Delete"), NULL,
......
......@@ -58,11 +58,11 @@
<type>bool</type>
<default>TRUE</default>
<locale name="C">
<short>Set Location To First Document</short>
<short>Set Location to First Document</short>
<long>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)</long>
the command line or opening it with Nautilus, etc.)</long>
</locale>
</schema>
......
......@@ -3,7 +3,7 @@ Loader=python
Module=pythonconsole
IAge=2
_Name=Python Console
_Description=Interactive python console standing in the bottom panel
_Description=Interactive Python console standing in the bottom panel
Icon=gnome-mime-text-x-python
Authors=Steve Frécinaux <steve@istique.net>
Copyright=Copyright © 2006 Steve Frécinaux
......
......@@ -3,7 +3,7 @@ Loader=python
Module=snippets
IAge=2
_Name=Snippets
_Description=Insert often used pieces of text in a fast way
_Description=Insert often-used pieces of text in a fast way
Authors=Jesse van den Kieboom <jesse@icecrew.nl>
Copyright=Copyright © 2005 Jesse van den Kieboom
Website=http://www.gedit.org
......@@ -62,7 +62,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)
......@@ -79,10 +79,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)
......
......@@ -26,10 +26,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
dest = self.import_destination(filename)
......@@ -39,7 +39,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)
......@@ -49,7 +49,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 = []
......@@ -80,10 +80,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)
......@@ -96,5 +96,5 @@ 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=8:et:
......@@ -676,14 +676,14 @@ class Manager:
img.show()
#self['hbox_tab_trigger'].set_spacing(3)
tip = _('This is not a valid tab trigger. Triggers can either contain letters or a single, non alphanumeric, character like {, [, etcetera.')
tip = _('This is not a valid Tab trigger. Triggers can either contain letters or a single (non-alphanumeric) character like: {, [, etc.')
entry.set_tooltip_text(tip)
img.set_tooltip_text(tip)
else:
self['image_tab_trigger'].hide()
#self['hbox_tab_trigger'].set_spacing(0)
entry.set_tooltip_text(_('Single word with which the snippet is activated after pressing tab'))
entry.set_tooltip_text(_('Single word the snippet is activated with after pressing Tab'))
return False
......
......@@ -405,7 +405,7 @@ class PlaceholderShell(PlaceholderExpand):
PlaceholderExpand.remove(self)
message_dialog(None, gtk.MESSAGE_ERROR, 'Execution of the shell ' \
'command (%s) exceeds the maximum time, ' \
'command (%s) exceeded the maximum time; ' \
'execution aborted.' % self.command)
return False
......@@ -591,7 +591,7 @@ class PlaceholderEval(PlaceholderExpand):
self.remove_timeout()
message_dialog(None, gtk.MESSAGE_ERROR, \
_('Execution of the python command (%s) exceeds the maximum ' \
_('Execution of the Python command (%s) exceeds the maximum ' \
'time, execution aborted.') % self.command)
return False
......@@ -599,7 +599,7 @@ class PlaceholderEval(PlaceholderExpand):
self.remove_timeout()
message_dialog(None, gtk.MESSAGE_ERROR,
_('Execution of the python command (%s) failed: %s') %
_('Execution of the Python command (%s) failed: %s') %
(self.command, detail))
return False
......
......@@ -463,7 +463,7 @@
<object class="GtkEntry" id="entry_tab_trigger">
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="tooltip-text" translatable="yes">Single word with which the snippet is activated after pressing tab</property>
<property name="tooltip-text" translatable="yes">Single word the snippet is activated with after pressing Tab</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
......
......@@ -368,7 +368,7 @@
<End>&lt;/frame&gt;</End>
</Tag>
<Tag _name="Frameborder">
<Tag _name="Frame border">
<Begin>frameborder="</Begin>
<End>"</End>
</Tag>
......@@ -388,7 +388,7 @@
<End>&lt;/frameset&gt;</End>
</Tag>
<Tag _name="Framespacing">
<Tag _name="Frame spacing">
<Begin>framespacing="</Begin>
<End>"</End>
</Tag>
......@@ -408,7 +408,7 @@
<End>&lt;/span&gt;</End>
</Tag>
<Tag _name="Header cell ID's">
<Tag _name="Header cell IDs">
<Begin>headers="</Begin>
<End>"</End>
</Tag>
......@@ -472,7 +472,7 @@
<End>"</End>
</Tag>
<Tag _name="I18N BiDi over-ride">
<Tag _name="I18N BiDi override">
<Begin>&lt;bdo&gt;</Begin>
<End>&lt;/bdo&gt;</End>
</Tag>
......@@ -903,7 +903,7 @@
<End>"</End>
</Tag>
<Tag _name="Space separated archive list">
<Tag _name="Space-separated archive list">
<Begin>archive="</Begin>
<End>"</End>
</Tag>
......@@ -923,7 +923,7 @@
<End>"</End>
</Tag>
<Tag _name="Standby load msg">
<Tag _name="Standby load message">
<Begin>standby="</Begin>
<End>"</End>
</Tag>
......@@ -1519,7 +1519,7 @@
<End>&lt;/span&gt;</End>
</Tag>
<Tag _name="Header cell ID's">
<Tag _name="Header cell IDs">
<Begin>headers=</Begin>
</Tag>
......@@ -1579,11 +1579,11 @@
<End>&lt;/html&gt;</End>
</Tag>
<Tag _name="HttP header name">
<Tag _name="HTTP header name">
<Begin>http-equiv=</Begin>
</Tag>
<Tag _name="I18N BiDi over-ride">
<Tag _name="I18N BiDi override">
<Begin>&lt;BDO&gt;</Begin>
<End>&lt;/BDO&gt;</End>
</Tag>
......@@ -2039,7 +2039,7 @@
<Begin>src=</Begin>
</Tag>
<Tag _name="Space separated archive list">
<Tag _name="Space-separated archive list">
<Begin>archive=</Begin>
</Tag>
......@@ -2063,7 +2063,7 @@
<Begin>&lt;sqrt&gt;</Begin>
</Tag>
<Tag _name="Standby load msg">
<Tag _name="Standby load message">
<Begin>standby=</Begin>
</Tag>
......@@ -2209,7 +2209,7 @@
<Begin>title=</Begin>
</Tag>
<Tag _name="Topmargin in pixels">
<Tag _name="Top margin in pixels">
<Begin>topmargin</Begin>
</Tag>
......
......@@ -46,7 +46,7 @@
<End> }&#10;</End>
</Tag>
<Tag _name="Function cosin">
<Tag _name="Function cosine">
<Begin>\cos{ </Begin>
<End> } </End>
</Tag>
......@@ -269,11 +269,11 @@
<Begin>\equiv </Begin>
</Tag>
<Tag _name="Symbol hyphen --">
<Tag _name="Symbol en-dash --">
<Begin>-- </Begin>
</Tag>
<Tag _name="Symbol hyphen ---">
<Tag _name="Symbol em-dash ---">
<Begin>--- </Begin>
</Tag>
......
......@@ -2,7 +2,7 @@
Module=taglist
IAge=2
_Name=Tag list
_Description=Provides a method to easily insert into a document commonly used tags/strings without having to type them.
_Description=Provides a method to easily insert commonly used tags/strings into a document without having to type them.
Authors=Paolo Maggi <paolo.maggi@polito.it>
Copyright=Copyright © 2002-2005 Paolo Maggi
Website=http://www.gedit.org
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