From 1898e3e420b7be3dc37d63b4b3cfd0b5c37e1938 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 3 Jan 2014 15:31:50 +0100 Subject: [PATCH] correct capitalization in some UI places (IDEA-118520, parts of PY-9806) --- .../intellij/openapi/fileEditor/impl/EditorsSplitters.java | 2 +- .../src/messages/ActionsBundle.properties | 4 ++-- .../platform-resources-en/src/messages/IdeBundle.properties | 6 +++--- .../platform-resources-en/src/messages/XmlBundle.properties | 4 ++-- .../history/wholeTree/SelectRepositoryAndShowLogAction.java | 3 +-- .../src/org/jetbrains/plugins/github/GithubShareAction.java | 2 +- 6 files changed, 10 insertions(+), 11 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/EditorsSplitters.java b/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/EditorsSplitters.java index a4c3feae8ef0..7b095fa7af87 100644 --- a/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/EditorsSplitters.java +++ b/platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/EditorsSplitters.java @@ -192,7 +192,7 @@ public class EditorsSplitters extends IdePanePanel { } painter.appendLine("Open a file by name with " + getActionShortcutText("GotoFile")).smaller().withBullet() - .appendLine("Open Recent files with " + getActionShortcutText(IdeActions.ACTION_RECENT_FILES)).smaller().withBullet() + .appendLine("Open Recent Files with " + getActionShortcutText(IdeActions.ACTION_RECENT_FILES)).smaller().withBullet() .appendLine("Open Navigation Bar with " + getActionShortcutText("ShowNavBar")).smaller().withBullet() .appendLine("Drag and Drop file(s) here from " + ShowFilePathAction.getFileManagerName()).smaller().withBullet() .draw(g, new PairFunction>() { diff --git a/platform/platform-resources-en/src/messages/ActionsBundle.properties b/platform/platform-resources-en/src/messages/ActionsBundle.properties index b7d2308290a5..f301d26105d5 100644 --- a/platform/platform-resources-en/src/messages/ActionsBundle.properties +++ b/platform/platform-resources-en/src/messages/ActionsBundle.properties @@ -687,7 +687,7 @@ action.Runner.CloseOtherViews.text=Close Others action.Runner.CloseOtherViews.description=Close other views action.Runner.CloseAllViews.text=Close All action.Runner.CloseAllViews.description=Close all views -action.Runner.CloseAllUnpinnedViews.text=Close All But Pinned +action.Runner.CloseAllUnpinnedViews.text=Close All but Pinned action.Runner.CloseAllUnpinnedViews.description=Close all tabs which are not pinned action.Runner.MoveViewToGrid.text=Move To Grid action.Runner.MoveViewToGrid.description=Move view to the debugger grid container @@ -821,7 +821,7 @@ action.CloseAllEditorsButActive.text=Close _Others action.CloseAllEditorsButActive.description=Close all open editors except the active one action.CloseAllUnmodifiedEditors.text=Close _Unmodified action.CloseAllUnmodifiedEditors.description=Close all non-modified editors -action.CloseAllUnpinnedEditors.text=Close All But Pinned +action.CloseAllUnpinnedEditors.text=Close All but Pinned action.CloseAllUnpinnedEditors.description=Close all editors which are not pinned action.CloseContent.text=_Close action.CloseContent.description=Close currently focused content diff --git a/platform/platform-resources-en/src/messages/IdeBundle.properties b/platform/platform-resources-en/src/messages/IdeBundle.properties index 09ef5f495258..f8c0cfec7b12 100644 --- a/platform/platform-resources-en/src/messages/IdeBundle.properties +++ b/platform/platform-resources-en/src/messages/IdeBundle.properties @@ -57,7 +57,7 @@ column.description=Description bookmark.file.X.line.Y={0}, line {1} button.view.source=&View Source action.bookmark.toggle=Toggle _Bookmark -action.bookmark.toggle.mnemonic=Toggle Bookmark With Mnemonic +action.bookmark.toggle.mnemonic=Toggle Bookmark with Mnemonic action.bookmark.delete=Delete Bookmark action.bookmark.edit.description=Edit Description action.bookmark.edit.description.description=Assign short description for the bookmark to be shown along the file name @@ -314,8 +314,8 @@ action.close.all.editors=Close _All command.close.all.unmodified.editors=Close All Unmodified Editors action.close.all.unmodified.editors.in.tab.group=Close _Unmodified In Group action.close.all.unmodified.editors=Close _Unmodified -action.close.all.unpinned.editors.in.tab.group=Close All But Pinned In Group -action.close.all.unpinned.editors=Close All But Pinned +action.close.all.unpinned.editors.in.tab.group=Close All but Pinned In Group +action.close.all.unpinned.editors=Close All but Pinned action.copy.path=C_opy Path action.copy.paths=C_opy Paths message.reference.to.fqn.has.been.copied=Reference to ''{0}'' has been copied. diff --git a/platform/platform-resources-en/src/messages/XmlBundle.properties b/platform/platform-resources-en/src/messages/XmlBundle.properties index dfb3b084c2d6..c8050b83f8de 100644 --- a/platform/platform-resources-en/src/messages/XmlBundle.properties +++ b/platform/platform-resources-en/src/messages/XmlBundle.properties @@ -164,8 +164,8 @@ browser.select.in.default.name=Web Browser xml.split.tag.intention.action=Split current tag tag.name.completion.hint=Press {0} to view tags from other namespaces tag.name.completion.display.name=Tag Name Completion -open_in.list.popup.title=Preview file in... -open_in.list.prefix=Preview file in +open_in.list.popup.title=Preview File in... +open_in.list.prefix=Preview File in xml.inspections.unbound.prefix=Unbound XML namespace prefix html.add.table.column.after.action=Add a new column to the table after the current one diff --git a/plugins/git4idea/src/git4idea/history/wholeTree/SelectRepositoryAndShowLogAction.java b/plugins/git4idea/src/git4idea/history/wholeTree/SelectRepositoryAndShowLogAction.java index 802940842887..9257f1fbd27a 100644 --- a/plugins/git4idea/src/git4idea/history/wholeTree/SelectRepositoryAndShowLogAction.java +++ b/plugins/git4idea/src/git4idea/history/wholeTree/SelectRepositoryAndShowLogAction.java @@ -18,7 +18,6 @@ package git4idea.history.wholeTree; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; -import com.intellij.openapi.actionSystem.PlatformDataKeys; import com.intellij.openapi.application.ModalityState; import com.intellij.openapi.components.ServiceManager; import com.intellij.openapi.fileChooser.FileChooser; @@ -63,7 +62,7 @@ import java.util.List; * @author irengrig */ public class SelectRepositoryAndShowLogAction extends AnAction { - public static final String ourTitle = "Show Git repository log"; + public static final String ourTitle = "Show Git Repository Log"; public static final int MAX_REPOS = 10; public SelectRepositoryAndShowLogAction() { diff --git a/plugins/github/src/org/jetbrains/plugins/github/GithubShareAction.java b/plugins/github/src/org/jetbrains/plugins/github/GithubShareAction.java index b30f57b97cff..ced14c5c5bfa 100644 --- a/plugins/github/src/org/jetbrains/plugins/github/GithubShareAction.java +++ b/plugins/github/src/org/jetbrains/plugins/github/GithubShareAction.java @@ -71,7 +71,7 @@ public class GithubShareAction extends DumbAwareAction { private static final Logger LOG = GithubUtil.LOG; public GithubShareAction() { - super("Share project on GitHub", "Easily share project on GitHub", GithubIcons.Github_icon); + super("Share Project on GitHub", "Easily share project on GitHub", GithubIcons.Github_icon); } public void update(AnActionEvent e) {