diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-17 08:50:08 +1100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-04-09 18:28:46 +0100 |
commit | 4369a320459c00ece0d56dc3e2000e43ac01c8c6 (patch) | |
tree | 386b3390c1ba7ef65e2730b071985afb6c9fd962 | |
parent | f64f12368e41925f7e11913ce06e27e7f8ba4118 (diff) |
Remove link html from translation message
-rw-r--r-- | app/views/request/_sidebar.rhtml | 3 | ||||
-rw-r--r-- | locale/app.pot | 2 | ||||
-rw-r--r-- | locale/en/app.po | 2 | ||||
-rw-r--r-- | locale/nb_NO/app.po | 2 | ||||
-rw-r--r-- | locale/sl/app.po | 2 | ||||
-rw-r--r-- | spec/fixtures/locale/en/app.po | 4 | ||||
-rw-r--r-- | spec/fixtures/locale/en_GB/app.po | 4 | ||||
-rw-r--r-- | spec/fixtures/locale/es/app.po | 6 |
8 files changed, 9 insertions, 16 deletions
diff --git a/app/views/request/_sidebar.rhtml b/app/views/request/_sidebar.rhtml index d349bee14..5552d6930 100644 --- a/app/views/request/_sidebar.rhtml +++ b/app/views/request/_sidebar.rhtml @@ -62,7 +62,6 @@ <!-- this link with this wording is here for legal reasons, discuss with board and our lawyer before changing or removing it --> - <p><small><%= raw(_('<a href="%s">Are you the owner of - any commercial copyright on this page?</a>') % [help_officers_path+"#copyright"]) %></small></p> + <p><small><%= link_to _('Are you the owner of any commercial copyright on this page?'), help_officers_path+"#copyright" %></small></p> </div> diff --git a/locale/app.pot b/locale/app.pot index 10013ecdc..fe3ff3fe2 100644 --- a/locale/app.pot +++ b/locale/app.pot @@ -142,7 +142,7 @@ msgstr "" msgid "Are we missing a public authority?" msgstr "" -msgid "<a href=\"%s\">Are you the owner of\\n any commercial copyright on this page?</a>" +msgid "Are you the owner of any commercial copyright on this page?" msgstr "" msgid "<a href=\"%s\">Browse all</a> or <a href=\"%s\">ask us to add one</a>." diff --git a/locale/en/app.po b/locale/en/app.po index 3b49e2d2b..37cdca213 100644 --- a/locale/en/app.po +++ b/locale/en/app.po @@ -143,7 +143,7 @@ msgstr "" msgid "Are we missing a public authority?" msgstr "" -msgid "<a href=\"%s\">Are you the owner of\\n any commercial copyright on this page?</a>" +msgid "Are you the owner of any commercial copyright on this page?" msgstr "" msgid "<a href=\"%s\">Browse all</a> or <a href=\"%s\">ask us to add one</a>." diff --git a/locale/nb_NO/app.po b/locale/nb_NO/app.po index 604d52e23..37b5e9c8a 100644 --- a/locale/nb_NO/app.po +++ b/locale/nb_NO/app.po @@ -143,7 +143,7 @@ msgstr "" msgid "Are we missing a public authority?" msgstr "" -msgid "<a href=\"%s\">Are you the owner of\\n any commercial copyright on this page?</a>" +msgid "Are you the owner of any commercial copyright on this page?" msgstr "" msgid "<a href=\"%s\">Browse all</a> or <a href=\"%s\">ask us to add one</a>." diff --git a/locale/sl/app.po b/locale/sl/app.po index 1e17fb64f..9477c2ae3 100644 --- a/locale/sl/app.po +++ b/locale/sl/app.po @@ -149,7 +149,7 @@ msgstr "" msgid "Are we missing a public authority?" msgstr "" -msgid "<a href=\"%s\">Are you the owner of\\n any commercial copyright on this page?</a>" +msgid "Are you the owner of any commercial copyright on this page?" msgstr "" msgid "<a href=\"%s\">Browse all</a> or <a href=\"%s\">ask us to add one</a>." diff --git a/spec/fixtures/locale/en/app.po b/spec/fixtures/locale/en/app.po index 9aae82304..fd6706879 100644 --- a/spec/fixtures/locale/en/app.po +++ b/spec/fixtures/locale/en/app.po @@ -200,9 +200,7 @@ msgid "Are we missing a public authority?" msgstr "" #: app/views/request/_sidebar.rhtml:39 -msgid "" -"<a href=\"%s\">Are you the owner of\n" -" any commercial copyright on this page?</a>" +msgid "Are you the owner of any commercial copyright on this page?" msgstr "" #: app/views/general/search.rhtml:168 diff --git a/spec/fixtures/locale/en_GB/app.po b/spec/fixtures/locale/en_GB/app.po index 9aae82304..fd6706879 100644 --- a/spec/fixtures/locale/en_GB/app.po +++ b/spec/fixtures/locale/en_GB/app.po @@ -200,9 +200,7 @@ msgid "Are we missing a public authority?" msgstr "" #: app/views/request/_sidebar.rhtml:39 -msgid "" -"<a href=\"%s\">Are you the owner of\n" -" any commercial copyright on this page?</a>" +msgid "Are you the owner of any commercial copyright on this page?" msgstr "" #: app/views/general/search.rhtml:168 diff --git a/spec/fixtures/locale/es/app.po b/spec/fixtures/locale/es/app.po index 4eb16739e..66878ec3e 100644 --- a/spec/fixtures/locale/es/app.po +++ b/spec/fixtures/locale/es/app.po @@ -217,10 +217,8 @@ msgid "Are we missing a public authority?" msgstr "¿Nos falta algún organismo público?." #: app/views/request/_sidebar.rhtml:39 -msgid "" -"<a href=\"%s\">Are you the owner of\n" -" any commercial copyright on this page?</a>" -msgstr "<a href=\"%s\">¿Posee el copyright\n de alguna información de esta página?</a>" +msgid "Are you the owner of any commercial copyright on this page?" +msgstr "¿Posee el copyright de alguna información de esta página?" #: app/views/general/search.rhtml:168 msgid "<a href=\"%s\">Browse all</a> or <a href=\"%s\">ask us to add one</a>." |