mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
i18n: Add translation tags to loading message.
Previously, no translation tag was present for 'Loading…' message. Fix this and also switch to using the … character instead of 3 . characters.
This commit is contained in:
@@ -274,7 +274,9 @@ function human_info(person) {
|
||||
let bot_list_widget;
|
||||
|
||||
section.bots.create_table = () => {
|
||||
loading.make_indicator($("#admin_page_bots_loading_indicator"), {text: "Loading..."});
|
||||
loading.make_indicator($("#admin_page_bots_loading_indicator"), {
|
||||
text: $t({defaultMessage: "Loading…"}),
|
||||
});
|
||||
const $bots_table = $("#admin_bots_table");
|
||||
$bots_table.hide();
|
||||
const bot_user_ids = people.get_bot_ids();
|
||||
@@ -407,9 +409,11 @@ export function redraw_bots_list() {
|
||||
}
|
||||
|
||||
function start_data_load() {
|
||||
loading.make_indicator($("#admin_page_users_loading_indicator"), {text: "Loading..."});
|
||||
loading.make_indicator($("#admin_page_users_loading_indicator"), {
|
||||
text: $t({defaultMessage: "Loading…"}),
|
||||
});
|
||||
loading.make_indicator($("#admin_page_deactivated_users_loading_indicator"), {
|
||||
text: "Loading...",
|
||||
text: $t({defaultMessage: "Loading…"}),
|
||||
});
|
||||
$("#admin_deactivated_users_table").hide();
|
||||
$("#admin_users_table").hide();
|
||||
|
||||
Reference in New Issue
Block a user