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',
|
|
|
|
|
|
|
|
|
|
//List Forms View
|
|
|
|
|
CREATE_A_NEW_FORM: 'Create a new form',
|
|
|
|
|
CREATE_FORM: 'Create form',
|
|
|
|
|
CREATED_ON: 'Created on',
|
|
|
|
|
|
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',
|
|
|
|
|
|
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',
|
|
|
|
|
|
|
|
|
|
//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',
|
2016-07-05 23:21:45 +00:00
|
|
|
|
PREVIEW_START_PAGE: 'Preview Welcome Screen',
|
|
|
|
|
EDIT_START_PAGE: 'Edit Welcome Screen',
|
|
|
|
|
WELCOME_SCREEN: 'Welcome Screen',
|
|
|
|
|
INTRO_TITLE: 'Intro Title',
|
2016-06-16 00:38:22 +00:00
|
|
|
|
INTRO_PARAGRAPH: 'Intro Paragraph',
|
|
|
|
|
INTRO_BTN: 'Intro Button',
|
|
|
|
|
BUTTONS: 'Buttons',
|
|
|
|
|
BUTTON_TEXT: 'Text',
|
|
|
|
|
BUTTON_LINK: 'Link',
|
|
|
|
|
ADD_BUTTON: 'Add Button',
|
2017-03-10 18:25:35 +00:00
|
|
|
|
PREVIEW_FIELD: 'Preview Question',
|
|
|
|
|
EDIT_FIELD: 'Edit 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',
|
|
|
|
|
|
|
|
|
|
//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',
|
|
|
|
|
|
|
|
|
|
//Admin Tabs
|
|
|
|
|
CREATE_TAB: 'Create',
|
|
|
|
|
DESIGN_TAB: 'Design',
|
|
|
|
|
CONFIGURE_TAB: 'Configure',
|
|
|
|
|
ANALYZE_TAB: 'Analyze'
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
}]);
|