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

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

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 d7c7f2a..4042bc5 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 47f8dac..032cbe7 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"

GitHub sha: 194a2b61

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: