Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
},
"dependencies": {
"@toruslabs/http-helpers": "^6.0.0",
"@toruslabs/openlogin": "^6.2.2",
"@toruslabs/openlogin-jrpc": "^6.2.2",
"@toruslabs/openlogin-utils": "^6.2.2",
"@toruslabs/openlogin": "^6.2.5",
"@toruslabs/openlogin-jrpc": "^6.2.5",
"@toruslabs/openlogin-utils": "^6.2.5",
"@web3auth/base": "^7.3.1",
"bowser": "^2.11.0",
"classnames": "^2.5.1",
Expand Down Expand Up @@ -97,4 +97,4 @@
"node": ">=18.x",
"npm": ">=9.x"
}
}
}
4 changes: 2 additions & 2 deletions packages/ui/src/i18n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ import ko from "./korean.json";
import zh from "./mandarin.json";
import pt from "./portuguese.json";
import es from "./spanish.json";
import tk from "./turkish.json";
import tr from "./turkish.json";

export { de, en, es, fr, ja, ko, nl, pt, tk, zh };
export { de, en, es, fr, ja, ko, nl, pt, tr, zh };
2 changes: 1 addition & 1 deletion packages/ui/src/loginModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class LoginModal extends SafeEventEmitter {
.catch((error) => {
log.error(error);
});
} else if (useLang === "tk") {
} else if (useLang === "tr") {
import(`./i18n/turkish.json`)
.then((messages) => {
i18n.addResourceBundle(useLang as string, "translation", messages.default);
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const languageMap: Record<LANGUAGE_TYPE, string> = {
fr: "french",
pt: "portuguese",
nl: "dutch",
tk: "turkish",
tr: "turkish",
};

interface NavigatorLanguage {
Expand Down