mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
setup: patch messages with english fallback
This commit is contained in:
parent
4eb7afead6
commit
a9a0005007
@ -7,16 +7,18 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="max-w-full overflow-x-hidden section">
|
<body class="max-w-full overflow-x-hidden section">
|
||||||
<div id="notification-box"></div>
|
<div id="notification-box"></div>
|
||||||
<span class="dropdown" tabindex="0" id="lang-dropdown">
|
<div class="top-4 left-4 absolute">
|
||||||
<span class="button ~urge dropdown-button">
|
<span class="dropdown" tabindex="0" id="lang-dropdown">
|
||||||
<i class="ri-global-line"></i>
|
<span class="button ~urge dropdown-button">
|
||||||
<span class="ml-2 chev"></span>
|
<i class="ri-global-line"></i>
|
||||||
</span>
|
<span class="ml-2 chev"></span>
|
||||||
<div class="dropdown-display">
|
</span>
|
||||||
<div class="card ~neutral @low" id="lang-list">
|
<div class="dropdown-display">
|
||||||
|
<div class="card ~neutral @low" id="lang-list">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</span>
|
||||||
</span>
|
</div>
|
||||||
<div class="page-container" id="page-container">
|
<div class="page-container" id="page-container">
|
||||||
<div class="card ~neutral @low mb-4">
|
<div class="card ~neutral @low mb-4">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
1
setup.go
1
setup.go
@ -143,6 +143,7 @@ func (st *Storage) loadLangSetup(filesystems ...fs.FS) error {
|
|||||||
patchLang(&lang.Login, &english.Login)
|
patchLang(&lang.Login, &english.Login)
|
||||||
patchLang(&lang.JellyfinEmby, &english.JellyfinEmby)
|
patchLang(&lang.JellyfinEmby, &english.JellyfinEmby)
|
||||||
patchLang(&lang.Email, &english.Email)
|
patchLang(&lang.Email, &english.Email)
|
||||||
|
patchLang(&lang.Messages, &english.Messages)
|
||||||
patchLang(&lang.Notifications, &english.Notifications)
|
patchLang(&lang.Notifications, &english.Notifications)
|
||||||
patchLang(&lang.PasswordResets, &english.PasswordResets)
|
patchLang(&lang.PasswordResets, &english.PasswordResets)
|
||||||
patchLang(&lang.InviteEmails, &english.InviteEmails)
|
patchLang(&lang.InviteEmails, &english.InviteEmails)
|
||||||
|
Loading…
Reference in New Issue
Block a user