Skip to content

Commit cf33ccf

Browse files
committed
🚑 fixing broken app
1 parent 722699e commit cf33ccf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "linked",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"private": true,
55
"description": "Link your thoughts to days.",
66
"author": "André Weller <info@lost.design> (https://lost.design/)",

src/translation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const translate = async (identifier, locale = localStorage.lang, data = {
1414

1515
export const Translations = {
1616
locale: localStorage.lang ?? 'en-US',
17-
translationStrings: import(`./locales/${this.locale || 'en-US'}.json`),
17+
translationStrings: import(`./locales/${this?.locale || 'en-US'}.json`),
1818
install(VueInstance) {
1919
VueInstance.prototype.$setLocale = function (locale) {
2020
this.locale = locale;

0 commit comments

Comments
 (0)