1 Ext.namespace("Ozone.layout", "Ozone.ux", "Ozone.util"); 2 3 if (Ozone.lang) { 4 Ext.apply(Ozone.lang, { 5 languageSetting : 'ko' 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 Carousel", 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 : 'Save', 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 Carousel', 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 tooltipManageDashboards: 'Dashboard Settings', 64 tooltipCreateDashboard: 'Create Dashboard', 65 66 ok : 'OK', 67 reset : 'Reset', 68 about: 'About', 69 logout: 'Logout', 70 importDashboard : 'Import Dashboard', 71 dashboardTitle : 'Dashboard Title', 72 enterDashboardTitle : 'Enter Dashboard Title...', 73 browse : 'Browse...', 74 75 loadDefaultMsg : 'Load Default Configuration?', 76 noDashboardSelectedMsg : 'No configuration was selected. Do you want to load the default configuration?', 77 changeLanguage : 'Change Language', 78 es : 'Spanish', 79 en_US : 'English', 80 ko : 'Korean' 81 }); 82 83 Ext.apply(Ozone.ux.DashboardMgmt.prototype.checkbox, { 84 boxLabel : 'Set as default' 85 }); 86 87 Ext.apply(Ozone.ux.DashboardMgmt.prototype.fileupload, { 88 emptyText : 'Upload a configuration...', 89 buttonText : 'Browse...' 90 }); 91 92 } 93 94 if (Ozone.layout.AccordionWindowManagerString) { 95 Ext.apply(Ozone.layout.AccordionWindowManagerString, { 96 configureAccordion : 'Configure Accordion' 97 }); 98 } 99 100 if (Ozone.layout.PortalWindowManagerString) { 101 Ext.apply(Ozone.layout.PortalWindowManagerString,{ 102 configurePortlets : 'Configure Portlets' 103 }); 104 } 105 106 if (Ozone.layout.TabbedWindowManagerString) { 107 Ext.apply(Ozone.layout.TabbedWindowManagerString , { 108 configureTabs : '<span class="configureTabButton">Configure Tabs</span>' 109 }); 110 } 111 112 if (Ozone.util.ErrorMessageString) { 113 Ext.apply(Ozone.util.ErrorMessageString , { 114 dashboardConfig : 'Dashboard Configuration', 115 widgetConfiguration : 'Widget Configuration', 116 noWidgets : 'There are no widgets to which you have access.', 117 configurationMsg : 'Failed to retrieve configuration data', 118 invalidForm : 'Invalid Form', 119 invalidFormMsg : 'Form is invalid. Please make sure all required fields are completed.', 120 languagePreference : 'Language Preference', 121 languagePreferenceMsg : 'Error saving language preference', 122 settingSessionDataMsg : 'Error setting session data', 123 retrievingSessionDataMsg : 'Error retrieving session data', 124 saveUserPreferences : 'Save User Preferences', 125 storeErrorMsg : 'Store Error Message', 126 sendAndForget : 'Send and Forget', 127 userName : 'User Name', 128 updateDashboardMsg : 'Error updating dashboard' 129 }); 130 } 131 132 if (Ozone.layout.ThemeSwitcherWindowConstants) { 133 Ext.apply(Ozone.layout.ThemeSwitcherWindowConstants , { 134 title: 'Theme Settings', 135 header: 'Change the styling of your OWF', 136 subheader: 'Select a theme below to change the background, window color, and style for OWF.', 137 ok: 'OK', 138 cancel: 'Cancel' 139 }); 140 } 141 142