From 313b68b6c6b8ffd7f5aa0276f88404b31e64a9ac Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Wed, 10 May 2023 11:21:24 -0500 Subject: [PATCH] Remove logging --- src/app/settings/settings.component.ts | 98 +++++++++++++------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/src/app/settings/settings.component.ts b/src/app/settings/settings.component.ts index d0df700..a21c7bf 100644 --- a/src/app/settings/settings.component.ts +++ b/src/app/settings/settings.component.ts @@ -386,56 +386,56 @@ export class SettingsComponent implements OnInit { chgUILanguage(){ //console.log('SETTINGS.chgUILanguage Called '); - this.languageService.getViewElements('settings').subscribe({ - next: response => { - //console.log('Received >> ', response ); - //console.log('Language Code : ', response.language); - //console.log('Component Name : ',response.component); - //console.log('Language data : ',response.data); + this.languageService.getViewElements('settings').subscribe({ + next: response => { + //console.log('Received >> ', response ); + //console.log('Language Code : ', response.language); + //console.log('Component Name : ',response.component); + //console.log('Language data : ',response.data); - this.vE.settingsViewTitle = response.data.settings_view_title; - this.vE.settingsTabMainlbl = response.data.settings_tab_mainlbl; - this.vE.settingsNameLbl = response.data.settings_name_lbl; - this.vE.settingsCurrencyLbl = response.data.settings_currency_lbl; - this.vE.settingsNamePlaceholder = response.data.settings_name_placeholder; - this.vE.settingsUseSatoshi = response.data.settings_use_satoshi; - this.vE.settingsVkeyLbl = response.data.settings_vkey_lbl; - this.vE.settingsVkeyPlaceholder = response.data.settings_vkey_placeholder; - this.vE.settingsConfirmPayments = response.data.settings_confirm_payments; - this.vE.settingsCloseBtn = response.data.settings_close_btn; - this.vE.settingsSaveBtn = response.data.settings_save_btn; - this.vE.settingsTabIntegrations = response.data.settings_tab_integrations; - this.vE.settingsXeroLbl = response.data.settings_xero_lbl; - this.vE.settingsLink2Xero = response.data.settings_link_2xero; - this.vE.settingsRelink2Xero = response.data.settings_relink_2xero; - this.vE.settingsXeropmtConfirmdis = response.data.settings_xeropmt_confirmdis; - this.vE.settingsNotservClose = response.data.settings_notserv_close; - this.vE.settingsNotservWarning = response.data.settings_notserv_warning; - this.vE.settingsPmtservURL = response.data.settings_pmtserv_url; - this.vE.settingsAcodeLbl = response.data.settings_acode_lbl; - this.vE.settingsXeroClosebtn = response.data.settings_xero_closebtn; - this.vE.settingsXeroSavebtn = response.data.settings_xero_savebtn; - this.vE.settingsWCLbl = response.data.settings_wc_lbl; - this.vE.settingsWCGentoken = response.data.settings_wc_gentoken; - this.vE.settingsWCOwnerlbl = response.data.settings_wc_ownerlbl; - this.vE.settingsWCClosebtn = response.data.settings_wc_closebtn; - this.vE.settingsURLCopied = response.data.settings_url_copied; - this.vE.settingsNotservSuccess = response.data.settings_notserv_success; - this.vE.settingsNotservError = response.data.settings_notserv_error; - this.vE.settingsCopyNotavail = response.data.settings_copy_notavail; - this.vE.settingsOwneridCopied = response.data.settings_ownerid_copied; - this.vE.settingsOwneridNotcopied = response.data.settings_ownerid_notcopied; - this.vE.settingsWCTokenCopied = response.data.settings_wctoken_copied; - this.vE.settingsWCTokenNotcopied = response.data.settings_wctoken_notcopied; - this.vE.settingsWCTokenGenerated = response.data.settings_wctoken_generated; - this.vE.settingsWCTokenGenfail = response.data.settings_wctoken_genfail; - this.vE.settingsAcodeSaved = response.data.settings_acode_saved; - this.vE.settingsAcodeNotsaved = response.data.settings_acode_notsaved; - this.vE.settingsAcodeInvalid = response.data.settings_acode_invalid; - // - this.languageRdy.next(true); - }, - error: error => { console.log('Error >> ',error); } + this.vE.settingsViewTitle = response.data.settings_view_title; + this.vE.settingsTabMainlbl = response.data.settings_tab_mainlbl; + this.vE.settingsNameLbl = response.data.settings_name_lbl; + this.vE.settingsCurrencyLbl = response.data.settings_currency_lbl; + this.vE.settingsNamePlaceholder = response.data.settings_name_placeholder; + this.vE.settingsUseSatoshi = response.data.settings_use_satoshi; + this.vE.settingsVkeyLbl = response.data.settings_vkey_lbl; + this.vE.settingsVkeyPlaceholder = response.data.settings_vkey_placeholder; + this.vE.settingsConfirmPayments = response.data.settings_confirm_payments; + this.vE.settingsCloseBtn = response.data.settings_close_btn; + this.vE.settingsSaveBtn = response.data.settings_save_btn; + this.vE.settingsTabIntegrations = response.data.settings_tab_integrations; + this.vE.settingsXeroLbl = response.data.settings_xero_lbl; + this.vE.settingsLink2Xero = response.data.settings_link_2xero; + this.vE.settingsRelink2Xero = response.data.settings_relink_2xero; + this.vE.settingsXeropmtConfirmdis = response.data.settings_xeropmt_confirmdis; + this.vE.settingsNotservClose = response.data.settings_notserv_close; + this.vE.settingsNotservWarning = response.data.settings_notserv_warning; + this.vE.settingsPmtservURL = response.data.settings_pmtserv_url; + this.vE.settingsAcodeLbl = response.data.settings_acode_lbl; + this.vE.settingsXeroClosebtn = response.data.settings_xero_closebtn; + this.vE.settingsXeroSavebtn = response.data.settings_xero_savebtn; + this.vE.settingsWCLbl = response.data.settings_wc_lbl; + this.vE.settingsWCGentoken = response.data.settings_wc_gentoken; + this.vE.settingsWCOwnerlbl = response.data.settings_wc_ownerlbl; + this.vE.settingsWCClosebtn = response.data.settings_wc_closebtn; + this.vE.settingsURLCopied = response.data.settings_url_copied; + this.vE.settingsNotservSuccess = response.data.settings_notserv_success; + this.vE.settingsNotservError = response.data.settings_notserv_error; + this.vE.settingsCopyNotavail = response.data.settings_copy_notavail; + this.vE.settingsOwneridCopied = response.data.settings_ownerid_copied; + this.vE.settingsOwneridNotcopied = response.data.settings_ownerid_notcopied; + this.vE.settingsWCTokenCopied = response.data.settings_wctoken_copied; + this.vE.settingsWCTokenNotcopied = response.data.settings_wctoken_notcopied; + this.vE.settingsWCTokenGenerated = response.data.settings_wctoken_generated; + this.vE.settingsWCTokenGenfail = response.data.settings_wctoken_genfail; + this.vE.settingsAcodeSaved = response.data.settings_acode_saved; + this.vE.settingsAcodeNotsaved = response.data.settings_acode_notsaved; + this.vE.settingsAcodeInvalid = response.data.settings_acode_invalid; + // + this.languageRdy.next(true); + }, + error: error => { console.log('Error >> ',error); } }); } }