33 lines
934 B
JavaScript
33 lines
934 B
JavaScript
'use strict';
|
||
|
||
angular.module('forms').config(['$translateProvider', function ($translateProvider) {
|
||
|
||
$translateProvider.translations('english', {
|
||
FORM_SUCCESS: 'Form entry successfully submitted!',
|
||
BACK_TO_FORM: 'Go back to Form',
|
||
EDIT_FORM: 'Edit this TellForm',
|
||
CREATE_FORM: 'Create this TellForm',
|
||
ADVANCEMENT: '{{done}} out of {{total}} answered',
|
||
CONTINUE_FORM: 'Continue to Form',
|
||
REQUIRED: 'required',
|
||
OPTIONAL: 'optional',
|
||
ERROR_EMAIL_INVALID: 'Please enter a valid email address',
|
||
ERROR_NOT_A_NUMBER: 'Please enter valid numbers only',
|
||
ERROR_URL_INVALID: 'Please a valid url',
|
||
OK: 'OK',
|
||
ENTER: 'press ENTER',
|
||
CONTINUE: 'Continue',
|
||
LEGAL_ACCEPT: 'I accept',
|
||
LEGAL_NO_ACCEPT: 'I don’t accept',
|
||
DELETE: 'Delete',
|
||
CANCEL: 'Cancel',
|
||
UPLOAD_FILE: 'Upload your File'
|
||
|
||
});
|
||
|
||
$translateProvider.preferredLanguage('english')
|
||
.fallbackLanguage('english')
|
||
.useSanitizeValueStrategy('escape');
|
||
|
||
}]);
|