Use _html suffix to avoid using raw when displaying translated strings
This is safer than raw, since any user input is still escaped.
This commit is contained in:
parent
01a506a254
commit
dfedf85b6c
9 changed files with 18 additions and 18 deletions
|
@ -373,14 +373,14 @@ en:
|
|||
title: "%{user}'s diary | %{title}"
|
||||
user_title: "%{user}'s diary"
|
||||
leave_a_comment: "Leave a comment"
|
||||
login_to_leave_a_comment: "%{login_link} to leave a comment"
|
||||
login_to_leave_a_comment_html: "%{login_link} to leave a comment"
|
||||
login: "Login"
|
||||
no_such_entry:
|
||||
title: "No such diary entry"
|
||||
heading: "No entry with the id: %{id}"
|
||||
body: "Sorry, there is no diary entry or comment with the id %{id}. Please check your spelling, or maybe the link you clicked is wrong."
|
||||
diary_entry:
|
||||
posted_by: "Posted by %{link_user} on %{created} in %{language_link}"
|
||||
posted_by_html: "Posted by %{link_user} on %{created} in %{language_link}"
|
||||
comment_link: Comment on this entry
|
||||
reply_link: Reply to this entry
|
||||
comment_count:
|
||||
|
@ -393,7 +393,7 @@ en:
|
|||
confirm: Confirm
|
||||
report: Report this entry
|
||||
diary_comment:
|
||||
comment_from: "Comment from %{link_user} on %{comment_created_at}"
|
||||
comment_from_html: "Comment from %{link_user} on %{comment_created_at}"
|
||||
hide_link: Hide this comment
|
||||
unhide_link: Unhide this comment
|
||||
confirm: Confirm
|
||||
|
@ -1273,7 +1273,7 @@ en:
|
|||
from: "From"
|
||||
subject: "Subject"
|
||||
date: "Date"
|
||||
no_messages_yet: "You have no messages yet. Why not get in touch with some of the %{people_mapping_nearby_link}?"
|
||||
no_messages_yet_html: "You have no messages yet. Why not get in touch with some of the %{people_mapping_nearby_link}?"
|
||||
people_mapping_nearby: "people mapping nearby"
|
||||
message_summary:
|
||||
unread_button: "Mark as unread"
|
||||
|
@ -1282,7 +1282,7 @@ en:
|
|||
destroy_button: "Delete"
|
||||
new:
|
||||
title: "Send message"
|
||||
send_message_to: "Send a new message to %{name}"
|
||||
send_message_to_html: "Send a new message to %{name}"
|
||||
subject: "Subject"
|
||||
body: "Body"
|
||||
back_to_inbox: "Back to inbox"
|
||||
|
@ -1295,7 +1295,7 @@ en:
|
|||
body: "Sorry there is no message with that id."
|
||||
outbox:
|
||||
title: "Outbox"
|
||||
my_inbox: "My %{inbox_link}"
|
||||
my_inbox_html: "My %{inbox_link}"
|
||||
inbox: "inbox"
|
||||
outbox: "outbox"
|
||||
messages:
|
||||
|
@ -1304,7 +1304,7 @@ en:
|
|||
to: "To"
|
||||
subject: "Subject"
|
||||
date: "Date"
|
||||
no_sent_messages: "You have no sent messages yet. Why not get in touch with some of the %{people_mapping_nearby_link}?"
|
||||
no_sent_messages_html: "You have no sent messages yet. Why not get in touch with some of the %{people_mapping_nearby_link}?"
|
||||
people_mapping_nearby: "people mapping nearby"
|
||||
reply:
|
||||
wrong_user: "You are logged in as `%{user}' but the message you have asked to reply to was not sent to that user. Please login as the correct user in order to reply."
|
||||
|
@ -1526,7 +1526,7 @@ en:
|
|||
anon_edits: "(%{link})"
|
||||
anon_edits_link: "https://wiki.openstreetmap.org/wiki/Disabling_anonymous_edits"
|
||||
anon_edits_link_text: "Find out why this is the case."
|
||||
flash_player_required: 'You need a Flash player to use Potlatch, the OpenStreetMap Flash editor. You can <a href="https://get.adobe.com/flashplayer/">download Flash Player from Adobe.com</a>. <a href="https://wiki.openstreetmap.org/wiki/Editing">Several other options</a> are also available for editing OpenStreetMap.'
|
||||
flash_player_required_html: 'You need a Flash player to use Potlatch, the OpenStreetMap Flash editor. You can <a href="https://get.adobe.com/flashplayer/">download Flash Player from Adobe.com</a>. <a href="https://wiki.openstreetmap.org/wiki/Editing">Several other options</a> are also available for editing OpenStreetMap.'
|
||||
potlatch_unsaved_changes: "You have unsaved changes. (To save in Potlatch, you should deselect the current way or point, if editing in live mode, or click save if you have a save button.)"
|
||||
potlatch2_not_configured: "Potlatch 2 has not been configured - please see https://wiki.openstreetmap.org/wiki/The_Rails_Port#Potlatch_2 for more information"
|
||||
potlatch2_unsaved_changes: "You have unsaved changes. (To save in Potlatch 2, you should click save.)"
|
||||
|
@ -2142,7 +2142,7 @@ en:
|
|||
spam score: "Spam Score:"
|
||||
description: Description
|
||||
user location: User location
|
||||
if set location: "Set your home location on the %{settings_link} page to see nearby users."
|
||||
if_set_location_html: "Set your home location on the %{settings_link} page to see nearby users."
|
||||
settings_link_text: settings
|
||||
my friends: My friends
|
||||
no friends: You have not added any friends yet.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue