Re-word strings used in views

This commit is contained in:
Karina Kwiatek 2022-07-30 15:17:31 +02:00
parent 6564ef5efb
commit 3f2cdbb911
3 changed files with 17 additions and 16 deletions

View File

@ -13,7 +13,7 @@
announcement_destroy_path(id: announcement.id), announcement_destroy_path(id: announcement.id),
method: :delete, method: :delete,
class: "btn btn-link text-danger", class: "btn btn-link text-danger",
confirm: t(".confirm") confirm: t(".confirm_delete")
.row .row
.col-md-12 .col-md-12

View File

@ -19,6 +19,6 @@
%hr/ %hr/
%p %p
= t(".delete.heading") = t(".delete.heading")
= button_to t(".delete.action"), "/settings/account", data: { confirm: t("voc.confirm") }, method: :delete, class: "btn btn-danger btn-xs" = button_to t(".delete.action"), "/settings/account", data: { confirm: t(".delete.confirm") }, method: :delete, class: "btn btn-danger btn-xs"
.visible-xs= render "shared/links" .visible-xs= render "shared/links"

View File

@ -71,7 +71,7 @@ en:
announcement: announcement:
index: index:
title: :activerecord.models.announcement.other title: :activerecord.models.announcement.other
confirm: "Are you sure you want to delete this announcement?" confirm_delete: "Are you sure you want to delete this announcement?"
new: "Add Announcement" new: "Add Announcement"
new: new:
title: "Create Announcement" title: "Create Announcement"
@ -102,7 +102,7 @@ en:
title: "Account Settings" title: "Account Settings"
new: new:
title: "Sign up" title: "Sign up"
info: "With signing up you accept our %{terms}" info: "By signing up you accept our %{terms}"
sessions: sessions:
new: new:
title: "Sign in" title: "Sign in"
@ -150,7 +150,7 @@ en:
one: "1 answer" one: "1 answer"
other: "%{count} answers" other: "%{count} answers"
options: "Options" options: "Options"
placeholder: "Write your answer here..." placeholder: "Write your answer here"
sharing: sharing:
heading: "Sharing" heading: "Sharing"
post_to: "Post to %{service}" post_to: "Post to %{service}"
@ -184,7 +184,7 @@ en:
title: "Ask your followers" title: "Ask your followers"
placeholder: "Type your question here…" placeholder: "Type your question here…"
action: "Ask" action: "Ask"
loading: "Asking..." loading: "Asking"
comment_smiles: comment_smiles:
title: "People who smiled this comment" title: "People who smiled this comment"
none: "No one has smiled this comment yet." none: "No one has smiled this comment yet."
@ -270,7 +270,8 @@ en:
help: help:
password: "Leave this blank if you don't want to change it" password: "Leave this blank if you don't want to change it"
delete: delete:
action: "Delete my account" action: "Permanently delete account"
confirm: "Are you sure? This deleting your account is IRREVERSIBLE."
heading: "Unsatisfied?" heading: "Unsatisfied?"
blocks: blocks:
index: index:
@ -279,7 +280,7 @@ en:
none: "You are not blocking anyone." none: "You are not blocking anyone."
section: section:
blocks: blocks:
heading: "Blocks" heading: "Blocked Users"
body: "Each user you've blocked is listed here, along with a way to unblock them. To block someone, use the 'Actions' dropdown on their profile page." body: "Each user you've blocked is listed here, along with a way to unblock them. To block someone, use the 'Actions' dropdown on their profile page."
anon_blocks: anon_blocks:
heading: "Anonymous Blocks" heading: "Anonymous Blocks"
@ -331,11 +332,11 @@ en:
present: "Here's your export from %{time}" present: "Here's your export from %{time}"
mutes: mutes:
index: index:
title: "Muted Words" title: "Muted Terms"
heading: "Muted words" heading: "Muted Terms"
body: "Muting words (or longer phrases) will prevent questions containing those to appear in your inbox." 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." 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..." placeholder: "Add a new muted term…"
actions: actions:
add: "Add" add: "Add"
remove: "Remove" remove: "Remove"
@ -370,7 +371,7 @@ en:
confirm: "Are you sure? This will disable your previous set of recovery codes." confirm: "Are you sure? This will disable your previous set of recovery codes."
totp_setup: totp_setup:
setup_key: "If you cannot scan the QR code, use the following key instead:" setup_key: "If you cannot scan the QR code, use the following key instead:"
setup_qr: "Once you have downloaded an authenticator app, add your %{app_name} account by scanning the QR code displayed on the left." setup_qr: "Once you have downloaded an authenticator app, add your %{app_name} account by scanning the QR code displayed on this page."
otp_validation: "Enter the code displayed in the app here:" otp_validation: "Enter the code displayed in the app here:"
app: app:
none: "If you do not have an authenticator app already installed on your device, we suggest one of the following:" none: "If you do not have an authenticator app already installed on your device, we suggest one of the following:"
@ -426,10 +427,10 @@ en:
example: "Some muted text" example: "Some muted text"
forms: forms:
heading: "Forms and Inputs" heading: "Forms and Inputs"
body: "Styles for form inputs, like text fields." body: "Styles for form inputs, such as text fields."
raised: raised:
heading: "Raised Content" heading: "Raised Content"
body: "Raised content basically describes all the different boxes and panels you can see across the site." body: "Raised content includes all the different boxes and panels you can see across the site."
accent: accent:
example: "Some text on top of a accented area on a raised element!" example: "Some text on top of a accented area on a raised element!"
shared: shared:
@ -459,7 +460,7 @@ en:
privacy: "Privacy" privacy: "Privacy"
sharing: "Sharing" sharing: "Sharing"
security: "Security" security: "Security"
mutes: "Muted words" mutes: "Muted Terms"
theme: "Theme" theme: "Theme"
data: "Your Data" data: "Your Data"
export: "Export" export: "Export"