From 3c9e7a7d3b2a865d19bd5794096157e1d40d13d4 Mon Sep 17 00:00:00 2001 From: Yannick Francois Date: Wed, 16 Oct 2013 11:35:35 +0200 Subject: [PATCH] Move lang to locale for destroy shared page --- app/views/admin/resources/destroy.html.erb | 9 --- app/views/admin/shared/destroy.html.erb | 14 ++-- config/locales/da.yml | 6 ++ config/locales/de.yml | 6 ++ config/locales/en.yml | 6 ++ config/locales/es-MX.yml | 6 ++ config/locales/fr.yml | 6 ++ config/locales/he-IL.yml | 6 ++ config/locales/it.yml | 6 ++ config/locales/ja.yml | 6 ++ config/locales/lt.yml | 12 +++- config/locales/nb-NO.yml | 6 ++ config/locales/nl.yml | 6 ++ config/locales/pl.yml | 6 ++ config/locales/pt-BR.yml | 6 ++ config/locales/ro.yml | 6 ++ config/locales/ru.yml | 6 ++ config/locales/zh-CN.yml | 6 ++ config/locales/zh-TW.yml | 6 ++ lang/da_DK.rb | 40 ----------- lang/de_DE.rb | 83 ---------------------- lang/es_MX.rb | 44 ------------ lang/fr_FR.rb | 8 --- lang/he_IL.rb | 2 - lang/it_IT.rb | 15 ---- lang/ja_JP.rb | 14 ---- lang/lt_LT.rb | 28 -------- lang/nb_NO.rb | 2 - lang/nl_NL.rb | 1 - lang/pl_PL.rb | 35 --------- lang/pt_BR.rb | 14 ---- lang/ro_RO.rb | 16 ----- lang/ru_RU.rb | 2 - lang/zh_CN.rb | 15 ---- lang/zh_TW.rb | 16 ----- 35 files changed, 115 insertions(+), 351 deletions(-) delete mode 100644 app/views/admin/resources/destroy.html.erb diff --git a/app/views/admin/resources/destroy.html.erb b/app/views/admin/resources/destroy.html.erb deleted file mode 100644 index 6034c0e63b..0000000000 --- a/app/views/admin/resources/destroy.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -<%- content_for :page_heading do %> -

<%= _("File Uploads") %>

-<% end %> - -

<%= _("Are you sure you want to delete this file")%> ( <%= @file.filename -%> )?

-<%= form_tag :action => 'destroy' do %> - <%= hidden_field "file", "id" %> - <%= confirm_delete(_("Delete this file from the webserver?")) %> -<% end %> diff --git a/app/views/admin/shared/destroy.html.erb b/app/views/admin/shared/destroy.html.erb index 965e09df85..ec8402c896 100644 --- a/app/views/admin/shared/destroy.html.erb +++ b/app/views/admin/shared/destroy.html.erb @@ -1,8 +1,14 @@ <%- content_for :page_heading do %> -

<%= _(@record.class.name) %>

+ +

<%= _(@record.class.name) %>

<% end %> -

<%= _("Are you sure you want to delete this %s?", _(@record.class.name.downcase))%>

-<%= form_tag :action => "destroy", :id => @record.id do %> -
<%= cancel %> <%= _("or") %>
+

+ <%= t(".are_you_sure", element: _(@record.class.name.downcase))%> +

