diff --git a/addon/components/file-record.hbs b/addon/components/file-record.hbs index 1c8fd90..4252f27 100644 --- a/addon/components/file-record.hbs +++ b/addon/components/file-record.hbs @@ -1,6 +1,9 @@
-
+
{{#if this.isVideo}} {{/if}} @@ -15,7 +18,11 @@ {{/if}}
diff --git a/addon/components/file-record.js b/addon/components/file-record.js index 31d733c..87c55cd 100644 --- a/addon/components/file-record.js +++ b/addon/components/file-record.js @@ -7,6 +7,7 @@ import isImage from '@fleetbase/ember-core/utils/is-image-file'; export default class FileRecordComponent extends Component { @service modalsManager; + @service intl; @alias('args.file') file; get isVideo() { @@ -27,8 +28,8 @@ export default class FileRecordComponent extends Component { @action deleteFile(file) { return this.modalsManager.confirm({ - title: 'Are you sure you wish to delete this file?', - body: 'Once you delete this file you will be unable to recover it.', + title: this.intl.t('storefront.component.file-record.delete-this-file'), + body: this.intl.t('storefront.component.file-record.delete-this-file-you-will-unable-recover'), confirm: (modal) => { file.destroyRecord(); diff --git a/addon/components/modals/add-store-hours.hbs b/addon/components/modals/add-store-hours.hbs index e0035b3..77d16f0 100644 --- a/addon/components/modals/add-store-hours.hbs +++ b/addon/components/modals/add-store-hours.hbs @@ -1,8 +1,18 @@ \ No newline at end of file diff --git a/addon/components/modals/assign-driver.hbs b/addon/components/modals/assign-driver.hbs index caaf274..54b4857 100644 --- a/addon/components/modals/assign-driver.hbs +++ b/addon/components/modals/assign-driver.hbs @@ -3,19 +3,32 @@
- +

- Select a driver to assign to this order. + {{t "storefront.component.modals.assign-driver.message-driver"}}

- - + + {{model.name}} diff --git a/addon/components/modals/create-first-store.hbs b/addon/components/modals/create-first-store.hbs index 03f4da5..35cfbd8 100644 --- a/addon/components/modals/create-first-store.hbs +++ b/addon/components/modals/create-first-store.hbs @@ -3,17 +3,29 @@
-

Welcome to Storefront!

+

{{t "storefront.component.modals.create-first-store.title"}}

- Storefront allows you to quickly setup a headless and dynamic on-demand shop powered by Fleetbase. - Submit the form below to create your first store. + {{t "storefront.component.modals.create-first-store.message"}} + {{t "storefront.component.modals.create-first-store.submit-message"}}

- - - + + +
diff --git a/addon/components/modals/create-gateway.hbs b/addon/components/modals/create-gateway.hbs index 845f7ad..a5a3350 100644 --- a/addon/components/modals/create-gateway.hbs +++ b/addon/components/modals/create-gateway.hbs @@ -1,20 +1,32 @@