From 0cbfd96c03e48586019f016aac9d9fd330efc337 Mon Sep 17 00:00:00 2001 From: Julia Beliaeva Date: Wed, 13 May 2020 20:31:45 +0300 Subject: [PATCH] [git-index] add missing text to refresh action GitOrigin-RevId: f9a12bdf18c6500f570d5180e313db507c40857a --- .../src/git4idea/index/actions/GitRefreshStageAction.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/git4idea/src/git4idea/index/actions/GitRefreshStageAction.kt b/plugins/git4idea/src/git4idea/index/actions/GitRefreshStageAction.kt index 729492325466..b9b86a09bc82 100644 --- a/plugins/git4idea/src/git4idea/index/actions/GitRefreshStageAction.kt +++ b/plugins/git4idea/src/git4idea/index/actions/GitRefreshStageAction.kt @@ -3,9 +3,10 @@ package git4idea.index.actions import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent +import com.intellij.openapi.vcs.VcsBundle import git4idea.index.ui.GIT_STAGE_TRACKER -class GitRefreshStageAction : AnAction() { +class GitRefreshStageAction : AnAction(VcsBundle.messagePointer("action.name.refresh")) { override fun update(e: AnActionEvent) { e.presentation.isEnabledAndVisible = e.getData(GIT_STAGE_TRACKER) != null