Add translations for mute rules view
This commit is contained in:
parent
ee969f5361
commit
cc50219d05
|
@ -1,24 +1,24 @@
|
||||||
.card
|
.card
|
||||||
.card-body
|
.card-body
|
||||||
%h2 Muted words
|
%h2= t(".heading")
|
||||||
%p Muting words (or longer phrases) will prevent questions containing those to appear in your inbox.
|
%p= t(".body")
|
||||||
%p Note: Filtered questions are discarded completely from your inbox, and won't reappear if you remove a filter later on.
|
%p= t(".note")
|
||||||
.js-rules-list
|
.js-rules-list
|
||||||
- @rules.each do |rule|
|
- @rules.each do |rule|
|
||||||
.form-group
|
.form-group
|
||||||
.input-group
|
.input-group
|
||||||
%input.form-control{ disabled: true, value: rule.muted_phrase }
|
%input.form-control{ disabled: true, value: rule.muted_phrase }
|
||||||
.input-group-append
|
.input-group-append
|
||||||
%button.btn.btn-danger{ type: 'button', data: { id: rule.id } } Remove
|
%button.btn.btn-danger{ type: "button", data: { id: rule.id } }= t(".actions.remove")
|
||||||
.form-group
|
.form-group
|
||||||
%form
|
%form
|
||||||
.input-group
|
.input-group
|
||||||
%input.form-control#new-rule-text{ placeholder: 'Add a new muted word...' }
|
%input.form-control#new-rule-text{ placeholder: t(".placeholder") }
|
||||||
.input-group-append
|
.input-group-append
|
||||||
%button.btn.btn-primary#new-rule-submit{ type: 'submit' } Add
|
%button.btn.btn-primary#new-rule-submit{ type: "submit" }= t(".actions.add")
|
||||||
%template#rule-template
|
%template#rule-template
|
||||||
.form-group
|
.form-group
|
||||||
.input-group
|
.input-group
|
||||||
%input.form-control{ disabled: true }
|
%input.form-control{ disabled: true }
|
||||||
.input-group-append
|
.input-group-append
|
||||||
%button.btn.btn-danger{ type: 'button' } Remove
|
%button.btn.btn-danger{ type: "button" }= t(".actions.remove")
|
|
@ -55,6 +55,14 @@ en:
|
||||||
export_url:
|
export_url:
|
||||||
none: "Once exporting your account is done, a download link will appear here."
|
none: "Once exporting your account is done, a download link will appear here."
|
||||||
present: "Here's your export from %{time}"
|
present: "Here's your export from %{time}"
|
||||||
|
muted:
|
||||||
|
heading: "Muted words"
|
||||||
|
body: "Muting words (or longer phrases) will prevent questions containing those to appear in your inbox."
|
||||||
|
note: "Note: Filtered questions are discarded completely from your inbox, and won't reappear if you remove a filter later on."
|
||||||
|
placeholder: "Add a new muted word..."
|
||||||
|
actions:
|
||||||
|
add: "Add"
|
||||||
|
remove: "Remove"
|
||||||
profile:
|
profile:
|
||||||
adjust:
|
adjust:
|
||||||
profile_picture: "Adjust your new profile picture"
|
profile_picture: "Adjust your new profile picture"
|
||||||
|
@ -141,6 +149,8 @@ en:
|
||||||
user:
|
user:
|
||||||
edit:
|
edit:
|
||||||
title: "Profile Settings"
|
title: "Profile Settings"
|
||||||
|
edit_mute:
|
||||||
|
title: "Muted Words"
|
||||||
edit_security:
|
edit_security:
|
||||||
title: "Security Settings"
|
title: "Security Settings"
|
||||||
edit_theme:
|
edit_theme:
|
||||||
|
|
|
@ -10,3 +10,5 @@ en:
|
||||||
register: "Sign up"
|
register: "Sign up"
|
||||||
terms: "Terms of Service"
|
terms: "Terms of Service"
|
||||||
update: "Update"
|
update: "Update"
|
||||||
|
messages:
|
||||||
|
noauth: "requires authentication"
|
Loading…
Reference in New Issue