Skip to content

Commit

Permalink
adds missed translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Spoffy committed May 9, 2024
1 parent 1371004 commit dc247bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/client/components/FormRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class SubmitRenderer extends FormRenderer {
css.error(dom.text(use => use(this.context.error) ?? '')),
css.submitButtons(
css.resetButton(
'Reset',
t('Reset'),
dom.boolAttr('disabled', this.context.disabled),
{type: 'button'},
dom.on('click', () => {
Expand All @@ -185,7 +185,7 @@ class SubmitRenderer extends FormRenderer {
dom.boolAttr('disabled', this.context.disabled),
{
type: 'submit',
value: this.context.rootLayoutNode.submitText || 'Submit',
value: this.context.rootLayoutNode.submitText || t('Submit'),
},
dom.on('click', () => validateRequiredLists()),
)
Expand Down Expand Up @@ -448,7 +448,7 @@ class ChoiceRenderer extends BaseFieldRenderer {
}),
)],
onClose: () => { setTimeout(() => this._selectElement.focus()); },
placeholder: 'Search',
placeholder: t('Search'),
acOptions: {maxResults: 1000, keepOrder: true, showEmptyItems: true},
popupOptions: {
trigger: [
Expand Down

0 comments on commit dc247bb

Please sign in to comment.