Skip to content

Commit

Permalink
HTML safe the view_live string and fixed a psych parsing problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Jun 19, 2011
1 parent 74faa13 commit 11f88e0
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/portfolio/_list.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<span class='actions'>
<% url = (::Refinery::Portfolio.multi_level? && list.parent ? portfolio_project_url(list.parent, list) : portfolio_url(list)) %>
<%= link_to refinery_icon_tag('application_go.png'), url, :target => "_blank",
:title => t('.view_live') %>
:title => t('.view_live_html') %>
<%= link_to refinery_icon_tag('application_edit.png'), edit_admin_portfolio_entry_path(list),
:title => t('.edit_this_entry') %>
<%= link_to refinery_icon_tag('delete.png'), admin_portfolio_entry_path(list),
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ en:
portfolio: Portfolio
no_portfolio_entries_yet: 'There are no portfolio entries yet. Click "Add New Portfolio Entry" to add your first portfolio entries.'
list:
view_live: "View this entry live <br/><em>(opens in a new window)</em>"
view_live_html: "View this entry live <br/><em>(opens in a new window)</em>"
edit_this_entry: "Edit this entry"
move_this_entry_up: "Move this entry up one level"
confirm_delete_entry_title: "Remove this entry forever"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ es:
portfolio: Portfolio
no_portfolio_entries_yet: 'No hay entradas de portfolio todavía. Pulsa en "Añadir Nueva Entrada de Portfolio" para añadir tu primera entrada de portfolio.'
list:
view_live: "Ver esta entrada como abierta al público<br/><em>(la abre en ventana nueva)</em>"
view_live_html: "Ver esta entrada como abierta al público<br/><em>(la abre en ventana nueva)</em>"
edit_this_entry: "Editar esta entrada"
move_this_entry_up: "Subir esta entrada un nivel"
confirm_delete_entry_title: "Borrar esta entrada para siempre"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fr:
portfolio: Portfolio
no_portfolio_entries_yet: "Il n'y a pas encore d'entrée au portfolio. Cliquez sur \"Ajouter une entrée dans le portfolio\" pour ajouter votre première entrée."
list:
view_live: "Voir cette nouvelle entrée <br/><em>(Ouvre une nouvelle fenêtre)</em>"
view_live_html: "Voir cette nouvelle entrée <br/><em>(Ouvre une nouvelle fenêtre)</em>"
edit_this_entry: "Modifier cette entrée"
move_this_entry_up: "Déplacer cette entrée d'un niveau"
confirm_delete_entry_title: "Supprimer définitivement cette entrée"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ it:
portfolio: Portfolio
no_portfolio_entries_yet: 'Non ci sono ancora elementi nel portfolio. Premi "Aggiungi un elemento al Portfolio" per inserire il primo elemento al portfolio.'
list:
view_live:"Visualizza questo elemento <br/><em>(in una nuova finestra)</em>"
view_live_html: "Visualizza questo elemento <br/><em>(in una nuova finestra)</em>"
edit_this_entry: "Modifica questo elemento"
move_this_entry_up: "Muovi questo elemento su di un livello"
confirm_delete_entry_title: "Elimina questo elemento per sempre"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/lt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ lt:
no_portfolio_entries_yet: 'There are no portfolio entries yet. Click "Add New Portfolio Entry" to add your first portfolio entries.'
no_portfolio_entries_yet: 'Kolk nėra portfolio įrašų. Paspauskite "Pridėti naują Portfolio įrašą", kad sukurti pirmąjį.'
list:
view_live: "Peržiūrėti šį įrašą gyvai svetainėje<br /><em>(atsidarys naujame lange)</em>"
view_live_html: "Peržiūrėti šį įrašą gyvai svetainėje<br /><em>(atsidarys naujame lange)</em>"
edit_this_entry: "Redaguoti šį įrašą"
move_this_entry_up: "Perkelti įrašą vienu lygiu aukštyn"
confirm_delete_entry_title: "Pašalinti įrašą visam laikui"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/lv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ lv:
portfolio: Portfolio
no_portfolio_entries_yet: Vēl nav neviena portfolio ieraksta. Spied "Izveidot Jaunu Portfolio Ierakstu", lai pievienotu pirmo ierakstu.
list:
view_live: Apskatīt šo ieraksu <br/><em>(tiks atvērts jaunā logā)</em>
view_live_html: Apskatīt šo ieraksu <br/><em>(tiks atvērts jaunā logā)</em>
edit_this_entry: Labot šo ierakstu
move_this_entry_up: Pārvietot šo ierkastu vienu līmeni augstāk
confirm_delete_entry_title: Dzēst šo ierakstu
Expand Down
2 changes: 1 addition & 1 deletion config/locales/nb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ nb:
portfolio: Portfolio
no_portfolio_entries_yet: 'Det er ikke lagt til noen elementer enda. Klikk på "Legg til nytt element" for å legge til ditt første portfolio element.'
list:
view_live: "Se hvordan elementet ser ut for besøkende <br/><em>(åpnes i et nytt vindu)</em>"
view_live_html: "Se hvordan elementet ser ut for besøkende <br/><em>(åpnes i et nytt vindu)</em>"
edit_this_entry: "Rediger elementet"
move_this_entry_up: "Flytt elementet opp ett nivå"
confirm_delete_entry_title: "Fjern elementet permanent"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ nl:
portfolio: Portfolio
no_portfolio_entries_yet: 'Er bestaan nog geen portfolio items. Klik "Maak een nieuw Portfolio item" om een eerste portfolio toe te voegen.'
list:
view_live: "Preview dit item <br/><em>(opent in nieuw venster)</em>"
view_live_html: "Preview dit item <br/><em>(opent in nieuw venster)</em>"
edit_this_entry: "Bewerk dit item"
move_this_entry_up: "Verplaats dit item een niveau hoger"
confirm_delete_entry_title: "Verwijder dit item voorgoed"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pl:
portfolio: Portfolio
no_portfolio_entries_yet: 'Nie ma jeszcze żadnych wpisów w portfolio. Kliknij "Dodaj nowy wpis w portfolio" aby dodać pierwszy.'
list:
view_live: "Zobacz ten wpis na żywo <br/><em>(otwiera się w nowym oknie)</em>"
view_live_html: "Zobacz ten wpis na żywo <br/><em>(otwiera się w nowym oknie)</em>"
edit_this_entry: "Zmień ten wpis"
move_this_entry_up: "Przenieś ten wpis poziom wyżej"
confirm_delete_entry_title: "Usuń ten wpis na zawsze"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pt-BR:
portfolio: Portfólio
no_portfolio_entries_yet: 'Não há portfólios cadastrados. Clique em "Criar novo Portfólio" para cadastrar seu primeiro portfólio.'
list:
view_live: "Ver este portfólio no site<br/><em>(abrirá em uma nova janela)</em>"
view_live_html: "Ver este portfólio no site<br/><em>(abrirá em uma nova janela)</em>"
edit_this_entry: "Alterar este portfólio"
move_this_entry_up: "Mover este portfólio um nível acima"
confirm_delete_entry_title: "Remover este portfólio para sempre"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
portfolio: Galerije
no_portfolio_entries_yet: 'Ne postoje galerije. Klikni "Dodaj novu galeriju" da dodaš.'
list:
view_live: "Pogledaj ovu galeriju <br/><em>(otvara se u novom prozoru)</em>"
view_live_html: "Pogledaj ovu galeriju <br/><em>(otvara se u novom prozoru)</em>"
edit_this_entry: "Izmeni ovu galeriju"
move_this_entry_up: "Pomeri ovu galeriju jedan nivo iznad"
confirm_delete_entry_title: "Ukloni ovu galeriju zauvek"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ru:
portfolio: Портфолио
no_portfolio_entries_yet: 'Нет ни одного Портфолио. Нажмите "Добавить" для создания первого Портфолио.'
list:
view_live: "Посмотреть в максимальном размере <br/><em>(открыть в новом окне)</em>"
view_live_html: "Посмотреть в максимальном размере <br/><em>(открыть в новом окне)</em>"
edit_this_entry: "Редактировать"
move_this_entry_up: "Переместить вверх на один уровень"
confirm_delete_entry_title: "Удалить навсегда"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/sl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sl:
portfolio: Portfelja
no_portfolio_entries_yet: 'Trenutno še ni nobenega portfelja. Kliknite "Ustvari Novo Portfelje" če želite dodati prvo portfelje.'
list:
view_live: Poglej si ta zapis v živo <br/><em>(odpre se v novem oknu)</em>
view_live_html: Poglej si ta zapis v živo <br/><em>(odpre se v novem oknu)</em>
edit_this_entry: "Uredi zapis"
move_this_entry_up: "Premakni zapis en nivo višje"
confirm_delete_entry_title: "Odstrani zapis"
Expand Down

0 comments on commit 11f88e0

Please sign in to comment.