translations: Improve some strings.

This commit is contained in:
Yago González 2017-01-28 23:08:08 +00:00 committed by Tim Abbott
parent f96979ae72
commit 87a7691bfc
3 changed files with 4 additions and 3 deletions

View File

@ -30,7 +30,7 @@
<div class="input-group">
<label for="bot_short_name">{{t "Username" }}</label>
<input type="text" name="bot_short_name" id="create_bot_short_name" class="required bot_local_part"
placeholder="{{t 'bot_user_name' }}" value="" />
placeholder="bot_user_name" value="" />
-{{t "bot" }}@{{ page_params.domain }}
<div>
<label for="create_bot_short_name" generated="true" class="text-error"></label>

View File

@ -19,7 +19,7 @@
<div class="alert" id="admin-emoji-status"></div>
<div class="input-group">
<label for="emoji_name">{{t "Emoji name" }}</label>
<input type="text" name="name" id="emoji_name" placeholder="{{t 'mouse_face' }}" />
<input type="text" name="name" id="emoji_name" placeholder="mouse_face" />
</div>
<div class="input-group">
<label for="emoji_url">{{t "Emoji URL" }}</label>

View File

@ -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='[^{]",