summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_form2.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-16 10:44:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-16 10:44:34 +0000
commit9ecad76b75ed9f7a9c729f1294bc62bd4b6adb68 (patch)
tree89973e6ed6b03eb87fc144a2e7fe90770f7d8be7 /protocols/JabberG/src/jabber_form2.cpp
parent3142979bb604231a556d0173f0b2b90903399455 (diff)
translation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_form2.cpp')
-rw-r--r--protocols/JabberG/src/jabber_form2.cpp282
1 files changed, 141 insertions, 141 deletions
diff --git a/protocols/JabberG/src/jabber_form2.cpp b/protocols/JabberG/src/jabber_form2.cpp
index 79314edba9..a8d62506a3 100644
--- a/protocols/JabberG/src/jabber_form2.cpp
+++ b/protocols/JabberG/src/jabber_form2.cpp
@@ -36,105 +36,105 @@ namespace NSJabberRegistry
// http://jabber.org/network/serverinfo
static TJabberDataFormRegisry_Field form_type_serverinfo[] =
{
- { _T("abuse-addresses"), JDFT_LIST_MULTI, _T("One or more addresses for communication related to abusive traffic") },
- { _T("feedback-addresses"), JDFT_LIST_MULTI, _T("One or more addresses for customer feedback") },
- { _T("sales-addresses"), JDFT_LIST_MULTI, _T("One or more addresses for communication related to sales and marketing") },
- { _T("security-addresses"), JDFT_LIST_MULTI, _T("One or more addresses for communication related to security concerns") },
- { _T("support-addresses"), JDFT_LIST_MULTI, _T("One or more addresses for customer support") },
+ { _T("abuse-addresses"), JDFT_LIST_MULTI, LPGENT("One or more addresses for communication related to abusive traffic") },
+ { _T("feedback-addresses"), JDFT_LIST_MULTI, LPGENT("One or more addresses for customer feedback") },
+ { _T("sales-addresses"), JDFT_LIST_MULTI, LPGENT("One or more addresses for communication related to sales and marketing") },
+ { _T("security-addresses"), JDFT_LIST_MULTI, LPGENT("One or more addresses for communication related to security concerns") },
+ { _T("support-addresses"), JDFT_LIST_MULTI, LPGENT("One or more addresses for customer support") },
};
// http://jabber.org/protocol/admin
static TJabberDataFormRegisry_Field form_type_admin[] =
{
- { _T("accountjid"), JDFT_JID_SINGLE, _T("The Jabber ID of a single entity to which an operation applies") },
- { _T("accountjids"), JDFT_JID_MULTI, _T("The Jabber ID of one or more entities to which an operation applies") },
- { _T("activeuserjids"), JDFT_JID_MULTI, _T("The Jabber IDs associated with active sessions") },
- { _T("activeusersnum"), JDFT_TEXT_SINGLE, _T("The number of online entities that are active") },
- { _T("adminjids"), JDFT_JID_MULTI, _T("A list of entities with administrative privileges") },
- { _T("announcement"), JDFT_TEXT_MULTI, _T("The text of an announcement to be sent to active users or all users") },
- { _T("blacklistjids"), JDFT_JID_MULTI, _T("A list of entities with whom communication is blocked") },
- { _T("delay"), JDFT_LIST_MULTI, _T("The number of seconds to delay before applying a change") },
- { _T("disableduserjids"), JDFT_JID_MULTI, _T("The Jabber IDs that have been disabled") },
- { _T("disabledusersnum"), JDFT_TEXT_SINGLE, _T("The number of disabled entities") },
- { _T("email"), JDFT_TEXT_SINGLE, _T("The email address for a user") },
- { _T("given_name"), JDFT_TEXT_SINGLE, _T("The given (first) name of a user") },
- { _T("idleusersnum"), JDFT_TEXT_SINGLE, _T("The number of online entities that are idle") },
- { _T("ipaddresses"), JDFT_LIST_MULTI, _T("The IP addresses of an account's online sessions") },
- { _T("lastlogin"), JDFT_TEXT_SINGLE, _T("The last login time (per XEP-0082) of a user") },
- { _T("loginsperminute"), JDFT_TEXT_SINGLE, _T("The number of logins per minute for an account") },
- { _T("max_items"), JDFT_LIST_SINGLE, _T("The maximum number of items associated with a search or list") },
- { _T("motd"), JDFT_TEXT_MULTI, _T("The text of a message of the day") },
- { _T("onlineresources"), JDFT_TEXT_SINGLE, _T("The names of an account's online sessions") },
- { _T("onlineuserjids"), JDFT_JID_MULTI, _T("The Jabber IDs associated with online users") },
- { _T("onlineusersnum"), JDFT_TEXT_SINGLE, _T("The number of online entities") },
- { _T("password"), JDFT_TEXT_PRIVATE, _T("The password for an account") },
- { _T("password-verify"), JDFT_TEXT_PRIVATE, _T("Password verification") },
- { _T("registereduserjids"), JDFT_JID_MULTI, _T("A list of registered entities") },
- { _T("registeredusersnum"), JDFT_TEXT_SINGLE, _T("The number of registered entities") },
- { _T("rostersize"), JDFT_TEXT_SINGLE, _T("Number of roster items for an account") },
- { _T("stanzaspersecond"), JDFT_TEXT_SINGLE, _T("The number of stanzas being sent per second by an account") },
- { _T("surname"), JDFT_TEXT_SINGLE, _T("The family (last) name of a user") },
- { _T("welcome"), JDFT_TEXT_MULTI, _T("The text of a welcome message") },
- { _T("whitelistjids"), JDFT_JID_MULTI, _T("A list of entities with whom communication is allowed") },
+ { _T("accountjid"), JDFT_JID_SINGLE, LPGENT("The Jabber ID of a single entity to which an operation applies") },
+ { _T("accountjids"), JDFT_JID_MULTI, LPGENT("The Jabber ID of one or more entities to which an operation applies") },
+ { _T("activeuserjids"), JDFT_JID_MULTI, LPGENT("The Jabber IDs associated with active sessions") },
+ { _T("activeusersnum"), JDFT_TEXT_SINGLE, LPGENT("The number of online entities that are active") },
+ { _T("adminjids"), JDFT_JID_MULTI, LPGENT("A list of entities with administrative privileges") },
+ { _T("announcement"), JDFT_TEXT_MULTI, LPGENT("The text of an announcement to be sent to active users or all users") },
+ { _T("blacklistjids"), JDFT_JID_MULTI, LPGENT("A list of entities with whom communication is blocked") },
+ { _T("delay"), JDFT_LIST_MULTI, LPGENT("The number of seconds to delay before applying a change") },
+ { _T("disableduserjids"), JDFT_JID_MULTI, LPGENT("The Jabber IDs that have been disabled") },
+ { _T("disabledusersnum"), JDFT_TEXT_SINGLE, LPGENT("The number of disabled entities") },
+ { _T("email"), JDFT_TEXT_SINGLE, LPGENT("The email address for a user") },
+ { _T("given_name"), JDFT_TEXT_SINGLE, LPGENT("The given (first) name of a user") },
+ { _T("idleusersnum"), JDFT_TEXT_SINGLE, LPGENT("The number of online entities that are idle") },
+ { _T("ipaddresses"), JDFT_LIST_MULTI, LPGENT("The IP addresses of an account's online sessions") },
+ { _T("lastlogin"), JDFT_TEXT_SINGLE, LPGENT("The last login time (per XEP-0082) of a user") },
+ { _T("loginsperminute"), JDFT_TEXT_SINGLE, LPGENT("The number of logins per minute for an account") },
+ { _T("max_items"), JDFT_LIST_SINGLE, LPGENT("The maximum number of items associated with a search or list") },
+ { _T("motd"), JDFT_TEXT_MULTI, LPGENT("The text of a message of the day") },
+ { _T("onlineresources"), JDFT_TEXT_SINGLE, LPGENT("The names of an account's online sessions") },
+ { _T("onlineuserjids"), JDFT_JID_MULTI, LPGENT("The Jabber IDs associated with online users") },
+ { _T("onlineusersnum"), JDFT_TEXT_SINGLE, LPGENT("The number of online entities") },
+ { _T("password"), JDFT_TEXT_PRIVATE, LPGENT("The password for an account") },
+ { _T("password-verify"), JDFT_TEXT_PRIVATE, LPGENT("Password verification") },
+ { _T("registereduserjids"), JDFT_JID_MULTI, LPGENT("A list of registered entities") },
+ { _T("registeredusersnum"), JDFT_TEXT_SINGLE, LPGENT("The number of registered entities") },
+ { _T("rostersize"), JDFT_TEXT_SINGLE, LPGENT("Number of roster items for an account") },
+ { _T("stanzaspersecond"), JDFT_TEXT_SINGLE, LPGENT("The number of stanzas being sent per second by an account") },
+ { _T("surname"), JDFT_TEXT_SINGLE, LPGENT("The family (last) name of a user") },
+ { _T("welcome"), JDFT_TEXT_MULTI, LPGENT("The text of a welcome message") },
+ { _T("whitelistjids"), JDFT_JID_MULTI, LPGENT("A list of entities with whom communication is allowed") },
};
// http://jabber.org/protocol/muc#register
static TJabberDataFormRegisry_Field form_type_muc_register[] =
{
- { _T("muc#register_first"), JDFT_TEXT_SINGLE, _T("First Name") },
- { _T("muc#register_last"), JDFT_TEXT_SINGLE, _T("Last Name") },
- { _T("muc#register_roomnick"), JDFT_TEXT_SINGLE, _T("Desired Nickname") },
- { _T("muc#register_url"), JDFT_TEXT_SINGLE, _T("Your URL") },
- { _T("muc#register_email"), JDFT_TEXT_SINGLE, _T("Email Address") },
- { _T("muc#register_faqentry"), JDFT_TEXT_MULTI, _T("FAQ Entry") },
+ { _T("muc#register_first"), JDFT_TEXT_SINGLE, LPGENT("First Name") },
+ { _T("muc#register_last"), JDFT_TEXT_SINGLE, LPGENT("Last Name") },
+ { _T("muc#register_roomnick"), JDFT_TEXT_SINGLE, LPGENT("Desired Nickname") },
+ { _T("muc#register_url"), JDFT_TEXT_SINGLE, LPGENT("Your URL") },
+ { _T("muc#register_email"), JDFT_TEXT_SINGLE, LPGENT("Email Address") },
+ { _T("muc#register_faqentry"), JDFT_TEXT_MULTI, LPGENT("FAQ Entry") },
};
// http://jabber.org/protocol/muc#roomconfig
static TJabberDataFormRegisry_Field form_type_muc_roomconfig[] =
{
- { _T("muc#roomconfig_allowinvites"), JDFT_BOOLEAN, _T("Whether to Allow Occupants to Invite Others") },
- { _T("muc#roomconfig_changesubject"), JDFT_BOOLEAN, _T("Whether to Allow Occupants to Change Subject") },
- { _T("muc#roomconfig_enablelogging"), JDFT_BOOLEAN, _T("Whether to Enable Logging of Room Conversations") },
- { _T("muc#roomconfig_lang"), JDFT_TEXT_SINGLE, _T("Natural Language for Room Discussions") },
- { _T("muc#roomconfig_maxusers"), JDFT_LIST_SINGLE, _T("Maximum Number of Room Occupants") },
- { _T("muc#roomconfig_membersonly"), JDFT_BOOLEAN, _T("Whether an Make Room Members-Only") },
- { _T("muc#roomconfig_moderatedroom"), JDFT_BOOLEAN, _T("Whether to Make Room Moderated") },
- { _T("muc#roomconfig_passwordprotectedroom"), JDFT_BOOLEAN, _T("Whether a Password is Required to Enter") },
- { _T("muc#roomconfig_persistentroom"), JDFT_BOOLEAN, _T("Whether to Make Room Persistent") },
- { _T("muc#roomconfig_presencebroadcast"), JDFT_LIST_MULTI, _T("Roles for which Presence is Broadcast") },
- { _T("muc#roomconfig_publicroom"), JDFT_BOOLEAN, _T("Whether to Allow Public Searching for Room") },
- { _T("muc#roomconfig_roomadmins"), JDFT_JID_MULTI, _T("Full List of Room Admins") },
- { _T("muc#roomconfig_roomdesc"), JDFT_TEXT_SINGLE, _T("Short Description of Room") },
- { _T("muc#roomconfig_roomname"), JDFT_TEXT_SINGLE, _T("Natural-Language Room Name") },
- { _T("muc#roomconfig_roomowners"), JDFT_JID_MULTI, _T("Full List of Room Owners") },
- { _T("muc#roomconfig_roomsecret"), JDFT_TEXT_PRIVATE, _T("The Room Password") },
- { _T("muc#roomconfig_whois"), JDFT_LIST_SINGLE, _T("Affiliations that May Discover Real JIDs of Occupants") },
+ { _T("muc#roomconfig_allowinvites"), JDFT_BOOLEAN, LPGENT("Whether to Allow Occupants to Invite Others") },
+ { _T("muc#roomconfig_changesubject"), JDFT_BOOLEAN, LPGENT("Whether to Allow Occupants to Change Subject") },
+ { _T("muc#roomconfig_enablelogging"), JDFT_BOOLEAN, LPGENT("Whether to Enable Logging of Room Conversations") },
+ { _T("muc#roomconfig_lang"), JDFT_TEXT_SINGLE, LPGENT("Natural Language for Room Discussions") },
+ { _T("muc#roomconfig_maxusers"), JDFT_LIST_SINGLE, LPGENT("Maximum Number of Room Occupants") },
+ { _T("muc#roomconfig_membersonly"), JDFT_BOOLEAN, LPGENT("Whether an Make Room Members-Only") },
+ { _T("muc#roomconfig_moderatedroom"), JDFT_BOOLEAN, LPGENT("Whether to Make Room Moderated") },
+ { _T("muc#roomconfig_passwordprotectedroom"), JDFT_BOOLEAN, LPGENT("Whether a Password is Required to Enter") },
+ { _T("muc#roomconfig_persistentroom"), JDFT_BOOLEAN, LPGENT("Whether to Make Room Persistent") },
+ { _T("muc#roomconfig_presencebroadcast"), JDFT_LIST_MULTI, LPGENT("Roles for which Presence is Broadcast") },
+ { _T("muc#roomconfig_publicroom"), JDFT_BOOLEAN, LPGENT("Whether to Allow Public Searching for Room") },
+ { _T("muc#roomconfig_roomadmins"), JDFT_JID_MULTI, LPGENT("Full List of Room Admins") },
+ { _T("muc#roomconfig_roomdesc"), JDFT_TEXT_SINGLE, LPGENT("Short Description of Room") },
+ { _T("muc#roomconfig_roomname"), JDFT_TEXT_SINGLE, LPGENT("Natural-Language Room Name") },
+ { _T("muc#roomconfig_roomowners"), JDFT_JID_MULTI, LPGENT("Full List of Room Owners") },
+ { _T("muc#roomconfig_roomsecret"), JDFT_TEXT_PRIVATE, LPGENT("The Room Password") },
+ { _T("muc#roomconfig_whois"), JDFT_LIST_SINGLE, LPGENT("Affiliations that May Discover Real JIDs of Occupants") },
};
// http://jabber.org/protocol/pubsub#publish-options
static TJabberDataFormRegisry_Field form_type_publish_options[] =
{
- { _T("pubsub#access_model"), JDFT_LIST_SINGLE, _T("Precondition: node configuration with the specified access model") },
+ { _T("pubsub#access_model"), JDFT_LIST_SINGLE, LPGENT("Precondition: node configuration with the specified access model") },
};
// http://jabber.org/protocol/pubsub#subscribe_authorization
static TJabberDataFormRegisry_Field form_type_subscribe_auth[] =
{
- { _T("pubsub#allow"), JDFT_BOOLEAN, _T("Whether to allow the subscription") },
- { _T("pubsub#subid"), JDFT_TEXT_SINGLE, _T("The SubID of the subscription") },
- { _T("pubsub#node"), JDFT_TEXT_SINGLE, _T("The NodeID of the relevant node") },
- { _T("pubsub#subscriber_jid"), JDFT_JID_SINGLE, _T("The address (JID) of the subscriber") },
+ { _T("pubsub#allow"), JDFT_BOOLEAN, LPGENT("Whether to allow the subscription") },
+ { _T("pubsub#subid"), JDFT_TEXT_SINGLE, LPGENT("The SubID of the subscription") },
+ { _T("pubsub#node"), JDFT_TEXT_SINGLE, LPGENT("The NodeID of the relevant node") },
+ { _T("pubsub#subscriber_jid"), JDFT_JID_SINGLE, LPGENT("The address (JID) of the subscriber") },
};
// http://jabber.org/protocol/pubsub#subscribe_options
static TJabberDataFormRegisry_Field form_type_subscribe_options[] =
{
- { _T("pubsub#deliver"), JDFT_BOOLEAN, _T("Whether an entity wants to receive or disable notifications") },
- { _T("pubsub#digest"), JDFT_BOOLEAN, _T("Whether an entity wants to receive digests (aggregations) of notifications or all notifications individually") },
- { _T("pubsub#digest_frequency"), JDFT_TEXT_SINGLE, _T("The minimum number of milliseconds between sending any two notification digests") },
- { _T("pubsub#expire"), JDFT_TEXT_SINGLE, _T("The DateTime at which a leased subscription will end or has ended") },
- { _T("pubsub#include_body"), JDFT_BOOLEAN, _T("Whether an entity wants to receive an XMPP message body in addition to the payload format") },
- { _T("pubsub#show-values"), JDFT_LIST_MULTI, _T("The presence states for which an entity wants to receive notifications") },
+ { _T("pubsub#deliver"), JDFT_BOOLEAN, LPGENT("Whether an entity wants to receive or disable notifications") },
+ { _T("pubsub#digest"), JDFT_BOOLEAN, LPGENT("Whether an entity wants to receive digests (aggregations) of notifications or all notifications individually") },
+ { _T("pubsub#digest_frequency"), JDFT_TEXT_SINGLE, LPGENT("The minimum number of milliseconds between sending any two notification digests") },
+ { _T("pubsub#expire"), JDFT_TEXT_SINGLE, LPGENT("The DateTime at which a leased subscription will end or has ended") },
+ { _T("pubsub#include_body"), JDFT_BOOLEAN, LPGENT("Whether an entity wants to receive an XMPP message body in addition to the payload format") },
+ { _T("pubsub#show-values"), JDFT_LIST_MULTI, LPGENT("The presence states for which an entity wants to receive notifications") },
{ _T("pubsub#subscription_type"), JDFT_LIST_SINGLE, _T("") },
{ _T("pubsub#subscription_depth"), JDFT_LIST_SINGLE, _T("") },
};
@@ -142,103 +142,103 @@ namespace NSJabberRegistry
// http://jabber.org/protocol/pubsub#node_config
static TJabberDataFormRegisry_Field form_type_node_config[] =
{
- { _T("pubsub#access_model"), JDFT_LIST_SINGLE, _T("Who may subscribe and retrieve items") },
- { _T("pubsub#body_xslt"), JDFT_TEXT_SINGLE, _T("The URL of an XSL transformation which can be applied to payloads in order to generate an appropriate message body element.") },
- { _T("pubsub#collection"), JDFT_TEXT_SINGLE, _T("The collection with which a node is affiliated") },
- { _T("pubsub#dataform_xslt"), JDFT_TEXT_SINGLE, _T("The URL of an XSL transformation which can be applied to the payload format in order to generate a valid Data Forms result that the client could display using a generic Data Forms rendering engine") },
- { _T("pubsub#deliver_payloads"), JDFT_BOOLEAN, _T("Whether to deliver payloads with event notifications") },
- { _T("pubsub#itemreply"), JDFT_LIST_SINGLE, _T("Whether owners or publisher should receive replies to items") },
- { _T("pubsub#children_association_policy"), JDFT_LIST_SINGLE, _T("Who may associate leaf nodes with a collection") },
- { _T("pubsub#children_association_whitelist"), JDFT_JID_MULTI, _T("The list of JIDs that may associated leaf nodes with a collection") },
- { _T("pubsub#children"), JDFT_TEXT_MULTI, _T("The child nodes (leaf or collection) associated with a collection") },
- { _T("pubsub#children_max"), JDFT_TEXT_SINGLE, _T("The maximum number of child nodes that can be associated with a collection") },
- { _T("pubsub#max_items"), JDFT_TEXT_SINGLE, _T("The maximum number of items to persist") },
- { _T("pubsub#max_payload_size"), JDFT_TEXT_SINGLE, _T("The maximum payload size in bytes") },
- { _T("pubsub#node_type"), JDFT_LIST_SINGLE, _T("Whether the node is a leaf (default) or a collection") },
- { _T("pubsub#notify_config"), JDFT_BOOLEAN, _T("Whether to notify subscribers when the node configuration changes") },
- { _T("pubsub#notify_delete"), JDFT_BOOLEAN, _T("Whether to notify subscribers when the node is deleted") },
- { _T("pubsub#notify_retract"), JDFT_BOOLEAN, _T("Whether to notify subscribers when items are removed from the node") },
- { _T("pubsub#persist_items"), JDFT_BOOLEAN, _T("Whether to persist items to storage") },
- { _T("pubsub#presence_based_delivery"), JDFT_BOOLEAN, _T("Whether to deliver notifications to available users only") },
- { _T("pubsub#publish_model"), JDFT_LIST_SINGLE, _T("The publisher model") },
- { _T("pubsub#replyroom"), JDFT_JID_MULTI, _T("The specific multi-user chat rooms to specify for replyroom") },
- { _T("pubsub#replyto"), JDFT_JID_MULTI, _T("The specific JID(s) to specify for replyto") },
- { _T("pubsub#roster_groups_allowed"), JDFT_LIST_MULTI, _T("The roster group(s) allowed to subscribe and retrieve items") },
- { _T("pubsub#send_item_subscribe"), JDFT_BOOLEAN, _T("Whether to send items to new subscribers") },
- { _T("pubsub#subscribe"), JDFT_BOOLEAN, _T("Whether to allow subscriptions") },
- { _T("pubsub#title"), JDFT_TEXT_SINGLE, _T("A friendly name for the node") },
- { _T("pubsub#type"), JDFT_TEXT_SINGLE, _T("The type of node data, usually specified by the namespace of the payload (if any); MAY be list-single rather than text-single") },
+ { _T("pubsub#access_model"), JDFT_LIST_SINGLE, LPGENT("Who may subscribe and retrieve items") },
+ { _T("pubsub#body_xslt"), JDFT_TEXT_SINGLE, LPGENT("The URL of an XSL transformation which can be applied to payloads in order to generate an appropriate message body element.") },
+ { _T("pubsub#collection"), JDFT_TEXT_SINGLE, LPGENT("The collection with which a node is affiliated") },
+ { _T("pubsub#dataform_xslt"), JDFT_TEXT_SINGLE, LPGENT("The URL of an XSL transformation which can be applied to the payload format in order to generate a valid Data Forms result that the client could display using a generic Data Forms rendering engine") },
+ { _T("pubsub#deliver_payloads"), JDFT_BOOLEAN, LPGENT("Whether to deliver payloads with event notifications") },
+ { _T("pubsub#itemreply"), JDFT_LIST_SINGLE, LPGENT("Whether owners or publisher should receive replies to items") },
+ { _T("pubsub#children_association_policy"), JDFT_LIST_SINGLE, LPGENT("Who may associate leaf nodes with a collection") },
+ { _T("pubsub#children_association_whitelist"), JDFT_JID_MULTI, LPGENT("The list of JIDs that may associated leaf nodes with a collection") },
+ { _T("pubsub#children"), JDFT_TEXT_MULTI, LPGENT("The child nodes (leaf or collection) associated with a collection") },
+ { _T("pubsub#children_max"), JDFT_TEXT_SINGLE, LPGENT("The maximum number of child nodes that can be associated with a collection") },
+ { _T("pubsub#max_items"), JDFT_TEXT_SINGLE, LPGENT("The maximum number of items to persist") },
+ { _T("pubsub#max_payload_size"), JDFT_TEXT_SINGLE, LPGENT("The maximum payload size in bytes") },
+ { _T("pubsub#node_type"), JDFT_LIST_SINGLE, LPGENT("Whether the node is a leaf (default) or a collection") },
+ { _T("pubsub#notify_config"), JDFT_BOOLEAN, LPGENT("Whether to notify subscribers when the node configuration changes") },
+ { _T("pubsub#notify_delete"), JDFT_BOOLEAN, LPGENT("Whether to notify subscribers when the node is deleted") },
+ { _T("pubsub#notify_retract"), JDFT_BOOLEAN, LPGENT("Whether to notify subscribers when items are removed from the node") },
+ { _T("pubsub#persist_items"), JDFT_BOOLEAN, LPGENT("Whether to persist items to storage") },
+ { _T("pubsub#presence_based_delivery"), JDFT_BOOLEAN, LPGENT("Whether to deliver notifications to available users only") },
+ { _T("pubsub#publish_model"), JDFT_LIST_SINGLE, LPGENT("The publisher model") },
+ { _T("pubsub#replyroom"), JDFT_JID_MULTI, LPGENT("The specific multi-user chat rooms to specify for replyroom") },
+ { _T("pubsub#replyto"), JDFT_JID_MULTI, LPGENT("The specific JID(s) to specify for replyto") },
+ { _T("pubsub#roster_groups_allowed"), JDFT_LIST_MULTI, LPGENT("The roster group(s) allowed to subscribe and retrieve items") },
+ { _T("pubsub#send_item_subscribe"), JDFT_BOOLEAN, LPGENT("Whether to send items to new subscribers") },
+ { _T("pubsub#subscribe"), JDFT_BOOLEAN, LPGENT("Whether to allow subscriptions") },
+ { _T("pubsub#title"), JDFT_TEXT_SINGLE, LPGENT("A friendly name for the node") },
+ { _T("pubsub#type"), JDFT_TEXT_SINGLE, LPGENT("The type of node data, usually specified by the namespace of the payload (if any); MAY be list-single rather than text-single") },
};
// http://jabber.org/protocol/pubsub#meta-data
static TJabberDataFormRegisry_Field form_type_metadata[] =
{
- { _T("pubsub#contact"), JDFT_JID_MULTI, _T("The JIDs of those to contact with questions") },
- { _T("pubsub#creation_date"), JDFT_TEXT_SINGLE, _T("The datetime when the node was created") },
- { _T("pubsub#creator"), JDFT_JID_SINGLE, _T("The JID of the node creator") },
- { _T("pubsub#description"), JDFT_TEXT_SINGLE, _T("A description of the node") },
- { _T("pubsub#language"), JDFT_TEXT_SINGLE, _T("The default language of the node") },
- { _T("pubsub#num_subscribers"), JDFT_TEXT_SINGLE, _T("The number of subscribers to the node") },
- { _T("pubsub#owner"), JDFT_JID_MULTI, _T("The JIDs of those with an affiliation of owner") },
- { _T("pubsub#publisher"), JDFT_JID_MULTI, _T("The JIDs of those with an affiliation of publisher") },
- { _T("pubsub#title"), JDFT_TEXT_SINGLE, _T("The name of the node") },
- { _T("pubsub#type"), JDFT_TEXT_SINGLE, _T("Payload type") },
+ { _T("pubsub#contact"), JDFT_JID_MULTI, LPGENT("The JIDs of those to contact with questions") },
+ { _T("pubsub#creation_date"), JDFT_TEXT_SINGLE, LPGENT("The datetime when the node was created") },
+ { _T("pubsub#creator"), JDFT_JID_SINGLE, LPGENT("The JID of the node creator") },
+ { _T("pubsub#description"), JDFT_TEXT_SINGLE, LPGENT("A description of the node") },
+ { _T("pubsub#language"), JDFT_TEXT_SINGLE, LPGENT("The default language of the node") },
+ { _T("pubsub#num_subscribers"), JDFT_TEXT_SINGLE, LPGENT("The number of subscribers to the node") },
+ { _T("pubsub#owner"), JDFT_JID_MULTI, LPGENT("The JIDs of those with an affiliation of owner") },
+ { _T("pubsub#publisher"), JDFT_JID_MULTI, LPGENT("The JIDs of those with an affiliation of publisher") },
+ { _T("pubsub#title"), JDFT_TEXT_SINGLE, LPGENT("The name of the node") },
+ { _T("pubsub#type"), JDFT_TEXT_SINGLE, LPGENT("Payload type") },
};
// http://jabber.org/protocol/rc
static TJabberDataFormRegisry_Field form_type_rc[] =
{
- { _T("auto-auth"), JDFT_BOOLEAN, _T("Whether to automatically authorize subscription requests") },
- { _T("auto-files"), JDFT_BOOLEAN, _T("Whether to automatically accept file transfers") },
- { _T("auto-msg"), JDFT_BOOLEAN, _T("Whether to automatically open new messages") },
- { _T("auto-offline"), JDFT_BOOLEAN, _T("Whether to automatically go offline when idle") },
- { _T("sounds"), JDFT_BOOLEAN, _T("Whether to play sounds") },
- { _T("files"), JDFT_LIST_MULTI, _T("A list of pending file transfers") },
- { _T("groupchats"), JDFT_LIST_MULTI, _T("A list of joined groupchat rooms") },
- { _T("status"), JDFT_LIST_SINGLE, _T("A presence or availability status") },
- { _T("status-message"), JDFT_TEXT_MULTI, _T("The status message text") },
- { _T("status-priority"), JDFT_TEXT_SINGLE, _T("The new priority for the client") },
+ { _T("auto-auth"), JDFT_BOOLEAN, LPGENT("Whether to automatically authorize subscription requests") },
+ { _T("auto-files"), JDFT_BOOLEAN, LPGENT("Whether to automatically accept file transfers") },
+ { _T("auto-msg"), JDFT_BOOLEAN, LPGENT("Whether to automatically open new messages") },
+ { _T("auto-offline"), JDFT_BOOLEAN, LPGENT("Whether to automatically go offline when idle") },
+ { _T("sounds"), JDFT_BOOLEAN, LPGENT("Whether to play sounds") },
+ { _T("files"), JDFT_LIST_MULTI, LPGENT("A list of pending file transfers") },
+ { _T("groupchats"), JDFT_LIST_MULTI, LPGENT("A list of joined groupchat rooms") },
+ { _T("status"), JDFT_LIST_SINGLE, LPGENT("A presence or availability status") },
+ { _T("status-message"), JDFT_TEXT_MULTI, LPGENT("The status message text") },
+ { _T("status-priority"), JDFT_TEXT_SINGLE, LPGENT("The new priority for the client") },
};
// jabber:iq:register
static TJabberDataFormRegisry_Field form_type_register[] =
{
- { _T("username"), JDFT_TEXT_SINGLE, _T("Account name associated with the user") },
- { _T("nick"), JDFT_TEXT_SINGLE, _T("Familiar name of the user") },
- { _T("password"), JDFT_TEXT_PRIVATE, _T("Password or secret for the user") },
- { _T("name"), JDFT_TEXT_SINGLE, _T("Full name of the user") },
- { _T("first"), JDFT_TEXT_SINGLE, _T("First name or given name of the user") },
- { _T("last"), JDFT_TEXT_SINGLE, _T("Last name, surname, or family name of the user") },
- { _T("email"), JDFT_TEXT_SINGLE, _T("Email address of the user") },
- { _T("address"), JDFT_TEXT_SINGLE, _T("Street portion of a physical or mailing address") },
- { _T("city"), JDFT_TEXT_SINGLE, _T("Locality portion of a physical or mailing address") },
- { _T("state"), JDFT_TEXT_SINGLE, _T("Region portion of a physical or mailing address") },
- { _T("zip"), JDFT_TEXT_SINGLE, _T("Postal code portion of a physical or mailing address") },
+ { _T("username"), JDFT_TEXT_SINGLE, LPGENT("Account name associated with the user") },
+ { _T("nick"), JDFT_TEXT_SINGLE, LPGENT("Familiar name of the user") },
+ { _T("password"), JDFT_TEXT_PRIVATE, LPGENT("Password or secret for the user") },
+ { _T("name"), JDFT_TEXT_SINGLE, LPGENT("Full name of the user") },
+ { _T("first"), JDFT_TEXT_SINGLE, LPGENT("First name or given name of the user") },
+ { _T("last"), JDFT_TEXT_SINGLE, LPGENT("Last name, surname, or family name of the user") },
+ { _T("email"), JDFT_TEXT_SINGLE, LPGENT("Email address of the user") },
+ { _T("address"), JDFT_TEXT_SINGLE, LPGENT("Street portion of a physical or mailing address") },
+ { _T("city"), JDFT_TEXT_SINGLE, LPGENT("Locality portion of a physical or mailing address") },
+ { _T("state"), JDFT_TEXT_SINGLE, LPGENT("Region portion of a physical or mailing address") },
+ { _T("zip"), JDFT_TEXT_SINGLE, LPGENT("Postal code portion of a physical or mailing address") },
};
// jabber:iq:search
static TJabberDataFormRegisry_Field form_type_search[] =
{
- { _T("first"), JDFT_TEXT_SINGLE, _T("First Name") },
- { _T("last"), JDFT_TEXT_SINGLE, _T("Family Name") },
- { _T("nick"), JDFT_TEXT_SINGLE, _T("Nickname") },
- { _T("email"), JDFT_TEXT_SINGLE, _T("Email Address") },
+ { _T("first"), JDFT_TEXT_SINGLE, LPGENT("First Name") },
+ { _T("last"), JDFT_TEXT_SINGLE, LPGENT("Family Name") },
+ { _T("nick"), JDFT_TEXT_SINGLE, LPGENT("Nickname") },
+ { _T("email"), JDFT_TEXT_SINGLE, LPGENT("Email Address") },
};
// urn:xmpp:ssn
static TJabberDataFormRegisry_Field form_type_ssn[] =
{
- { _T("accept"), JDFT_BOOLEAN, _T("Whether to accept the invitation") },
- { _T("continue"), JDFT_TEXT_SINGLE, _T("Another resource with which to continue the session") },
- { _T("disclosure"), JDFT_LIST_SINGLE, _T("Disclosure of content, decryption keys or identities") },
- { _T("http://jabber.org/protocol/chatstates"), JDFT_LIST_SINGLE, _T("Whether may send Chat State Notifications per XEP-0085") },
- { _T("http://jabber.org/protocol/xhtml-im"), JDFT_LIST_SINGLE, _T("Whether allowed to use XHTML-IM formatting per XEP-0071") },
- { _T("language"), JDFT_LIST_SINGLE, _T("Primary written language of the chat (each value appears in order of preference and conforms to RFC 4646 and the IANA registry)") },
- { _T("logging"), JDFT_LIST_SINGLE, _T("Whether allowed to log messages (i.e., whether Off-The-Record mode is required)") },
- { _T("renegotiate"), JDFT_BOOLEAN, _T("Whether to renegotiate the session") },
- { _T("security"), JDFT_LIST_SINGLE, _T("Minimum security level") },
- { _T("terminate"), JDFT_BOOLEAN, _T("Whether to terminate the session") },
- { _T("urn:xmpp:receipts"), JDFT_BOOLEAN, _T("Whether to enable Message Receipts per XEP-0184") },
+ { _T("accept"), JDFT_BOOLEAN, LPGENT("Whether to accept the invitation") },
+ { _T("continue"), JDFT_TEXT_SINGLE, LPGENT("Another resource with which to continue the session") },
+ { _T("disclosure"), JDFT_LIST_SINGLE, LPGENT("Disclosure of content, decryption keys or identities") },
+ { _T("http://jabber.org/protocol/chatstates"), JDFT_LIST_SINGLE, LPGENT("Whether may send Chat State Notifications per XEP-0085") },
+ { _T("http://jabber.org/protocol/xhtml-im"), JDFT_LIST_SINGLE, LPGENT("Whether allowed to use XHTML-IM formatting per XEP-0071") },
+ { _T("language"), JDFT_LIST_SINGLE, LPGENT("Primary written language of the chat (each value appears in order of preference and conforms to RFC 4646 and the IANA registry)") },
+ { _T("logging"), JDFT_LIST_SINGLE, LPGENT("Whether allowed to log messages (i.e., whether Off-The-Record mode is required)") },
+ { _T("renegotiate"), JDFT_BOOLEAN, LPGENT("Whether to renegotiate the session") },
+ { _T("security"), JDFT_LIST_SINGLE, LPGENT("Minimum security level") },
+ { _T("terminate"), JDFT_BOOLEAN, LPGENT("Whether to terminate the session") },
+ { _T("urn:xmpp:receipts"), JDFT_BOOLEAN, LPGENT("Whether to enable Message Receipts per XEP-0184") },
};
TJabberDataFormRegisry_Form form_types[] =