2005-07-17 [paul] 1.9.12cvs70
authorPaul Mangan <paul@claws-mail.org>
Sun, 17 Jul 2005 07:30:07 +0000 (07:30 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sun, 17 Jul 2005 07:30:07 +0000 (07:30 +0000)
* src/common/defs.h
update urls
* src/account.c
* src/action.c
* src/addressbook.c
* src/compose.c
* src/foldersel.c
* src/folderview.c
* src/html.c
* src/imap_gtk.c
* src/main.c
* src/mainwindow.c
* src/messageview.c
* src/mh_gtk.c
* src/mimeview.c
* src/news_gtk.c
* src/prefs_account.c
* src/prefs_send.c
* src/prefs_summaries.c
* src/procmsg.c
* src/summaryview.c
* src/common/utils.c
* src/common/xml.c
* src/plugins/pgpcore/passphrase.c
* src/plugins/pgpcore/select-keys.c
replace inappropriately used backticks
with single quotes

27 files changed:
ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/account.c
src/action.c
src/addressbook.c
src/common/defs.h
src/common/utils.c
src/common/xml.c
src/compose.c
src/foldersel.c
src/folderview.c
src/html.c
src/imap_gtk.c
src/main.c
src/mainwindow.c
src/messageview.c
src/mh_gtk.c
src/mimeview.c
src/news_gtk.c
src/plugins/pgpcore/passphrase.c
src/plugins/pgpcore/select-keys.c
src/prefs_account.c
src/prefs_send.c
src/prefs_summaries.c
src/procmsg.c
src/summaryview.c

index dfe359a..0c9c69e 100644 (file)
@@ -1,3 +1,33 @@
+2005-07-17 [paul]      1.9.12cvs70
+
+       * src/common/defs.h
+               update urls
+       * src/account.c
+       * src/action.c
+       * src/addressbook.c
+       * src/compose.c
+       * src/foldersel.c
+       * src/folderview.c
+       * src/html.c
+       * src/imap_gtk.c
+       * src/main.c
+       * src/mainwindow.c
+       * src/messageview.c
+       * src/mh_gtk.c
+       * src/mimeview.c
+       * src/news_gtk.c
+       * src/prefs_account.c
+       * src/prefs_send.c
+       * src/prefs_summaries.c
+       * src/procmsg.c
+       * src/summaryview.c
+       * src/common/utils.c
+       * src/common/xml.c
+       * src/plugins/pgpcore/passphrase.c
+       * src/plugins/pgpcore/select-keys.c
+               replace inappropriately used backticks
+               with single quotes
+
 2005-07-16 [colin]     1.9.12cvs69
 
        * src/image_viewer.c
index c6a5224..ebd10cf 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/plugins/pgpcore/sgpgme.c;  ) > 1.9.12cvs67.patchset
 ( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/plugins/pgpcore/prefs_gpg.c;  ) > 1.9.12cvs68.patchset
 ( cvs diff -u -r 1.1.2.3 -r 1.1.2.4 src/image_viewer.c;  ) > 1.9.12cvs69.patchset
