diff options
Diffstat (limited to '')
-rw-r--r-- | src/mod_muc_admin.erl | 16 | ||||
-rw-r--r-- | src/mod_shared_roster.erl | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/mod_muc_admin.erl b/src/mod_muc_admin.erl index 8e3d483b2..f9708ef59 100644 --- a/src/mod_muc_admin.erl +++ b/src/mod_muc_admin.erl @@ -511,14 +511,14 @@ make_rooms_page(Host, Lang, {Sort_direction, Sort_column}) -> fun(Room) -> ?XE(<<"tr">>, [?XC(<<"td">>, E) || E <- Room]) end, Rooms_prepared), - Titles = [<<"Jabber ID">>, - <<"# participants">>, - <<"Last message">>, - <<"Public">>, - <<"Persistent">>, - <<"Logging">>, - <<"Just created">>, - <<"Room title">>], + Titles = [?T("Jabber ID"), + ?T("# participants"), + ?T("Last message"), + ?T("Public"), + ?T("Persistent"), + ?T("Logging"), + ?T("Just created"), + ?T("Room title")], {Titles_TR, _} = lists:mapfoldl( fun(Title, Num_column) -> diff --git a/src/mod_shared_roster.erl b/src/mod_shared_roster.erl index 664dda699..356857d74 100644 --- a/src/mod_shared_roster.erl +++ b/src/mod_shared_roster.erl @@ -997,7 +997,7 @@ shared_roster_group(Host, Group, Query, Lang) -> [?XCT(<<"td">>, ?T("Label:")), ?XE(<<"td">>, [?INPUT(<<"text">>, <<"label">>, Label)]), - ?XE(<<"td">>, [?C(<<"Name in the rosters where this group will be displayed">>)])]), + ?XE(<<"td">>, [?CT(?T("Name in the rosters where this group will be displayed"))])]), ?XE(<<"tr">>, [?XCT(<<"td">>, ?T("Description:")), ?XE(<<"td">>, @@ -1005,7 +1005,7 @@ shared_roster_group(Host, Group, Query, Lang) -> integer_to_binary(lists:max([3, DescNL])), <<"20">>, Description)]), - ?XE(<<"td">>, [?C(<<"Only admins can see this">>)]) + ?XE(<<"td">>, [?CT(?T("Only admins can see this"))]) ]), ?XE(<<"tr">>, [?XCT(<<"td">>, ?T("Members:")), @@ -1023,7 +1023,7 @@ shared_roster_group(Host, Group, Query, Lang) -> integer_to_binary(lists:max([3, length(FDisplayedGroups)])), <<"20">>, list_to_binary(FDisplayedGroups))]), - ?XE(<<"td">>, [?C(<<"Groups that will be displayed to the members">>)]) + ?XE(<<"td">>, [?CT(?T("Groups that will be displayed to the members"))]) ])])])), (?H1GL((translate:translate(Lang, ?T("Shared Roster Groups"))), <<"modules/#mod-shared-roster">>, <<"mod_shared_roster">>)) |