\ No newline at end of file
diff --git a/app/views/reading_groups/_reading.html.erb b/app/views/reading_groups/_reading.html.erb
index 7415e42..1216d04 100644
--- a/app/views/reading_groups/_reading.html.erb
+++ b/app/views/reading_groups/_reading.html.erb
@@ -4,10 +4,10 @@
diff --git a/config/locales/views/en.yml b/config/locales/views/en.yml
index 98db633..bd9a7d8 100644
--- a/config/locales/views/en.yml
+++ b/config/locales/views/en.yml
@@ -101,6 +101,7 @@ en:
female: 'New'
create: 'Create %{model}'
add: 'Add'
+ sure_destroy: 'Are you sure that you want to destroy this %{model}?'
#this pattern is type_folder_file
about_mezuro: "About Mezuro"
diff --git a/config/locales/views/pt.yml b/config/locales/views/pt.yml
index 31fed31..60b8587 100644
--- a/config/locales/views/pt.yml
+++ b/config/locales/views/pt.yml
@@ -101,6 +101,7 @@ pt:
female: 'Nova'
create: 'Criar %{model}'
add: 'Adicionar'
+ sure_destroy: 'Você tem certeza que deseja apagar este(a) %{model}?'
#this pattern is type_folder_file
diff --git a/config/locales/views/reading_group/en.yml b/config/locales/views/reading_group/en.yml
new file mode 100644
index 0000000..dda0de8
--- /dev/null
+++ b/config/locales/views/reading_group/en.yml
@@ -0,0 +1,13 @@
+en:
+ activemodel:
+ models:
+ reading_group:
+ one: Reading Group
+ other: Reading Groups
+ attributes:
+ reading_group:
+ name: 'Name'
+ description: 'Description'
+ errors:
+ reading_group:
+ no_readings: 'There are no Readings yet!'
diff --git a/config/locales/views/reading_group/pt.yml b/config/locales/views/reading_group/pt.yml
new file mode 100644
index 0000000..0096018
--- /dev/null
+++ b/config/locales/views/reading_group/pt.yml
@@ -0,0 +1,13 @@
+pt:
+ activemodel:
+ models:
+ reading_group:
+ one: Grupo de Leitura
+ other: Grupos de Leitura
+ attributes:
+ reading_group:
+ name: 'Nome'
+ description: 'Descrição'
+ errors:
+ reading_group:
+ no_readings: 'Ainda não existem Leituras!'
\ No newline at end of file
diff --git a/features/reading_group/create.feature b/features/reading_group/create.feature
index 110067d..999c2fc 100644
--- a/features/reading_group/create.feature
+++ b/features/reading_group/create.feature
@@ -19,7 +19,7 @@ Scenario: Reading Group creation
Then I should see "My reading group"
And I should see "New reading group"
And I should see "New Reading"
- And I should see "Destroy Reading Group"
+ And I should see "Destroy"
@kalibro_configuration_restart
Scenario: Reading Group creation with already taken name
diff --git a/features/reading_group/delete.feature b/features/reading_group/delete.feature
index 696dfe7..11f9560 100644
--- a/features/reading_group/delete.feature
+++ b/features/reading_group/delete.feature
@@ -23,6 +23,6 @@ Feature: Reading Group Deletion
And I am signed in
And I own a sample reading group
And I visit the Sample Reading Group page
- When I click the Destroy Reading Group link
+ When I click the Destroy link
Then I should see "New Reading Group"
And the Sample Reading Group should not be there
diff --git a/features/reading_group/show.feature b/features/reading_group/show.feature
index daf7b27..00d8840 100644
--- a/features/reading_group/show.feature
+++ b/features/reading_group/show.feature
@@ -25,7 +25,7 @@ Scenario: Should show the links for the user that owns the reading group
And I should see "New Reading"
And I should see "Edit"
And I should see "Destroy"
- And I should see "Destroy Reading Group"
+ And I should see "Destroy"
@kalibro_configuration_restart
Scenario: Should show the information of the sample reading
--
libgit2 0.21.2