Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @formio/bootstrap

## 4.0.4

### Patch Changes

- 9813447: adding hyperlink to file comp description error
- 793d0d8: FIO-11291: fixed Field Set Legend announcement by a screen reader for all Components within the field set on the View Submission page and PDF download

## 4.0.4-api99.0

### Patch Changes

- 9813447: adding hyperlink to file comp description error
- 793d0d8: FIO-11291: fixed Field Set Legend announcement by a screen reader for all Components within the field set on the View Submission page and PDF download

## 4.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@formio/bootstrap",
"version": "4.0.3",
"version": "4.0.4",
"description": "Bootstrap templates for Form.io forms",
"main": "lib/cjs/bootstrap5.js",
"module": "lib/mjs/bootstrap5.js",
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export default {
templates: {
bootstrap3,
},
translations
translations,
};
2 changes: 1 addition & 1 deletion src/bootstrap4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export default {
templates: {
bootstrap4,
},
translations
translations,
};
2 changes: 1 addition & 1 deletion src/bootstrap5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export default {
templates: {
bootstrap5,
},
translations
translations,
};
7 changes: 6 additions & 1 deletion src/templates/bootstrap4/checkbox/form.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<div class="form-check checkbox">
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key); %}
<label
class="{{ctx.input.labelClass}} form-check-label"
for="{{ctx.instance.id}}-{{ctx.component.key}}"
Expand All @@ -8,7 +13,7 @@
<{{ctx.input.type}}
ref="input"
id="{{ctx.instance.id}}-{{ctx.component.key}}"
aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}}"
{{ariaAttr}}="{{ariaValue}}"
{% for (var attr in ctx.input.attr) { %}
{{attr}}="{{ctx.input.attr[attr]}}"
{% } %}
Expand Down
7 changes: 6 additions & 1 deletion src/templates/bootstrap4/day/form.ejs
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key); %}
<div class="row" role="group" ref="dayContainer"
{% if (ctx.label.hidden) { %}
aria-label="{{ctx.component.label}}"
{% } else { %}
aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}}"
{{ariaAttr}}="{{ariaValue}}"
{% } %}
{% if (ctx.component.description) { %}
aria-describedby="d-{{ctx.instance.id}}-{{ctx.component.key}}"
Expand Down
2 changes: 1 addition & 1 deletion src/templates/bootstrap4/file/form.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
{{ctx.t('browse')}}
<span class="sr-only">
{{ctx.t('browseToAttachFileFor') + ' ' + ctx.t(ctx.component.label, { _userInput: true }) + '. ' +
(ctx.component.description ? ctx.t(ctx.component.description, { _userInput: true }) + '. ' : '') +
(ctx.component.description ? ctx.t(ctx.utils.removeHTML(ctx.component.description), { _userInput: true }) + '. ' : '') +
((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)}}
</span>
</a>
Expand Down
7 changes: 6 additions & 1 deletion src/templates/bootstrap4/input/form.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@
{% } %}
{% if (!ctx.component.editor && !ctx.component.wysiwyg) { %}
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key + (ctx.component.description ? ' d-' + ctx.instance.id + '-' + ctx.component.key : '')); %}
<{{ctx.input.type}}
ref="{{ctx.input.ref ? ctx.input.ref : 'input'}}"
{% for (var attr in ctx.input.attr) { %}
{{attr}}="{{ctx.input.attr[attr]}}"
{% } %}
id="{{ctx.instance.id}}-{{ctx.component.key}}"
aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}} {% if (ctx.component.description) { %}d-{{ctx.instance.id}}-{{ctx.component.key}}{% } %}"
{{ariaAttr}}="{{ariaValue}}"
{% if (ctx.component.description) { %}
aria-describedby="d-{{ctx.instance.id}}-{{ctx.component.key}}"
{% } %}
Expand Down
7 changes: 6 additions & 1 deletion src/templates/bootstrap4/radio/form.ejs
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key); %}
<div
class="form-radio radio"
ref="radioGroup"
role="{{ctx.component.type === 'selectboxes' ? 'group' : 'radiogroup'}}"
aria-required="{{ctx.input.component.validate.required}}"
aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}}"
{{ariaAttr}}="{{ariaValue}}"
{% if (ctx.component.description) { %}
aria-describedby="d-{{ctx.instance.id}}-{{ctx.component.key}}"
{% } %}
Expand Down
7 changes: 6 additions & 1 deletion src/templates/bootstrap4/select/form.ejs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key); %}
<select
ref="{{ctx.input.ref ? ctx.input.ref : 'selectContainer'}}"
{{ ctx.input.multiple ? 'multiple' : '' }}
Expand All @@ -8,7 +13,7 @@
{% if (!ctx.input.attr.id) { %}
id="{{ctx.instance.id}}-{{ctx.component.key}}"
{% } %}
aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}}"
{{ariaAttr}}="{{ariaValue}}"
{% if (ctx.component.description) { %}
aria-describedby="d-{{ctx.instance.id}}-{{ctx.component.key}}"
{% } %}
Expand Down
9 changes: 8 additions & 1 deletion src/templates/bootstrap4/survey/form.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
<table class="table table-striped table-bordered" aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}}">
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key); %}
<table class="table table-striped table-bordered"
{{ariaAttr}}="{{ariaValue}}"
>
<thead>
<tr>
<th></th>
Expand Down
7 changes: 6 additions & 1 deletion src/templates/bootstrap5/checkbox/form.ejs
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<div class="form-check checkbox">
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key); %}
<{{ctx.input.type}}
ref="input"
id="{{ctx.instance.id}}-{{ctx.component.key}}"
aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}}"
{{ariaAttr}}="{{ariaValue}}"
{% for (var attr in ctx.input.attr) { %}
{{attr}}="{{ctx.input.attr[attr]}}"
{% } %}
Expand Down
7 changes: 6 additions & 1 deletion src/templates/bootstrap5/day/form.ejs
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key); %}
<div class="row" role="group" ref="dayContainer"
{% if (ctx.label.hidden) { %}
aria-label="{{ctx.component.label}}"
{% } else { %}
aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}}"
{{ariaAttr}}="{{ariaValue}}"
{% } %}
{% if (ctx.component.description) { %}
aria-describedby="d-{{ctx.instance.id}}-{{ctx.component.key}}"
Expand Down
2 changes: 1 addition & 1 deletion src/templates/bootstrap5/file/form.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
{% } %}
<span class="visually-hidden">
{{ctx.t('browseToAttachFileFor') + ' ' + ctx.t(ctx.component.label, { _userInput: true }) + '. ' +
(ctx.component.description ? ctx.t(ctx.component.description, { _userInput: true }) + '. ' : '') +
(ctx.component.description ? ctx.t(ctx.utils.removeHTML(ctx.component.description), { _userInput: true }) + '. ' : '') +
((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)}}
</span>
</a>
Expand Down
7 changes: 6 additions & 1 deletion src/templates/bootstrap5/input/form.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,18 @@
{% } %}
{% if (!ctx.component.editor && !ctx.component.wysiwyg) { %}
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key + (ctx.component.description ? ' d-' + ctx.instance.id + '-' + ctx.component.key : '')); %}
<{{ctx.input.type}}
ref="{{ctx.input.ref ? ctx.input.ref : 'input'}}"
{% for (var attr in ctx.input.attr) { %}
{{attr}}="{{ctx.input.attr[attr]}}"
{% } %}
id="{{ctx.instance.id}}-{{ctx.component.key}}"
aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}} {% if (ctx.component.description) { %}d-{{ctx.instance.id}}-{{ctx.component.key}}{% } %}"
{{ariaAttr}}="{{ariaValue}}"
{% if (ctx.component.description) { %}
aria-describedby="d-{{ctx.instance.id}}-{{ctx.component.key}}"
{% } %}
Expand Down
7 changes: 6 additions & 1 deletion src/templates/bootstrap5/radio/form.ejs
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key); %}
<div
class="form-radio radio"
ref="radioGroup"
role="{{ctx.component.type === 'selectboxes' ? 'group' : 'radiogroup'}}"
aria-required="{{ctx.input.component.validate.required}}"
aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}}"
{{ariaAttr}}="{{ariaValue}}"
{% if (ctx.component.description) { %}
aria-describedby="d-{{ctx.instance.id}}-{{ctx.component.key}}"
{% } %}
Expand Down
7 changes: 6 additions & 1 deletion src/templates/bootstrap5/select/form.ejs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key); %}
<select
ref="{{ctx.input.ref ? ctx.input.ref : 'selectContainer'}}"
{{ ctx.input.multiple ? 'multiple' : '' }}
Expand All @@ -8,7 +13,7 @@
{% if (!ctx.input.attr.id) { %}
id="{{ctx.instance.id}}-{{ctx.component.key}}"
{% } %}
aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}}"
{{ariaAttr}}="{{ariaValue}}"
{% if (ctx.component.description) { %}
aria-describedby="d-{{ctx.instance.id}}-{{ctx.component.key}}"
{% } %}
Expand Down
9 changes: 8 additions & 1 deletion src/templates/bootstrap5/survey/form.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{% var fieldsetLegendIds = ctx.instance.getFieldsetLegendIds ? ctx.instance.getFieldsetLegendIds() : ''; %}
<table class="table table-striped table-bordered" aria-labelledby="{% if (fieldsetLegendIds) { %}{{fieldsetLegendIds}} {% } %}l-{{ctx.instance.id}}-{{ctx.component.key}}">
{% var isViewReadContext = ctx.instance.options && (ctx.instance.options.readOnly || ctx.instance.options.pdf); %}
{% var viewAccessibleLabel = isViewReadContext && ctx.instance.getFormattedViewAccessibleLabel ? ctx.instance.getFormattedViewAccessibleLabel() : ''; %}
{% var useAriaLabelOnly = isViewReadContext && viewAccessibleLabel; %}
{% var ariaAttr = useAriaLabelOnly ? 'aria-label' : 'aria-labelledby'; %}
{% var ariaValue = useAriaLabelOnly ? viewAccessibleLabel : ((fieldsetLegendIds ? fieldsetLegendIds + ' ' : '') + 'l-' + ctx.instance.id + '-' + ctx.component.key); %}
<table class="table table-striped table-bordered"
{{ariaAttr}}="{{ariaValue}}"
>
<thead>
<tr>
<th></th>
Expand Down
16 changes: 9 additions & 7 deletions src/translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export default {
takePicture: 'Take Picture',
switchToFileUpload: 'Switch to file upload',
completeStatus: 'Complete',
noStorageSet: 'No storage has been set for this field. File uploads are disabled until storage is set up.',
noStorageSet:
'No storage has been set for this field. File uploads are disabled until storage is set up.',
noFileApiSupport: 'File API & FileReader API not supported.',
noFormDataSupport: "XHR2's FormData is not supported.",
noProgressSupport: "XHR2's upload progress isn't supported.",
Expand All @@ -37,7 +38,7 @@ export default {
page: 'Page',
closeBtnDescription: 'Close button. Click to get back to the form',
cancelBtnDescription: 'Cancel button. Click to cancel the changes and get back to the form.',
saveBtnDescription:'Save button. Click to save the changes and get back to the form.',
saveBtnDescription: 'Save button. Click to save the changes and get back to the form.',
addOrRemove: 'Add/Remove',
anyFileTypesAllowed: 'Any file types are allowed',
allowedFileTypes: 'Allowed file types',
Expand All @@ -50,17 +51,18 @@ export default {
uploadPdfFile: 'Upload a PDF File',
dropToStart: 'Drop pdf to start, or',
expand: 'Expand',
collapse:'Collapse',
collapse: 'Collapse',
add: 'Add',
delete: 'Delete',
revert: 'Revert',
removeBtnPressToRemove: 'Remove button. Press to remove',
file: 'file',
captureVideo:'Capture Video',
captureVideo: 'Capture Video',
captureAudio: 'Capture Audio',
captureImage: 'Capture Image',
browseFiles: 'Browse Files',
noComponentsSetInGrid: 'No components have been set up to display in the Data Table. "Table View" must be checked for components to render.',
noComponentsSetInGrid:
'No components have been set up to display in the Data Table. "Table View" must be checked for components to render.',
sortAscending: 'Sort Ascending',
sortDescending: 'Sort Descending',
filter: 'Filter',
Expand All @@ -76,5 +78,5 @@ export default {
editGridRow: 'Edit row',
deleteGridRow: 'Delete row',
selected: 'selected',
actions: 'Actions'
};
actions: 'Actions',
};
4 changes: 2 additions & 2 deletions src/translations/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import enTranslations from './en';
export default {
en: enTranslations,
};
en: enTranslations,
};
Loading