mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-06 16:55:49 +00:00
@@ -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: 'Readarr' }
|
||||
) {
|
||||
const translation = translations[key] || key;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user