diff --git a/app/DD_PM_WINDREAM/ClassControlCreator.vb b/app/DD_PM_WINDREAM/ClassControlCreator.vb index b5fda7f..97247f0 100644 --- a/app/DD_PM_WINDREAM/ClassControlCreator.vb +++ b/app/DD_PM_WINDREAM/ClassControlCreator.vb @@ -306,6 +306,7 @@ Public Class ClassControlCreator Try control.Text = row.Item("CTRL_CAPTION_LANG") Catch ex As Exception + Logger.Warn("Label [{0}] does not have a translation!", control.Name) control.Text = row.Item("CTRL_TEXT") End Try diff --git a/app/DD_PM_WINDREAM/ClassInit.vb b/app/DD_PM_WINDREAM/ClassInit.vb index 40fa139..d6b3424 100644 --- a/app/DD_PM_WINDREAM/ClassInit.vb +++ b/app/DD_PM_WINDREAM/ClassInit.vb @@ -337,6 +337,10 @@ Public Class ClassInit User.UserId = USER_ID User.Language = USER_LANGUAGE + LOGGER.Debug("User Info:") + LOGGER.Debug("Language: [{0}]", USER_LANGUAGE) + LOGGER.Debug("Username: [{0}]", USER_USERNAME) + Try USER_RIGHT_FILE_DELETE = IIf(IsDBNull(DT_CHECKUSER_MODULE.Rows(0).Item("USER_RIGHT_FILE_DEL")), False, DT_CHECKUSER_MODULE.Rows(0).Item("USER_RIGHT_FILE_DEL")) diff --git a/app/DD_PM_WINDREAM/frmValidator.vb b/app/DD_PM_WINDREAM/frmValidator.vb index 279acd5..ea6c955 100644 --- a/app/DD_PM_WINDREAM/frmValidator.vb +++ b/app/DD_PM_WINDREAM/frmValidator.vb @@ -148,6 +148,8 @@ Public Class frmValidator Try LOGGER.Debug("###frmValidation_Load###") + LOGGER.Debug("Current User Language: [{0}]", USER_LANGUAGE) + ' Operation mode is either guessed from service settings ' or explictly set from OperationModeOverride in Params OperationMode = GetOperationMode()