| author | Maciej Bendkowski | 2012-07-10 04:29:16 (EDT) |
|---|---|---|
| committer | Malgorzata Janczarska | 2012-07-25 04:56:02 (EDT) |
| commit | 63d6e994477e81f0167071144746eaf3341f5ddb (patch) (side-by-side diff) | |
| tree | 96493b05beaef52c2bab734aa6fb1776a6fa296f | |
| parent | be37b2180aedf43bafe12f0829622c333f2455b8 (diff) | |
| download | org.eclipse.orion.client-63d6e994477e81f0167071144746eaf3341f5ddb.zip org.eclipse.orion.client-63d6e994477e81f0167071144746eaf3341f5ddb.tar.gz org.eclipse.orion.client-63d6e994477e81f0167071144746eaf3341f5ddb.tar.bz2 | |
Bug 381725 - "Favorites" and "Create new content" strings not externalized
3 files changed, 5 insertions, 3 deletions
diff --git a/bundles/org.eclipse.orion.client.core/web/navigate/table.js b/bundles/org.eclipse.orion.client.core/web/navigate/table.js index ac9fa2a..e73c3fd 100644 --- a/bundles/org.eclipse.orion.client.core/web/navigate/table.js +++ b/bundles/org.eclipse.orion.client.core/web/navigate/table.js @@ -67,7 +67,7 @@ dojo.addOnLoad(function(){ // Add the getting started task list. Keep it collapsed unless there is no workspace content. // We want project creation commands to always be valid from the task list (even if the explorer root is not the workspace.) // So the item we pass into the task list for validating commands is a fake object that pretends to be the workspace. - new mTasks.TaskList({parent: "gettingStarted", id: "gettingStartedTasks", title: "Create new content", //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$ + new mTasks.TaskList({parent: "gettingStarted", id: "gettingStartedTasks", title: messages["Create new content"], //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$ description: messages["Click one of the tasks below to create an Orion folder. You can upload, import, or generate files."], tasks: tasks, serviceRegistry: serviceRegistry, commandService: commandService, item: {Location: "/workspace"}, handler: explorer, collapsed: false}); //$NON-NLS-0$ } else { diff --git a/bundles/org.eclipse.orion.client.core/web/orion/navigate/nls/root/messages.js b/bundles/org.eclipse.orion.client.core/web/orion/navigate/nls/root/messages.js index 014e9ae..edf5577 100644 --- a/bundles/org.eclipse.orion.client.core/web/orion/navigate/nls/root/messages.js +++ b/bundles/org.eclipse.orion.client.core/web/orion/navigate/nls/root/messages.js @@ -89,5 +89,7 @@ define({ "Click on an item to make a selection, then use this menu to see what actions are available.": "Click on an item to make a selection, then use this menu to see what actions are available.", "Actions": "Actions", "Orion Content": "Orion Content", - " is not supportted in this file system": " is not supportted in this file system" + " is not supportted in this file system": " is not supportted in this file system", + "Create new content" : "Create new content", + "Favorites" : "Favorites" }); diff --git a/bundles/org.eclipse.orion.client.core/web/orion/navoutliner.js b/bundles/org.eclipse.orion.client.core/web/orion/navoutliner.js index e11d1ce..ba02f9d 100644 --- a/bundles/org.eclipse.orion.client.core/web/orion/navoutliner.js +++ b/bundles/org.eclipse.orion.client.core/web/orion/navoutliner.js @@ -194,7 +194,7 @@ define(['i18n!orion/navigate/nls/messages', 'require', 'dojo', 'orion/util', 'or if (!this.favoritesSection) { this.favoritesSection = new mSection.Section(this._parent, { id: "favoritesSection", //$NON-NLS-0$ - title: "Favorites", //$NON-NLS-0$ + title: messages["Favorites"], //$NON-NLS-0$ content: '<div id="favoritesContent"></div>', //$NON-NLS-0$ preferenceService: serviceRegistry.getService("orion.core.preference"), //$NON-NLS-0$ canHide: true, |

