From d65940dc6464ca4a57c8f68510053c5d06715c9d Mon Sep 17 00:00:00 2001 From: Zohaib Iqbal Kambrani <> Date: Sun, 7 Feb 2021 16:26:23 +0300 Subject: [PATCH] no message --- Mohem/src/app/home/wifi-model/wifi-modal.component.ts | 8 ++++---- Mohem/src/assets/localization/i18n.json | 8 ++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Mohem/src/app/home/wifi-model/wifi-modal.component.ts b/Mohem/src/app/home/wifi-model/wifi-modal.component.ts index 7f7b4fca..4340434e 100644 --- a/Mohem/src/app/home/wifi-model/wifi-modal.component.ts +++ b/Mohem/src/app/home/wifi-model/wifi-modal.component.ts @@ -95,8 +95,8 @@ export class WifiModalComponent implements OnInit { this.common.showErrorMessageDialog(()=>{ this.openNativeSettings.open('wifi').then(()=>{}); }, - "OK", - "Wifi is not enabled, Please enable it"); + this.ts.trPK("general", "ok"), + this.ts.trPK("general","wifi-not-enable-text")); } } @@ -107,8 +107,8 @@ export class WifiModalComponent implements OnInit { this.common.showErrorMessageDialog(()=>{ }, - "OK", - "Failed to validate workspace, Make sure you are in HMG workspace coverage."); + this.ts.trPK("general", "ok"), + this.ts.trPK("general","wifi-not-enable-text")); } disconnectWifi(){ diff --git a/Mohem/src/assets/localization/i18n.json b/Mohem/src/assets/localization/i18n.json index afd2a0e9..fa13a5da 100644 --- a/Mohem/src/assets/localization/i18n.json +++ b/Mohem/src/assets/localization/i18n.json @@ -887,10 +887,18 @@ "en": "NFC", "ar": "NFC" }, + "wifi-not-enable-text": { + "en": "Wifi is not enabled, Please enable it", + "ar": "Wifi is not enabled, Please enable it" + }, "wifi-text": { "en": "Wifi", "ar": "Wifi" }, + "wifi-connection-failed-text": { + "en": "Failed to validate workspace, Make sure you are in HMG workspace coverage.", + "ar": "Failed to validate workspace, Make sure you are in HMG workspace coverage." + }, "qr-text": { "en": "QR Code", "ar": "الشفرة QR"