mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix some English strings
This commit is contained in:
parent
31198d6c63
commit
a134626849
@ -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 configuration changes", notify_config),
|
||||||
?BOOL_CONFIG_FIELD("Notify subscribers when the node is deleted", notify_delete),
|
?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 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),
|
?BOOL_CONFIG_FIELD("Persist items to storage", persist_items),
|
||||||
?STRING_CONFIG_FIELD("A friendly name for the node", title),
|
?STRING_CONFIG_FIELD("A friendly name for the node", title),
|
||||||
?INTEGER_CONFIG_FIELD("Max # of items to persist", max_items),
|
?INTEGER_CONFIG_FIELD("Max # of items to persist", max_items),
|
||||||
|
@ -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 configuration changes", notify_config),
|
||||||
?BOOL_CONFIG_FIELD("Notify subscribers when the node is deleted", notify_delete),
|
?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 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),
|
?BOOL_CONFIG_FIELD("Persist items to storage", persist_items),
|
||||||
?STRING_CONFIG_FIELD("A friendly name for the node", title),
|
?STRING_CONFIG_FIELD("A friendly name for the node", title),
|
||||||
?INTEGER_CONFIG_FIELD("Max # of items to persist", max_items),
|
?INTEGER_CONFIG_FIELD("Max # of items to persist", max_items),
|
||||||
|
@ -882,7 +882,7 @@ shared_roster_group(Host, Group, Query, Lang) ->
|
|||||||
?XAE("table", [?XMLATTR('class', <<"withtextareas">>)],
|
?XAE("table", [?XMLATTR('class', <<"withtextareas">>)],
|
||||||
[?XE("tbody",
|
[?XE("tbody",
|
||||||
[?XE("tr",
|
[?XE("tr",
|
||||||
[?XCT("td", "ID:"),
|
[?XCT("td", "Group ID:"),
|
||||||
?XE("td", [?C(Group)])
|
?XE("td", [?C(Group)])
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
@ -861,7 +861,7 @@ user_vcard(User, Server, Query, Lang) ->
|
|||||||
[?XAE('form', [?XMLATTR('action', <<"">>), ?XMLATTR('method', <<"post">>)],
|
[?XAE('form', [?XMLATTR('action', <<"">>), ?XMLATTR('method', <<"post">>)],
|
||||||
[?XCT('h3', "vCard Photo:"),
|
[?XCT('h3', "vCard Photo:"),
|
||||||
?XAE('img', [?XMLATTR('src', <<"photo">>), ?XMLATTR('border', <<"1px">>)], []),
|
?XAE('img', [?XMLATTR('src', <<"photo">>), ?XMLATTR('border', <<"1px">>)], []),
|
||||||
?XCT('h3', "vCard:"),
|
?XC('h3', ?T("vCard")++":"),
|
||||||
?XE('pre', [?C(VcardString)]),
|
?XE('pre', [?C(VcardString)]),
|
||||||
?INPUTT("submit", "removevcard", "Remove vCard")
|
?INPUTT("submit", "removevcard", "Remove vCard")
|
||||||
])].
|
])].
|
||||||
@ -924,7 +924,7 @@ webadmin_user(Acc, User, Server, Lang) ->
|
|||||||
true -> [?INPUTT("submit", "removevcard", "Remove vCard")];
|
true -> [?INPUTT("submit", "removevcard", "Remove vCard")];
|
||||||
false -> []
|
false -> []
|
||||||
end,
|
end,
|
||||||
Acc ++ [?XCT('h3', "vCard size:")] ++ FVcardSize ++ [?CT(" characters. ")] ++ RemoveEl.
|
Acc ++ [?XCT('h3', "vCard size (characters):")] ++ FVcardSize ++ RemoveEl.
|
||||||
|
|
||||||
get_vcard_size(Vcard) ->
|
get_vcard_size(Vcard) ->
|
||||||
String = lists:flatten(exmpp_xml:document_to_list(Vcard)),
|
String = lists:flatten(exmpp_xml:document_to_list(Vcard)),
|
||||||
|
Loading…
Reference in New Issue
Block a user