mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-11 21:31:04 +00:00
24 lines
666 B
Java
24 lines
666 B
Java
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);
|
|
}
|
|
}
|