Skip to content

Commit

Permalink
Replaced "%{singular_model} with %{plural_model} in order to fix Turk…
Browse files Browse the repository at this point in the history
…ish translation.

Backtrace:

I18n::MissingInterpolationArgument in Admin/admin_users#index
missing interpolation argument in "%{singular_model} kayıtlarını silmek istediğinize emin misiniz? Dikkat bu işlemin geri dönüşü yoktur!" ({:plural_model=>"yönetici"} given)

Extracted source (around line activeadmin#1):

1: insert_tag renderer_for(:index)
  • Loading branch information
ozgun committed Sep 12, 2012
1 parent 3d6976c commit 34d7286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/active_admin/locales/tr.yml
Expand Up @@ -45,10 +45,10 @@ tr:
link: "Bir tane oluşturun"
batch_actions:
button_label: "Toplu işlemler"
delete_confirmation: "%{singular_model} kayıtlarını silmek istediğinize emin misiniz? Dikkat bu işlemin geri dönüşü yoktur!"
delete_confirmation: "%{plural_model} kayıtlarını silmek istediğinize emin misiniz? Dikkat bu işlemin geri dönüşü yoktur!"
succesfully_destroyed:
one: "1 %{model} kaydı başarıyla silindi."
other: "Toplam %{count} kayıt %{singular_model} modelinden silindi"
other: "Toplam %{count} kayıt %{plural_model} modelinden silindi"
selection_toggle_explanation: "Seçimi Değiştir"
link: "Ekle"
action_label: "%{title} Seçildi"
Expand Down

0 comments on commit 34d7286

Please sign in to comment.