Skip to content

A platform for community discussion. Free, open, simple.

FIX: string that can't be translated in watched words UI

Neil Lalonde194a2b612f69
diff --git a/app/assets/javascripts/admin/templates/components/watched-word-uploader.hbs b/app/assets/javascripts/admin/templates/components/watched-word-uploader.hbs
index d7c7f2a572e..4042bc5c828 100644
--- a/app/assets/javascripts/admin/templates/components/watched-word-uploader.hbs
+++ b/app/assets/javascripts/admin/templates/components/watched-word-uploader.hbs
@@ -4,4 +4,4 @@
<input class="hidden-upload-field" disabled={{addDisabled}} type="file" accept="text/plain,text/csv" />
</label>
<br/>
-<span class="instructions">One word per line</span>
+<span class="instructions">{{i18n 'admin.watched_words.one_word_per_line'}}</span>
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 47f8dacca23..032cbe7f366 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -3865,6 +3865,7 @@ en:
search: "search"
clear_filter: "Clear"
show_words: "show words"
+ one_word_per_line: "One word per line"
word_count:
one: "%{count} word"
other: "%{count} words"