+( cvs diff -u -r 1.61.2.32 -r 1.61.2.33 src/account.c;  cvs diff -u -r 1.12.2.23 -r 1.12.2.24 src/action.c;  cvs diff -u -r 1.60.2.19 -r 1.60.2.20 src/addressbook.c;  cvs diff -u -r 1.382.2.142 -r 1.382.2.143 src/compose.c;  cvs diff -u -r 1.26.2.17 -r 1.26.2.18 src/foldersel.c;  cvs diff -u -r 1.207.2.45 -r 1.207.2.46 src/folderview.c;  cvs diff -u -r 1.12.2.8 -r 1.12.2.9 src/html.c;  cvs diff -u -r 1.1.2.15 -r 1.1.2.16 src/imap_gtk.c;  cvs diff -u -r 1.115.2.44 -r 1.115.2.45 src/main.c;  cvs diff -u -r 1.274.2.45 -r 1.274.2.46 src/mainwindow.c;  cvs diff -u -r 1.94.2.56 -r 1.94.2.57 src/messageview.c;  cvs diff -u -r 1.2.2.8 -r 1.2.2.9 src/mh_gtk.c;  cvs diff -u -r 1.83.2.34 -r 1.83.2.35 src/mimeview.c;  cvs diff -u -r 1.2.2.5 -r 1.2.2.6 src/news_gtk.c;  cvs diff -u -r 1.105.2.27 -r 1.105.2.28 src/prefs_account.c;  cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/prefs_send.c;  cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/prefs_summaries.c;  cvs diff -u -r 1.150.2.30 -r 1.150.2.31 src/procmsg.c;  cvs diff -u -r 1.395.2.93 -r 1.395.2.94 src/summaryview.c;  cvs diff -u -r 1.9.2.11 -r 1.9.2.12 src/common/defs.h;  cvs diff -u -r 1.36.2.36 -r 1.36.2.37 src/common/utils.c;  cvs diff -u -r 1.1.4.7 -r 1.1.4.8 src/common/xml.c;  cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/plugins/pgpcore/passphrase.c;  cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/plugins/pgpcore/select-keys.c;  ) > 1.9.12cvs70.patchset
index cd72c82..090ad5f 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=12
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=69
+EXTRA_VERSION=70
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index f6cebe8..572d390 100644 (file)
@@ -645,7 +645,7 @@ static void account_edit_create(void)
 
        label = gtk_label_new
                (_("New messages will be checked in this order. Check the boxes\n"
-                  "on the `G' column to enable message retrieval by `Get all'."));
+                  "on the 'G' column to enable message retrieval by 'Get all'."));
        gtk_widget_show (label);
        gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 4);
        gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
@@ -796,13 +796,13 @@ static void account_clone(GtkWidget *widget, gpointer data)
                return;
 
        if (ac_prefs->protocol == A_IMAP4 || ac_prefs->protocol == A_NNTP) {
-               alertpanel_error(_("Accounts with remote folders cannot be cloned"));
+               alertpanel_error(_("Accounts with remote folders cannot be copied."));
                return;
        }
        
        ac_clon = prefs_account_new();
        /* copy fields */