+ +<%= form_tag action: "destroy", id: @record.id do %> +
+ <%= t(".action_or_other", first_action: link_to(t(".cancel"), {action: 'index'}, class: 'btn'), second_action: submit_tag(t(".delete"), class: "btn btn-danger")) %> +
<% end %> diff --git a/config/locales/da.yml b/config/locales/da.yml index fb49df38b7..4a9f6e185e 100644 --- a/config/locales/da.yml +++ b/config/locales/da.yml @@ -5,6 +5,12 @@ da: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "Are you sure you want to delete this %{element}" + action_or_other: "%{first_action} eller %{second_action}" + cancel: "Anuller" + delete: "Slet" resources: index: media_library: "Media Library" diff --git a/config/locales/de.yml b/config/locales/de.yml index a43076ee6c..1163200131 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -5,6 +5,12 @@ de: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "Are you sure you want to delete this %{element}" + action_or_other: "%{first_action} oder %{second_action}" + cancel: "Cancel" + delete: "Löschen" resources: index: media_library: "Media Library" diff --git a/config/locales/en.yml b/config/locales/en.yml index 72beed0f39..97278e5404 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -5,6 +5,12 @@ en: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "Are you sure you want to delete this %{element}" + action_or_other: "%{first_action} or %{second_action}" + cancel: "Cancel" + delete: "Delete" resources: index: media_library: "Media Library" diff --git a/config/locales/es-MX.yml b/config/locales/es-MX.yml index 49a26553d4..4f56528f73 100644 --- a/config/locales/es-MX.yml +++ b/config/locales/es-MX.yml @@ -5,6 +5,12 @@ es-MX: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "¿Estás seguro que deseas eliminar este %{element}?" + action_or_other: "%{first_action} o %{second_action}" + cancel: "Cancelar" + delete: "Eliminar" resources: index: media_library: "Media Library" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 59247f506b..354a69cd1e 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -5,6 +5,12 @@ fr: next: "Suivant" last: "Last" admin: + shared: + destroy: + are_you_sure: "Êtes-vous certain de vouloir supprimer ce %{element}" + action_or_other: "%{first_action} ou %{second_action}" + cancel: "Annuler" + delete: "Supprimer" resources: index: media_library: "Bibliothèque de média" diff --git a/config/locales/he-IL.yml b/config/locales/he-IL.yml index 159357da17..429f9dd503 100644 --- a/config/locales/he-IL.yml +++ b/config/locales/he-IL.yml @@ -5,6 +5,12 @@ he-IL: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "האם אתה בטוח שברצונך למחוק את %{element} הזו?" + action_or_other: "%{first_action} או %{second_action}" + cancel: "בטל" + delete: "מחק" resources: index: media_library: "Media Library" diff --git a/config/locales/it.yml b/config/locales/it.yml index bccc63e1d3..75886a007f 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -5,6 +5,12 @@ it: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "Sei sicuro di voler eliminare questo %{element}?" + action_or_other: "%{first_action} o %{second_action}" + cancel: "Annulla" + delete: "Elimina" resources: index: media_library: "Media Library" diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 1c4907c0f5..8c57b64ec0 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -5,6 +5,12 @@ ja: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "Are you sure you want to delete this %{element}" + action_or_other: "%{first_action} または %{second_action}" + cancel: "キャンセル" + delete: "削除" resources: index: media_library: "Media Library" diff --git a/config/locales/lt.yml b/config/locales/lt.yml index 18341dd9d8..3ef3185fa5 100644 --- a/config/locales/lt.yml +++ b/config/locales/lt.yml @@ -5,6 +5,12 @@ lt: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "Ar jūs tikrai nori ištrinti šį %{element}?" + action_or_other: "%{first_action} arba %{second_action}" + cancel: "Baigti" + delete: "Trinti" resources: index: media_library: "Media Library" @@ -67,8 +73,8 @@ lt: email: "Email" url: "Url" your_comment: "Your comment" - action_or_other: "%{first_action} or %{second_action}" - cancel: "Cancel" + action_or_other: "%{first_action} arba %{second_action}" + cancel: "Baigti" save: "Save" button: select_action: "Select action" @@ -79,7 +85,7 @@ lt: submit: "Submit" feedback: this_comment_by_was_flagged_as_spam: "This comment by %{author} was flagged as spam, %{cancel_link}?" - cancel: "Cancel" + cancel: "Baigti" dashboard: drafts: your_drafts: "Your drafts" diff --git a/config/locales/nb-NO.yml b/config/locales/nb-NO.yml index e1be6b8e01..750e36a228 100644 --- a/config/locales/nb-NO.yml +++ b/config/locales/nb-NO.yml @@ -5,6 +5,12 @@ nb-NO: next: "Neste" last: "Last" admin: + shared: + destroy: + are_you_sure: "Er du sikker på at du vil slette denne %{element}?" + action_or_other: "%{first_action} eller %{second_action}" + cancel: "Annuller" + delete: "Slett" resources: index: media_library: "Media Library" diff --git a/config/locales/nl.yml b/config/locales/nl.yml index 22e3350772..393801c177 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -5,6 +5,12 @@ nl: next: "Volgende" last: "Last" admin: + shared: + destroy: + are_you_sure: "Are you sure you want to delete this %{element}" + action_or_other: "%{first_action} of %{second_action}" + cancel: "Terug" + delete: "Verwijderen" resources: index: media_library: "Media Library" diff --git a/config/locales/pl.yml b/config/locales/pl.yml index b5b30f56db..60fe7a15df 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -5,6 +5,12 @@ pl: next: "Następne" last: "Last" admin: + shared: + destroy: + are_you_sure: "Are you sure you want to delete this %{element}" + action_or_other: "%{first_action} lub %{second_action}" + cancel: "Anuluj" + delete: "Usuń" resources: index: media_library: "Media Library" diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index 5ae4d47546..2b69bd3dd9 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -5,6 +5,12 @@ pt-BR: next: "Próximo" last: "Anterior" admin: + shared: + destroy: + are_you_sure: "Are you sure you want to delete this %{element}" + action_or_other: "%{first_action} ou %{second_action}" + cancel: "Cancelar" + delete: "Deletar" resources: index: media_library: "Media Library" diff --git a/config/locales/ro.yml b/config/locales/ro.yml index 6bde7b5d7d..a2439cf629 100644 --- a/config/locales/ro.yml +++ b/config/locales/ro.yml @@ -5,6 +5,12 @@ ro: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "Are you sure you want to delete this %{element}" + action_or_other: "%{first_action} sau %{second_action}" + cancel: "Anulare" + delete: "Delete" resources: index: media_library: "Media Library" diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 1793066414..14677c8f05 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -5,6 +5,12 @@ ru: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "Вы уверены, что хотите удалить %{element}?" + action_or_other: "%{first_action} или %{second_action}" + cancel: "Отменить" + delete: "Удалить" resources: index: media_library: "Media Library" diff --git a/config/locales/zh-CN.yml b/config/locales/zh-CN.yml index cd02fdb075..940eac7165 100644 --- a/config/locales/zh-CN.yml +++ b/config/locales/zh-CN.yml @@ -5,6 +5,12 @@ zh-CN: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "Are you sure you want to delete this %{element}" + action_or_other: "%{first_action} 或 %{second_action}" + cancel: "取消" + delete: "删除" resources: index: media_library: "Media Library" diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index 758858db96..825ecfe8fe 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -5,6 +5,12 @@ zh-TW: next: "Next" last: "Last" admin: + shared: + destroy: + are_you_sure: "Are you sure you want to delete this %{element}" + action_or_other: "%{first_action} 或 %{second_action}" + cancel: "取消" + delete: "刪除" resources: index: media_library: "Media Library" diff --git a/lang/da_DK.rb b/lang/da_DK.rb index 157da6e40f..9b842f026f 100644 --- a/lang/da_DK.rb +++ b/lang/da_DK.rb @@ -1,32 +1,5 @@ # coding: utf-8 Localization.define("da_DK") do |l| - - # app/controllers/accounts_controller.rb - l.store "Login successful", "" - l.store "Login unsuccessful", "" - l.store "An email has been successfully sent to your address with your new password", "" - l.store "Oops, something wrong just happened", "" - l.store "Successfully logged out", "" - l.store "login", "" - l.store "signup", "" - l.store "Recover your password", "" - - # app/controllers/admin/categories_controller.rb - l.store "Category was successfully saved.", "" - l.store "Category could not be saved.", "" - - # app/controllers/admin/content_controller.rb - l.store "Error, you are not allowed to perform this action", "" - l.store "Preview", "" - l.store "Deleted", "" - l.store "Not found", "" - l.store "Deleted %d item(s)", "" - l.store "Confirmed classification of %s item(s)", "" - l.store "Not implemented", "" - l.store "Delete", "Slet" - l.store "delete", "" - l.store "Delete content", "" - l.store "Are you sure?", "" l.store "Please select", "Vælg venligst" l.store "All categories", "Alle kategorier" l.store "All authors", "Alle forfattere" @@ -238,19 +211,6 @@ l.store "remove", "supprimer" l.store "Display name", "Vis navn" - - l.store "Are you sure you want to delete the tag", "" - l.store "Delete this tag", "" - - l.store "Editing ", "" - - l.store "Display Name", "" - - # app/views/admin/themes/catalogue.html.erb - l.store "Sorry the theme catalogue is not available", "" - l.store "Theme catalogue", "" - - # app/views/admin/themes/index.html.erb l.store "Active theme", "Aktiv tema" l.store "Choose a theme", "Vælg et tema" l.store "Use this theme", "" diff --git a/lang/de_DE.rb b/lang/de_DE.rb index f90fc42da6..e633e54e44 100644 --- a/lang/de_DE.rb +++ b/lang/de_DE.rb @@ -1,74 +1,5 @@ # coding: utf-8 Localization.define("de_DE") do |l| - - # app/controllers/accounts_controller.rb - l.store "Login successful", "" - l.store "Login unsuccessful", "" - l.store "Oops, something wrong just happened", "" - l.store "Successfully logged out", "" - l.store "login", "" - l.store "signup", "" - - # app/controllers/admin/categories_controller.rb - l.store "Category was successfully saved.", "" - l.store "Category could not be saved.", "" - - # app/controllers/admin/content_controller.rb - l.store "Error, you are not allowed to perform this action", "" - l.store "Preview", "" - l.store "Deleted", "" - l.store "Not found", "" - l.store "Deleted %d item(s)", "" - l.store "Confirmed classification of %s item(s)", "" - l.store "Not implemented", "" - l.store "Comment was successfully created.", "" - l.store "Comment was successfully updated.", "" - - # app/controllers/admin/pages_controller.rb - l.store "Page was successfully created.", "" - l.store "Page was successfully updated.", "" - - # app/controllers/admin/profiles_controller.rb - l.store "User was successfully updated.", "" - - # app/controllers/admin/resources_controller.rb - l.store "complete", "" - l.store "File uploaded: ", "" - l.store "Unable to upload", "" - l.store "Metadata was successfully updated.", "" - l.store "Not all metadata was defined correctly.", "" - - # app/controllers/admin/settings_controller.rb - l.store "Please review and save the settings before continuing", "" - l.store "config updated.", "" - - # app/controllers/admin/sidebar_controller.rb - l.store "It seems something went wrong. Maybe some of your sidebars are actually missing and you should either reinstall them or remove them manually", "" - - # app/controllers/admin/tags_controller.rb - l.store "Tag was successfully updated.", "" - - # app/controllers/admin/themes_controller.rb - l.store "Theme changed successfully", "" - l.store "You are not authorized to open this file", "" - l.store "File saved successfully", "" - - # app/controllers/admin/users_controller.rb - l.store "User was successfully created.", "" - - # app/controllers/application_controller.rb - l.store "Localization.rtl", "" - - # app/controllers/articles_controller.rb - l.store "No posts found...", "" - l.store "Archives for", "" - l.store "Archives for ", "" - l.store ", Articles for ", "" - - l.store "Delete", "Löschen" - l.store "delete", "" - l.store "Delete content", "" - l.store "Are you sure?", "" l.store "All categories", "Alle kategorien" l.store "All authors", "Alle autoren" l.store "All published dates", "Alle termine" @@ -77,7 +8,6 @@ l.store "no trackbacks", "keine Trackbacks" l.store "Reorder", "Sortieren" l.store "Sort alphabetically", "Alphabetisch sortieren" - l.store "Are you sure you want to delete the category ", "Sind Sie sicher, die Kategorie zu löschen: " l.store "Delete this category", "Kategorie löschen" @@ -238,19 +168,6 @@ l.store "remove", "supprimer" l.store "Display name", "Anzeigename" - - l.store "Are you sure you want to delete the tag", "" - l.store "Delete this tag", "" - - l.store "Editing ", "" - - l.store "Display Name", "" - - # app/views/admin/themes/catalogue.html.erb - l.store "Sorry the theme catalogue is not available", "" - l.store "Theme catalogue", "" - - # app/views/admin/themes/index.html.erb l.store "Active theme", "Aktives Motiv" l.store "Choose a theme", "Motiv auswählen" l.store "Use this theme", "" diff --git a/lang/es_MX.rb b/lang/es_MX.rb index 623ebb8aac..6132c1420a 100644 --- a/lang/es_MX.rb +++ b/lang/es_MX.rb @@ -7,49 +7,6 @@ l.store "Login successful", "" l.store "Login unsuccessful", "" l.store "An email has been successfully sent to your address with your new password", "" - l.store "Oops, something wrong just happened", "" - l.store "Successfully logged out", "" - l.store "login", "" - l.store "signup", "" - l.store "Recover your password", "" - - # app/controllers/admin/categories_controller.rb - l.store "Category was successfully saved.", "" - l.store "Category could not be saved.", "" - - # app/controllers/admin/content_controller.rb - l.store "Error, you are not allowed to perform this action", "" - l.store "Preview", "" - - l.store "Deleted", "" - l.store "Not found", "" - l.store "Deleted %d item(s)", "" - l.store "Confirmed classification of %s item(s)", "" - l.store "Not implemented", "" - - # app/controllers/admin/resources_controller.rb - l.store "complete", "" - l.store "File uploaded: ", "" - l.store "Unable to upload", "" - - # app/controllers/admin/settings_controller.rb - l.store "Please review and save the settings before continuing", "" - - # app/controllers/admin/sidebar_controller.rb - l.store "It seems something went wrong. Maybe some of your sidebars are actually missing and you should either reinstall them or remove them manually", "" - - # app/controllers/admin/themes_controller.rb - l.store "Theme changed successfully", "" - l.store "You are not authorized to open this file", "" - l.store "File saved successfully", "" - l.store "Unable to write file", "" - - # app/controllers/admin/users_controller.rb - l.store "User was successfully created.", "" - l.store "Delete", "Eliminar" - l.store "Delete content", "" - l.store "Are you sure?", "" - l.store "Please select", "" l.store "All categories", "Todos las categorias" l.store "All authors", "Todos los autores" l.store "All published dates", "Todos los fechas" @@ -224,7 +181,6 @@ l.store "Display name", "Nombre para mostrar" # app/views/admin/tags/destroy.html.erb - l.store "Are you sure you want to delete the tag", "" l.store "Delete this tag", "" # app/views/admin/tags/edit.html.erb diff --git a/lang/fr_FR.rb b/lang/fr_FR.rb index 63126f8c62..2e618f4285 100644 --- a/lang/fr_FR.rb +++ b/lang/fr_FR.rb @@ -100,7 +100,6 @@ l.store "All published dates", "Tous les dates" l.store "There are no %s yet. Why don't you start and create one?", "Il n'y a pas encore de %s, pourquoi ne pas en créer un ? " l.store "Edit", "Éditer" - l.store "Delete", "Supprimer" l.store "Show", "Affichage" l.store "Show help on Publify macros", "Afficher l'aide sur les macros Publify" l.store "Update settings", "Mettre les paramètres à jour" @@ -118,9 +117,7 @@ l.store "Show conversation", "Afficher le fil" l.store "Flag as %s", "Marquer comme %s" - # app/helpers/application_helper.rb l.store "%%d. %%b", "" - l.store "Are you sure you want to delete this %s?", "" l.store "%%a, %%d %%b %%Y %%H:%%M:%%S GMT", "" l.store "%d comments", "%d commentaires" l.store "no comments", "aucun commentaire" @@ -166,7 +163,6 @@ l.store "Next page", "Page suivante" # app/views/admin/resources/destroy.html.erb - l.store "Are you sure you want to delete this file", "Êtes-vous certain de vouloir supprimer ce fichier" l.store "Delete this file from the webserver?", "Supprimer complètement ce fichier du site ?" l.store "File Uploads", "Ajout de fichiers" l.store "Thumbnail", "Miniatures" @@ -324,7 +320,6 @@ l.store "Write", "Écrire" # app/views/admin/shared/destroy.html.erb - l.store "Are you sure you want to delete this %s?", "Êtes-vous certain de vouloir supprimer ce %s ?" l.store "Changes published", "Modifications publiées" # app/views/admin/sidebar/_target.html.erb @@ -594,12 +589,9 @@ l.store "April", "avril" l.store "Archives for", "Archives de" l.store "Archives for ", "Archives de" - l.store "Are you sure you want to delete the Article Type ", "" l.store "Are you sure you want to delete the category ", "Êtes vous certain de vouloir supprimer cette catégorie " l.store "Are you sure you want to delete the page", "Voulez-vous vraiment effacer cette page" - l.store "Are you sure you want to delete the redirection ", "" l.store "Are you sure you want to delete the tag", "Êtes-vous certain de vouloir supprimer le label" - l.store "Are you sure you want to delete this %s", "Êtes-vous certain de vouloir supprimer cet %s" l.store "Are you sure you want to delete this item?", "Êtes vous certain de vouloir supprimer cette entrée ?" l.store "Article Types", "Modèles d'articles" l.store "Aug", "août" diff --git a/lang/he_IL.rb b/lang/he_IL.rb index 559e6a395f..f2a9044fd6 100644 --- a/lang/he_IL.rb +++ b/lang/he_IL.rb @@ -67,7 +67,6 @@ # app/controllers/application_controller.rb l.store "Localization.rtl", "1" - l.store "Delete", "מחק" l.store "delete", "מחק" l.store "Delete content", "מחק תוכן" l.store "Are you sure?", "האם אתה בטוח? " @@ -523,7 +522,6 @@ l.store "Add Extended Content", "הוסף תוכן מורחב" l.store "Add MetaData", "הוסף מידע-על" l.store "Allow non-ajax comments", "אפשר תגובות ללא Ajax" - l.store "Are you sure you want to delete this %s?", "האם אתה בטוח שברצונך למחוק את % הזו?" l.store "Are you sure you want to delete this filter", "האם אתה בטוח שברצונך למחוק מסנן זה?" l.store "Are you sure you want to delete this item?", "האם אתה בטוח שברצונך למחוק פריט זה ?" l.store "Article was successfully saved at ", "הכתבה נשמרה בהצלחה" diff --git a/lang/it_IT.rb b/lang/it_IT.rb index fb6942110a..ec0b12e868 100644 --- a/lang/it_IT.rb +++ b/lang/it_IT.rb @@ -51,7 +51,6 @@ l.store "You are not authorized to open this file", "" l.store "File saved successfully", "" l.store "Store", "Salva" - l.store "Delete", "Elimina" l.store "All categories", "Tutte le categorie" l.store "All authors", "Tutte le autori" l.store "All published dates", "Tutte le date" @@ -287,20 +286,6 @@ # app/views/admin/tags/_form.html.erb l.store "Display name", "Nome visualizzato" - - # app/views/admin/tags/destroy.html.erb - l.store "Are you sure you want to delete the tag", "" - l.store "Delete this tag", "" - - # app/views/admin/tags/edit.html.erb - l.store "Editing ", "" - l.store "Back to tags list", "" - - # app/views/admin/themes/catalogue.html.erb - l.store "Sorry the theme catalogue is not available", "" - l.store "Theme catalogue", "" - - # app/views/admin/themes/index.html.erb l.store "Active theme", "Tema Attivo" l.store "Choose a theme", "Seleziona un tema" l.store "Use this theme", "" diff --git a/lang/ja_JP.rb b/lang/ja_JP.rb index acc11082e7..43fe7aaec1 100644 --- a/lang/ja_JP.rb +++ b/lang/ja_JP.rb @@ -19,9 +19,7 @@ l.store "Article was successfully created", "記事を作成しました" l.store "Article was successfully updated.", "記事が更新されました" - l.store "Deleted", "" l.store "Not found", "" - l.store "Deleted %d item(s)", "" l.store "Marked %d item(s) as Ham", "" l.store "Confirmed classification of %s item(s)", "" l.store "Not implemented", "" @@ -40,18 +38,12 @@ l.store "Not all metadata was defined correctly.", "いくつかのメタデータが正しく反映されませんでした" l.store "Content Type was successfully updated.", "コンテントタイプは正常に更新されました" l.store "config updated.", "設定は更新されました" - l.store "Delete", "削除" l.store "delete", "削除" l.store "Please select", "選択してください" l.store "There are no %s yet. Why don't you start and create one?", "" l.store "Edit", "編集" l.store "Show help on Publify macros", "Publifyマクロのヘルプを表示" l.store "Back to overview", "オーバービューに戻る" - l.store "Tag", "" - l.store "Show conversation", "" - l.store "Flag as %s", "" - - # app/helpers/application_helper.rb l.store "%%a, %%d %%b %%Y %%H:%%M:%%S GMT", Proc.new { |date| sprintf(date.strftime("%Y-%m-%d %H:%M:%S GMT")) } l.store "%%d. %%b", Proc.new { |date| sprintf(date.strftime("%m/%d")) } l.store "no trackbacks", "トラックバックなし" @@ -286,12 +278,6 @@ l.store "XML Syndication", "" l.store "remove", "supprimer" l.store "Display name", "表示名" - - l.store "Are you sure you want to delete the tag", "" - l.store "Delete this tag", "" - - l.store "Editing ", "" - l.store "Manage tags", "タグの管理" # app/views/admin/themes/catalogue.html.erb diff --git a/lang/lt_LT.rb b/lang/lt_LT.rb index 871ef6179e..3dcdd9e4ce 100644 --- a/lang/lt_LT.rb +++ b/lang/lt_LT.rb @@ -1,16 +1,5 @@ # coding: utf-8 Localization.define("lt_LT") do |l| - - # app/controllers/accounts_controller.rb - l.store "Login successful", "" - l.store "Login unsuccessful", "" - l.store "Oops, something wrong just happened", "" - l.store "Successfully logged out", "" - l.store "Delete", "Trinti" - l.store "delete", "" - l.store "Delete content", "" - l.store "Are you sure?", "" - l.store "Please select", "" l.store "All categories", "Visos kategorijios" l.store "All authors", "Visos autoriai" l.store "All published dates", "Visos laika" @@ -226,25 +215,9 @@ l.store "RSS and Atom feeds", "" l.store "XML Syndication", "" l.store "remove", "supprimer" - l.store "Display name", "Rodomas vardas" - - l.store "Are you sure you want to delete the tag", "" - l.store "Delete this tag", "" - - l.store "Editing ", "" - - l.store "Display Name", "" - - # app/views/admin/themes/catalogue.html.erb - l.store "Sorry the theme catalogue is not available", "" - l.store "Theme catalogue", "" - - # app/views/admin/themes/index.html.erb l.store "Active theme", "Aktives Motiv" l.store "Choose a theme", "Motiv auswählen" - l.store "Use this theme", "" - # app/views/admin/users/_form.html.erb l.store "Account settings", "" l.store "Active", "" @@ -391,7 +364,6 @@ l.store "Add pattern", "Pridėti šabloną" # l.store "Allow non-ajax comments", "non-AJAX Kommentare erlauben" l.store "Are you sure you want to delete this filter", "Sind sie sicher, diesen Textfilter zu löschen" - l.store "Are you sure you want to delete this item?", "Ar jūs tikrai nori ištrinti šį įrašą?" # l.store "Article Attachments", "Straipsnio prikabinti failai" l.store "Article Body", "Straipsnio tekstas" #straipsnio kūnas niekur nesako, reikia tinkamesnio l.store "Article Content", "Straipsnio turinys" diff --git a/lang/nb_NO.rb b/lang/nb_NO.rb index 473e0d8f9e..9b4bc1a84b 100644 --- a/lang/nb_NO.rb +++ b/lang/nb_NO.rb @@ -108,7 +108,6 @@ # app/controllers/grouping_controller.rb l.store "page", "side" l.store "Store", "Lagre" - l.store "Delete", "Slett" l.store "delete", "slett" l.store "Delete content", "Slett innhold" l.store "Are you sure?", "Er du sikker?" @@ -134,7 +133,6 @@ # app/helpers/application_helper.rb l.store "%%d. %%b", "" - l.store "Are you sure you want to delete this %s?", "Er du sikker på at du vil slette denne %s?" l.store "%%a, %%d %%b %%Y %%H:%%M:%%S GMT", "" l.store "no trackbacks", "ingen trackbacks" l.store "1 trackback", "1 trackback" diff --git a/lang/nl_NL.rb b/lang/nl_NL.rb index f963ddc2cf..fb89844d84 100644 --- a/lang/nl_NL.rb +++ b/lang/nl_NL.rb @@ -80,7 +80,6 @@ # app/helpers/admin/base_helper.rb l.store "Store", "Opslaan" - l.store "Delete", "Verwijderen" l.store "delete", "verwijderen" l.store "Delete content", "Verwijder inhoud" l.store "Are you sure?", "Weet je het zeker?" diff --git a/lang/pl_PL.rb b/lang/pl_PL.rb index 6ea4f1e6f4..ff305a665d 100644 --- a/lang/pl_PL.rb +++ b/lang/pl_PL.rb @@ -20,9 +20,7 @@ l.store "Error, you are not allowed to perform this action", "" l.store "Preview", "" - l.store "Deleted", "" l.store "Not found", "" - l.store "Deleted %d item(s)", "" l.store "Marked %d item(s) as Ham", "" l.store "Confirmed classification of %s item(s)", "" l.store "Not implemented", "" @@ -41,25 +39,6 @@ # app/controllers/admin/settings_controller.rb l.store "config updated.", "konfiguracja zaktualizowana." - - # app/controllers/admin/sidebar_controller.rb - l.store "It seems something went wrong. Maybe some of your sidebars are actually missing and you should either reinstall them or remove them manually", "" - - l.store "Tag was successfully updated.", "" - - # app/controllers/admin/themes_controller.rb - l.store "Theme changed successfully", "" - l.store "You are not authorized to open this file", "" - l.store "File saved successfully", "" - l.store "Unable to write file", "" - - # app/controllers/admin/users_controller.rb - l.store "User was successfully created.", "" - l.store "Delete", "Usuń" - l.store "delete", "" - l.store "Delete content", "" - l.store "Are you sure?", "" - l.store "Please select", "" l.store "All categories", "Wszystkie kategorie" l.store "All authors", "Wszystkie autorzy" l.store "All published dates", "Wszystkie daty" @@ -296,21 +275,7 @@ l.store "RSS and Atom feeds", "" l.store "XML Syndication", "" l.store "remove", "supprimer" - l.store "Display name", "Wyświetlana nazwa" - - l.store "Are you sure you want to delete the tag", "" - l.store "Delete this tag", "" - - l.store "Editing ", "" - - l.store "Display Name", "" - - # app/views/admin/themes/catalogue.html.erb - l.store "Sorry the theme catalogue is not available", "" - l.store "Theme catalogue", "" - - # app/views/admin/themes/index.html.erb l.store "Active theme", "Temat aktywny" l.store "Choose a theme", "" l.store "Use this theme", "" diff --git a/lang/pt_BR.rb b/lang/pt_BR.rb index 995412fd06..bf5760128b 100644 --- a/lang/pt_BR.rb +++ b/lang/pt_BR.rb @@ -80,7 +80,6 @@ l.store "page", "página" l.store "everything about", "tudo sobre" l.store "Store", "Salvar" - l.store "Delete", "Deletar" l.store "delete", "deletar" l.store "Delete content", "Deletar conteúdo?" l.store "Are you sure?", "Você tem certeza?" @@ -301,19 +300,6 @@ l.store "remove", "supprimer" l.store "Display name", "Nombre para mostrar" - - l.store "Are you sure you want to delete the tag", "" - l.store "Delete this tag", "" - - l.store "Editing ", "" - - l.store "Display Name", "" - - # app/views/admin/themes/catalogue.html.erb - l.store "Sorry the theme catalogue is not available", "" - l.store "Theme catalogue", "" - - # app/views/admin/themes/index.html.erb l.store "Active theme", "Tema activo" l.store "Choose a theme", "Escoge un tema" l.store "Use this theme", "" diff --git a/lang/ro_RO.rb b/lang/ro_RO.rb index 5960cb0cb9..749465a662 100644 --- a/lang/ro_RO.rb +++ b/lang/ro_RO.rb @@ -17,12 +17,9 @@ l.store "Error, you are not allowed to perform this action", "" l.store "Preview", "" - l.store "Deleted", "" l.store "Not found", "" - l.store "Deleted %d item(s)", "" l.store "Confirmed classification of %s item(s)", "" l.store "Not implemented", "" - l.store "Delete", "Ștergere" l.store "All categories", "toate categoriile" l.store "All authors", "toate autorii" l.store "All published dates", "toate timp" @@ -191,19 +188,6 @@ l.store "Publish changes", "Publică modificările" l.store "Display name", "Numele real" - - l.store "Are you sure you want to delete the tag", "" - l.store "Delete this tag", "" - - l.store "Editing ", "" - - l.store "Display Name", "" - - # app/views/admin/themes/catalogue.html.erb - l.store "Sorry the theme catalogue is not available", "" - l.store "Theme catalogue", "" - - # app/views/admin/themes/index.html.erb l.store "Active theme", "Tema activă" l.store "Choose a theme", "Alege o temă" l.store "Use this theme", "" diff --git a/lang/ru_RU.rb b/lang/ru_RU.rb index ddb139d661..6a4fec34db 100644 --- a/lang/ru_RU.rb +++ b/lang/ru_RU.rb @@ -15,7 +15,6 @@ l.store "Recover your password", "Восстановление пароля" # app/helpers/admin/base_helper.rb - l.store "Delete", "Удалить" l.store "delete", "удалить" l.store "Are you sure?", "Вы уверены?" l.store "All categories", "Все категории" @@ -35,7 +34,6 @@ # app/helpers/admin/content_helper.rb l.store "Destroy this draft", "Удалить этот черновик" - l.store "Are you sure you want to delete this %s?", "Вы уверены, что хотите удалить %s?" # app/models/article.rb l.store "Original article writen by", "Автор оригинальной статьи —" diff --git a/lang/zh_CN.rb b/lang/zh_CN.rb index f15814210c..7ee98203c3 100644 --- a/lang/zh_CN.rb +++ b/lang/zh_CN.rb @@ -81,7 +81,6 @@ # app/helpers/admin/base_helper.rb l.store "Store", "保存" - l.store "Delete", "删除" l.store "delete", "删除" l.store "Delete content", "删除内容" l.store "Are you sure?", "你确认?" @@ -127,8 +126,6 @@ l.store "Are you sure you want to delete the category ", "确认删除此分类?" l.store "Delete this category", "删除分类" - - l.store "%s Category", "分类%s" l.store "(Done)", "(完成)" @@ -326,18 +323,6 @@ l.store "remove", "supprimer" l.store "Display name", "暱稱" - - l.store "Are you sure you want to delete the tag", "" - l.store "Delete this tag", "" - - l.store "Editing ", "" - l.store "Display Name", "" - - # app/views/admin/themes/catalogue.html.erb - l.store "Sorry the theme catalogue is not available", "" - l.store "Theme catalogue", "" - - # app/views/admin/themes/index.html.erb l.store "Active theme", "執行中主題" l.store "Choose a theme", "選擇主題" l.store "Use this theme", "" diff --git a/lang/zh_TW.rb b/lang/zh_TW.rb index a7e3222acd..7f1881a262 100644 --- a/lang/zh_TW.rb +++ b/lang/zh_TW.rb @@ -16,9 +16,7 @@ # app/controllers/admin/content_controller.rb l.store "Error, you are not allowed to perform this action", "" l.store "Preview", "" - l.store "Deleted", "" l.store "Not found", "" - l.store "Deleted %d item(s)", "" l.store "Confirmed classification of %s item(s)", "" l.store "Not implemented", "" l.store "Error occurred while updating Content Type.", "當更新內容類型時發生錯誤" @@ -47,7 +45,6 @@ # app/controllers/admin/users_controller.rb l.store "User was successfully created.", "" - l.store "Delete", "刪除" l.store "Edit", "修改" l.store "Back to overview", "回到概覽" l.store "no trackbacks", "沒有引用" @@ -263,19 +260,6 @@ l.store "remove", "supprimer" l.store "Display name", "暱稱" - - l.store "Are you sure you want to delete the tag", "" - l.store "Delete this tag", "" - - l.store "Editing ", "" - - l.store "Display Name", "" - - # app/views/admin/themes/catalogue.html.erb - l.store "Sorry the theme catalogue is not available", "" - l.store "Theme catalogue", "" - - # app/views/admin/themes/index.html.erb l.store "Active theme", "執行中主題" l.store "Choose a theme", "選擇主題" l.store "Use this theme", ""