mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
parent
28ac640103
commit
d7ccb66cf6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue