mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-30 19:48:18 +08:00
Fix activities wording [SCI-3287] (#1635)
* Fix activities wording * Adding project to export protocol
This commit is contained in:
parent
5a73f3f72c
commit
a1047f4597
2 changed files with 5 additions and 3 deletions
|
@ -804,10 +804,12 @@ class ProtocolsController < ApplicationController
|
|||
|
||||
@protocols.each do |p|
|
||||
if params[:my_module_id]
|
||||
my_module = MyModule.find(params[:my_module_id])
|
||||
Activities::CreateActivityService
|
||||
.call(activity_type: :export_protocol_from_task,
|
||||
owner: current_user,
|
||||
subject: MyModule.find(params[:my_module_id]),
|
||||
project: my_module.experiment.project,
|
||||
subject: my_module,
|
||||
team: current_team,
|
||||
message_items: {
|
||||
my_module: params[:my_module_id].to_i
|
||||
|
|
|
@ -38,7 +38,7 @@ en:
|
|||
create_project_html: "%{user} created project %{project}."
|
||||
rename_project_html: "%{user} renamed project %{project}."
|
||||
change_project_visibility_html: "%{user} changed project %{project}'s visibility to %{visibility}."
|
||||
archive_project_html: "%{user} moved project %{project} to archive."
|
||||
archive_project_html: "%{user} archived project %{project}."
|
||||
restore_project_html: "%{user} restored project %{project} from archive."
|
||||
add_comment_to_project_html: "%{user} commented on project %{project}."
|
||||
edit_project_comment_html: "%{user} edited comment on project %{project}."
|
||||
|
@ -191,7 +191,7 @@ en:
|
|||
restore_experiment: "Experiment restored"
|
||||
rename_task: "Task renamed"
|
||||
move_task: "Task moved"
|
||||
export_protocol_from_task: "Export protocol form task"
|
||||
export_protocol_from_task: "Export protocol from task"
|
||||
set_task_due_date: "Task due date set"
|
||||
change_task_due_date: "Task due date changed"
|
||||
remove_task_due_date: "Task due date removed"
|
||||
|
|
Loading…
Reference in a new issue