sealday
ede7ead8b1
Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#1045
6 lines
165 B
TypeScript
6 lines
165 B
TypeScript
import { NAMESPACE } from './constants';
|
|
|
|
export function generateNTemplate(key: string) {
|
|
return `{{t('${key}', { ns: '${NAMESPACE}', nsMode: 'fallback' })}}`;
|
|
}
|