translate submit button
This commit is contained in:
parent
f51a5db7b6
commit
ef3d059d5d
|
@ -21,12 +21,12 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||
LEGAL_NO_ACCEPT: 'I don’t accept',
|
||||
DELETE: 'Delete',
|
||||
CANCEL: 'Cancel',
|
||||
UPLOAD_FILE: 'Upload your File'
|
||||
|
||||
UPLOAD_FILE: 'Upload your File',
|
||||
SUBMIT: 'Submit'
|
||||
});
|
||||
|
||||
$translateProvider.preferredLanguage('english')
|
||||
.fallbackLanguage('english')
|
||||
.useSanitizeValueStrategy('escape');
|
||||
|
||||
|
||||
}]);
|
||||
|
|
|
@ -21,7 +21,8 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||
LEGAL_NO_ACCEPT: 'Jen n’accepte pas',
|
||||
DELETE: 'Supprimer',
|
||||
CANCEL: 'Réinitialiser',
|
||||
UPLOAD_FILE: 'Envoyer des fichier'
|
||||
UPLOAD_FILE: 'Envoyer des fichier',
|
||||
SUBMIT: 'Enregistrer'
|
||||
});
|
||||
|
||||
}]);
|
||||
|
|
|
@ -63,6 +63,7 @@ ng-style="{'color':button.color}">
|
|||
|
||||
|
||||
<div class="row form-actions" id="submit_field"
|
||||
<<<<<<< f4590ec7d744fde5b543eba3d589cd5727222143
|
||||
ng-class="{activeField: selected._id == 'submit_field' }"
|
||||
ng-style="{ 'background-color':myform.design.colors.buttonColor}"
|
||||
style="border-top: 1px solid #ddd; margin-right: -13%; margin-left: -13%; margin-top: 30vh; height: 100vh">
|
||||
|
@ -81,7 +82,7 @@ ng-style="{'color':button.color}">
|
|||
ng-style="{'background-color':myform.design.colors.buttonColor, 'color':myform.design.colors.buttonTextColor}"
|
||||
style="font-size: 1.6em; margin-left: 1em; margin-top: 1em;">
|
||||
|
||||
Submit
|
||||
{{ 'SUBMIT' | translate }}
|
||||
</button>
|
||||
|
||||
<button ng-if="forms.myForm.$invalid"
|
||||
|
|
Loading…
Reference in a new issue