-       ac_clon->account_name = g_strdup_printf(_("Cloned %s"), 
+       ac_clon->account_name = g_strdup_printf(_("Copy of %s"),
                                                ac_prefs->account_name);
        /* personal */
        ACP_FDUP(name);
index 55d6441..7f15b7c 100644 (file)
@@ -1418,7 +1418,7 @@ static gchar *get_user_string(const gchar *action, ActionType type)
        case ACTION_USER_HIDDEN_STR:
                message = g_strdup_printf
                        (_("Enter the argument for the following action:\n"
-                          "(`%%h' will be replaced with the argument)\n"
+                          "('%%h' will be replaced with the argument)\n"
                           "  %s"),
                         action);
                user_str = input_dialog_with_invisible
@@ -1427,7 +1427,7 @@ static gchar *get_user_string(const gchar *action, ActionType type)
        case ACTION_USER_STR:
                message = g_strdup_printf
                        (_("Enter the argument for the following action:\n"
-                          "(`%%u' will be replaced with the argument)\n"
+                          "('%%u' will be replaced with the argument)\n"
                           "  %s"),
                         action);
                user_str = input_dialog
index c61c571..8ee706b 100644 (file)
@@ -2371,7 +2371,7 @@ static void addressbook_treenode_delete_cb(
                if( iface->externalQuery ) {
                        message = g_strdup_printf( _(
                                "Do you want to delete the query " \
-                               "results and addresses in `%s' ?" ),
+                               "results and addresses in '%s' ?" ),
                                obj->name );
                        aval = alertpanel( _("Delete"), message,
                                GTK_STOCK_YES, GTK_STOCK_NO, NULL );
@@ -2382,7 +2382,7 @@ static void addressbook_treenode_delete_cb(
                }
                else {
                        message = g_strdup_printf
-                               ( _( "Do you want to delete the folder AND all addresses in `%s' ?\n"
+                               ( _( "Do you want to delete the folder AND all addresses in '%s' ?\n"
                                     "If deleting the folder only, addresses will be moved into parent folder." ),
                                 obj->name );
                        aval = alertpanel( _("Delete folder"), message,
@@ -2398,7 +2398,7 @@ static void addressbook_treenode_delete_cb(
                }
        }
        else {
-               message = g_strdup_printf(_("Really delete `%s' ?"), obj->name);
+               message = g_strdup_printf(_("Really delete '%s' ?"), obj->name);
                aval = alertpanel(_("Delete"), message, GTK_STOCK_YES, GTK_STOCK_NO, NULL);
                g_free(message);
                if( aval == G_ALERTDEFAULT ) delType = ADDRTREE_DEL_DATA;
index c4cff97..3163a3a 100644 (file)
@@ -70,9 +70,9 @@
 #define SYLDOC_URI             "http://sylpheeddoc.sourceforge.net/"
 #define SYLDOC_MANUAL_HTML_INDEX "/manual/manual.html"
 #define SYLDOC_FAQ_HTML_INDEX  "/faq/faq.html"
-#define CLAWS_FAQ_URI          "http://sylpheed-claws.sourceforge.net/phpwiki/index.php"
+#define CLAWS_FAQ_URI          "http://claws.sylpheed.org/faq.php"
 #define CLAWS_BUGZILLA_URI     "http://www.thewildbeast.co.uk/sylpheed-claws/bugzilla/enter_bug.cgi"
-#define CLAWS_THEMES_URI       "http://sylpheed-claws.sourceforge.net/themes.php"
+#define CLAWS_THEMES_URI       "http://claws.sylpheed.org/themes.php"
 #define THEMEINFO_FILE         ".sylpheed_themeinfo"
 #define FOLDER_LIST            "folderlist.xml"
 #define CACHE_FILE             ".sylpheed_claws_cache"
index e6c8cec..66e63d7 100644 (file)
@@ -1705,7 +1705,7 @@ const gchar *get_home_dir(void)
             if (!home_dir || !*home_dir) 
                 home_dir = g_strdup ("c:\\sylpheed");
         }
-        debug_print("initialized home_dir to `%s'\n", home_dir);
+        debug_print("initialized home_dir to '%s'\n", home_dir);
     }
     return home_dir;
 #else /* standard glib */
index 2222eb1..614e2a8 100644 (file)
@@ -502,7 +502,7 @@ gint xml_unescape_str(gchar *str)
 
        while ((start = strchr(p, '&')) != NULL) {
                if ((end = strchr(start + 1, ';')) == NULL) {
-                       g_warning("Unescaped `&' appeared\n");
+                       g_warning("Unescaped '&' appeared\n");
                        p = start + 1;
                        continue;
                }
index ede0fcb..06204f4 100644 (file)
@@ -6064,7 +6064,7 @@ static gint compose_exec_ext_editor_real(const gchar *file)
                g_snprintf(buf, sizeof(buf), prefs_common.ext_editor_cmd, file);
        } else {
                if (prefs_common.ext_editor_cmd)
-                       g_warning("External editor command line is invalid: `%s'\n",
+                       g_warning("External editor command line is invalid: '%s'\n",
                                  prefs_common.ext_editor_cmd);
                g_snprintf(buf, sizeof(buf), def_cmd, file);
        }
@@ -6664,7 +6664,7 @@ static void compose_template_activate_cb(GtkWidget *widget, gpointer data)
        tmpl = g_object_get_data(G_OBJECT(widget), "template");
        g_return_if_fail(tmpl != NULL);
 
-       msg = g_strdup_printf(_("Do you want to apply the template `%s' ?"),
+       msg = g_strdup_printf(_("Do you want to apply the template '%s' ?"),
                              tmpl->name);
        val = alertpanel(_("Apply template"), msg,
                         _("_Replace"), _("_Insert"), GTK_STOCK_CANCEL);
index 3d4393f..4dfedf3 100644 (file)
@@ -538,7 +538,7 @@ static void foldersel_new_folder(GtkButton *button, gpointer data)
        if ((p && FOLDER_TYPE(selected_item->folder) != F_IMAP) ||
            (p && FOLDER_TYPE(selected_item->folder) == F_IMAP &&
             *(p + 1) != '\0')) {
-               alertpanel_error(_("`%c' can't be included in folder name."),
+               alertpanel_error(_("'%c' can't be included in folder name."),
                                G_DIR_SEPARATOR);
                return;
        }
@@ -548,14 +548,14 @@ static void foldersel_new_folder(GtkButton *button, gpointer data)
 
        /* find whether the directory already exists */
        if (folder_find_child_item_by_name(selected_item, new_folder)) {
-               alertpanel_error(_("The folder `%s' already exists."),
+               alertpanel_error(_("The folder '%s' already exists."),
                                 disp_name);
                return;
        }
 
        new_item = folder_create_folder(selected_item, new_folder);
        if (!new_item) {
-               alertpanel_error(_("Can't create the folder `%s'."), disp_name);
+               alertpanel_error(_("Can't create the folder '%s'."), disp_name);
                return;
        }
 
index c3ef240..c2fa342 100644 (file)
@@ -1949,8 +1949,8 @@ void folderview_move_folder(FolderView *folderview, FolderItem *from_folder,
        from_parent = folder_item_parent(from_folder);
        
        if (prefs_common.warn_dnd) {
-               buf = g_strdup_printf(_("Do you really want to move folder `%s' to a "
-                                       "sub-folder of `%s' ?"), from_folder->name,
+               buf = g_strdup_printf(_("Do you really want to make folder '%s' a "
+                                       "sub-folder of '%s' ?"), from_folder->name,
                                        to_folder->name);
                status = alertpanel_message_with_disable(_("Move folder"), buf, 
                                _("Yes"), _("No"), NULL, ALERT_QUESTION);
index 790697a..af63527 100644 (file)
@@ -42,6 +42,10 @@ static HTMLSymbol symbol_list[] = {
        {"&gt;"    , ">"},
        {"&amp;"   , "&"},
        {"&quot;"  , "\""},
+       {"&lsquo;",  "'"},
+       {"&rsquo;",  "'"},
+       {"&ldquo;",  "\""},
+       {"&rdquo;",  "\""},
        {"&nbsp;"  , " "},
        {"&trade;" , "(TM)"},
 
@@ -527,6 +531,9 @@ static void html_parse_special(HTMLParser *parser)
                        char *symb = NULL;
                        switch (ch) {
                        /* http://www.w3schools.com/html/html_entitiesref.asp */
+                       case 96:        /* backtick  */
+                               symb = "`";
+                               break;
                        case 338:       /* capital ligature OE  &OElig;  */
                                symb = "OE";  
                                break;
@@ -560,8 +567,6 @@ static void html_parse_special(HTMLParser *parser)
                                symb = "--";  
                                break;
                        case 8216:      /* l single quot mark   &lsquo;  */
-                               symb = "`";  
-                               break;
                        case 8217:      /* r single quot mark   &rsquo;  */
                                symb = "'";  
                                break;
@@ -569,10 +574,8 @@ static void html_parse_special(HTMLParser *parser)
                                symb = ",";  
                                break;
                        case 8220:      /* l double quot mark   &ldquo;  */
-                               symb = "``";  
-                               break;
                        case 8221:      /* r double quot mark   &rdquo;  */
-                               symb = "''";  
+                               symb = "\"";  
                                break;
                        case 8222:      /* double low-9 quot    &bdquo;  */
                                symb = ",,";  
index 6485728..a838f5c 100644 (file)
@@ -129,14 +129,14 @@ static void new_folder_cb(FolderView *folderview, guint action,
                (_("New folder"),
                 _("Input the name of new folder:\n"
                   "(if you want to create a folder to store subfolders,\n"
-                  " append `/' at the end of the name)"),
+                  " append '/' at the end of the name)"),
                 _("NewFolder"));
        if (!new_folder) return;
        AUTORELEASE_STR(new_folder, {g_free(new_folder); return;});
 
        p = strchr(new_folder, G_DIR_SEPARATOR);
        if (p && *(p + 1) != '\0') {
-               alertpanel_error(_("`%c' can't be included in folder name."),
+               alertpanel_error(_("'%c' can't be included in folder name."),
                                 G_DIR_SEPARATOR);
                return;
        }
@@ -146,13 +146,13 @@ static void new_folder_cb(FolderView *folderview, guint action,
 
        /* find whether the directory already exists */
        if (folder_find_child_item_by_name(item, new_folder)) {
-               alertpanel_error(_("The folder `%s' already exists."), name);
+               alertpanel_error(_("The folder '%s' already exists."), name);
                return;
        }
 
        new_item = folder_create_folder(item, new_folder);
        if (!new_item) {
-               alertpanel_error(_("Can't create the folder `%s'."), name);
+               alertpanel_error(_("Can't create the folder '%s'."), name);
                return;
        }
        folder_write_list();
@@ -176,7 +176,7 @@ static void rename_folder_cb(FolderView *folderview, guint action,
        g_return_if_fail(item->folder != NULL);
 
        name = trim_string(item->name, 32);
-       message = g_strdup_printf(_("Input new name for `%s':"), name);
+       message = g_strdup_printf(_("Input new name for '%s':"), name);
        base = g_path_get_basename(item->path);
        new_folder = input_dialog(_("Rename folder"), message, base);
        g_free(base);
@@ -195,7 +195,7 @@ static void rename_folder_cb(FolderView *folderview, guint action,
 */
        if (folder_find_child_item_by_name(folder_item_parent(item), new_folder)) {
                name = trim_string(new_folder, 32);
-               alertpanel_error(_("The folder `%s' already exists."), name);
+               alertpanel_error(_("The folder '%s' already exists."), name);
                g_free(name);
                return;
        }
@@ -266,7 +266,7 @@ static void remove_server_cb(FolderView *folderview, guint action, GtkWidget *wi
        g_return_if_fail(item->folder->account != NULL);
 
        name = trim_string(item->folder->name, 32);
-       message = g_strdup_printf(_("Really delete IMAP4 account `%s'?"), name);
+       message = g_strdup_printf(_("Really delete IMAP4 account '%s'?"), name);
        avalue = alertpanel(_("Delete IMAP4 account"), message,
                            _("Yes"), _("+No"), NULL);
        g_free(message);
@@ -312,7 +312,7 @@ static void delete_folder_cb(FolderView *folderview, guint action,
        name = trim_string(item->name, 32);
        AUTORELEASE_STR(name, {g_free(name); return;});
        message = g_strdup_printf
-               (_("All folders and messages under `%s' will be permanently deleted. "
+               (_("All folders and messages under '%s' will be permanently deleted. "
                   "Recovery will not be possible.\n\n"
                   "Do you really want to delete?"), name);
        avalue = alertpanel(_("Delete folder"), message,
@@ -333,7 +333,7 @@ static void delete_folder_cb(FolderView *folderview, guint action,
 
        if (item->folder->klass->remove_folder(item->folder, item) < 0) {
                folder_item_scan(item);
-               alertpanel_error(_("Can't remove the folder `%s'."), name);
+               alertpanel_error(_("Can't remove the folder '%s'."), name);
                g_free(old_id);
                return;
        }
@@ -386,7 +386,7 @@ static void download_cb(FolderView *folderview, guint action,
                gchar *name;
 
                name = trim_string(item->name, 32);
-               alertpanel_error(_("Error occurred while downloading messages in `%s'."), name);
+               alertpanel_error(_("Error occurred while downloading messages in '%s'."), name);
                g_free(name);
        }
        folder_set_ui_func(item->folder, NULL, NULL);
index 43d5d10..cfdb98f 100644 (file)
@@ -166,7 +166,7 @@ static void exit_sylpheed           (MainWindow *mainwin);
        if (!is_dir_exist(dir)) { \
                if (is_file_exist(dir)) { \
                        alertpanel_warning \
-                               (_("File `%s' already exists.\n" \
+                               (_("File '%s' already exists.\n" \
                                   "Can't create folder."), \
                                 dir); \
                        return 1; \
index c590a19..3d3d728 100644 (file)
@@ -1664,7 +1664,7 @@ void main_window_add_mailbox(MainWindow *mainwin)
                            "Mail");
        if (!path) return;
        if (folder_find_from_path(path)) {
-               alertpanel_error(_("The mailbox `%s' already exists."), path);
+               alertpanel_error(_("The mailbox '%s' already exists."), path);
                g_free(path);
                return;
        }
index 1fe120d..2d10c63 100644 (file)
@@ -1029,7 +1029,7 @@ void messageview_save_as(MessageView *messageview)
        src = procmsg_get_message_file(msginfo);
        if (copy_file(src, dest, TRUE) < 0) {
                tmp =  g_path_get_basename(dest);
-               alertpanel_error(_("Can't save the file `%s'."), tmp);
+               alertpanel_error(_("Can't save the file '%s'."), tmp);
                g_free(tmp);
        }
        g_free(dest);
@@ -1313,12 +1313,12 @@ static void print_cb(gpointer data, guint action, GtkWidget *widget)
 #ifndef USE_GNOMEPRINT
        cmdline = input_dialog(_("Print"),
                               _("Enter the print command line:\n"
-                                "(`%s' will be replaced with file name)"),
+                                "('%s' will be replaced with file name)"),
                               prefs_common.print_cmd);
        if (!cmdline) return;
        if (!(p = strchr(cmdline, '%')) || *(p + 1) != 's' ||
            strchr(p + 2, '%')) {
-               alertpanel_error(_("Print command line is invalid:\n`%s'"),
+               alertpanel_error(_("Print command line is invalid:\n'%s'"),
                                 cmdline);
                g_free(cmdline);
                return;
index c6f917a..3d77496 100644 (file)
@@ -123,7 +123,7 @@ static void new_folder_cb(FolderView *folderview, guint action,
 
        p = strchr(new_folder, G_DIR_SEPARATOR);
        if (p) {
-               alertpanel_error(_("`%c' can't be included in folder name."),
+               alertpanel_error(_("'%c' can't be included in folder name."),
                                 G_DIR_SEPARATOR);
                return;
        }
@@ -133,13 +133,13 @@ static void new_folder_cb(FolderView *folderview, guint action,
 
        /* find whether the directory already exists */
        if (folder_find_child_item_by_name(item, new_folder)) {
-               alertpanel_error(_("The folder `%s' already exists."), name);
+               alertpanel_error(_("The folder '%s' already exists."), name);
                return;
        }
 
        new_item = folder_create_folder(item, new_folder);
        if (!new_item) {
-               alertpanel_error(_("Can't create the folder `%s'."), name);
+               alertpanel_error(_("Can't create the folder '%s'."), name);
                return;
        }
 
@@ -164,7 +164,7 @@ static void delete_folder_cb(FolderView *folderview, guint action,
        name = trim_string(item->name, 32);
        AUTORELEASE_STR(name, {g_free(name); return;});
        message = g_strdup_printf
-               (_("All folders and messages under `%s' will be permanently deleted. "
+               (_("All folders and messages under '%s' will be permanently deleted. "
                   "Recovery will not be possible.\n\n"
                   "Do you really want to delete?"), name);
        avalue = alertpanel_with_type(_("Delete folder"), message,
@@ -185,7 +185,7 @@ static void delete_folder_cb(FolderView *folderview, guint action,
 
        if (item->folder->klass->remove_folder(item->folder, item) < 0) {
                folder_item_scan(item);
-               alertpanel_error(_("Can't remove the folder `%s'."), name);
+               alertpanel_error(_("Can't remove the folder '%s'."), name);
                g_free(old_id);
                return;
        }
@@ -215,7 +215,7 @@ static void rename_folder_cb(FolderView *folderview, guint action,
        g_return_if_fail(item->folder != NULL);
 
        name = trim_string(item->name, 32);
-       message = g_strdup_printf(_("Input new name for `%s':"), name);
+       message = g_strdup_printf(_("Input new name for '%s':"), name);
        base = g_path_get_basename(item->path);
        new_folder = input_dialog(_("Rename folder"), message, base);
        g_free(message);
@@ -225,14 +225,14 @@ static void rename_folder_cb(FolderView *folderview, guint action,
        AUTORELEASE_STR(new_folder, {g_free(new_folder); return;});
 
        if (strchr(new_folder, G_DIR_SEPARATOR) != NULL) {
-               alertpanel_error(_("`%c' can't be included in folder name."),
+               alertpanel_error(_("'%c' can't be included in folder name."),
                                 G_DIR_SEPARATOR);
                return;
        }
 
        if (folder_find_child_item_by_name(folder_item_parent(item), new_folder)) {
                name = trim_string(new_folder, 32);
-               alertpanel_error(_("The folder `%s' already exists."), name);
+               alertpanel_error(_("The folder '%s' already exists."), name);
                g_free(name);
                return;
        }
@@ -308,7 +308,7 @@ static void remove_mailbox_cb(FolderView *folderview, guint action,
 
        name = trim_string(item->folder->name, 32);
        message = g_strdup_printf
-               (_("Really remove the mailbox `%s' ?\n"
+               (_("Really remove the mailbox '%s' ?\n"
                   "(The messages are NOT deleted from the disk)"), name);
        avalue = alertpanel(_("Remove mailbox"), message,
                            _("Yes"), _("+No"), NULL);
index 06a01a1..b2b10d2 100644 (file)
@@ -1072,7 +1072,7 @@ static void mimeview_save_all(MimeView *mimeview)
        }
 
        if (!is_dir_exist (dirname)) {
-               alertpanel_error(_("`%s' is not a directory."),
+               alertpanel_error(_("'%s' is not a directory."),
                                 dirname);
                if (startdir) g_free(startdir);
                return;
@@ -1259,7 +1259,7 @@ static void mimeview_open_with(MimeView *mimeview)
        cmd = input_dialog_combo
                (_("Open with"),
                 _("Enter the command line to open file:\n"
-                  "(`%s' will be replaced with file name)"),
+                  "('%s' will be replaced with file name)"),
                 prefs_common.mime_open_cmd,
                 prefs_common.mime_open_cmd_history,
                 TRUE);
@@ -1318,7 +1318,7 @@ static void mimeview_view_file(const gchar *filename, MimeInfo *partinfo,
                g_snprintf(buf, sizeof(buf), cmd, filename);
        else {
                if (cmd)
-                       g_warning("MIME viewer command line is invalid: `%s'", cmd);
+                       g_warning("MIME viewer command line is invalid: '%s'", cmd);
                if (def_cmd)
                        g_snprintf(buf, sizeof(buf), def_cmd, filename);
                else
index ba14bf7..42bdc84 100644 (file)
@@ -201,7 +201,7 @@ static void unsubscribe_newsgroup_cb(FolderView *folderview, guint action,
        old_id = folder_item_get_identifier(item);
 
        name = trim_string(item->path, 32);
-       message = g_strdup_printf(_("Really unsubscribe newsgroup `%s'?"), name);
+       message = g_strdup_printf(_("Really unsubscribe newsgroup '%s'?"), name);
        avalue = alertpanel(_("Unsubscribe newsgroup"), message,
                            _("Yes"), _("+No"), NULL);
        g_free(message);
@@ -250,7 +250,7 @@ static void remove_news_server_cb(FolderView *folderview, guint action,
        g_return_if_fail(item->folder->account != NULL);
 
        name = trim_string(item->folder->name, 32);
-       message = g_strdup_printf(_("Really delete news account `%s'?"), name);
+       message = g_strdup_printf(_("Really delete news account '%s'?"), name);
        avalue = alertpanel(_("Delete news account"), message,
                            _("Yes"), _("+No"), NULL);
        g_free(message);
@@ -323,7 +323,7 @@ static void download_cb(FolderView *folderview, guint action,
                gchar *name;
 
                name = trim_string(item->name, 32);
-               alertpanel_error(_("Error occurred while downloading messages in `%s'."), name);
+               alertpanel_error(_("Error occurred while downloading messages in '%s'."), name);
                g_free(name);
        }
        folder_set_ui_func(item->folder, NULL, NULL);
index a717f1b..913b0ba 100644 (file)
@@ -292,7 +292,7 @@ gpgmegtk_passphrase_cb(void *opaque, const char *uid_hint,
         return GPG_ERR_NO_ERROR;
     }
     gpgmegtk_set_passphrase_grab (prefs_gpg_get_config()->passphrase_grab);
-    debug_print ("%% requesting passphrase for `%s': ", uid_hint);
+    debug_print ("%% requesting passphrase for '%s': ", uid_hint);
     pass = passphrase_mbox (uid_hint, passphrase_hint, prev_bad);
     gpgmegtk_free_passphrase();
     if (!pass) {
index 1cd365e..2ef3ede 100644 (file)
@@ -102,10 +102,10 @@ update_progress (struct select_keys_s *sk, int running, const char *pattern)
     char *buf;
 
     if (!running)
-        buf = g_strdup_printf (_("Please select key for `%s'"), 
+        buf = g_strdup_printf (_("Please select key for '%s'"),
                                pattern);
     else 
-        buf = g_strdup_printf (_("Collecting info for `%s' ... %c"), 
+        buf = g_strdup_printf (_("Collecting info for '%s' ... %c"),
                                pattern,
                                windmill[running%DIM(windmill)]);
     gtk_label_set_text (sk->toplabel, buf);
@@ -232,7 +232,7 @@ fill_clist (struct select_keys_s *sk, const char *pattern)
     clist = sk->clist;
     g_return_if_fail (clist);
 
-    debug_print ("select_keys:fill_clist:  pattern `%s'\n", pattern);
+    debug_print ("select_keys:fill_clist:  pattern '%s'\n", pattern);
 
     /*gtk_clist_freeze (select_keys.clist);*/
     err = gpgme_new (&ctx);
index 2ceb791..6b830c8 100644 (file)
@@ -1512,7 +1512,7 @@ static void prefs_account_receive_create(void)
 
        PACK_CHECK_BUTTON
                (vbox1, recvatgetall_chkbtn,
-                _("`Get all' checks for new messages on this account"));
+                _("'Get all' checks for new messages on this account"));
 
        receive.pop3_frame               = frame1;
        receive.use_apop_chkbtn          = use_apop_chkbtn;
index dedef2d..01c0b5d 100644 (file)
@@ -177,7 +177,7 @@ void prefs_send_create_widget(PrefsPage *_page, GtkWindow *window,
        optmenu_charset = gtk_option_menu_new ();
        gtk_widget_show (optmenu_charset);
        gtk_tooltips_set_tip(GTK_TOOLTIPS(charset_tooltip), optmenu_charset,
-                            _("If `Automatic' is selected, the optimal encoding"
+                            _("If 'Automatic' is selected, the optimal encoding"
                               " for the current locale will be used"),
                             NULL);
        gtk_box_pack_start (GTK_BOX (hbox1), optmenu_charset, FALSE, FALSE, 0);
index fa1f308..f6c628c 100644 (file)
@@ -729,7 +729,7 @@ void prefs_summaries_create_widget(PrefsPage *_page, GtkWindow *window,
 
        PACK_CHECK_BUTTON
                (vbox2, chkbtn_transhdr,
-                _("Translate header name (such as `From:', `Subject:')"));
+                _("Translate header name (such as 'From:', 'Subject:')"));
 
        PACK_CHECK_BUTTON (vbox2, chkbtn_folder_unread,
                           _("Display unread number next to folder name"));
@@ -771,7 +771,7 @@ void prefs_summaries_create_widget(PrefsPage *_page, GtkWindow *window,
 
        PACK_CHECK_BUTTON
                (vbox2, chkbtn_swapfrom,
-                _("Display recipient in `From' column if sender is yourself"));
+                _("Display recipient in 'From' column if sender is yourself"));
        PACK_CHECK_BUTTON
                (vbox2, chkbtn_useaddrbook,
                 _("Display sender using address book"));
index ba07eeb..e60ba45 100644 (file)
@@ -1015,7 +1015,7 @@ void procmsg_print_message(MsgInfo *msginfo, const gchar *cmdline)
                g_snprintf(buf, sizeof(buf) - 1, cmdline, prtmp);
        else {
                if (cmdline)
-                       g_warning("Print command line is invalid: `%s'\n",
+                       g_warning("Print command line is invalid: '%s'\n",
                                  cmdline);
                g_snprintf(buf, sizeof(buf) - 1, def_cmd, prtmp);
        }
index d177b45..4383095 100644 (file)
@@ -3430,10 +3430,10 @@ void summary_save_as(SummaryView *summaryview)
 
        if ( aval==0 ) { /* append */
                if (append_file(src, dest, TRUE) < 0) 
-                       alertpanel_error(_("Can't save the file `%s'."), tmp);
+                       alertpanel_error(_("Can't save the file '%s'."), tmp);
        } else { /* overwrite */
                if (copy_file(src, dest, TRUE) < 0)
-                       alertpanel_error(_("Can't save the file `%s'."), tmp);
+                       alertpanel_error(_("Can't save the file '%s'."), tmp);
        }
        g_free(src);
        
@@ -3448,7 +3448,7 @@ void summary_save_as(SummaryView *summaryview)
                        if (!msginfo) break;
                        src = procmsg_get_message_file(msginfo);
                        if (append_file(src, dest, TRUE) < 0)
-                               alertpanel_error(_("Can't save the file `%s'."), tmp);
+                               alertpanel_error(_("Can't save the file '%s'."), tmp);
                }
                g_free(src);
        }
@@ -3474,12 +3474,12 @@ void summary_print(SummaryView *summaryview)
 #ifndef USE_GNOMEPRINT
        cmdline = input_dialog(_("Print"),
                               _("Enter the print command line:\n"
-                                "(`%s' will be replaced with file name)"),
+                                "('%s' will be replaced with file name)"),
                               prefs_common.print_cmd);
        if (!cmdline) return;
        if (!(p = strchr(cmdline, '%')) || *(p + 1) != 's' ||
            strchr(p + 2, '%')) {
-               alertpanel_error(_("Print command line is invalid:\n`%s'"),
+               alertpanel_error(_("Print command line is invalid:\n'%s'"),
                                 cmdline);
                g_free(cmdline);
                return;