if( iface && 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_CANCEL, "+"GTK_STOCK_DELETE, NULL );
}
else {
message = g_strdup_printf
- ( _( "Do you want to delete '%s' ? "
+ ( _( "Do you want to delete '%s'? "
"If you delete the folder only, the addresses it contains will be moved into the parent folder." ),
obj->name );
aval = alertpanel( _("Delete folder"), message,
tmpl = g_object_get_data(G_OBJECT(widget), "template");
cm_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);
static gchar *get_scan_str(FolderItem *item)
{
if (item->path)
- return g_strdup_printf(_("Scanning folder %s%c%s ..."),
+ return g_strdup_printf(_("Scanning folder %s%c%s..."),
item->folder->name, G_DIR_SEPARATOR,
item->path);
else
- return g_strdup_printf(_("Scanning folder %s ..."),
+ return g_strdup_printf(_("Scanning folder %s..."),
item->folder->name);
}
static void folderview_scan_tree_func(Folder *folder, FolderItem *item,
cm_return_if_fail(to_folder != NULL);
if (prefs_common.warn_dnd) {
- buf = g_strdup_printf(copy ? _("Do you really want to copy folder '%s' in '%s' ?"):
- _("Do you really want to make folder '%s' a subfolder of '%s' ?"),
+ buf = g_strdup_printf(copy ? _("Do you really want to copy folder '%s' in '%s'?"):
+ _("Do you really want to make folder '%s' a subfolder of '%s'?"),
from_folder->name, to_folder->name);
status = alertpanel_full(copy ? _("Copy folder"):_("Move folder"), buf,
GTK_STOCK_NO, GTK_STOCK_YES, NULL, TRUE,
lock_session(session); /* unlocked by get_list_of_uids */
if (FOLDER_ITEM(item)->path)
- statusbar_print_all(_("Scanning folder %s%c%s ..."),
+ statusbar_print_all(_("Scanning folder %s%c%s..."),
FOLDER_ITEM(item)->folder->name,
G_DIR_SEPARATOR,
FOLDER_ITEM(item)->path);
else
- statusbar_print_all(_("Scanning folder %s ..."),
+ statusbar_print_all(_("Scanning folder %s..."),
FOLDER_ITEM(item)->folder->name);
if (item->should_trash_cache) {
return;
}
if (strchr(new_folder, '/') != NULL) {
- alertpanel_error(_("`%c' can't be included in folder name."),
+ alertpanel_error(_("'%c' can't be included in folder name."),
'/');
return;
}
case POP3_GETAUTH_APOP:
progress_dialog_set_label(dialog, _("Authenticating..."));
statuswindow_pop_all();
- statusbar_print_all(_("Retrieving messages from %s (%s) ..."),
+ statusbar_print_all(_("Retrieving messages from %s (%s)..."),
SESSION(session)->server,
session->ac_prefs->account_name);
break;
gchar *str;
if (item->path)
- str = g_strdup_printf(_("Scanning folder %s%c%s ..."),
+ str = g_strdup_printf(_("Scanning folder %s%c%s..."),
LOCAL_FOLDER(folder)->rootpath,
G_DIR_SEPARATOR,
item->path);
else
- str = g_strdup_printf(_("Scanning folder %s ..."),
+ str = g_strdup_printf(_("Scanning folder %s..."),
LOCAL_FOLDER(folder)->rootpath);
STATUSBAR_PUSH(mainwin, str);
statusbar_pop_all();
statusbar_print_all(
ngettext("Importing from mbox... (%d mail imported)",
- "Importing from mbox ... (%d mails imported)", msgs), msgs);
+ "Importing from mbox... (%d mails imported)", msgs), msgs);
printed=TRUE;
GTK_EVENTS_FLUSH();
}
name = trim_string(item->folder->name, 32);
message = g_markup_printf_escaped
- (_("Really remove the mailbox '%s' ?\n"
+ (_("Really remove the mailbox '%s'?\n"
"(The messages are NOT deleted from the disk)"), name);
avalue = alertpanel_full(_("Remove mailbox"), message,
GTK_STOCK_CANCEL, _("_Remove"), NULL, FALSE,
r = nntp_threaded_connect(folder, server, port);
if (r != NEWSNNTP_NO_ERROR) {
- log_error(LOG_PROTOCOL, _("Error logging in to %s:%d ...\n"), server, port);
+ log_error(LOG_PROTOCOL, _("Error logging in to %s:%d...\n"), server, port);
session_destroy(SESSION(session));
return NULL;
}
if ((session != NULL) && ac->use_nntp_auth) { /* FIXME: && ac->use_nntp_auth_onconnect */
if (nntp_threaded_login(folder, userid, passwd) !=
NEWSNNTP_NO_ERROR) {
- log_error(LOG_PROTOCOL, _("Error authenticating to %s:%d ...\n"), ac->nntp_server, port);
+ log_error(LOG_PROTOCOL, _("Error authenticating to %s:%d...\n"), ac->nntp_server, port);
session_destroy(SESSION(session));
g_free(passwd);
if (ac->session_passwd) {
gtk_widget_set_size_request(whitelist_ab_folder_combo, 100, -1);
gtk_box_pack_start (GTK_BOX (hbox_whitelist), whitelist_ab_folder_combo, TRUE, TRUE, 0);
- whitelist_ab_select_btn = gtk_button_new_with_label(_("Select ..."));
+ whitelist_ab_select_btn = gtk_button_new_with_label(_("Select..."));
gtk_widget_show (whitelist_ab_select_btn);
gtk_box_pack_start (GTK_BOX (hbox_whitelist), whitelist_ab_select_btn, FALSE, FALSE, 0);
CLAWS_SET_TIP(whitelist_ab_select_btn,
gtk_widget_set_size_request(whitelist_ab_folder_combo, 100, -1);
gtk_box_pack_start (GTK_BOX (hbox_whitelist), whitelist_ab_folder_combo, TRUE, TRUE, 0);
- whitelist_ab_select_btn = gtk_button_new_with_label(_("Select ..."));
+ whitelist_ab_select_btn = gtk_button_new_with_label(_("Select..."));
gtk_widget_show (whitelist_ab_select_btn);
gtk_box_pack_start (GTK_BOX (hbox_whitelist), whitelist_ab_select_btn, FALSE, FALSE, 0);
CLAWS_SET_TIP(whitelist_ab_select_btn,
"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;
}
if (p == NULL)
p = strchr(new_folder, '.');
if (p) {
- alertpanel_error(_("`%c' can't be included in folder name."),
+ alertpanel_error(_("'%c' can't be included in folder name."),
p[0]);
return;
}
p = g_strconcat(item->path ? item->path : "", ".", new_folder, NULL);
if (folder_find_child_item_by_name(item, p)) {
g_free(p);
- alertpanel_error(_("The folder `%s' already exists."), name);
+ alertpanel_error(_("The folder '%s' already exists."), name);
return;
}
g_free(p);
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;
}
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_full(_("Remove mailbox"), message,
GTK_STOCK_CANCEL, _("_Remove"), NULL, FALSE,
name = trim_string(item->name, 32);
AUTORELEASE_STR(name, {g_free(name); return;});
message = g_strdup_printf
- (_("All folder(s) and message(s) under `%s' will be deleted.\n"
+ (_("All folder(s) and message(s) under '%s' will be deleted.\n"
"Do you really want to delete?"), name);
avalue = alertpanel_full(_("Delete folder"), message,
GTK_STOCK_CANCEL, GTK_STOCK_DELETE, NULL, FALSE,
}
if (item->folder->klass->remove_folder(item->folder, item) < 0) {
- alertpanel_error(_("Can't remove the folder `%s'."), name);
+ alertpanel_error(_("Can't remove the folder '%s'."), name);
if (folderview->opened == folderview->selected)
summary_show(folderview->summaryview,
folderview->summaryview->folder_item);
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);
new_folder = input_dialog(_("Rename folder"), message, item->name);
g_free(message);
g_free(name);
if (p == NULL)
p = strchr(new_folder, '.');
if (p) {
- alertpanel_error(_("`%c' can't be included in folder name."),
+ alertpanel_error(_("'%c' can't be included in folder name."),
p[0]);
return;
}
p = g_strconcat(parent->path ? parent->path : "", ".", new_folder, NULL);
if (folder_find_child_item_by_name(parent, p)) {
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;
}
g_return_if_fail( !folder_item_parent(item) );
name = trim_string(item->folder->name, 32);
- message = g_strdup_printf(_("Really remove the folder tree '%s' ?\n"), name);
+ message = g_strdup_printf(_("Really remove the folder tree '%s'?\n"), name);
aval = alertpanel_full(_("Remove folder tree"), message,
GTK_STOCK_CANCEL, _("_Remove"), NULL, FALSE, NULL,
ALERT_WARNING, G_ALERTDEFAULT);
gtk_widget_set_size_request(whitelist_ab_folder_combo, 100, -1);
gtk_box_pack_start (GTK_BOX (hbox_whitelist), whitelist_ab_folder_combo, TRUE, TRUE, 0);
- whitelist_ab_select_btn = gtk_button_new_with_label(_("Select ..."));
+ whitelist_ab_select_btn = gtk_button_new_with_label(_("Select..."));
gtk_widget_show (whitelist_ab_select_btn);
gtk_box_pack_start (GTK_BOX (hbox_whitelist), whitelist_ab_select_btn, FALSE, FALSE, 0);
CLAWS_SET_TIP(whitelist_ab_select_btn,
gtk_table_attach(GTK_TABLE(table), hbox1, 2, 3, 2, 3,
GTK_FILL, GTK_SHRINK, 0, 0);
- dest_btn = gtk_button_new_with_label (_("Select ..."));
+ dest_btn = gtk_button_new_with_label (_("Select..."));
gtk_box_pack_start (GTK_BOX (hbox1), dest_btn, FALSE, FALSE, 0);
g_signal_connect (G_OBJECT (dest_btn), "clicked",
G_CALLBACK(prefs_filtering_action_select_dest),
NULL);
#ifndef USE_NEW_ADDRBOOK
- addressbook_btn = gtk_button_new_with_label (_("Select ..."));
+ addressbook_btn = gtk_button_new_with_label (_("Select..."));
gtk_box_pack_start (GTK_BOX (hbox1), addressbook_btn, FALSE, FALSE, 0);
g_signal_connect (G_OBJECT (addressbook_btn), "clicked",
G_CALLBACK(prefs_filtering_action_select_addressbook),
gtk_widget_set_size_request(addressbook_folder_combo, 150, -1);
gtk_box_pack_start(GTK_BOX(upper_hbox), addressbook_folder_combo, TRUE, TRUE, 0);
- addressbook_select_btn = gtk_button_new_with_label(_("Select ..."));
+ addressbook_select_btn = gtk_button_new_with_label(_("Select..."));
gtk_box_pack_start(GTK_BOX(upper_hbox), addressbook_select_btn, FALSE, FALSE, 0);
#ifndef USE_NEW_ADDRBOOK
g_signal_connect(G_OBJECT (addressbook_select_btn), "clicked",
gchar *str;
if (item->path)
- str = g_strdup_printf(_("Scanning folder %s%c%s ..."),
+ str = g_strdup_printf(_("Scanning folder %s%c%s..."),
LOCAL_FOLDER(folder)->rootpath,
G_DIR_SEPARATOR,
item->path);
else
- str = g_strdup_printf(_("Scanning folder %s ..."),
+ str = g_strdup_printf(_("Scanning folder %s..."),
LOCAL_FOLDER(folder)->rootpath);
if (mainwin->statusbar)