mirror of
https://github.com/Readarr/Readarr
synced 2025-12-06 16:32:51 +01:00
parent
df876707c4
commit
a093061b29
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ export async function fetchTranslations(): Promise<boolean> {
|
||||||
|
|
||||||
export default function translate(
|
export default function translate(
|
||||||
key: string,
|
key: string,
|
||||||
tokens?: Record<string, string | number | boolean>
|
tokens: Record<string, string | number | boolean> = { appName: 'Readarr' }
|
||||||
) {
|
) {
|
||||||
const translation = translations[key] || key;
|
const translation = translations[key] || key;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue