Skip to content

Commit

Permalink
fix: summary and hint
Browse files Browse the repository at this point in the history
  • Loading branch information
arthaud-proust committed Dec 11, 2023
1 parent a2c441a commit f8e169b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin/app/fields/notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const notes = {
minimize_collapsed: true,
required: false,
i18n: true,
summary: '',
summary: "{{text | truncate(50, '…')}}",
fields: [
{
label: t.fields.notes.field.label,
Expand Down
2 changes: 1 addition & 1 deletion admin/app/i18n/en/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export const fields = {
notes: {
label: 'Notes',
label_singular: 'Note',
hint: 'Add a note, then link a word to the note by writing "[\\*]" after it. Notes and "[\\*]" are linked by their order.',
hint: 'To link a word in the text to a note, suffix it with "[\*]". Notes and "[\\*]" are linked by their order.',
field: {
label: 'Text'
}
Expand Down
2 changes: 1 addition & 1 deletion admin/app/i18n/fr/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export const fields = {
notes: {
label: 'Notes',
label_singular: 'Note',
hint: 'Ajoutez une note, puis liez-la à un mot en ajoutant "[\\*]" juste après. Les notes et "[\\*]" sont liés par leur ordre.',
hint: 'Pour lier un mot du texte à une note, suffixez le avec "[\\*]". Les notes et les "[\\*]" sont liés par leur ordre.',
field: {
label: 'Texte'
}
Expand Down

0 comments on commit f8e169b

Please sign in to comment.