summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMaciej Bendkowski2012-07-09 05:15:08 (EDT)
committer Malgorzata Janczarska2012-07-09 05:15:08 (EDT)
commit807b9c6baba8c48bbc74dae024d0392d8c11dbf2 (patch)
treeb04df1e8810d39ca22616cf5ec3c4e2e393e95a0
parentcafca7acd3433d6c106ea052ec3a17fe60644993 (diff)
downloadorg.eclipse.orion.client-807b9c6baba8c48bbc74dae024d0392d8c11dbf2.zip
org.eclipse.orion.client-807b9c6baba8c48bbc74dae024d0392d8c11dbf2.tar.gz
org.eclipse.orion.client-807b9c6baba8c48bbc74dae024d0392d8c11dbf2.tar.bz2
Bug 381935 - Unexternalized strings found on Repositories page
-rw-r--r--bundles/org.eclipse.orion.client.git/web/git/nls/root/gitmessages.js10
-rw-r--r--bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js8
-rw-r--r--bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js2
3 files changed, 12 insertions, 8 deletions
diff --git a/bundles/org.eclipse.orion.client.git/web/git/nls/root/gitmessages.js b/bundles/org.eclipse.orion.client.git/web/git/nls/root/gitmessages.js
index 69e0c55..8c8d374 100644
--- a/bundles/org.eclipse.orion.client.git/web/git/nls/root/gitmessages.js
+++ b/bundles/org.eclipse.orion.client.git/web/git/nls/root/gitmessages.js
@@ -13,7 +13,8 @@
define({
"Compare": "Compare",
"View the side-by-side compare": "View the side-by-side compare",
- "Working Directory Version": "Working Directory Version",
+ "Working Directory Version": "Working Directory Version",
+ "Working Directory": "Working Directory",
"View the working directory version of the file": "View the working directory version of the file",
"Loading...": "Loading...",
"Repositories": "Repositories",
@@ -140,7 +141,8 @@ define({
"Rendering branches": "Rendering branches",
"Commits": "Commits",
"Getting current branch": "Getting current branch",
- "See Full Log": "See Full Log",
+ "See Full Log": "See Full Log",
+ "See the full log": "See the full log",
"Getting commits for \"${0}\" branch": "Getting commits for \"${0}\" branch",
"Rendering commits": "Rendering commits",
"Getting outgoing commits": "Getting outgoing commits",
@@ -336,5 +338,7 @@ define({
"Active Branch Log": "Git Log (Active Branch)",
"Show the log for the active local branch": "Show the log for the active local branch",
"Remote Branch Log": "Git Log (Remote Branch)",
- "Show the log for the corresponding remote tracking branch": "Show the log for the corresponding remote tracking branch"
+ "Show the log for the corresponding remote tracking branch": "Show the log for the corresponding remote tracking branch",
+ "See Full Status" : "See Full Status",
+ "See the status" : "See the status"
}); \ No newline at end of file
diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js
index 78d6e0b..ed2e487 100644
--- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js
+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js
@@ -395,13 +395,13 @@ exports.GitRepositoryExplorer = (function() {
var titleWrapper = new mSection.Section(tableNode, {
id: "workingDirectorySection", //$NON-NLS-0$
- title: "Working Directory", //$NON-NLS-0$
+ title: messages["Working Directory"], //$NON-NLS-0$
content: '<list id="workingDirectoryNode" class="mainPadding"></list>' //$NON-NLS-0$
});
that.commandService.registerCommandContribution(titleWrapper.actionsNode.id, "eclipse.orion.git.repositories.viewAllCommand", 10); //$NON-NLS-0$
that.commandService.renderCommands(titleWrapper.actionsNode.id, titleWrapper.actionsNode.id,
- {"ViewAllLink":"/git/git-status2.html#" + repository.StatusLocation, "ViewAllLabel": "See Full Status", "ViewAllTooltip": "See the status"}, that, "button");
+ {"ViewAllLink":"/git/git-status2.html#" + repository.StatusLocation, "ViewAllLabel": messages["See Full Status"], "ViewAllTooltip": messages["See the status"]}, that, "button");
var progress = titleWrapper.createProgressMonitor();
progress.begin("Loading status"); //$NON-NLS-0$
@@ -645,11 +645,11 @@ exports.GitRepositoryExplorer = (function() {
var tracksRemoteBranch = (currentBranch.RemoteLocation.length === 1 && currentBranch.RemoteLocation[0].Children.length === 1);
- titleWrapper.setTitle("Commits for \"" + currentBranch.Name + "\" branch"); //$NON-NLS-1$ //$NON-NLS-0$
+ titleWrapper.setTitle(dojo.string.substitute(messages["Commits for \"${0}\" branch"], [currentBranch.Name])); //$NON-NLS-1$ //$NON-NLS-0$
that.commandService.registerCommandContribution(titleWrapper.actionsNode.id, "eclipse.orion.git.repositories.viewAllCommand", 10); //$NON-NLS-0$
that.commandService.renderCommands(titleWrapper.actionsNode.id, titleWrapper.actionsNode.id,
- {"ViewAllLink":"/git/git-log.html#" + currentBranch.CommitLocation + "?page=1", "ViewAllLabel":messages["See Full Log"], "ViewAllTooltip":"See the full log"}, that, "button"); //$NON-NLS-7$ //$NON-NLS-6$ //$NON-NLS-5$ //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
+ {"ViewAllLink":"/git/git-log.html#" + currentBranch.CommitLocation + "?page=1", "ViewAllLabel":messages["See Full Log"], "ViewAllTooltip":messages["See the full log"]}, that, "button"); //$NON-NLS-7$ //$NON-NLS-6$ //$NON-NLS-5$ //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
if (tracksRemoteBranch){
that.commandService.registerCommandContribution(titleWrapper.actionsNode.id, "eclipse.orion.git.fetch", 100); //$NON-NLS-0$
diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
index cac7685..488ab4f 100644
--- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
@@ -721,7 +721,7 @@ define(['i18n!git/nls/gitmessages', 'dojo', 'orion/explorer', 'orion/selection',
that.commandService.registerCommandContribution(titleWrapper.actionsNode.id, "eclipse.orion.git.repositories.viewAllCommand", 10); //$NON-NLS-0$
that.commandService.renderCommands(titleWrapper.actionsNode.id, titleWrapper.actionsNode.id,
- {"ViewAllLink":"/git/git-log.html#" + currentBranch.CommitLocation + "?page=1", "ViewAllLabel":messages['See Full Log'], "ViewAllTooltip":"See the full log"}, that, "button"); //$NON-NLS-7$ //$NON-NLS-6$ //$NON-NLS-5$ //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
+ {"ViewAllLink":"/git/git-log.html#" + currentBranch.CommitLocation + "?page=1", "ViewAllLabel":messages['See Full Log'], "ViewAllTooltip":messages["See the full log"]}, that, "button"); //$NON-NLS-7$ //$NON-NLS-6$ //$NON-NLS-5$ //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
if (tracksRemoteBranch){
that.commandService.registerCommandContribution(titleWrapper.actionsNode.id, "eclipse.orion.git.fetch", 100); //$NON-NLS-0$