msgstr "ðÅÒÅÄÁÔØ ÐÒÏÇÒÁÍÍÅ: "
#: commands.c:417
-#, fuzzy
msgid "No printing command has been defined."
-msgstr "îÅ ÏÐÒÅÄÅÌÅÎÏ ÎÉ ÏÄÎÏÇÏ ÐÏÞÔÏ×ÏÇÏ ÑÝÉËÁ ÓÏ ×ÈÏÄÑÝÉÍÉ ÐÉÓØÍÁÍÉ."
+msgstr "ëÏÍÁÎÄÁ ÄÌÑ ÐÅÞÁÔÉ ÎÅ ÏÐÒÅÄÅÌÅÎÁ."
#: commands.c:422
msgid "Print message?"
msgstr "óÏÏÂÝÅÎÉÑ ÎÁÐÅÞÁÔÁÎÙ"
#: commands.c:432
-#, fuzzy
msgid "Message could not be printed"
-msgstr "óÏÏÂÝÅÎÉÅ ÎÁÐÅÞÁÔÁÎÏ"
+msgstr "îÅ ÕÄÁÌÏÓØ ÎÁÐÅÞÁÔÁÔØ ÓÏÏÂÝÅÎÉÅ"
#: commands.c:433
-#, fuzzy
msgid "Messages could not be printed"
-msgstr "óÏÏÂÝÅÎÉÑ ÎÁÐÅÞÁÔÁÎÙ"
+msgstr "îÅ ÕÄÁÌÏÓØ ÎÁÐÅÞÁÔÁÔØ ÓÏÏÂÝÅÎÉÑ"
#: commands.c:442
msgid ""
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ÍÅÔÏÄ ÓÏÒÔÉÒÏ×ËÉ"
#: init.c:744
-#, fuzzy, c-format
+#, c-format
msgid "mutt_restore_default(%s): error in regexp: %s\n"
-msgstr "mutt_restore_default: ÏÛÉÂËÁ × ÒÅÇÕÌÑÒÎÏÍ ×ÙÒÁÖÅÎÉÉ: %s\n"
+msgstr "mutt_restore_default(%s): ÏÛÉÂËÁ × ÒÅÇÕÌÑÒÎÏÍ ×ÙÒÁÖÅÎÉÉ: %s\n"
#: init.c:805
#, c-format
#: keymap_alldefs.h:80
msgid "capitalize the word"
-msgstr ""
+msgstr "ÐÅÒÅ×ÅÓÔÉ ÐÅÒ×ÕÀ ÂÕË×Õ ÓÌÏ×Á × ×ÅÒÈÎÉÊ ÒÅÇÉÓÔÒ, Á ÏÓÔÁÌØÎÙÅ -- × ÎÉÖÎÉÊ"
#: keymap_alldefs.h:81
msgid "convert the word to lower case"
/* Copy error message to err_msg buffer */
void pop_error (POP_DATA *pop_data, char *msg)
{
- char *c, *c2;
+ char *t, *c, *c2;
+ t = strchr (pop_data->err_msg, '\0');
c = msg;
if (!mutt_strncmp (msg, "-ERR ", 5))
c = c2;
}
- strfcpy (pop_data->err_msg, c, sizeof (pop_data->err_msg));
+ strfcpy (t, c, sizeof (pop_data->err_msg) - strlen (pop_data->err_msg));
mutt_remove_trailing_ws (pop_data->err_msg);
}
if (mutt_strncmp (buf, "+OK", 3))
{
+ *pop_data->err_msg = '\0';
pop_error (pop_data, buf);
mutt_error ("%s", pop_data->err_msg);
return -2;
int pop_query_d (POP_DATA *pop_data, char *buf, size_t buflen, char *msg)
{
int dbg = M_SOCK_LOG_CMD;
+ char *c;
if (pop_data->status != POP_CONNECTED)
return -1;
#endif
mutt_socket_write_d (pop_data->conn, buf, dbg);
+
+ c = strpbrk (buf, " \r\n");
+ *c = '\0';
+ snprintf (pop_data->err_msg, sizeof (pop_data->err_msg), "%s: ", buf);
+
if (mutt_socket_readln (buf, buflen, pop_data->conn) < 0)
{
pop_data->status = POP_DISCONNECTED;