From 358ef47f305ec0d9c83b13da5a17f917dcd25967 Mon Sep 17 00:00:00 2001 From: Julia Beliaeva Date: Thu, 2 May 2024 17:32:40 +0200 Subject: [PATCH] [git] extract the action text key GitOrigin-RevId: 2ed69daeeaa318abce9629e0a7aa43cf9db22b0a --- plugins/git4idea/resources/messages/GitBundle.properties | 4 +++- .../src/git4idea/log/command/ShowGitLogCommandAction.kt | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/git4idea/resources/messages/GitBundle.properties b/plugins/git4idea/resources/messages/GitBundle.properties index dd2860f48179..28fb7a6a7321 100644 --- a/plugins/git4idea/resources/messages/GitBundle.properties +++ b/plugins/git4idea/resources/messages/GitBundle.properties @@ -1588,4 +1588,6 @@ activity.name.unstash=Git unstash activity.name.abort.command=Git abort {0} activity.name.undo.commit=Git undo commit activity.name.cherry.pick=Git cherry-pick -activity.name.revert=Git revert \ No newline at end of file +activity.name.revert=Git revert + +action.Git.Log.Show.Command.text=Show Git Log for Command \ No newline at end of file diff --git a/plugins/git4idea/src/git4idea/log/command/ShowGitLogCommandAction.kt b/plugins/git4idea/src/git4idea/log/command/ShowGitLogCommandAction.kt index 8b3177990304..7b01f1fe198e 100644 --- a/plugins/git4idea/src/git4idea/log/command/ShowGitLogCommandAction.kt +++ b/plugins/git4idea/src/git4idea/log/command/ShowGitLogCommandAction.kt @@ -15,8 +15,7 @@ import com.intellij.vcs.log.visible.filters.VcsLogFilterObject import git4idea.GitVcs import java.util.* -@Suppress("HardCodedStringLiteral") // internal action -class ShowGitLogCommandAction : DumbAwareAction("Show Git Log for Command") { +class ShowGitLogCommandAction : DumbAwareAction() { override fun update(e: AnActionEvent) { val project = e.project