Verified Commit 492d27b7 authored by Virgile Gerecke's avatar Virgile Gerecke 馃
Browse files

馃寪 Add externalisation for the submission button

parent 3687b3ca
Pipeline #75465 passed with stage
in 13 seconds
......@@ -35,7 +35,7 @@
:disabled="isSubmitButtonDisabled"
:type="submitButtonType"
>
{{ submitButtonText }}
{{ _uct('renderer.actions.submit')}}
</v-btn>
</v-form>
</section>
......@@ -80,10 +80,6 @@ export default Vue.extend({
type: String as PropType<string>,
default: 'grey lighten-1',
},
submitButtonText: {
type: String as PropType<string>,
default: 'Valider',
},
user: {
type: Object,
default: () => ({}),
......
......@@ -26,5 +26,8 @@ export const en: AppMessages = {
},
},
},
actions: {
submit: 'Submit',
},
},
}
......@@ -284,5 +284,8 @@ export const fr: AppMessages = {
},
},
},
actions: {
submit: 'Valider',
},
},
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment