StefanHaupt wrote:BTW, I need some help to include more languages in this error handler. At the moment we have german and english.
I would be happy, if someone can translate it into spanish, portuguese and other languages
- Code: Select all Expand view
#ifdef _ENGLISH
#define dlgPROG "Program: "
#define dlgTITLE "Application error"
#define errHEADER "Errordescription"
#define errDESC " Description : "
#define errPROGPATH " App-Path : "
#define errPROGSIZE " Filesize : "
#define errMAXFILES " Max. files : "
#define errTIME " Time from start: "
#define errOCCUR " Occurance : "
#define errNETNAME " Computername : "
#define errUSER " User : "
#define errDETAIL "detailled error description"
#define errSTACKLIST "Stack-List"
#define errSTACKCALL " called by "
#define errTASKS "running tasks: "
#define errVARLIST "Varlist"
#define errVARIABLE " Name Type Value"
#define errRDD "RDD"
#define errOPENDBF "Open dbf´s"
#define errINDEX "Index files "
#define errRELATION "Relations"
#define sysHEADER "Systeminformation"
#define sysWINDOWS
#define sysVERSION
#define dlgTEXT1 "Please contact your dealer or computer support department"+CRLF+;
"about this error and the circumstances it happened."+CRLF+CRLF+;
[Email error report by clicking "Send errorlog" button]
#define dlgTEXT2 "Error Description:"
#define BTN_Header "An Error Has Occurred"
#define BTN_View "View errorlog"
#define BTN_Retry "Retry"
#define BTN_Default "Default"
#define BTN_Send1 "Send errorlog"
#define BTN_Send2 "Errorlog"
#define BTN_Send3 "Errorlog sent"
#define BTN_End "do not send / end"
#define BTN_Help "Help"
#define emailDOMAIN "usersdomain.com"
#define emailADDRESS "help.desk@helpdomain.com"
#define emailKEY "3jfbt72"
#define emailALERT1 "Email settings are incorrect"
#define emailALERT2 "Email Settings"
#define emailCONNECTING1 "Connecting to "
#define emailCONNECTING2 "and waiting for response..."
#define emailCONNECTED "Sending Email..."
#define emailCONNECTEDPOP "Checking for email messages..."
#define viewALERT1 "The error log file is missing"
#define viewALERT2 "error Log"
#define viewERRORTitle "View Error Logs"
#define viewERROR1 "Date of the error "
#define viewERROR2 " time "
#define viewERROR3 "Error description "
#define viewERROR4 "User/PC "
#define viewERROR5 "Error Image "
#define viewBTNImg "View Image"
#define viewBTNPrint "Print"
#define viewBTNClose "Close"
#define showPICTitle "Graphic Error"
#define showPICERROR1 "No Graphics Available"
#define showPICERROR2 "Graphic Error"
#endif
#ifdef _SPANISH
#endif
#ifdef _PORTUG
#endif
#ifdef _ITALIAN
#endif
Thanks
This is Chinese Traditional Language.
- Code: Select all Expand view
#ifdef _Traditional_Chinese
#define dlgPROG "程式: "
#define dlgTITLE "應用程式錯誤"
#define errHEADER "錯誤描述"
#define errDESC " 描述 : "
#define errPROGPATH " 程式路徑 : "
#define errPROGSIZE " 檔案大小 : "
#define errMAXFILES " 最大檔案數 : "
#define errTIME " 開始時間 : "
#define errOCCUR " 發生原因 : "
#define errNETNAME " 電腦名稱 : "
#define errUSER " 使用者 : "
#define errDETAIL "詳細的錯誤描述"
#define errSTACKLIST "Stack-List"
#define errSTACKCALL " called by "
#define errTASKS "running tasks: "
#define errVARLIST "變數列表"
#define errVARIABLE " 名稱 類型 數值"
#define errRDD "RDD"
#define errOPENDBF "開啟資料庫數"
#define errINDEX "索引檔案 "
#define errRELATION "關聯"
#define sysHEADER "系統資訊"
#define sysWINDOWS
#define sysVERSION
#define dlgTEXT1 "請聯繫您的經銷商或電腦技術支援部門"+CRLF+;
"有關此錯誤發生的情況下."+CRLF+CRLF+;
[若要用電子郵件來回報錯誤資訊,請按下 "傳送錯誤資訊" 按鈕]
#define dlgTEXT2 "錯誤描述:"
#define BTN_Header "發生了錯誤"
#define BTN_View "檢視錯誤資訊"
#define BTN_Retry "重試"
#define BTN_Default "Default"
#define BTN_Send1 "傳送錯誤資訊"
#define BTN_Send2 "錯誤資訊"
#define BTN_Send3 "錯誤資訊已傳送"
#define BTN_End "不需傳送並終止"
#define BTN_Help "輔助說明"
#define emailDOMAIN "usersdomain.com"
#define emailADDRESS "help.desk@helpdomain.com"
#define emailKEY "3jfbt72"
#define emailALERT1 "電子郵件設定是不正確的"
#define emailALERT2 "電子郵件設定"
#define emailCONNECTING1 "正在連結到 "
#define emailCONNECTING2 "正在等候回應中..."
#define emailCONNECTED "正在傳送電子郵件中..."
#define emailCONNECTEDPOP "正在檢查電子郵件訊息..."
#define viewALERT1 "錯誤資訊文件移失"
#define viewALERT2 "錯誤資訊"
#define viewERRORTitle "檢視錯誤資訊"
#define viewERROR1 "錯誤日期 "
#define viewERROR2 " 時間 "
#define viewERROR3 "錯誤描述 "
#define viewERROR4 "使用者/電腦 "
#define viewERROR5 "錯誤圖案 "
#define viewBTNImg "檢視圖檔"
#define viewBTNPrint "列印"
#define viewBTNClose "關閉"
#define showPICTitle "圖形錯誤"
#define showPICERROR1 "沒有可用圖形"
#define showPICERROR2 "圖形錯誤"
#endif
#ifdef _SPANISH
#endif
#ifdef _PORTUG
#endif
#ifdef _ITALIAN
#endif