mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 12:43:06 +08:00
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:
parent
589a01ce81
commit
bbffce5e03
3 changed files with 7 additions and 5 deletions
|
@ -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"
|
||||
|
|
|
@ -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')}`"
|
||||
|
|
|
@ -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> 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: 'Doesn’t contain any checklist items'
|
||||
text:
|
||||
placeholder: 'Enter step text'
|
||||
|
|
Loading…
Reference in a new issue