[git-index] add missing text to refresh action

GitOrigin-RevId: f9a12bdf18c6500f570d5180e313db507c40857a
This commit is contained in:
Julia Beliaeva
2020-05-13 17:37:48 +00:00
committed by intellij-monorepo-bot
parent 21db441cef
commit 0cbfd96c03
@@ -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