Amend translations for identifier edit view [skip ci]

pull/3638/head
Peter Lehwess 9 years ago
parent f676bad691
commit 51d235beee
  1. 6
      config/locales/en.yml
  2. 2
      spec/features/projects/projects_spec.rb

@ -1350,9 +1350,9 @@ en:
subprojects_confirmation: "Its subproject(s): %{value} will also be deleted." subprojects_confirmation: "Its subproject(s): %{value} will also be deleted."
title: "Delete the project %{name}" title: "Delete the project %{name}"
identifier: identifier:
warning_one: Members of the project will have to relocate the project's repositories warning_one: Members of the project will have to relocate the project's repositories.
warning_two: Existing links to the project will no longer work warning_two: Existing links to the project will no longer work.
title: "Change the project's identifier" title: Change the project's identifier
project_module_activity: "Activity" project_module_activity: "Activity"
project_module_boards: "Forums" project_module_boards: "Forums"

@ -132,7 +132,7 @@ describe 'Projects', type: :feature do
click_on project.name click_on project.name
click_on 'Edit' click_on 'Edit'
expect(page).to have_content "DO YOU REALLY WANT TO CHANGE THE PROJECT'S IDENTIFIER" expect(page).to have_content "CHANGE THE PROJECT'S IDENTIFIER"
expect(current_path).to eq '/projects/foo/identifier' expect(current_path).to eq '/projects/foo/identifier'
fill_in 'project[identifier]', with: 'foo-bar' fill_in 'project[identifier]', with: 'foo-bar'

Loading…
Cancel
Save