#IF(#IMPORT_OK)

{ImportOK}

#IF(#ImportFileName){NewImportFile}: #ImportFileName (#ImportFileSize[integer] kB)#ENDIF
#REM #ENDREM #ELSIF(#IMPORT_NOTIMPLEMENTED)

{Notification}

{ImportNotImplemented}

#REM #ENDREM #ENDIF #WITH_ERROR(#FormError) #IF(#FormError)
#IF(#FormErrors.Form.CSVExportImport) #IF(#FormError_Export)

{ExportErrors}

#ELSIF(#FormError_Import)

{ImportErrors}

#IF(#ImportFileName){NewImportFile}: #ImportFileName (#ImportFileSize[integer] kB)#ENDIF #ELSIF(#FormErrors.Reason.VIRUS_FOUND)

{VirusFoundError}

#ELSE

{InputError}

{PleaseCorrectErrors}

#ENDIF #IF(#FormError_Export OR #FormError_Import)
{HideDetails}
    #LOOP(#FormErrors.Form.CSVExportImport.Errors) #LOCAL("ErrorDisplayed", 0) #MENU("CSVExportImportErrors") #INCLUDE(#Template) #ENDMENU #IF(NOT #ErrorDisplayed) #IF(#Reason EQ "FILE_OPEN_FAILED")
  • {FileOpenFailed}
  • #ELSIF(#Reason EQ "FILE_CLOSE_FAILED")
  • {FileCloseFailed}
  • #ELSIF(#Reason EQ "FILE_NOT_TEXT")
  • {FileNotText}
  • #ELSIF(#Reason EQ "WRITE_LINE_FAILED")
  • {WriteLineFailed}
  • #ELSIF(#Reason EQ "WRITE_LINE_WARNING")
  • {WriteLineWarning}
  • #ELSIF(#Reason EQ "READ_LINE_FAILED")
  • {ReadLineFailed}
  • #ELSIF(#Reason EQ "WRONG_FORMAT")
  • {WrongFormat}
  • #ELSIF(#Reason EQ "MISSING_FIELD")
  • {MissingField}
  • #ELSIF(#Reason EQ "NO_MONEY_FORMAT")
  • {NoMoneyFormat}
  • #ELSIF(#Reason EQ "NO_SHOP_CURRENCY") #SET("ErrorDisplayed", 1)
  • {NoShopCurrency}
  • #ELSIF(#Reason EQ "NO_SHOP_LANG")
  • {NoShopLanguage}
  • #ELSIF(#Reason EQ "NO_SHOP_TAXMODEL")
  • {NoShopTaxModel}
  • #ELSIF(#Reason EQ "UNKNOWN_ATTR")
  • {UnknownAttribute}
  • #ELSIF(#Reason EQ "VOID_FIELD")
  • {Line} #Line, {Row} #ID: {VoidField} {LineNotImported}
  • #ELSIF(#Reason EQ "NO_MAND_VALUE")
  • {Line} #Line: {NoMandValue} {LineNotImported}
  • #ELSIF(#Reason EQ "INVALID_CHARACTER")
  • {InvalidCharacterEncodingUsed}
  • #ELSIF(#Reason EQ "FLOAT_TOO_SMALL" OR #Reason EQ "INTEGER_TOO_SMALL")
  • {Line} #Line: {ValueTooSmall} {LineNotImported}
  • #ELSIF(#Reason EQ "FLOAT_TOO_LARGE" OR #Reason EQ "INTEGER_TOO_LARGE")
  • {Line} #Line: {ValueTooLarge} {LineNotImported}
  • #ELSIF(#Reason EQ "REFERENCED_IMAGE_MISSING")
  • {MissingImage}
  • #ELSIF(#Reason EQ "ONE_OR_MORE_REFERENCED_IMAGE_MISSING")
  • {MissingOneOrMoreImages}
  • #ELSIF(#Reason EQ "ONE_OR_MORE_REFERENCED_IMAGE_NOT_DOWNLOADABLE")
  • {ImageURLsNotDownloadable}
  • #ELSIF(#Reason EQ "REFERENCED_FILE_MISSING")
  • {MissingFile}
  • #ELSIF(#Reason EQ "STRING_TOO_LONG")
  • {Line} #Line: {StringTooLong} ({MaxLength}: #MaxLength {Characters}) {LineNotImported}
  • #ELSE #IF(NOT #Reason EQ "TOO_MANY_WARNINGS")
  • Reason #Reason #Name #Message
  • #ENDIF #ENDIF #ENDIF #ENDLOCAL #ENDLOOP
#IF(#FormErrors.Reason.TOO_MANY_WARNINGS)

{Notification}: {TooManyWarnings}

#ENDIF
#ENDIF #ELSE

{Notification}

#IF(#ImportFileName){NewImportFile}: #ImportFileName (#ImportFileSize[integer] kB)#ENDIF {UnknownError} #ENDIF
#REM #ENDREM #ENDIF #LOCAL("HelpCenterUrl", #HelpCenterUrl(#Session.User.Object))

{ImportWarningMessage} {UnityOpenHelpCenterLink}

#REM #ENDREM #ENDLOCAL
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{MaxFileSize}: #LOCAL("Size", #CALCULATE(#WebInterfaceConf.MAXCONTENTLENGTH / 1024)) #Size[float:1] #ENDLOCAL MByte
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{MaxFileSize}: #LOCAL("Size", #CALCULATE(#WebInterfaceConf.MAXCONTENTLENGTH / 1024)) #Size[float:1] #ENDLOCAL MByte
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{UnityFurtherOptions}
#REM #ENDREM
#REM #ENDREM

{ImportInfoBox}

#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{UnityBubbleHelpEncoding}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{UnityBubbleHelpFormatting}
#LOCAL("ErrorConsideredLocaleID", #FUNCTION("ERROR_VALUE", #CSVLocale, #Session.User.LocaleID)) #IF(NOT #FormError AND #INPUT.CSVLocale) #SET("ErrorConsideredLocaleID",#INPUT.CSVLocale) #ENDIF #ENDLOCAL
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#LOCAL("ErrorConsideredCSVDelimiter", #FUNCTION("ERROR_VALUE", #CSVDelimiter, "Comma")) #IF(NOT #FormError) #REM#ENDREM #IF(#Session.User.Locale.ListColumnSeparator EQ ",")#SET("ErrorConsideredCSVDelimiter","Comma")#ENDIF #IF(#Session.User.Locale.ListColumnSeparator EQ ";")#SET("ErrorConsideredCSVDelimiter","Semicolon")#ENDIF #IF(#Session.User.Locale.ListColumnSeparator NE "," AND #Session.User.Locale.ListColumnSeparator NE ";")#SET("ErrorConsideredCSVDelimiter","Tabulator")#ENDIF #REM#ENDREM #IF(#INPUT.CSVDelimiter)#SET("ErrorConsideredCSVDelimiter",#INPUT.CSVDelimiter)#ENDIF #ENDIF #ENDLOCAL
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#LOCAL("ErrorConsideredCSVLanguage", #FUNCTION("ERROR_VALUE", #CSVLanguage, "AllLanguages")) #IF(NOT #FormError AND #INPUT.CSVLanguage) #SET("ErrorConsideredCSVLanguage",#INPUT.CSVLanguage) #ENDIF #ENDLOCAL
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#ENDWITH_ERROR