git: fix i18n warnings
[idea/community.git] / plugins / git4idea / src / git4idea / checkin / GitCommitAndPushExecutor.kt
index 9f2b8e962ab71f74a72256c442b612a36fa854a7..ab6ff3ee7a6200121c1eb5a9c5f8906b38ab9217 100644 (file)
@@ -6,6 +6,7 @@ import com.intellij.openapi.vcs.changes.CommitContext
 import com.intellij.openapi.vcs.changes.CommitExecutor
 import com.intellij.openapi.vcs.changes.CommitSession
 import com.intellij.vcs.commit.commitProperty
+import git4idea.i18n.GitBundle
 import org.jetbrains.annotations.Nls
 
 private val IS_PUSH_AFTER_COMMIT_KEY = Key.create<Boolean>("Git.Commit.IsPushAfterCommit")
@@ -13,7 +14,7 @@ internal var CommitContext.isPushAfterCommit: Boolean by commitProperty(IS_PUSH_
 
 class GitCommitAndPushExecutor : CommitExecutor {
   @Nls
-  override fun getActionText(): String = "Commit and &Push..."
+  override fun getActionText(): String = GitBundle.message("action.Git.Commit.And.Push.Executor.text")
 
   override fun useDefaultAction(): Boolean = false