1 Ext.namespace("Ozone.layout", "Ozone.ux", "Ozone.util"); 2 3 if (Ozone.lang) { 4 Ext.apply(Ozone.lang, { 5 languageSetting : 'en_US' 6 }); 7 } 8 9 if (Ozone.layout.ConfigurationWindowString) { 10 Ext.apply(Ozone.layout.ConfigurationWindowString, { 11 setAsNew : "Save as new", 12 setAsDefault : "Set as default", 13 showCarousel : "Show Launch Menu", 14 showShortcuts : "Show Shortcuts", 15 documentTitle : "Document Title", 16 17 topSelector : 'Top', 18 centerSelector : 'Center', 19 accordionSelector : 'Accordion', 20 toolbarButtons : 'Toolbar Buttons', 21 clear : 'Clear', 22 save : 'OK', 23 cancel : 'Cancel', 24 25 column : 'Column', 26 columns : 'Columns', 27 28 tab : 'Tab', 29 tabs : 'Tabs' 30 }); 31 } 32 33 if (Ozone.layout.ToolbarString) { 34 Ext.apply(Ozone.layout.ToolbarString, { 35 configurationManager : 'Configuration Manager' 36 }); 37 } 38 39 if (Ozone.layout.DesktopWindowManagerString) { 40 Ext.apply(Ozone.layout.DesktopWindowManagerString, { 41 configureDashboard : 'Configure Dashboard', 42 toggleCarousel : 'Toggle Launch Menu', 43 welcomeMessage : 'Welcome' 44 }); 45 } 46 47 if (Ozone.ux.DashboardMgmtString) { 48 Ext.apply(Ozone.ux.DashboardMgmtString, { 49 createDashboard : 'Create a Dashboard', 50 selectDashboardDotDot : 'Select a dashboard...', 51 deleteDashboard : 'Delete a Dashboard', 52 importaDashboard : 'Import a Dashboard', 53 exportDashboard : 'Export Current Dashboard', 54 exportDashboardConfig : 'Export Dashboard Configuration', 55 uploadConfig : 'Upload...', 56 setAsDefault : 'Set as default', 57 dashboards : 'Dashboards', 58 selectDashboard : 'Select Dashboard', 59 accordion : 'Accordion', 60 portal : 'Portal', 61 tabbed : 'Tabbed', 62 desktop : 'Desktop', 63 64 ok : 'OK', 65 reset : 'Reset', 66 about: 'About', 67 logout: 'Logout', 68 importDashboard : 'Import Dashboard', 69 dashboardTitle : 'Dashboard Title', 70 enterDashboardTitle : 'Enter Dashboard Title...', 71 browse : 'Browse...', 72 73 loadDefaultMsg : 'Load Default Configuration?', 74 noDashboardSelectedMsg : 'No configuration was selected. Do you want to load the default configuration?', 75 changeLanguage : 'Change Language', 76 es : 'Spanish', 77 en_US : 'English', 78 ko : 'Korean' 79 }); 80 81 82 if (Ozone.ux.DashboardMgmt) 83 { 84 85 Ext.apply(Ozone.ux.DashboardMgmt.prototype.checkbox, { 86 boxLabel : 'Set as default' 87 }); 88 89 Ext.apply(Ozone.ux.DashboardMgmt.prototype.fileupload, { 90 emptyText : 'Upload a configuration...', 91 buttonText : 'Browse...' 92 }); 93 } 94 95 } 96 97 if (Ozone.layout.AccordionWindowManagerString) { 98 Ext.apply(Ozone.layout.AccordionWindowManagerString, { 99 configureAccordion : 'Configure Accordion' 100 }); 101 } 102 103 if (Ozone.layout.PortalWindowManagerString) { 104 Ext.apply(Ozone.layout.PortalWindowManagerString,{ 105 configurePortlets : 'Configure Portlets' 106 }); 107 } 108 109 if (Ozone.layout.TabbedWindowManagerString) { 110 Ext.apply(Ozone.layout.TabbedWindowManagerString , { 111 configureTabs : '<span class="configureTabButton">Configure Tabs</span>' 112 }); 113 } 114 115 if (Ozone.util.ErrorMessageString) { 116 Ext.apply(Ozone.util.ErrorMessageString , { 117 dashboardConfig : 'Dashboard Configuration', 118 widgetConfiguration : 'Widget Configuration', 119 noWidgets : 'There are no widgets to which you have access.', 120 configurationMsg : 'Failed to retrieve configuration data', 121 invalidForm : 'Invalid Form', 122 invalidFormMsg : 'Form is invalid. Please make sure all required fields are completed.', 123 languagePreference : 'Language Preference', 124 languagePreferenceMsg : 'Error saving language preference', 125 settingSessionDataMsg : 'Error setting session data', 126 retrievingSessionDataMsg : 'Error retrieving session data', 127 saveUserPreferences : 'Save User Preferences', 128 storeErrorMsg : 'Store Error Message', 129 sendAndForget : 'Send and Forget', 130 userName : 'User Name', 131 updateDashboardMsg : 'Error updating dashboard' 132 }); 133 } 134 135 if (Ozone.layout.ThemeSwitcherWindowConstants) { 136 Ext.apply(Ozone.layout.ThemeSwitcherWindowConstants , { 137 title: 'Theme Settings', 138 header: 'Change the styling of your OWF', 139 subheader: 'Select a theme below to change the background, window color, and style for OWF.', 140 ok: 'OK', 141 cancel: 'Cancel' 142 }); 143 } 144 145