mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:29:54 +01:00
Add translations for mute rules view
This commit is contained in:
parent
ee969f5361
commit
cc50219d05
3 changed files with 20 additions and 8 deletions
|
@ -1,24 +1,24 @@
|
|||
.card
|
||||
.card-body
|
||||
%h2 Muted words
|
||||
%p Muting words (or longer phrases) will prevent questions containing those to appear in your inbox.
|
||||
%p Note: Filtered questions are discarded completely from your inbox, and won't reappear if you remove a filter later on.
|
||||
%h2= t(".heading")
|
||||
%p= t(".body")
|
||||
%p= t(".note")
|
||||
.js-rules-list
|
||||
- @rules.each do |rule|
|
||||
.form-group
|
||||
.input-group
|
||||
%input.form-control{ disabled: true, value: rule.muted_phrase }
|
||||
.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
|
||||
.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
|
||||
%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
|
||||
.form-group
|
||||
.input-group
|
||||
%input.form-control{ disabled: true }
|
||||
.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:
|
||||
none: "Once exporting your account is done, a download link will appear here."
|
||||
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:
|
||||
adjust:
|
||||
profile_picture: "Adjust your new profile picture"
|
||||
|
@ -141,6 +149,8 @@ en:
|
|||
user:
|
||||
edit:
|
||||
title: "Profile Settings"
|
||||
edit_mute:
|
||||
title: "Muted Words"
|
||||
edit_security:
|
||||
title: "Security Settings"
|
||||
edit_theme:
|
||||
|
|
|
@ -9,4 +9,6 @@ en:
|
|||
save: "Save changes"
|
||||
register: "Sign up"
|
||||
terms: "Terms of Service"
|
||||
update: "Update"
|
||||
update: "Update"
|
||||
messages:
|
||||
noauth: "requires authentication"
|
Loading…
Reference in a new issue