124 lines
3.5 KiB
JavaScript
124 lines
3.5 KiB
JavaScript
'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',
|
||
DISPLAY_START_PAGE: 'Display Start Page?',
|
||
DISPLAY_END_PAGE: 'Display Custom End Page?',
|
||
|
||
//List Forms View
|
||
CREATE_A_NEW_FORM: 'Create a new form',
|
||
CREATE_FORM: 'Create form',
|
||
CREATED_ON: 'Created on',
|
||
|
||
//Edit Field Modal
|
||
EDIT_FIELD: 'Edit this Field',
|
||
SAVE_FIELD: 'Save',
|
||
ON: 'ON',
|
||
OFF: 'OFF',
|
||
REQUIRED_FIELD: 'Required',
|
||
LOGIC_JUMP: 'Logic Jump',
|
||
SHOW_BUTTONS: 'Additional Buttons',
|
||
SAVE_START_PAGE: 'Save',
|
||
|
||
//Admin Form View
|
||
ARE_YOU_SURE: 'Are you ABSOLUTELY sure?',
|
||
READ_WARNING: 'Unexpected bad things will happen if you don’t read this!',
|
||
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.',
|
||
DELETE_FORM_SM: 'Delete',
|
||
DELETE_FORM_MD: 'Delete Form',
|
||
DELETE: 'Delete',
|
||
FORM: 'Form',
|
||
VIEW: 'View',
|
||
LIVE: 'Live',
|
||
PREVIEW: 'Preview',
|
||
|
||
//Edit Form View
|
||
DISABLED: 'Disabled',
|
||
YES: 'YES',
|
||
NO: 'NO',
|
||
ADD_LOGIC_JUMP: 'Add Logic Jump',
|
||
ADD_FIELD_LG: 'Click to Add New Field',
|
||
ADD_FIELD_MD: 'Add New Field',
|
||
ADD_FIELD_SM: 'Add Field',
|
||
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',
|
||
BUTTONS: 'Buttons',
|
||
BUTTON_TEXT: 'Text',
|
||
BUTTON_LINK: 'Link',
|
||
ADD_BUTTON: 'Add Button',
|
||
PREVIEW_FIELD: 'Preview Question',
|
||
QUESTION_TITLE: 'Title',
|
||
QUESTION_DESCRIPTION: 'Description',
|
||
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
|
||
TOTAL_VIEWS: 'total unique visits',
|
||
RESPONSES: 'responses',
|
||
COMPLETION_RATE: 'completion rate',
|
||
AVERAGE_TIME_TO_COMPLETE: 'avg. completion time',
|
||
|
||
DESKTOP_AND_LAPTOP: 'Desktops',
|
||
TABLETS: 'Tablets',
|
||
PHONES: 'Phones',
|
||
OTHER: 'Other',
|
||
UNIQUE_VISITS: 'Unique Visits',
|
||
|
||
FIELD_TITLE: 'Field Title',
|
||
FIELD_VIEWS: 'Field Views',
|
||
FIELD_DROPOFF: 'Field Completion',
|
||
FIELD_RESPONSES: 'Field Responses',
|
||
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'
|
||
|
||
});
|
||
}]);
|