default collection is i18n
This commit is contained in:
parent
7d42c4eaa0
commit
1a51a7bf5b
|
@ -105,7 +105,7 @@ export class CreateOrganizationComponent {
|
||||||
try {
|
try {
|
||||||
this.formPromise = this.cryptoService.makeShareKey().then((shareKey) => {
|
this.formPromise = this.cryptoService.makeShareKey().then((shareKey) => {
|
||||||
key = shareKey[0].encryptedString;
|
key = shareKey[0].encryptedString;
|
||||||
return this.cryptoService.encrypt('Default Collection', shareKey[1]);
|
return this.cryptoService.encrypt(this.i18nService.t('defaultCollection'), shareKey[1]);
|
||||||
}).then((collection) => {
|
}).then((collection) => {
|
||||||
collectionCt = collection.encryptedString;
|
collectionCt = collection.encryptedString;
|
||||||
if (this.selfHosted || this.plan === 'free') {
|
if (this.selfHosted || this.plan === 'free') {
|
||||||
|
|
|
@ -1668,5 +1668,8 @@
|
||||||
},
|
},
|
||||||
"leftOrganization": {
|
"leftOrganization": {
|
||||||
"message": "You have left the organization."
|
"message": "You have left the organization."
|
||||||
|
},
|
||||||
|
"defaultCollection": {
|
||||||
|
"message": "Default Collection"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue