From de8d66483078c13e2dd88bfc1b6de581e7491acd Mon Sep 17 00:00:00 2001 From: Kislay Date: Tue, 26 Mar 2024 01:56:11 +0530 Subject: [PATCH] templates: Add missing translation tags. Several of these were found via an audit by Tim Abbott. --- web/templates/buddy_list/view_all_subscribers.hbs | 2 +- web/templates/buddy_list/view_all_users.hbs | 2 +- web/templates/draft_table_body.hbs | 2 +- web/templates/login_to_view_image_button.hbs | 2 +- web/templates/settings/add_new_bot_form.hbs | 2 +- web/templates/settings/admin_emoji_list.hbs | 2 +- web/templates/settings/edit_bot_form.hbs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/web/templates/buddy_list/view_all_subscribers.hbs b/web/templates/buddy_list/view_all_subscribers.hbs index 119ba95035..f302c82f71 100644 --- a/web/templates/buddy_list/view_all_subscribers.hbs +++ b/web/templates/buddy_list/view_all_subscribers.hbs @@ -1 +1 @@ -View all subscribers +{{t "View all subscribers" }} diff --git a/web/templates/buddy_list/view_all_users.hbs b/web/templates/buddy_list/view_all_users.hbs index 41b2b58346..538fba27c8 100644 --- a/web/templates/buddy_list/view_all_users.hbs +++ b/web/templates/buddy_list/view_all_users.hbs @@ -1 +1 @@ -View all users +{{t "View all users" }} diff --git a/web/templates/draft_table_body.hbs b/web/templates/draft_table_body.hbs index 29996b5f0b..70eeae0a21 100644 --- a/web/templates/draft_table_body.hbs +++ b/web/templates/draft_table_body.hbs @@ -37,7 +37,7 @@ {{/each}}
-

Other drafts

+

{{t "Other drafts" }}

{{#each other_drafts}} {{> draft}} {{/each}} diff --git a/web/templates/login_to_view_image_button.hbs b/web/templates/login_to_view_image_button.hbs index b471e08322..7e92e06c8f 100644 --- a/web/templates/login_to_view_image_button.hbs +++ b/web/templates/login_to_view_image_button.hbs @@ -1,6 +1,6 @@ diff --git a/web/templates/settings/add_new_bot_form.hbs b/web/templates/settings/add_new_bot_form.hbs index 53418b1081..297e9588f0 100644 --- a/web/templates/settings/add_new_bot_form.hbs +++ b/web/templates/settings/add_new_bot_form.hbs @@ -60,7 +60,7 @@ {{/each}}
- +
diff --git a/web/templates/settings/admin_emoji_list.hbs b/web/templates/settings/admin_emoji_list.hbs index e99cf67959..fdb0cae892 100644 --- a/web/templates/settings/admin_emoji_list.hbs +++ b/web/templates/settings/admin_emoji_list.hbs @@ -14,7 +14,7 @@ {{#if author}} {{author.full_name}} {{else}} - Unknown author + {{t "Unknown author" }} {{/if}} diff --git a/web/templates/settings/edit_bot_form.hbs b/web/templates/settings/edit_bot_form.hbs index 0c43e78a34..51bacef924 100644 --- a/web/templates/settings/edit_bot_form.hbs +++ b/web/templates/settings/edit_bot_form.hbs @@ -29,7 +29,7 @@
- + {{!-- Shows the current avatar --}}