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' })}}`;
|
||
|
}
|