From 87a7691bfca7de79fc0031c5181e2e118b4033a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yago=20Gonz=C3=A1lez?= Date: Sat, 28 Jan 2017 23:08:08 +0000 Subject: [PATCH] translations: Improve some strings. --- static/templates/settings/bot-settings.handlebars | 2 +- static/templates/settings/emoji-settings-admin.handlebars | 2 +- tools/lint-all | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/static/templates/settings/bot-settings.handlebars b/static/templates/settings/bot-settings.handlebars index 09e0d748b3..dfb8029880 100644 --- a/static/templates/settings/bot-settings.handlebars +++ b/static/templates/settings/bot-settings.handlebars @@ -30,7 +30,7 @@
+ placeholder="bot_user_name" value="" /> -{{t "bot" }}@{{ page_params.domain }}
diff --git a/static/templates/settings/emoji-settings-admin.handlebars b/static/templates/settings/emoji-settings-admin.handlebars index 8cf9e60706..f5def04348 100644 --- a/static/templates/settings/emoji-settings-admin.handlebars +++ b/static/templates/settings/emoji-settings-admin.handlebars @@ -19,7 +19,7 @@
- +
diff --git a/tools/lint-all b/tools/lint-all index 68b7127aee..25c5284846 100755 --- a/tools/lint-all +++ b/tools/lint-all @@ -442,7 +442,8 @@ def build_custom_checkers(by_lang): {'pattern': 'placeholder="[^{]', 'description': "`placeholder` value should be translatable.", 'exclude': set(["static/templates/settings/emoji-settings-admin.handlebars", - "static/templates/settings/realm-filter-settings-admin.handlebars"])}, + "static/templates/settings/realm-filter-settings-admin.handlebars", + "static/templates/settings/bot-settings.handlebars"])}, {'pattern': "placeholder='[^{]", 'description': "`placeholder` value should be translatable."}, {'pattern': "title='[^{]",