Placeholder text (titles, description field) [SCI-9081] (#6087)

* Placeholder text (titles, description field) [SCI-9081]

* removed serializer code

* Update table.vue
This commit is contained in:
G-Chubinidze 2023-08-28 12:36:40 +04:00 committed by GitHub
parent 589a01ce81
commit bbffce5e03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View file

@ -12,7 +12,7 @@
:value="element.attributes.orderable.name"
:sa_value="element.attributes.orderable.sa_name"
:characterLimit="10000"
:placeholder="''"
:placeholder="i18n.t('protocols.steps.checklist.checklist_name')"
:allowBlank="false"
:autofocus="editingName"
:smartAnnotation="true"

View file

@ -12,7 +12,7 @@
<InlineEdit
:value="element.attributes.orderable.name"
:characterLimit="255"
:placeholder="''"
:placeholder="i18n.t('protocols.steps.table.table_name')"
:allowBlank="false"
:autofocus="editingName"
:attributeName="`${i18n.t('Table')} ${i18n.t('name')}`"

View file

@ -1156,8 +1156,8 @@ en:
unlinked: "unlinked"
linked: "linked"
no_description: "No protocol description"
enter_name: "Enter protocol name"
empty_description_edit_label: "Click here to enter Protocol Description (optional)"
enter_name: "Protocol title"
empty_description_edit_label: "Add description"
keywords: "Keywords"
no_keywords: "no keywords"
protocol_created: "Protocol created:"
@ -3030,7 +3030,7 @@ en:
ztoa_html: "<i class=\"fas fa-sort-alpha-up\"></i>&nbsp;&nbsp;Name Z to A"
steps:
placeholder: 'Enter step name'
placeholder: 'Step name'
default_name: 'Untitled step'
completed: 'Completed'
uncompleted: 'Uncompleted'
@ -3090,8 +3090,10 @@ en:
description: 'Tables have become content blocks and require a name. To be able to edit the table, please add the name now:'
save: 'Save table title'
error: "Table name can't be empty"
table_name: "Table name"
checklist:
default_name: 'Checklist %{position}'
checklist_name: "Checklist name"
empty_checklist: 'Doesnt contain any checklist items'
text:
placeholder: 'Enter step text'