From 1a51a7bf5b78428e5c06834290057622cff894a3 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 5 Jul 2018 13:08:29 -0400 Subject: [PATCH] default collection is i18n --- src/app/settings/create-organization.component.ts | 2 +- src/locales/en/messages.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/settings/create-organization.component.ts b/src/app/settings/create-organization.component.ts index 62d47154892..aeac2ea9565 100644 --- a/src/app/settings/create-organization.component.ts +++ b/src/app/settings/create-organization.component.ts @@ -105,7 +105,7 @@ export class CreateOrganizationComponent { try { this.formPromise = this.cryptoService.makeShareKey().then((shareKey) => { key = shareKey[0].encryptedString; - return this.cryptoService.encrypt('Default Collection', shareKey[1]); + return this.cryptoService.encrypt(this.i18nService.t('defaultCollection'), shareKey[1]); }).then((collection) => { collectionCt = collection.encryptedString; if (this.selfHosted || this.plan === 'free') { diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index 5f2c90d7ac6..4d5bde7efdb 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -1668,5 +1668,8 @@ }, "leftOrganization": { "message": "You have left the organization." + }, + "defaultCollection": { + "message": "Default Collection" } }