Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 452f432

Browse files
feat: clean up profile for ic (#1414)
Signed-off-by: peterpeterparker <[email protected]>
1 parent 7161087 commit 452f432

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

studio/src/app/pages/core/settings/app-profile/app-profile.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export class AppProfile {
7676
private destroyApiUserListener;
7777

7878
private config: EnvironmentDeckDeckGoConfig = EnvironmentConfigService.getInstance().get('deckdeckgo');
79+
7980
private firebase: boolean = firebase();
8081

8182
constructor() {
@@ -496,6 +497,10 @@ export class AppProfile {
496497
}
497498

498499
private renderEmail() {
500+
if (!this.firebase) {
501+
return undefined;
502+
}
503+
499504
return [
500505
<ion-item class="item-title">
501506
<ion-label>{i18n.state.settings.email}</ion-label>

studio/src/assets/i18n/de.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"no_way_back": "Sobald dein Account gelöscht wurde, gibt es kein zurück. Bitte, sei sicher.",
101101
"delete_user": "Lösche meinen Account",
102102
"profile_picture": "Profilbild",
103-
"profile_picture_tips": "Tipp: Wenn du dein Profilbild aktualisierst, nutze möglichst ein quadratisches Bild.",
103+
"profile_picture_tips": "Tipp: ein quadratisches Bild ist am besten geeignet",
104104
"summary": "Zusammenfassung",
105105
"bio": "Deine Kurz-Biografie oder wie stellst du dich vor",
106106
"custom": "Benutzerdefiniert",

studio/src/assets/i18n/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"access_docs": "{0} to save your documents online.",
9292
"access_assets": "{0} to access your online assets (images and data).",
9393
"info_assets": "The assets (images and data) you have use in your presentations and that have been uploaded in your online private storage.",
94-
"profile_note": "Note that your update has no effect on the presentations you would have already published.",
94+
"profile_note": "Note: Your update has no effect on the presentations already published.",
9595
"name": "Name",
9696
"email": "Email",
9797
"newsletter": "Send me newsletter emails",
@@ -100,7 +100,7 @@
100100
"no_way_back": "Once you delete your user, there is no going back. Please be certain.",
101101
"delete_user": "Delete my user",
102102
"profile_picture": "Profile picture",
103-
"profile_picture_tips": "Tips: if you would update your profile picture, ideally use a square image for that purpose",
103+
"profile_picture_tips": "Tips: a square image is best suited",
104104
"summary": "Summary",
105105
"bio": "Your short biography or how do you introduce yourself",
106106
"custom": "Custom",

studio/src/assets/i18n/es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"no_way_back": "Una vez que eliminas tu usuario, no hay vuelta atrás. Por favor, asegúrate.",
101101
"delete_user": "Eliminar mi usuario",
102102
"profile_picture": "Foto de perfil",
103-
"profile_picture_tips": "Consejos: si quieres actualizar tu foto de perfil, lo ideal es que utilices una imagen cuadrada para ello",
103+
"profile_picture_tips": "Consejos: la imagen cuadrada es la más adecuada ",
104104
"summary": "Resumen",
105105
"bio": "Su breve biografía o cómo se presenta",
106106
"custom": "Personalizado",

studio/src/assets/i18n/nl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"no_way_back": "Zodra u uw gebruiker verwijdert, is er geen weg meer terug. Wees alstublieft zeker.",
101101
"delete_user": "Verwijder mijn gebruiker",
102102
"profile_picture": "Profielfoto",
103-
"profile_picture_tips": "Tips: als u uw profielfoto wilt bijwerken, gebruik dan idealiter een vierkante afbeelding voor het beste resultaat",
103+
"profile_picture_tips": "Tips: vierkante afbeelding is het meest geschikt",
104104
"summary": "Samenvatting",
105105
"bio": "Uw korte biografie of hoe u uzelf voorstelt",
106106
"custom": "Aangepast",

0 commit comments

Comments
 (0)