Skip to content

Commit

Permalink
Il18 (#49)
Browse files Browse the repository at this point in the history
* feat: made text configurable using il18

* chore: Remove trailing whitespace in en.json file

* feat: Add unauthorized access message and DSL file upload button localization

* chore: dslFileupload in editor-page.tsx changed to
dslFileUpload
  • Loading branch information
kanak8278 authored Jul 25, 2024
1 parent 267da36 commit 834c15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion studio/src/pages/editor-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export const EditorPage: React.FunctionComponent = () => {
<Stack.Item>
<Stack horizontal tokens={{ childrenGap: 10 }}>
<Stack.Item>
<DefaultButton disabled={dslImportLoader} className='' onClick={() => { window.event?.stopImmediatePropagation(); fileInput?.current?.click(); }}>{t("dslFileupload")} &nbsp;{dslImportLoader && <Icon iconName="Sync" className="loader" />}</DefaultButton>
<DefaultButton disabled={dslImportLoader} className='' onClick={() => { window.event?.stopImmediatePropagation(); fileInput?.current?.click(); }}>{t("dslFileUpload")} &nbsp;{dslImportLoader && <Icon iconName="Sync" className="loader" />}</DefaultButton>
<input id="dslInput" ref={fileInput} accept=".dsl, .txt" onChange={onFileChange} type='file' hidden />
</Stack.Item>
<Stack.Item>
Expand Down

0 comments on commit 834c15a

Please sign in to comment.