mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-12 22:31:24 +00:00
Reopen plugin's source code (1.10.8 → 2.0.5)
This commit is contained in:
parent
faf02a5c0a
commit
26a3e07360
231 changed files with 88014 additions and 4271 deletions
22
src/main/java/ee/carlrobert/codegpt/CodeGPTBundle.java
Normal file
22
src/main/java/ee/carlrobert/codegpt/CodeGPTBundle.java
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
package ee.carlrobert.codegpt;
|
||||
|
||||
import com.intellij.DynamicBundle;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.PropertyKey;
|
||||
|
||||
public class CodeGPTBundle extends DynamicBundle {
|
||||
|
||||
private static final CodeGPTBundle INSTANCE = new CodeGPTBundle();
|
||||
|
||||
private CodeGPTBundle() {
|
||||
super("messages.codegpt");
|
||||
}
|
||||
|
||||
public static String get(@NotNull @PropertyKey(resourceBundle = "messages.codegpt") String key) {
|
||||
return INSTANCE.getMessage(key);
|
||||
}
|
||||
|
||||
public static String get(@NotNull @PropertyKey(resourceBundle = "messages.codegpt") String key, Object... params) {
|
||||
return INSTANCE.getMessage(key, params);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue