Mark the protocol descriptions for translation and tweak them a bit.
Testing Done:
Compile only
Reviewed at https://reviews.imfreedom.org/r/902/
--- a/libpurple/protocols/bonjour/bonjour.c Thu Apr 28 18:14:32 2022 -0500
+++ b/libpurple/protocols/bonjour/bonjour.c Sat Apr 30 02:31:54 2022 -0500
@@ -753,7 +753,8 @@
- "description", "Bonjour is a serverless protocol, developed by Apple",
+ "description", _("Bonjour is a serverless protocol for local " "icon-name", "im-bonjour",
"icon-resource-path", "/im/pidgin/libpurple/bonjour/icons",
"options", OPT_PROTO_NO_PASSWORD,
--- a/libpurple/protocols/facebook/facebook.c Thu Apr 28 18:14:32 2022 -0500
+++ b/libpurple/protocols/facebook/facebook.c Sat Apr 30 02:31:54 2022 -0500
@@ -1737,7 +1737,9 @@
fb_protocol = g_object_new(FACEBOOK_TYPE_PROTOCOL,
- "description", "Facebook is a chat protocol, developed by Facebook",
+ "description", _("Facebook Messenger allows " + "you to talk with your " + "friends on Facebook."), "icon-name", "im-facebook",
"icon-resource-path", "/im/pidgin/libpurple/facebook/icons",
"options", OPT_PROTO_CHAT_TOPIC,
--- a/libpurple/protocols/gg/gg.c Thu Apr 28 18:14:32 2022 -0500
+++ b/libpurple/protocols/gg/gg.c Sat Apr 30 02:31:54 2022 -0500
@@ -1211,7 +1211,7 @@
- "description", "Gadu-Gadu is a Polish instant messaging client",
+ "description", _("Gadu-Gadu is a Polish instant messaging network."), "icon-name", "im-gadu-gadu",
"icon-resource-path", "/im/pidgin/libpurple/gg/icons",
--- a/libpurple/protocols/irc/irc.c Thu Apr 28 18:14:32 2022 -0500
+++ b/libpurple/protocols/irc/irc.c Sat Apr 30 02:31:54 2022 -0500
@@ -1165,7 +1165,8 @@
- "description", "Internet Relay Chat (IRC) is a text-based chat system",
+ "description", _("Internet Relay Chat (IRC) is a text-based chat " "icon-resource-path", "/im/pidgin/libpurple/irc/icons",
"options", OPT_PROTO_CHAT_TOPIC | OPT_PROTO_PASSWORD_OPTIONAL |
--- a/libpurple/protocols/jabber/xmpp.c Thu Apr 28 18:14:32 2022 -0500
+++ b/libpurple/protocols/jabber/xmpp.c Sat Apr 30 02:31:54 2022 -0500
@@ -139,7 +139,8 @@
- "description", "Extensible Messaging and Presence Protocol for IM, voice and video",
+ "description", _("Extensible Messaging and Presence Protocol for IM, " "icon-name", "im-jabber",
"icon-resource-path", "/im/pidgin/libpurple/xmpp/icons",
--- a/libpurple/protocols/novell/novell.c Thu Apr 28 18:14:32 2022 -0500
+++ b/libpurple/protocols/novell/novell.c Sat Apr 30 02:31:54 2022 -0500
@@ -3642,7 +3642,8 @@
- "description", "GroupWise is a messaging and collaboration platform from Micro Focus",
+ "description", _("GroupWise is a messaging and collaboration " + "platform from Micro Focus."), "icon-name", "im-novell",
"icon-resource-path", "/im/pidgin/libpurple/novell/icons",
--- a/libpurple/protocols/sametime/sametime.c Thu Apr 28 18:14:32 2022 -0500
+++ b/libpurple/protocols/sametime/sametime.c Sat Apr 30 02:31:54 2022 -0500
@@ -66,11 +66,6 @@
static PurpleProtocol *my_protocol = NULL;
-#define PROTOCOL_ID "prpl-meanwhile"
-#define PROTOCOL_NAME "Sametime"
-#define PROTOCOL_DESCRIPTION "Sametime chat by Lotus"
/* considering that there's no display of this information for protocols,
I don't know why I even bother providing these. Oh valiant reader,
@@ -5393,9 +5388,9 @@
return PURPLE_PROTOCOL(g_object_new(
- "description", PROTOCOL_DESCRIPTION,
+ "id", "prpl-meanwhile", + "description", _("HCL Sametime enterprise chat."), "icon-name", "im-meanwhile",
"icon-resource-path", "/im/pidgin/libpurple/sametime/icons",
--- a/libpurple/protocols/silc/silc.c Thu Apr 28 18:14:32 2022 -0500
+++ b/libpurple/protocols/silc/silc.c Sat Apr 30 02:31:54 2022 -0500
@@ -2350,7 +2350,7 @@
SILCPURPLE_TYPE_PROTOCOL,
- "description", "SILC - Secure Internet Live Conferencing protocol",
+ "description", _("Secure Internet Live Conferencing protocol."), "icon-resource-path", "/im/pidgin/libpurple/silc/icons",
"options", OPT_PROTO_CHAT_TOPIC | OPT_PROTO_UNIQUE_CHATNAME |
--- a/libpurple/protocols/zephyr/zephyr.c Thu Apr 28 18:14:32 2022 -0500
+++ b/libpurple/protocols/zephyr/zephyr.c Sat Apr 30 02:31:54 2022 -0500
@@ -1725,7 +1725,7 @@
- "description", "Zephyr is an instant messaging protocol, created at MIT",
+ "description", _("The chat component of Project Athena."), "icon-name", "im-zephyr",
"icon-resource-path", "/im/pidgin/libpurple/zephyr/icons",
"options", OPT_PROTO_CHAT_TOPIC | OPT_PROTO_NO_PASSWORD,