Logging for translations
This commit is contained in:
parent
b9f8703e78
commit
ba7347faff
@ -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
|
||||
|
||||
|
||||
@ -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"))
|
||||
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user