395 |
km_clip_import (HWND dlg) |
km_clip_import (HWND dlg) |
396 |
{ |
{ |
397 |
gpgme_error_t err; |
gpgme_error_t err; |
398 |
gpg_pgptype_t pgptype; |
int pgptype; |
399 |
int id; |
int id; |
400 |
int has_data = 0; |
int has_data = 0; |
401 |
|
|
845 |
if (km_check_for_seckey (lv, i, NULL)) |
if (km_check_for_seckey (lv, i, NULL)) |
846 |
nsec++; |
nsec++; |
847 |
} |
} |
848 |
_snprintf (txt_sec, sizeof (txt_sec)-1, "%d secret keys", nsec); |
_snprintf (txt_sec, sizeof (txt_sec)-1, _("%d secret keys"), nsec); |
849 |
_snprintf (txt_pub, sizeof (txt_pub)-1, "%d keys", nkeys); |
_snprintf (txt_pub, sizeof (txt_pub)-1, _("%d keys"), nkeys); |
850 |
SendMessage (sb, SB_SETTEXT, 1, (LPARAM)txt_sec); |
SendMessage (sb, SB_SETTEXT, 1, (LPARAM)txt_sec); |
851 |
SendMessage (sb, SB_SETTEXT, 2, (LPARAM)txt_pub); |
SendMessage (sb, SB_SETTEXT, 2, (LPARAM)txt_pub); |
852 |
} /* km_complete_status_bar */ |
} /* km_complete_status_bar */ |
882 |
{ |
{ |
883 |
int oldpos = listview_get_curr_pos (lv); |
int oldpos = listview_get_curr_pos (lv); |
884 |
int n; |
int n; |
885 |
char *name = get_input_dialog (dlg, "Search", "Search for:"); |
char *name = get_input_dialog (dlg, _("Search"), _("Search for:")); |
886 |
if (name == NULL) |
if (name == NULL) |
887 |
return; |
return; |
888 |
if (oldpos < 0) |
if (oldpos < 0) |