10 lines
256 B
TypeScript
10 lines
256 B
TypeScript
/* eslint-disable import/prefer-default-export */
|
|
import merge from 'lodash/merge';
|
|
|
|
import { getLocale } from './registry';
|
|
|
|
export function getPhrases(locale: string) {
|
|
const phrases = merge({}, getLocale('en'), getLocale(locale));
|
|
return phrases;
|
|
}
|