mirror of https://github.com/lidarr/Lidarr
parent
28ac640103
commit
d7ccb66cf6
|
@ -25,7 +25,7 @@ export async function fetchTranslations(): Promise<boolean> {
|
|||
|
||||
export default function translate(
|
||||
key: string,
|
||||
tokens?: Record<string, string | number | boolean>
|
||||
tokens: Record<string, string | number | boolean> = { appName: 'Lidarr' }
|
||||
) {
|
||||
const translation = translations[key] || key;
|
||||
|
||||
|
|
Loading…
Reference in New Issue