From a134626849a4775c9056db477b1b1976db465c12 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 30 Jul 2010 16:49:31 +0200 Subject: [PATCH] Fix some English strings --- src/mod_pubsub/mod_pubsub.erl | 2 +- src/mod_pubsub/mod_pubsub_odbc.erl | 2 +- src/mod_shared_roster.erl | 2 +- src/mod_vcard.erl | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index 73e622757..28ad99a91 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -3495,7 +3495,7 @@ get_configure_xfields(_Type, Options, Lang, Groups) -> ?BOOL_CONFIG_FIELD("Notify subscribers when the node configuration changes", notify_config), ?BOOL_CONFIG_FIELD("Notify subscribers when the node is deleted", notify_delete), ?BOOL_CONFIG_FIELD("Notify subscribers when items are removed from the node", notify_retract), - ?BOOL_CONFIG_FIELD("Notify owners about new subscribers and unsubscribes", notify_sub), + ?BOOL_CONFIG_FIELD("Notify owners about new subscribers and unsubscribers", notify_sub), ?BOOL_CONFIG_FIELD("Persist items to storage", persist_items), ?STRING_CONFIG_FIELD("A friendly name for the node", title), ?INTEGER_CONFIG_FIELD("Max # of items to persist", max_items), diff --git a/src/mod_pubsub/mod_pubsub_odbc.erl b/src/mod_pubsub/mod_pubsub_odbc.erl index 865c75e07..2733c0379 100644 --- a/src/mod_pubsub/mod_pubsub_odbc.erl +++ b/src/mod_pubsub/mod_pubsub_odbc.erl @@ -3334,7 +3334,7 @@ get_configure_xfields(_Type, Options, Lang, Groups) -> ?BOOL_CONFIG_FIELD("Notify subscribers when the node configuration changes", notify_config), ?BOOL_CONFIG_FIELD("Notify subscribers when the node is deleted", notify_delete), ?BOOL_CONFIG_FIELD("Notify subscribers when items are removed from the node", notify_retract), - ?BOOL_CONFIG_FIELD("Notify owners about new subscribers and unsubscribes", notify_sub), + ?BOOL_CONFIG_FIELD("Notify owners about new subscribers and unsubscribers", notify_sub), ?BOOL_CONFIG_FIELD("Persist items to storage", persist_items), ?STRING_CONFIG_FIELD("A friendly name for the node", title), ?INTEGER_CONFIG_FIELD("Max # of items to persist", max_items), diff --git a/src/mod_shared_roster.erl b/src/mod_shared_roster.erl index 420ca516c..0f2a91670 100644 --- a/src/mod_shared_roster.erl +++ b/src/mod_shared_roster.erl @@ -882,7 +882,7 @@ shared_roster_group(Host, Group, Query, Lang) -> ?XAE("table", [?XMLATTR('class', <<"withtextareas">>)], [?XE("tbody", [?XE("tr", - [?XCT("td", "ID:"), + [?XCT("td", "Group ID:"), ?XE("td", [?C(Group)]) ] ), diff --git a/src/mod_vcard.erl b/src/mod_vcard.erl index 96aeb67c9..344b63566 100644 --- a/src/mod_vcard.erl +++ b/src/mod_vcard.erl @@ -861,7 +861,7 @@ user_vcard(User, Server, Query, Lang) -> [?XAE('form', [?XMLATTR('action', <<"">>), ?XMLATTR('method', <<"post">>)], [?XCT('h3', "vCard Photo:"), ?XAE('img', [?XMLATTR('src', <<"photo">>), ?XMLATTR('border', <<"1px">>)], []), - ?XCT('h3', "vCard:"), + ?XC('h3', ?T("vCard")++":"), ?XE('pre', [?C(VcardString)]), ?INPUTT("submit", "removevcard", "Remove vCard") ])]. @@ -924,7 +924,7 @@ webadmin_user(Acc, User, Server, Lang) -> true -> [?INPUTT("submit", "removevcard", "Remove vCard")]; false -> [] end, - Acc ++ [?XCT('h3', "vCard size:")] ++ FVcardSize ++ [?CT(" characters. ")] ++ RemoveEl. + Acc ++ [?XCT('h3', "vCard size (characters):")] ++ FVcardSize ++ RemoveEl. get_vcard_size(Vcard) -> String = lists:flatten(exmpp_xml:document_to_list(Vcard)),