mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-06 01:51:28 +03:00
Updated spanish language string label to avoid confusion
Fixed bug where if no locale was set, it would *not* default to English
This commit is contained in:
@@ -13,6 +13,9 @@ if (environment.production) {
|
||||
}
|
||||
|
||||
const locale = localStorage.getItem('locale');
|
||||
if (!locale) {
|
||||
localStorage.setItem('locale', 'en');
|
||||
}
|
||||
if (locale && locale !== 'en') {
|
||||
getTranslations(`./assets/i18n/messages.${locale}.json`).then(
|
||||
(data: ParsedTranslationBundle) => {
|
||||
|
||||
Reference in New Issue
Block a user