Skip to content

Commit

Permalink
Assorted string fixes
Browse files Browse the repository at this point in the history
Assorted string fixes, fixing some missing words, incorrect capitalisation;
and converting ellipses and dashes into the appropriate Unicode characters.
  • Loading branch information
Philip Withnall committed Feb 3, 2010
1 parent d098f8e commit 766adb9
Show file tree
Hide file tree
Showing 15 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions backend/djvu/djvu-document.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ djvu_document_load (EvDocument *document,
g_set_error_literal (error,
EV_DOCUMENT_ERROR,
EV_DOCUMENT_ERROR_INVALID,
_("DJVU document has incorrect format"));
_("DjVu document has incorrect format"));
return FALSE;
}

Expand Down Expand Up @@ -248,7 +248,7 @@ djvu_document_load (EvDocument *document,
G_FILE_ERROR,
G_FILE_ERROR_EXIST,
_("The document is composed of several files. "
"One or more of such files cannot be accessed."));
"One or more of these files cannot be accessed."));

return FALSE;
}
Expand Down
2 changes: 1 addition & 1 deletion backend/djvu/djvudocument.evince-backend.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[Evince Backend]
Module=djvudocument
_TypeDescription=Djvu Documents
_TypeDescription=DjVu Documents
MimeType=image/vnd.djvu
8 changes: 4 additions & 4 deletions backend/impress/zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ zip_error (int err)
ret = _("Not enough memory");
break;
case ZIP_NOSIG:
ret = _("Cannot find zip signature");
ret = _("Cannot find ZIP signature");
break;
case ZIP_BADZIP:
ret = _("Invalid zip file");
ret = _("Invalid ZIP file");
break;
case ZIP_NOMULTI:
ret = _("Multi file zips are not supported");
ret = _("Multi file ZIPs are not supported");
break;
case ZIP_EOPEN:
ret = _("Cannot open the file");
Expand All @@ -71,7 +71,7 @@ zip_error (int err)
ret = _("Cannot read data from file");
break;
case ZIP_NOFILE:
ret = _("Cannot find file in the zip archive");
ret = _("Cannot find file in the ZIP archive");
break;
default:
ret = _("Unknown error");
Expand Down
2 changes: 1 addition & 1 deletion data/evince.desktop.in.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
_Name=Document Viewer
_GenericName=Document Viewer
_Comment=View multipage documents
_Comment=View multi-page documents
TryExec=evince
Exec=evince %U
StartupNotify=true
Expand Down
10 changes: 5 additions & 5 deletions libview/ev-print-operation.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,11 @@ ev_print_operation_update_status (EvPrintOperation *op,

if (page == -1) {
/* Initial state */
op->status = g_strdup (_("Preparing to print ..."));
op->status = g_strdup (_("Preparing to print"));
} else if (page > n_pages) {
op->status = g_strdup (_("Finishing..."));
op->status = g_strdup (_("Finishing"));
} else {
op->status = g_strdup_printf (_("Printing page %d of %d..."),
op->status = g_strdup_printf (_("Printing page %d of %d"),
page, n_pages);
}

Expand Down Expand Up @@ -1234,7 +1234,7 @@ ev_print_operation_export_print_dialog_response_cb (GtkDialog *dial
"%s", _("Invalid page selection"));
gtk_window_set_title (GTK_WINDOW (message_dialog), _("Warning"));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (message_dialog),
"%s", _("Your print range selection does not include any page"));
"%s", _("Your print range selection does not include any pages"));
g_signal_connect (message_dialog, "response",
G_CALLBACK (gtk_widget_destroy),
NULL);
Expand Down Expand Up @@ -1903,7 +1903,7 @@ ev_print_operation_print_create_custom_widget (EvPrintOperationPrint *print,
"• \"None\": No page scaling is performed.\n"
"\n"
"• \"Shrink to Printable Area\": Document pages larger than the printable area"
" are reduced fit the printable area of the printer page.\n"
" are reduced to fit the printable area of the printer page.\n"
"\n"
"• \"Fit to Printable Area\": Document pages are enlarged or reduced as"
" required to fit the printable area of the printer page.\n"));
Expand Down
2 changes: 1 addition & 1 deletion libview/ev-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -3923,7 +3923,7 @@ draw_loading_text (EvView *view,
gint width, height;

if (!view->loading_text) {
const gchar *loading_text = _("Loading...");
const gchar *loading_text = _("Loading");
PangoLayout *layout;
PangoFontDescription *font_desc;
PangoRectangle logical_rect;
Expand Down
4 changes: 2 additions & 2 deletions properties/ev-properties-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ ev_regular_paper_size (const EvDocumentInfo *info)
units = get_default_user_units ();

if (units == GTK_UNIT_MM) {
exact_size = g_strdup_printf(_("%.0f x %.0f mm"),
exact_size = g_strdup_printf(_("%.0f × %.0f mm"),
info->paper_width,
info->paper_height);
} else {
exact_size = g_strdup_printf (_("%.2f x %.2f inch"),
exact_size = g_strdup_printf (_("%.2f × %.2f inch"),
info->paper_width / 25.4f,
info->paper_height / 25.4f);
}
Expand Down
2 changes: 1 addition & 1 deletion shell/ev-password-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ ev_password_view_ask_password (EvPasswordView *password_view)
gtk_widget_show (choice);

group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (choice));
choice = gtk_radio_button_new_with_mnemonic (group, _("Remember password until you _logout"));
choice = gtk_radio_button_new_with_mnemonic (group, _("Remember password until you _log out"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (choice),
password_view->priv->password_save == G_PASSWORD_SAVE_FOR_SESSION);
g_object_set_data (G_OBJECT (choice), "password-save",
Expand Down
2 changes: 1 addition & 1 deletion shell/ev-properties-fonts.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ update_progress_label (GtkWidget *label, double progress)
{
if (progress > 0) {
char *progress_text;
progress_text = g_strdup_printf (_("Gathering font information... %3d%%"),
progress_text = g_strdup_printf (_("Gathering font information %3d%%"),
(int) (progress * 100));
gtk_label_set_text (GTK_LABEL (label), progress_text);
g_free (progress_text);
Expand Down
2 changes: 1 addition & 1 deletion shell/ev-sidebar-layers.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ ev_sidebar_layers_create_loading_model (void)
G_TYPE_INT);

gtk_list_store_append (GTK_LIST_STORE (retval), &iter);
markup = g_strdup_printf ("<span size=\"larger\" style=\"italic\">%s</span>", _("Loading..."));
markup = g_strdup_printf ("<span size=\"larger\" style=\"italic\">%s</span>", _("Loading"));
gtk_list_store_set (GTK_LIST_STORE (retval), &iter,
EV_DOCUMENT_LAYERS_COLUMN_TITLE, markup,
EV_DOCUMENT_LAYERS_COLUMN_VISIBLE, FALSE,
Expand Down
4 changes: 2 additions & 2 deletions shell/ev-sidebar-links.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ create_loading_model (void)
G_TYPE_STRING);

gtk_list_store_append (GTK_LIST_STORE (retval), &iter);
markup = g_strdup_printf ("<span size=\"larger\" style=\"italic\">%s</span>", _("Loading..."));
markup = g_strdup_printf ("<span size=\"larger\" style=\"italic\">%s</span>", _("Loading"));
gtk_list_store_set (GTK_LIST_STORE (retval), &iter,
EV_DOCUMENT_LINKS_COLUMN_MARKUP, markup,
EV_DOCUMENT_LINKS_COLUMN_EXPAND, FALSE,
Expand Down Expand Up @@ -332,7 +332,7 @@ build_popup_menu (EvSidebarLinks *sidebar)

menu = gtk_menu_new ();
item = gtk_image_menu_item_new_from_stock (GTK_STOCK_PRINT, NULL);
gtk_label_set_label (GTK_LABEL (GTK_BIN (item)->child), _("Print..."));
gtk_label_set_label (GTK_LABEL (GTK_BIN (item)->child), _("Print"));
gtk_widget_show (item);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
g_signal_connect (item, "activate",
Expand Down
2 changes: 1 addition & 1 deletion shell/ev-window-title.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ ev_window_title_update (EvWindowTitle *window_title)
gtk_window_set_title (window, title);
break;
case EV_WINDOW_TITLE_PASSWORD:
password_title = g_strdup_printf (_("%s - Password Required"), title);
password_title = g_strdup_printf (_("%s Password Required"), title);
gtk_window_set_title (window, password_title);
g_free (password_title);
break;
Expand Down
22 changes: 11 additions & 11 deletions shell/ev-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ ev_window_add_history (EvWindow *window, gint page, EvLink *link)
}

if (find_task.chapter)
link_title = g_strdup_printf (_("Page %s - %s"), page_label, find_task.chapter);
link_title = g_strdup_printf (_("Page %s %s"), page_label, find_task.chapter);
else
link_title = g_strdup_printf (_("Page %s"), page_label);

Expand Down Expand Up @@ -4195,7 +4195,7 @@ build_comments_string (void)
}

return g_strdup_printf (_("Document Viewer.\n"
"Using poppler %s (%s)"),
"Using Poppler %s (%s)"),
version, backend_name);
#else
return g_strdup_printf (_("Document Viewer"));
Expand Down Expand Up @@ -5007,19 +5007,19 @@ static const GtkActionEntry entries[] = {
{ "Help", NULL, N_("_Help") },

/* File menu */
{ "FileOpen", GTK_STOCK_OPEN, N_("_Open..."), "<control>O",
{ "FileOpen", GTK_STOCK_OPEN, N_("_Open"), "<control>O",
N_("Open an existing document"),
G_CALLBACK (ev_window_cmd_file_open) },
{ "FileOpenCopy", NULL, N_("Op_en a Copy"), "<control>N",
N_("Open a copy of the current document in a new window"),
G_CALLBACK (ev_window_cmd_file_open_copy) },
{ "FileSaveAs", GTK_STOCK_SAVE_AS, N_("_Save a Copy..."), "<control>S",
{ "FileSaveAs", GTK_STOCK_SAVE_AS, N_("_Save a Copy"), "<control>S",
N_("Save a copy of the current document"),
G_CALLBACK (ev_window_cmd_save_as) },
{ "FilePageSetup", GTK_STOCK_PAGE_SETUP, N_("Page Set_up..."), NULL,
N_("Setup the page settings for printing"),
{ "FilePageSetup", GTK_STOCK_PAGE_SETUP, N_("Page Set_up"), NULL,
N_("Set up the page settings for printing"),
G_CALLBACK (ev_window_cmd_file_print_setup) },
{ "FilePrint", GTK_STOCK_PRINT, N_("_Print..."), "<control>P",
{ "FilePrint", GTK_STOCK_PRINT, N_("_Print"), "<control>P",
N_("Print this document"),
G_CALLBACK (ev_window_cmd_file_print) },
{ "FileProperties", GTK_STOCK_PROPERTIES, N_("P_roperties"), "<alt>Return", NULL,
Expand All @@ -5032,7 +5032,7 @@ static const GtkActionEntry entries[] = {
G_CALLBACK (ev_window_cmd_edit_copy) },
{ "EditSelectAll", GTK_STOCK_SELECT_ALL, N_("Select _All"), "<control>A", NULL,
G_CALLBACK (ev_window_cmd_edit_select_all) },
{ "EditFind", GTK_STOCK_FIND, N_("_Find..."), "<control>F",
{ "EditFind", GTK_STOCK_FIND, N_("_Find"), "<control>F",
N_("Find a word or phrase in the document"),
G_CALLBACK (ev_window_cmd_edit_find) },
{ "EditFindNext", NULL, N_("Find Ne_xt"), "<control>G", NULL,
Expand Down Expand Up @@ -5187,7 +5187,7 @@ static const GtkActionEntry view_popup_entries [] = {
NULL, G_CALLBACK (ev_view_popup_cmd_open_link_new_window) },
{ "CopyLinkAddress", NULL, N_("_Copy Link Address"), NULL,
NULL, G_CALLBACK (ev_view_popup_cmd_copy_link_address) },
{ "SaveImageAs", NULL, N_("_Save Image As..."), NULL,
{ "SaveImageAs", NULL, N_("_Save Image As"), NULL,
NULL, G_CALLBACK (ev_view_popup_cmd_save_image_as) },
{ "CopyImage", NULL, N_("Copy _Image"), NULL,
NULL, G_CALLBACK (ev_view_popup_cmd_copy_image) },
Expand All @@ -5196,7 +5196,7 @@ static const GtkActionEntry view_popup_entries [] = {
static const GtkActionEntry attachment_popup_entries [] = {
{ "OpenAttachment", GTK_STOCK_OPEN, N_("_Open Attachment"), NULL,
NULL, G_CALLBACK (ev_attachment_popup_cmd_open_attachment) },
{ "SaveAttachmentAs", GTK_STOCK_SAVE_AS, N_("_Save Attachment As..."), NULL,
{ "SaveAttachmentAs", GTK_STOCK_SAVE_AS, N_("_Save Attachment As"), NULL,
NULL, G_CALLBACK (ev_attachment_popup_cmd_save_attachment_as) },
};

Expand Down Expand Up @@ -5275,7 +5275,7 @@ register_custom_actions (EvWindow *window, GtkActionGroup *group)

action = g_object_new (EV_TYPE_OPEN_RECENT_ACTION,
"name", "FileOpenRecent",
"label", _("_Open..."),
"label", _("_Open"),
"tooltip", _("Open an existing document"),
"stock_id", GTK_STOCK_OPEN,
NULL);
Expand Down
2 changes: 1 addition & 1 deletion shell/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static const GOptionEntry goption_options[] =
{ "unlink-tempfile", 'u', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &unlink_temp_file, NULL, NULL },
{ "print-settings", 't', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME, &print_settings, NULL, NULL },
{ "version", 0, G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, option_version_cb, NULL, NULL },
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &file_arguments, NULL, N_("[FILE...]") },
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &file_arguments, NULL, N_("[FILE]") },
{ NULL }
};

Expand Down
12 changes: 6 additions & 6 deletions thumbnailer/evince-thumbnailer.schemas.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<default>true</default>
<locale name="C">
<short>Enable thumbnailing of PDF Documents</short>
<long>Boolean options available, true enables thumbnailing and false disables the creation of new thumbnails</long>
<long>Boolean options available: true enables thumbnailing and false disables the creation of new thumbnails</long>
</locale>
</schema>

Expand All @@ -22,7 +22,7 @@
<default>evince-thumbnailer -s %s %u %o</default>
<locale name="C">
<short>Thumbnail command for PDF Documents</short>
<long>Valid command plus arguments for the PDF Document thumbnailer. See nautilus thumbnailer documentation for more information.</long>
<long>Valid command plus arguments for the PDF Document thumbnailer. See Nautilus thumbnailer documentation for more information.</long>
</locale>
</schema>

Expand All @@ -34,7 +34,7 @@
<default>true</default>
<locale name="C">
<short>Enable thumbnailing of PDF Documents</short>
<long>Boolean options available, true enables thumbnailing and false disables the creation of new thumbnails</long>
<long>Boolean options available: true enables thumbnailing and false disables the creation of new thumbnails</long>
</locale>
</schema>

Expand All @@ -47,7 +47,7 @@
<default>evince-thumbnailer -s %s %u %o</default>
<locale name="C">
<short>Thumbnail command for PDF Documents</short>
<long>Valid command plus arguments for the PDF Document thumbnailer. See nautilus thumbnailer documentation for more information.</long>
<long>Valid command plus arguments for the PDF Document thumbnailer. See Nautilus thumbnailer documentation for more information.</long>
</locale>
</schema>

Expand All @@ -59,7 +59,7 @@
<default>true</default>
<locale name="C">
<short>Enable thumbnailing of PDF Documents</short>
<long>Boolean options available, true enables thumbnailing and false disables the creation of new thumbnails</long>
<long>Boolean options available: true enables thumbnailing and false disables the creation of new thumbnails</long>
</locale>
</schema>

Expand All @@ -72,7 +72,7 @@
<default>evince-thumbnailer -s %s %u %o</default>
<locale name="C">
<short>Thumbnail command for PDF Documents</short>
<long>Valid command plus arguments for the PDF Document thumbnailer. See nautilus thumbnailer documentation for more information.</long>
<long>Valid command plus arguments for the PDF Document thumbnailer. See Nautilus thumbnailer documentation for more information.</long>
</locale>
</schema>

Expand Down

0 comments on commit 766adb9

Please sign in to comment.