mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Update from Main
This commit is contained in:
parent
20ef99ec6c
commit
10438ab777
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ export default {
|
||||||
const App = this;
|
const App = this;
|
||||||
|
|
||||||
(async function () {
|
(async function () {
|
||||||
const defaultLang = await App.defaultLangage;
|
const defaultLang = await App.defaultLanguage;
|
||||||
const locale = App.getPreferenceString("hl", defaultLang);
|
const locale = App.getPreferenceString("hl", defaultLang);
|
||||||
if (locale !== App.TimeAgoConfig.locale) {
|
if (locale !== App.TimeAgoConfig.locale) {
|
||||||
const localeTime = await import(`../node_modules/javascript-time-ago/locale/${locale}.json`)
|
const localeTime = await import(`../node_modules/javascript-time-ago/locale/${locale}.json`)
|
||||||
|
|
Loading…
Reference in a new issue