]> www.fi.muni.cz Git - evince.git/commitdiff
Assorted string fixes
authorPhilip Withnall <philip@tecnocode.co.uk>
Mon, 1 Feb 2010 17:13:46 +0000 (17:13 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Wed, 3 Feb 2010 15:21:35 +0000 (15:21 +0000)
Assorted string fixes, fixing some missing words, incorrect capitalisation;
and converting ellipses and dashes into the appropriate Unicode characters.

15 files changed:
backend/djvu/djvu-document.c
backend/djvu/djvudocument.evince-backend.in
backend/impress/zip.c
data/evince.desktop.in.in
libview/ev-print-operation.c
libview/ev-view.c
properties/ev-properties-view.c
shell/ev-password-view.c
shell/ev-properties-fonts.c
shell/ev-sidebar-layers.c
shell/ev-sidebar-links.c
shell/ev-window-title.c
shell/ev-window.c
shell/main.c
thumbnailer/evince-thumbnailer.schemas.in

index 88c7b0c074114d8b1fd0d5f2028fe6189dce1020..e26db4a693530fe3f952bd721812afd656bbf8d9 100644 (file)
@@ -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;
        }
 
@@ -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;
        }
index 716dabf4df09eac3c19a0620c81caade8a0a729f..485af1183d292c75a80d77e172e9fe7b05412780 100644 (file)
@@ -1,4 +1,4 @@
 [Evince Backend]
 Module=djvudocument
-_TypeDescription=Djvu Documents
+_TypeDescription=DjVu Documents
 MimeType=image/vnd.djvu
index 6d06f1010ed95e55f853c124a0b9351737b3a1f3..b1f25c8c8801149f4b629e639a18271acd8b5dfb 100644 (file)
@@ -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");
@@ -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");
index 91ab97f88fdb9b9578afedf890a88bf51d8da9b8..512767eeee1fd4ec06d60d4ced84c8d6fa22ee07 100644 (file)
@@ -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
index 0f6e60788441b10e8323eb0153124301b49b3e8e..85ba06c2fe158be29a80875d0ee91f09176c6564 100644 (file)
@@ -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);
        }
 
@@ -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);
@@ -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"));
index 731474045274f56435e6d1a3e61e69a294a30ce6..760cf04ffdcf67ca6f431d3b7c13872755db72eb 100644 (file)
@@ -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;
index 0b73100212b659dd6b9d0f522b1108c1a89458f1..23d477e8e9f64066fc9c62c45dd1a5f9b059566b 100644 (file)
@@ -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);
        }
index a71e423b83e64d22dba5d9059b742e8bb5ea4ab2..4935b67b6db3b01c633e62ac8cb241b1b60c7df0 100644 (file)
@@ -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",
index 1670616d1dc75efe84c81047668f41c706f1af1e..c3a9c0afa973506162d26b2530eee0b153c76b86 100644 (file)
@@ -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);
index 5f168956879ed8f62487b9577fad24f126f54962..5c9bbbdea02671db4a1579036d47d6a914652691 100644 (file)
@@ -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,
index 6eb7e235cd183bb330a06f97bcd2239714dcee62..4c2b7fe8d0387112704f7c97b04bcf8fbc85da7c 100644 (file)
@@ -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,
@@ -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",
index ca2429b5656b6edb563e74dde5a80d2d9957c9ca..2fcb3d92779decf6325c34fb490df09b27c2e7e2 100644 (file)
@@ -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;
index 37148318272a51244faacdac5737b2835550edf0..9d1f99ae59dfe86862fb664e6eb07763c091ff27 100644 (file)
@@ -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);
        
@@ -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"));
@@ -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,
@@ -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,
@@ -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) },
@@ -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) },
 };
 
@@ -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);
index e906ac6df0ad9552ed6daf2ba4c89f5cb621fb69..2b926c967c8ce5f76387acb97a944d1a5c241a6b 100644 (file)
@@ -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 }
 };
 
index 5644067065f410bc7145b876d598758b3edb4635..40221bee22723e4f228982809a4ab26eb02e4033 100644 (file)
@@ -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>
 
@@ -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>
 
@@ -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>
 
@@ -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>
 
@@ -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>
 
@@ -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>