IDEA-192894 vcs: specify override-text for 'ChangesView.Refresh' action in Find Action
authorAleksey Pivovarov <AMPivovarov@gmail.com>
Sun, 29 Nov 2020 17:18:30 +0000 (20:18 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Sun, 29 Nov 2020 18:29:45 +0000 (18:29 +0000)
GitOrigin-RevId: eb318a347b03b3cd0950842727dc4a686fff7d1f

platform/platform-resources-en/src/messages/ActionsBundle.properties
platform/vcs-impl/resources/META-INF/VcsActions.xml

index 76273022312817a6e6e9433b0717c1b41bd40540..1fe772da830425275e56bdebc1df00cf4316574d 100644 (file)
@@ -1368,6 +1368,7 @@ action.TextComponent.ClearAction.text=Clear text
 action.TextComponent.ClearAction.description=Clear text in text components
 
 action.ChangesView.Refresh.text=Refresh
+action.ChangesView.Refresh.MainMenu.text=Refresh VCS Changes
 action.ChangesView.Refresh.description=Refresh VCS changes
 action.ChangesView.NewChangeList.text=New Changelist...
 action.ChangesView.NewChangeList.description=Create new changelist
index 923098c5697532a8ad4116a4164ef9684d2645c0..6d693d3f1f74c955ead1912c33dfde909b44f195 100644 (file)
     </group>
 
     <action id="ChangesView.Refresh" class="com.intellij.openapi.vcs.changes.actions.RefreshAction"
-            icon="AllIcons.Actions.Refresh"/>
+            icon="AllIcons.Actions.Refresh">
+      <override-text place="MainMenu"/>
+      <override-text place="GoToAction" use-text-of-place="MainMenu"/>
+    </action>
 
     <!-- Main menu | Version Control -->
     <group id="VcsGroups" class="com.intellij.openapi.vcs.actions.VcsGroupsActionGroup" popup="true">