default collection is i18n

This commit is contained in:
Kyle Spearrin 2018-07-05 13:08:29 -04:00
parent 7d42c4eaa0
commit 1a51a7bf5b
2 changed files with 4 additions and 1 deletions

View File

@ -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') {

View File

@ -1668,5 +1668,8 @@
}, },
"leftOrganization": { "leftOrganization": {
"message": "You have left the organization." "message": "You have left the organization."
},
"defaultCollection": {
"message": "Default Collection"
} }
} }