mirror of
https://github.com/unraid/api.git
synced 2026-01-15 13:10:01 -06:00
fix: add en_US as fallback for display.locale
This commit is contained in:
@@ -53,7 +53,7 @@ export const getDisplay = async function (context: CoreContext): Promise<Result>
|
||||
critical: Number.parseInt(display.critical, 10),
|
||||
hot: Number.parseInt(display.hot, 10),
|
||||
max: Number.parseInt(display.max, 10),
|
||||
locale: display.locale ?? 'en_us'
|
||||
locale: display.locale || 'en_US'
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user