Remove „textile“ from error messages

pull/6967/head
Henriette Dinger 6 years ago
parent 3129189962
commit 4d71043da2
  1. 2
      modules/my_project_page/app/controllers/my_projects_overviews_controller.rb
  2. 2
      modules/my_project_page/config/locales/en.yml

@ -54,7 +54,7 @@ class MyProjectsOverviewsController < ApplicationController
block_name: block_name,
textile: textile })
else
render plain: t(:error_textile_not_saved), status: 400
render plain: t(:error_block_not_saved), status: 400
end
end

@ -20,8 +20,8 @@
en:
button_edit_this_page: "Edit this page"
error_block_not_saved: "The text block could not be saved."
error_saving_changes: "The changes could not be saved: %{errors}"
error_textile_not_saved: "The textile block could not be saved."
label_hidden_elements: "Hidden elements"
label_visible_elements: "Visible elements"
label_project_description: "Project description"

Loading…
Cancel
Save