mirror of
https://github.com/TeamPiped/Piped.git
synced 2026-03-28 03:16:58 +00:00
@@ -46,7 +46,8 @@ export default {
|
||||
const App = this;
|
||||
|
||||
(async function () {
|
||||
const locale = App.getPreferenceString("hl", App.defaultLangage);
|
||||
const defaultLang = await App.defaultLangage;
|
||||
const locale = App.getPreferenceString("hl", defaultLang);
|
||||
if (locale !== App.TimeAgoConfig.locale) {
|
||||
const localeTime = await import(
|
||||
"./../node_modules/javascript-time-ago/locale/" + locale + ".json"
|
||||
|
||||
Reference in New Issue
Block a user