From 9ff30b27951d3ad1f3c4077581cadef09c434e6c Mon Sep 17 00:00:00 2001 From: Giga Chubinidze Date: Mon, 18 Dec 2023 12:32:33 +0400 Subject: [PATCH] Add 12 well plate option - "Insert content" select menu (protocol, results, protocol template) --- app/javascript/vue/protocol/step.vue | 3 ++- app/javascript/vue/results/result.vue | 3 ++- config/locales/en.yml | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/javascript/vue/protocol/step.vue b/app/javascript/vue/protocol/step.vue index e143e91f5..fe788a58f 100644 --- a/app/javascript/vue/protocol/step.vue +++ b/app/javascript/vue/protocol/step.vue @@ -211,7 +211,8 @@ { text: I18n.t('protocols.steps.insert.well_plate_options.16_x_24'), emit: 'create:table', params: [16, 24] }, { text: I18n.t('protocols.steps.insert.well_plate_options.8_x_12'), emit: 'create:table', params: [8, 12] }, { text: I18n.t('protocols.steps.insert.well_plate_options.6_x_8'), emit: 'create:table', params: [6, 8] }, - { text: I18n.t('protocols.steps.insert.well_plate_options.6_x_4'), emit: 'create:table', params: [6, 4] }, + { text: I18n.t('protocols.steps.insert.well_plate_options.4_x_6'), emit: 'create:table', params: [4, 6] }, + { text: I18n.t('protocols.steps.insert.well_plate_options.3_x_4'), emit: 'create:table', params: [3, 4]}, { text: I18n.t('protocols.steps.insert.well_plate_options.2_x_3'), emit: 'create:table', params: [2, 3] } ] } diff --git a/app/javascript/vue/results/result.vue b/app/javascript/vue/results/result.vue index ce7c8ff8a..621e69032 100644 --- a/app/javascript/vue/results/result.vue +++ b/app/javascript/vue/results/result.vue @@ -170,7 +170,8 @@ { text: I18n.t('protocols.steps.insert.well_plate_options.16_x_24'), emit: 'create:table', params: [[16, 24], true] }, { text: I18n.t('protocols.steps.insert.well_plate_options.8_x_12'), emit: 'create:table', params: [[8, 12], true] }, { text: I18n.t('protocols.steps.insert.well_plate_options.6_x_8'), emit: 'create:table', params: [[6, 8], true] }, - { text: I18n.t('protocols.steps.insert.well_plate_options.6_x_4'), emit: 'create:table', params: [[6, 4], true] }, + { text: I18n.t('protocols.steps.insert.well_plate_options.4_x_6'), emit: 'create:table', params: [[4, 6], true] }, + { text: I18n.t('protocols.steps.insert.well_plate_options.3_x_4'), emit: 'create:table', params: [[3, 4], true] }, { text: I18n.t('protocols.steps.insert.well_plate_options.2_x_3'), emit: 'create:table', params: [[2, 3], true] } ], editingName: false, diff --git a/config/locales/en.yml b/config/locales/en.yml index ac999e41c..2c406c746 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1297,7 +1297,8 @@ en: 16_x_24: '384 (16 x 24)' 8_x_12: '96 (8 x 12)' 6_x_8: '48 (6 x 8 )' - 6_x_4: '24 (6 x 4)' + 4_x_6: '24 (4 x 6)' + 3_x_4: '12 (3 x 4)' 2_x_3: '6 (2 x 3)' text: placeholder: "Enter result text" @@ -3273,7 +3274,8 @@ en: 16_x_24: '384 (16 x 24)' 8_x_12: '96 (8 x 12)' 6_x_8: '48 (6 x 8 )' - 6_x_4: '24 (6 x 4)' + 4_x_6: '24 (4 x 6)' + 3_x_4: '12 (3 x 4)' 2_x_3: '6 (2 x 3)' table: default_name: 'Table %{position}'