Skip to content

Commit

Permalink
Merge branch 'AO3-6856-edit-page-for-default-language-accessible-desp…
Browse files Browse the repository at this point in the history
…ite-edit-link-being-hidden' of github.com:Cesium-Ice/otwarchive into AO3-6856-edit-page-for-default-language-accessible-despite-edit-link-being-hidden
  • Loading branch information
Cesium-Ice committed Dec 11, 2024
2 parents 5f97f79 + 4978fdd commit e1cf8e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/locales/controllers/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ en:
create:
success: Thank you for leaving kudos!
languages:
cannot_edit_default: Sorry, you cant edit the default language.
cannot_edit_default: Sorry, you can't edit the default language.
successfully_added: Language was successfully added.
successfully_updated: Language was successfully updated.
update:
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/languages_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
it "redirects for the default language" do
fake_login_admin(admin)
get :edit, params: { id: "en" }
it_redirects_to_with_error(languages_path, "Sorry, you cant edit the default language.")
it_redirects_to_with_error(languages_path, "Sorry, you can't edit the default language.")
end
end
end
Expand Down

0 comments on commit e1cf8e3

Please sign in to comment.