Translate a few more left-out strings
This commit is contained in:
parent
b297944650
commit
ffef370ae1
5 changed files with 72 additions and 22 deletions
|
@ -7,4 +7,5 @@ tgp-msg.c
|
|||
tgp-net.c
|
||||
tgp-request.c
|
||||
tgp-utils.c
|
||||
tgp-chat.c
|
||||
|
||||
|
|
40
po/de.po
40
po/de.po
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: telegram-purple 1.3.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-10-04 17:17+0200\n"
|
||||
"POT-Creation-Date: 2015-10-06 14:18+0200\n"
|
||||
"PO-Revision-Date: 2015-10-04 16:03+0200\n"
|
||||
"Last-Translator: Matthias Jentsch <mtthsjntsch@gmail.com>\n"
|
||||
"Language-Team: German\n"
|
||||
|
@ -18,34 +18,34 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: ../telegram-base.c:427
|
||||
#: ../telegram-base.c:417
|
||||
msgid "Login Canceled"
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:427
|
||||
#: ../telegram-base.c:417
|
||||
msgid "Authentication export failed."
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:474
|
||||
#: ../telegram-base.c:464
|
||||
msgid "Group not created"
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:474
|
||||
#: ../telegram-base.c:464
|
||||
msgid "Select at least one other user"
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:482
|
||||
#: ../telegram-base.c:472
|
||||
msgid "Invalid phone number"
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:483
|
||||
#: ../telegram-base.c:473
|
||||
msgid ""
|
||||
"Please enter only numbers in the international phone number format, a "
|
||||
"leading + following by the country prefix and the phone number.\n"
|
||||
"Do not use any other special chars."
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:597
|
||||
#: ../telegram-base.c:587
|
||||
msgid "Query Failed"
|
||||
msgstr ""
|
||||
|
||||
|
@ -300,6 +300,10 @@ msgstr ""
|
|||
msgid "%s sent a sticker"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-net.c:327
|
||||
msgid "Cannot connect to server"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-net.c:372
|
||||
msgid "Lost connection to the server..."
|
||||
msgstr ""
|
||||
|
@ -440,3 +444,23 @@ msgstr ""
|
|||
#: ../tgp-utils.c:66
|
||||
msgid "Unknown"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-chat.c:82
|
||||
msgid "You have already left this chat."
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-chat.c:132
|
||||
msgid "_Subject:"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-chat.c:138
|
||||
msgid "_Invite Link:"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-chat.c:144
|
||||
msgid "_Chat Id:"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-chat.c:243
|
||||
msgid "Users"
|
||||
msgstr ""
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-10-04 17:17+0200\n"
|
||||
"POT-Creation-Date: 2015-10-06 14:19+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -17,34 +17,34 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: ../telegram-base.c:427
|
||||
#: ../telegram-base.c:417
|
||||
msgid "Login Canceled"
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:427
|
||||
#: ../telegram-base.c:417
|
||||
msgid "Authentication export failed."
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:474
|
||||
#: ../telegram-base.c:464
|
||||
msgid "Group not created"
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:474
|
||||
#: ../telegram-base.c:464
|
||||
msgid "Select at least one other user"
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:482
|
||||
#: ../telegram-base.c:472
|
||||
msgid "Invalid phone number"
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:483
|
||||
#: ../telegram-base.c:473
|
||||
msgid ""
|
||||
"Please enter only numbers in the international phone number format, a "
|
||||
"leading + following by the country prefix and the phone number.\n"
|
||||
"Do not use any other special chars."
|
||||
msgstr ""
|
||||
|
||||
#: ../telegram-base.c:597
|
||||
#: ../telegram-base.c:587
|
||||
msgid "Query Failed"
|
||||
msgstr ""
|
||||
|
||||
|
@ -299,6 +299,10 @@ msgstr ""
|
|||
msgid "%s sent a sticker"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-net.c:327
|
||||
msgid "Cannot connect to server"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-net.c:372
|
||||
msgid "Lost connection to the server..."
|
||||
msgstr ""
|
||||
|
@ -439,3 +443,23 @@ msgstr ""
|
|||
#: ../tgp-utils.c:66
|
||||
msgid "Unknown"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-chat.c:82
|
||||
msgid "You have already left this chat."
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-chat.c:132
|
||||
msgid "_Subject:"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-chat.c:138
|
||||
msgid "_Invite Link:"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-chat.c:144
|
||||
msgid "_Chat Id:"
|
||||
msgstr ""
|
||||
|
||||
#: ../tgp-chat.c:243
|
||||
msgid "Users"
|
||||
msgstr ""
|
||||
|
|
11
tgp-chat.c
11
tgp-chat.c
|
@ -23,6 +23,7 @@
|
|||
#include "tgp-utils.h"
|
||||
#include "tgp-request.h"
|
||||
#include "telegram-base.h"
|
||||
#include "telegram-purple.h"
|
||||
|
||||
#include <tgl.h>
|
||||
#include <tgl-queries.h>
|
||||
|
@ -79,7 +80,7 @@ static void tgp_chat_on_loaded_chat_full_joining (struct tgl_state *TLS, void *_
|
|||
|
||||
// Check if the users attempts to join an empty chat
|
||||
if (! C->user_list_size) {
|
||||
p2tgl_got_chat_in (TLS, C->id, C->id, "You have already left this chat.",
|
||||
p2tgl_got_chat_in (TLS, C->id, C->id, _("You have already left this chat."),
|
||||
PURPLE_MESSAGE_SYSTEM, time (NULL));
|
||||
}
|
||||
}
|
||||
|
@ -129,19 +130,19 @@ PurpleConversation *tgp_chat_show (struct tgl_state *TLS, struct tgl_chat *C) {
|
|||
GList *tgprpl_chat_join_info (PurpleConnection * gc) {
|
||||
struct proto_chat_entry *pce;
|
||||
pce = g_new0 (struct proto_chat_entry, 1);
|
||||
pce->label = "_Subject:";
|
||||
pce->label = _("_Subject:");
|
||||
pce->identifier = "subject";
|
||||
pce->required = FALSE;
|
||||
GList *info = g_list_append (NULL, pce);
|
||||
|
||||
pce = g_new0 (struct proto_chat_entry, 1);
|
||||
pce->label = "_Invite Link:";
|
||||
pce->label = _("_Invite Link:");
|
||||
pce->identifier = "link";
|
||||
pce->required = FALSE;
|
||||
info = g_list_append (info, pce);
|
||||
|
||||
pce = g_new0 (struct proto_chat_entry, 1);
|
||||
pce->label = "_Chat Id:";
|
||||
pce->label = _("_Chat Id:");
|
||||
pce->identifier = "id";
|
||||
pce->required = FALSE;
|
||||
|
||||
|
@ -240,7 +241,7 @@ PurpleRoomlist *tgprpl_roomlist_get_list (PurpleConnection *gc) {
|
|||
PurpleRoomlistField *f = purple_roomlist_field_new (PURPLE_ROOMLIST_FIELD_STRING, "", "id", TRUE);
|
||||
fields = g_list_append (fields, f);
|
||||
|
||||
f = purple_roomlist_field_new (PURPLE_ROOMLIST_FIELD_INT, "Users", "users", FALSE);
|
||||
f = purple_roomlist_field_new (PURPLE_ROOMLIST_FIELD_INT, _("Users"), "users", FALSE);
|
||||
fields = g_list_append (fields, f);
|
||||
|
||||
purple_roomlist_set_fields (conn->roomlist, fields);
|
||||
|
|
|
@ -323,7 +323,7 @@ static void restart_connection (struct connection *c) {
|
|||
|
||||
if (tglt_get_double_time () - c->last_receive_time > 6 * PING_TIMEOUT) {
|
||||
purple_connection_error_reason (conn->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
|
||||
"Cannot connect to server");
|
||||
_("Cannot connect to server"));
|
||||
return;
|
||||
}
|
||||
purple_proxy_connect_cancel (c->prpl_data);
|
||||
|
|
Loading…
Add table
Reference in a new issue