Skip to content

Commit

Permalink
adding 'Back to app' label to internationalization
Browse files Browse the repository at this point in the history
  • Loading branch information
edimossilva committed May 18, 2020
1 parent e820e3b commit 305abdf
Show file tree
Hide file tree
Showing 24 changed files with 47 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/administrate/application/_navigation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ as defined by the routes in the `admin/` namespace
%>

<nav class="navigation" role="navigation">
<%= link_to("Back to app", root_url, class: "button button--alt") if defined?(root_url) %>
<%= link_to(t("administrate.navigation.back_to_app"), root_url, class: "button button--alt") if defined?(root_url) %>

<% Administrate::Namespace.new(namespace).resources_with_index_route.each do |resource| %>
<%= link_to(
Expand Down
2 changes: 2 additions & 0 deletions config/locales/administrate.ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ar:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: العودة إلى التطبيق
search:
clear: مسح البحث
label: بحث %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.bs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ bs:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Natrag na aplikaciju
search:
clear: Izbriši pretraživanje
label: Pretraga %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.ca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ca:
form:
error: error
errors: "%{pluralized_errors} han impedit que %{resource_name} es guardés amb èxit:"
navigation:
back_to_app: Torna a l'aplicació
search:
clear: Esborrar la cerca
label: Cerca %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.da.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ da:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Tilbage til app
search:
clear: Ryd søgning
label: Søg %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ de:
form:
error: error
errors: "%{pluralized_errors} haben das Speichern dieses %{resource_name} verhindert:"
navigation:
back_to_app: Zurück zur App
search:
clear: Suche zurücksetzen
label: "%{resource} durchsuchen"
2 changes: 2 additions & 0 deletions config/locales/administrate.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ en:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Back to app
search:
clear: Clear search
label: Search %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ es:
form:
error: error
errors: "%{pluralized_errors} no permitieron guardar este %{resource_name}:"
navigation:
back_to_app: Regresar a la aplicación
search:
clear: Borrar búsqueda
label: Buscar %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ fr:
form:
error: erreur
errors: "%{pluralized_errors} ont empêchés %{resource_name} d'être sauvergardé :"
navigation:
back_to_app: Retour à l'application
search:
clear: Effacer la recherche
label: Chercher %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ id:
form:
error: error
errors: "%{pluralized_errors} membuat %{resource_name} tidak bisa tersimpan:"
navigation:
back_to_app: Kembali ke aplikasi
search:
clear: Kosongkan pencarian
label: Cari %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ it:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Torna all'app
search:
clear: Cancella ricerca
label: Ricerca %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ja:
form:
error: エラー
errors: "%{pluralized_errors}のため%{resource_name}を保存できません。"
navigation:
back_to_app: アプリに戻る
search:
clear: 検索をクリアする
label: サーチ %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ko:
form:
error: 에러
errors: "%{pluralized_errors}로 인하여 %{resource_name}을(를) 저장하는데 실패하였습니다."
navigation:
back_to_app: 앱으로 돌아 가기
search:
clear: 검색 초기화
label: "%{resource} 검색"
2 changes: 2 additions & 0 deletions config/locales/administrate.nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ nl:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Terug naar app
search:
clear: Wissen
label: Zoeken %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ pl:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Powrót do aplikacji
search:
clear: Wyczyść wyszukiwanie
label: Szukanie %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ pt-BR:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Voltar ao aplicativo
search:
clear: Limpar pesquisa
label: Pesquisa %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.pt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ pt:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Voltar ao aplicativo
search:
clear: Limpar pesquisa
label: Pesquisa %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ ru:
form:
error: Ошибка
errors: "При сохранении %{resource_name} произошли ошибки:"
navigation:
back_to_app: Вернуться в приложение
search:
clear: Очистить поиск
label: Поиск %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.sq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ sq:
form:
error: gabim
errors: "%{pluralized_errors} nuk e lejoj %{resource_name} të ruhet:"
navigation:
back_to_app: Kthehu tek aplikacioni
search:
clear: Pastro kërkimin
label: Kërko %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.sv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ sv:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Tillbaka till appen
search:
clear: Rensa sökningen
label: Sök %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.uk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ uk:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Повернутися до програми
search:
clear: Очистити пошук
label: пошук %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.vi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ vi:
form:
error: error
errors: "%{pluralized_errors} prohibited this %{resource_name} from being saved:"
navigation:
back_to_app: Quay lại ứng dụng
search:
clear: Tìm kiếm rõ ràng
label: Tìm kiếm %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ zh-CN:
form:
error: 错误
errors: "%{resource_name} 保存前出现了 %{pluralized_errors} 个错误:"
navigation:
back_to_app: 返回应用
search:
clear: 清除搜索
label: 搜索 %{resource}
2 changes: 2 additions & 0 deletions config/locales/administrate.zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ zh-TW:
form:
error: 錯誤
errors: "%{pluralized_errors} 導致此 %{resource_name} 不能被儲存:"
navigation:
back_to_app: 返回应用
search:
clear: 清除搜尋
label: 搜尋 %{resource}

0 comments on commit 305abdf

Please sign in to comment.