mirror of https://github.com/msgbyte/tailchat
parent
3b951f8a6a
commit
cda54ebdb6
@ -1,3 +1,3 @@
|
||||
const PLUGIN_NAME = '{{name}}';
|
||||
const PLUGIN_NAME = '{{id}}';
|
||||
|
||||
console.log(`Plugin ${PLUGIN_NAME} is loaded`);
|
||||
|
@ -0,0 +1,8 @@
|
||||
import { localTrans } from '@capital/common';
|
||||
|
||||
export const Translate = {
|
||||
name: localTrans({
|
||||
'zh-CN': '{{name}}',
|
||||
'en-US': '{{name}}',
|
||||
}),
|
||||
};
|
@ -1,3 +1,3 @@
|
||||
const PLUGIN_NAME = '{{name}}';
|
||||
const PLUGIN_NAME = '{{id}}';
|
||||
|
||||
console.log(`Plugin ${PLUGIN_NAME} is loaded`);
|
||||
|
@ -0,0 +1,8 @@
|
||||
import { localTrans } from '@capital/common';
|
||||
|
||||
export const Translate = {
|
||||
name: localTrans({
|
||||
'zh-CN': '{{name}}',
|
||||
'en-US': '{{name}}',
|
||||
}),
|
||||
};
|
Loading…
Reference in New Issue