-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🌐 Translate plugin base * Feature/translate plugin (#61) * 🌐 Correct the translation * 🌐 add Chinese --------- Co-authored-by: べんち <caiyucong12@gmail.com>
- Loading branch information
1 parent
aa33816
commit 0f42ff1
Showing
7 changed files
with
58 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.github.patou.gitmoji | ||
|
||
import com.intellij.DynamicBundle | ||
import org.jetbrains.annotations.NonNls | ||
import org.jetbrains.annotations.PropertyKey | ||
|
||
@NonNls | ||
private const val BUNDLE = "messages.GitmojiBundle" | ||
|
||
object GitmojiBundle : DynamicBundle(BUNDLE) { | ||
|
||
@JvmStatic | ||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) = | ||
getMessage(key, *params) | ||
|
||
@Suppress("unused") | ||
@JvmStatic | ||
fun messagePointer(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) = | ||
getLazyMessage(key, *params) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
projectName=Gitmoji Plus: Commit Button | ||
config.useUnicode=Use unicode emoji instead of text version (:code:) | ||
config.displayEmoji=Display emoji instead of icon in list (Bug in IntelliJ Windows or emoji in black and white) | ||
config.insertInCursorPosition=Insert the emoji in the cursor location | ||
config.includeGitMojiDescription=Include gitmoji description | ||
config.language=Language | ||
action.Gitmoji.GitCommitAction.text=GitMoji | ||
action.Gitmoji.GitCommitAction.description=Add gitmoji button to commit dialog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
projectName=Gitmoji Plus: Bouton de commit | ||
config.useUnicode=Utilise l'emoji unicode plutôt que la version textuel (:code:) | ||
config.displayEmoji=Affiche l'emoji à la place de l'icone (Bogue dans IntelliJ Windows ou les emoji en noir et blanc) | ||
config.insertInCursorPosition=Insert l'emoji à la position du cuseur | ||
config.includeGitMojiDescription=Inclus la description du gitmoji | ||
config.language=Langue | ||
action.Gitmoji.GitCommitAction.text=Ajoute un Gitmoji | ||
action.Gitmoji.GitCommitAction.description=Ajoute un gitmoji au message de commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
projectName=Gitmoji Plus: Commit Button | ||
config.useUnicode=使用 unicode 表情符号代替文本版本 (:code:) | ||
config.displayEmoji=在列表中显示emoji符号而不是icon(IntelliJ Windows 中的错误或黑白表情符号) | ||
config.insertInCursorPosition=在光标位置插入表情符号 | ||
config.includeGitMojiDescription=包含 gitmoji 描述 | ||
config.language=语言 | ||
action.Gitmoji.GitCommitAction.text=GitMoji | ||
action.Gitmoji.GitCommitAction.description=添加 gitmoji 按钮到提交对话框 |