We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19388df commit 4519e3eCopy full SHA for 4519e3e
1 file changed
dev.ts
@@ -5,11 +5,8 @@ globalThis.PlusAuthWidget = window.PlusAuthWidget = PlusAuthWidget
5
if (!window.PlusAuth) {
6
7
window['PlusAuth'] = {
8
- ui_locales: [
9
- { name: 'Turkce', value: 'tr' },
10
- { name: 'English', value: 'en' },
11
- ],
12
params: {
+ ui_locales: 'tr en',
13
state: '018f00d8-bfd5-731a-b23f-738dfdd28b40'
14
},
15
client: {
@@ -78,6 +75,10 @@ if (!window.PlusAuth) {
78
75
}
79
76
const auth = new PlusAuthWidget('#pa__app', {
80
77
locale: {
+ locales: {
+ 'tr': { label: 'Turkce', codes: ['tr'] },
+ 'en': { label: 'English', codes: ['en'] },
81
+ },
82
defaultLocale: 'en',
83
dictionary: {
84
tr: {
0 commit comments