2016-06-16 00:38:22 +00:00
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
angular.module('forms').config(['$translateProvider', function ($translateProvider) {
|
|
|
|
|
|
|
|
|
|
$translateProvider.translations('en', {
|
|
|
|
|
|
|
|
|
|
//Configure Form Tab View
|
|
|
|
|
ADVANCED_SETTINGS: 'Advanced Settings',
|
|
|
|
|
FORM_NAME: 'Form Name',
|
|
|
|
|
FORM_STATUS: 'Form Status',
|
|
|
|
|
PUBLIC: 'Public',
|
|
|
|
|
PRIVATE: 'Private',
|
|
|
|
|
GA_TRACKING_CODE: 'Google Analytics Tracking Code',
|
|
|
|
|
DISPLAY_FOOTER: 'Display Form Footer?',
|
|
|
|
|
SAVE_CHANGES: 'Save Changes',
|
|
|
|
|
CANCEL: 'Cancel',
|
2017-03-13 19:08:21 +00:00
|
|
|
|
DISPLAY_START_PAGE: 'Display Start Page?',
|
|
|
|
|
DISPLAY_END_PAGE: 'Display Custom End Page?',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
|
|
|
|
|
//List Forms View
|
|
|
|
|
CREATE_A_NEW_FORM: 'Create a new form',
|
|
|
|
|
CREATE_FORM: 'Create form',
|
|
|
|
|
CREATED_ON: 'Created on',
|
2017-07-12 20:31:04 +00:00
|
|
|
|
MY_FORMS: 'My forms',
|
|
|
|
|
NAME: 'Name',
|
|
|
|
|
LANGUAGE: 'Language',
|
|
|
|
|
FORM_PAUSED: 'Form paused',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
|
2017-03-10 18:25:35 +00:00
|
|
|
|
//Edit Field Modal
|
|
|
|
|
EDIT_FIELD: 'Edit this Field',
|
|
|
|
|
SAVE_FIELD: 'Save',
|
|
|
|
|
ON: 'ON',
|
|
|
|
|
OFF: 'OFF',
|
|
|
|
|
REQUIRED_FIELD: 'Required',
|
|
|
|
|
LOGIC_JUMP: 'Logic Jump',
|
2017-03-13 19:08:21 +00:00
|
|
|
|
SHOW_BUTTONS: 'Additional Buttons',
|
|
|
|
|
SAVE_START_PAGE: 'Save',
|
2017-03-10 18:25:35 +00:00
|
|
|
|
|
2016-06-16 00:38:22 +00:00
|
|
|
|
//Admin Form View
|
|
|
|
|
ARE_YOU_SURE: 'Are you ABSOLUTELY sure?',
|
|
|
|
|
READ_WARNING: 'Unexpected bad things will happen if you don’t read this!',
|
2016-11-14 20:07:36 +00:00
|
|
|
|
DELETE_WARNING1: 'This action CANNOT be undone. This will permanently delete the "',
|
|
|
|
|
DELETE_WARNING2: '" form and remove all associated form submissions.',
|
|
|
|
|
DELETE_CONFIRM: 'Please type in the name of the form to confirm.',
|
|
|
|
|
I_UNDERSTAND: 'I understand the consequences, delete this form.',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
DELETE_FORM_SM: 'Delete',
|
|
|
|
|
DELETE_FORM_MD: 'Delete Form',
|
|
|
|
|
DELETE: 'Delete',
|
|
|
|
|
FORM: 'Form',
|
|
|
|
|
VIEW: 'View',
|
|
|
|
|
LIVE: 'Live',
|
|
|
|
|
PREVIEW: 'Preview',
|
2017-07-12 20:31:04 +00:00
|
|
|
|
COPY: 'Copy',
|
|
|
|
|
COPY_AND_PASTE: 'Copy and Paste this to add your TellForm to your website',
|
|
|
|
|
CHANGE_WIDTH_AND_HEIGHT: 'Change the width and height values to suit you best',
|
|
|
|
|
POWERED_BY: 'Powered by',
|
|
|
|
|
TELLFORM_URL: 'Your TellForm is permanently at this URL',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
|
|
|
|
|
//Edit Form View
|
2017-03-10 18:25:35 +00:00
|
|
|
|
DISABLED: 'Disabled',
|
2016-08-23 21:45:59 +00:00
|
|
|
|
YES: 'YES',
|
|
|
|
|
NO: 'NO',
|
|
|
|
|
ADD_LOGIC_JUMP: 'Add Logic Jump',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
ADD_FIELD_LG: 'Click to Add New Field',
|
|
|
|
|
ADD_FIELD_MD: 'Add New Field',
|
|
|
|
|
ADD_FIELD_SM: 'Add Field',
|
2017-03-13 19:08:21 +00:00
|
|
|
|
EDIT_START_PAGE: 'Edit Start Page',
|
|
|
|
|
EDIT_END_PAGE: 'Edit End Page',
|
|
|
|
|
WELCOME_SCREEN: 'Start Page',
|
|
|
|
|
END_SCREEN: 'End Page',
|
|
|
|
|
INTRO_TITLE: 'Title',
|
|
|
|
|
INTRO_PARAGRAPH: 'Paragraph',
|
|
|
|
|
INTRO_BTN: 'Start Button',
|
|
|
|
|
TITLE: 'Title',
|
|
|
|
|
PARAGRAPH: 'Paragraph',
|
|
|
|
|
BTN_TEXT: 'Go Back Button',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
BUTTONS: 'Buttons',
|
|
|
|
|
BUTTON_TEXT: 'Text',
|
|
|
|
|
BUTTON_LINK: 'Link',
|
|
|
|
|
ADD_BUTTON: 'Add Button',
|
2017-03-10 18:25:35 +00:00
|
|
|
|
PREVIEW_FIELD: 'Preview Question',
|
|
|
|
|
QUESTION_TITLE: 'Title',
|
|
|
|
|
QUESTION_DESCRIPTION: 'Description',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
OPTIONS: 'Options',
|
|
|
|
|
ADD_OPTION: 'Add Option',
|
|
|
|
|
NUM_OF_STEPS: 'Number of Steps',
|
|
|
|
|
CLICK_FIELDS_FOOTER: 'Click on fields to add them here',
|
2017-07-12 20:31:04 +00:00
|
|
|
|
SHAPE: 'Shape',
|
|
|
|
|
IF_THIS_FIELD: 'If this field',
|
|
|
|
|
IS_EQUAL_TO: 'is equal to',
|
|
|
|
|
IS_NOT_EQUAL_TO: 'is not equal to',
|
|
|
|
|
IS_GREATER_THAN: 'is greater than',
|
|
|
|
|
IS_GREATER_OR_EQUAL_THAN: 'is greater or equal than',
|
|
|
|
|
IS_SMALLER_THAN: 'is_smaller_than',
|
|
|
|
|
IS_SMALLER_OR_EQUAL_THAN: 'is smaller or equal than',
|
|
|
|
|
CONTAINS: 'contains',
|
|
|
|
|
DOES_NOT_CONTAINS: 'does not contain',
|
|
|
|
|
ENDS_WITH: 'ends with',
|
|
|
|
|
DOES_NOT_END_WITH: 'does not end with',
|
|
|
|
|
STARTS_WITH: 'starts with',
|
|
|
|
|
DOES_NOT_START_WITH: 'does not start with',
|
|
|
|
|
THEN_JUMP_TO: 'then jump to',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
|
|
|
|
|
//Edit Submissions View
|
2016-06-17 21:33:33 +00:00
|
|
|
|
TOTAL_VIEWS: 'total unique visits',
|
|
|
|
|
RESPONSES: 'responses',
|
|
|
|
|
COMPLETION_RATE: 'completion rate',
|
|
|
|
|
AVERAGE_TIME_TO_COMPLETE: 'avg. completion time',
|
|
|
|
|
|
2016-06-17 22:05:54 +00:00
|
|
|
|
DESKTOP_AND_LAPTOP: 'Desktops',
|
2016-06-17 21:33:33 +00:00
|
|
|
|
TABLETS: 'Tablets',
|
|
|
|
|
PHONES: 'Phones',
|
|
|
|
|
OTHER: 'Other',
|
|
|
|
|
UNIQUE_VISITS: 'Unique Visits',
|
|
|
|
|
|
2016-06-16 00:38:22 +00:00
|
|
|
|
FIELD_TITLE: 'Field Title',
|
|
|
|
|
FIELD_VIEWS: 'Field Views',
|
2016-06-17 22:11:02 +00:00
|
|
|
|
FIELD_DROPOFF: 'Field Completion',
|
|
|
|
|
FIELD_RESPONSES: 'Field Responses',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
DELETE_SELECTED: 'Delete Selected',
|
|
|
|
|
EXPORT_TO_EXCEL: 'Export to Excel',
|
|
|
|
|
EXPORT_TO_CSV: 'Export to CSV',
|
|
|
|
|
EXPORT_TO_JSON: 'Export to JSON',
|
|
|
|
|
PERCENTAGE_COMPLETE: 'Percentage Complete',
|
|
|
|
|
TIME_ELAPSED: 'Time Elapsed',
|
|
|
|
|
DEVICE: 'Device',
|
|
|
|
|
LOCATION: 'Location',
|
|
|
|
|
IP_ADDRESS: 'IP Address',
|
|
|
|
|
DATE_SUBMITTED: 'Date Submitted',
|
|
|
|
|
GENERATED_PDF: 'Generated PDF',
|
|
|
|
|
|
|
|
|
|
//Design View
|
|
|
|
|
BACKGROUND_COLOR: 'Background Color',
|
|
|
|
|
DESIGN_HEADER: 'Change how your Form Looks',
|
|
|
|
|
QUESTION_TEXT_COLOR: 'Question Text Color',
|
|
|
|
|
ANSWER_TEXT_COLOR: 'Answer Text Color',
|
|
|
|
|
BTN_BACKGROUND_COLOR: 'Button Background Color',
|
|
|
|
|
BTN_TEXT_COLOR: 'Button Text Color',
|
|
|
|
|
|
2017-07-28 19:21:03 +00:00
|
|
|
|
//Share View
|
|
|
|
|
EMBED_YOUR_FORM: 'Embed your form',
|
|
|
|
|
SHARE_YOUR_FORM: 'Share your form',
|
|
|
|
|
|
2016-06-16 00:38:22 +00:00
|
|
|
|
//Admin Tabs
|
|
|
|
|
CREATE_TAB: 'Create',
|
|
|
|
|
DESIGN_TAB: 'Design',
|
|
|
|
|
CONFIGURE_TAB: 'Configure',
|
2017-07-28 19:21:03 +00:00
|
|
|
|
ANALYZE_TAB: 'Analyze',
|
|
|
|
|
SHARE_TAB: 'Share',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
|
2017-07-28 19:21:03 +00:00
|
|
|
|
//Field Types
|
|
|
|
|
SHORT_TEXT: 'Short Text',
|
|
|
|
|
EMAIL: 'Email',
|
|
|
|
|
MULTIPLE_CHOICE: 'Multiple Choice',
|
|
|
|
|
DROPDOWN: 'Dropdown',
|
|
|
|
|
DATE: 'Date',
|
|
|
|
|
PARAGRAPH_T: 'Paragraph',
|
|
|
|
|
YES_NO: 'Yes/No',
|
|
|
|
|
LEGAL: 'Legal',
|
|
|
|
|
RATING: 'Rating',
|
|
|
|
|
NUMBERS: 'Numbers',
|
|
|
|
|
SIGNATURE: 'Signature',
|
|
|
|
|
FILE_UPLOAD: 'File upload',
|
|
|
|
|
OPTION_SCALE: 'Option Scale',
|
|
|
|
|
PAYMENT: 'Payment',
|
|
|
|
|
STATEMENT: 'Statement',
|
|
|
|
|
LINK: 'Link'
|
2016-06-16 00:38:22 +00:00
|
|
|
|
});
|
|
|
|
|
}]);
|