From 528a68f78b875c9bc63ffd655e6ebb18c7f55c31 Mon Sep 17 00:00:00 2001 From: Dipendra Shrestha <36785868+dipushrestha@users.noreply.github.com> Date: Mon, 30 Oct 2023 09:20:31 +0545 Subject: [PATCH] Update text component labels to sentence case (#7861) - closes #7740 --- .../src/Editor/WidgetManager/widgetConfig.js | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/src/Editor/WidgetManager/widgetConfig.js b/frontend/src/Editor/WidgetManager/widgetConfig.js index e0c8e48d39..14396bd7e4 100644 --- a/frontend/src/Editor/WidgetManager/widgetConfig.js +++ b/frontend/src/Editor/WidgetManager/widgetConfig.js @@ -2006,7 +2006,7 @@ export const widgets = [ styles: { fontWeight: { type: 'select', - displayName: 'Font Weight', + displayName: 'Font weight', options: [ { name: 'normal', value: 'normal' }, { name: 'bold', value: 'bold' }, @@ -2016,7 +2016,7 @@ export const widgets = [ }, decoration: { type: 'select', - displayName: 'Text Decoration', + displayName: 'Text decoration', options: [ { name: 'none', value: 'none' }, { name: 'overline', value: 'overline' }, @@ -2027,7 +2027,7 @@ export const widgets = [ }, transformation: { type: 'select', - displayName: 'Text Transformation', + displayName: 'Text transformation', options: [ { name: 'none', value: 'none' }, { name: 'uppercase', value: 'uppercase' }, @@ -2037,20 +2037,20 @@ export const widgets = [ }, fontStyle: { type: 'select', - displayName: 'Font Style', + displayName: 'Font style', options: [ { name: 'normal', value: 'normal' }, { name: 'italic', value: 'italic' }, { name: 'oblique', value: 'oblique' }, ], }, - lineHeight: { type: 'number', displayName: 'Line Height' }, - textIndent: { type: 'number', displayName: 'Text Indent' }, - letterSpacing: { type: 'number', displayName: 'Letter Spacing' }, - wordSpacing: { type: 'number', displayName: 'Word Spacing' }, + lineHeight: { type: 'number', displayName: 'Line height' }, + textIndent: { type: 'number', displayName: 'Text indent' }, + letterSpacing: { type: 'number', displayName: 'Letter spacing' }, + wordSpacing: { type: 'number', displayName: 'Word spacing' }, fontVariant: { type: 'select', - displayName: 'Font Variant', + displayName: 'Font variant', options: [ { name: 'normal', value: 'normal' }, { name: 'small-caps', value: 'small-caps' }, @@ -2060,28 +2060,28 @@ export const widgets = [ }, textSize: { type: 'number', - displayName: 'Text Size', + displayName: 'Text size', validation: { schema: { type: 'number' }, }, }, backgroundColor: { type: 'color', - displayName: 'Background Color', + displayName: 'Background color', validation: { schema: { type: 'string' }, }, }, textColor: { type: 'color', - displayName: 'Text Color', + displayName: 'Text color', validation: { schema: { type: 'string' }, }, }, textAlign: { type: 'alignButtons', - displayName: 'Align Text', + displayName: 'Align text', validation: { schema: { type: 'string' }, },