<?xml version="1.0" encoding="utf-8" ?>

<!-- 
This is the configuration file for the DFU application.

The name of this file must be equal to the name of the application executable 
except the extension which must be .xml.
Example:
Name of the application:    MyApp.exe
Required name of this file: MyApp.xml
The XML file must be located in the same folder as the application exe.

IMPORTANT! This file contains text that is displayed in the graphical user interface.
To support different languages, this file has to use UTF-8 encoding!
If you are using Windows Notepad for editing, choose Encoding = "UTF-8" in the 
File - Save As dialog.

Localization:
The XML file allows it to specify each string of the graphical user interface in different 
languages. The application chooses the language to display by asking the system for
the locale identifier that corresponds to the UI language for the current user. Then it 
checks separately for each string in the XML file whether it is available for this locale 
identifier (LCID). If not it looks for a default string. If there is no default string a 
hard-coded string is used instead. 
To specify a default string use the element <Default>. For each additional language that
should be supported add the element <Locale LCID="0x...."> where 0x.... specifies the 
local identifier of the language. Please refer to the Microsoft Developer Network (MSDN)
for specific identifier values (e.g. the "National Language Support (NLS) API Reference" 
at http://msdn.microsoft.com/en-us/goglobal/bb896001.aspx). For each string only one 
<Default> element can be specified while the number of <Locale> elements is not limited.

Format Version:
The major format version number will be incremented if changes are made to the XML format
that are incompatible with older application implementations.
The minor format version number will be incremented if changes are made to the XML format
that are still compatible with older application implementations, e.g. additional items
which will simply be ignored by existing implementations. 
-->

<!-- Locales:
  LCID="0x0407" -> German (Germany)
  LCID="0x0411" -> Japanese (Japan)
  LCID="0x0804" -> Chinese (China)
  LCID="0x040C" -> French (France) 
-->

<DFU FormatVersionMajor="2" FormatVersionMinor="0">
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <!-- GUID required to locate the driver DLL.
       IMORTANT: This GUID must be equal to the one specified in the 
       InterfaceGUID= statement in custom.ini 
-->
<DriverInterfaceGUID>{3B39E8F1-5A61-44D6-8F3E-B3D75A6D6352}</DriverInterfaceGUID>
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <Title>
    <Default>TempoTec Audio Firmware Upgrade</Default>
    <Locale LCID="0x0407">TempoTec Audio Firmware Upgrade</Locale>    
  </Title>
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <!-- Optional name of the file that contains the application icon. If present
  the icon must be located in the same folder like the application. -->
  <Icon>TempoTecAudioDfu.ico</Icon>  
  
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <MainDialog>
    <GroupBoxDevice>
      <Title>
        <Default>Device</Default>
        <Locale LCID="0x0407">Gerät</Locale>
      </Title>
      <LabelManufacturer>
        <Default>Manufacturer:</Default>
        <Locale LCID="0x0407">Hersteller:</Locale>
      </LabelManufacturer>
      <LabelProduct>
        <Default>Product:</Default>
        <Locale LCID="0x0407">Produkt:</Locale>
      </LabelProduct>
      <LabelVidPid>
        <Default>VID/PID:</Default>
        <Locale LCID="0x0407">VID/PID:</Locale>
			</LabelVidPid>
      <LabelserialNb>
        <Default>Serial number:</Default>
        <Locale LCID="0x0407">Seriennummer:</Locale>
      </LabelserialNb>
      <LabelFwVersion>
        <Default>Current Firmware:</Default>
        <Locale LCID="0x0407">Aktuelle Firmware:</Locale>
      </LabelFwVersion>
    </GroupBoxDevice>
    <!-- .................................................................. -->
    <GroupBoxFirmware>
      <Title>
        <Default>Firmware</Default>
        <Locale LCID="0x0407">Firmware</Locale>
			</Title>
      <!--You may specify a fixed firmware file to use. In this case the user cannot
      choose another file. The file is expected in the same folder like the application.
      Therefore please specify only the name of the file without any path. If no name 
      is provided the user can choose the file themselfs.-->
      <FixedFirmwareFile></FixedFirmwareFile>
      <!--Major version of the firmware in the firmware file. The value is meaningless 
         if no fixed firmware file is specified. -->
      <FirmwareMajorVersion>1</FirmwareMajorVersion>
      <!--Minor version of the firmware in the firmware file. The value is meaningless 
         if no fixed firmware file is specified.-->
      <FirmwareMinorVersion>0</FirmwareMinorVersion>
      <ButtonBrowse>
        <Default>Browse...</Default>
        <Locale LCID="0x0407">Durchsuchen...</Locale>
      </ButtonBrowse>
    </GroupBoxFirmware>
    <!-- .................................................................. -->
    <GroupBoxUpgrade>
      <Title>
        <Default>Upgrade</Default>
        <Locale LCID="0x0407">Aktualisierung</Locale>
      </Title>
      <StatusText>
        <StatusIdle>
          <Default></Default>
        </StatusIdle>
        <StatusDeviceOpened>
          <Default>Device opened.</Default>
          <Locale LCID="0x0407">Ein Gerät wurde geöffnet.</Locale>
        </StatusDeviceOpened>
        <StatusReadyToUpdate>
          <Default>Ready for firmware update.</Default>
          <Locale LCID="0x0407">Bereit zum Aktualisieren der Firmware.</Locale>
        </StatusReadyToUpdate>
        <StatusReadyToUpdateVersion>
          <!-- The strings $CurVer$ and $NewVer$ are placeholders for the current and new firmware
					version and must not be changed! Also the strings should occur in every translation.
					If no fixed firmware file is specified (i.e. no version information about the new 
					firmware is available) the StatusReadyToUpdate message is used instead. -->
          <Default>Ready for firmware update from version $CurVer$ to $NewVer$.</Default>
          <Locale LCID="0x0407">Bereit zum Aktualisieren der Firmware von Version $CurVer$ auf $NewVer$.</Locale>
        </StatusReadyToUpdateVersion>
        <StatusInitializing>
          <Default>Initializing...</Default>
          <Locale LCID="0x0407">Initialisierung...</Locale>
        </StatusInitializing>
        <StatusEnteringDfuMode>
          <Default>Entering upgrade mode...</Default>
          <Locale LCID="0x0407">Starte Aktualisierungsmodus...</Locale>
        </StatusEnteringDfuMode>
        <StatusInProgress>
          <Default>Upgrading firmware...</Default>
          <Locale LCID="0x0407">Firmware wird aktualisiert...</Locale>
        </StatusInProgress>
        <StatusEnteringAppMode>
          <Default>Starting firmware...</Default>
          <Locale LCID="0x0407">Firmware wird gestartet...</Locale>
        </StatusEnteringAppMode>
        <StatusSuccessfullyFinished>
          <Default>Firmware upgrade finished successfully.</Default>
          <Locale LCID="0x0407">Die Firmware wurde erfolgreich aktualisiert.</Locale>
        </StatusSuccessfullyFinished>
        <StatusFailed>
          <Default>Firmware upgrade failed!</Default>
          <Locale LCID="0x0407">Die Aktualisierung der Firmware ist fehlgeschlagen!</Locale>
        </StatusFailed>
      </StatusText>
      <ButtonStart>
        <Default>Start</Default>
        <Locale LCID="0x0407">Start</Locale>
			</ButtonStart>
    </GroupBoxUpgrade>
    <!-- .................................................................. -->
    <ButtonClose>
      <Default>Exit</Default>
      <Locale LCID="0x0407">Beenden</Locale>
    </ButtonClose>
  </MainDialog>
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <ErrorMessage>
    <CommonError>
      <Default>$Caller$: Function $Function$ failed with error code $ErrorCode$.</Default>
      <Locale LCID="0x0407">$Caller$: Funktion $Function$ fehlgeschlagen mit Fehler $ErrorCode$.</Locale>
    </CommonError>
		<UpgradeFailed>
			<Default>The firmware update procedure failed with error code $ErrorCode$.</Default>
			<Locale LCID="0x0407">Firmwareaktualisierung fehlgeschlagen mit Fehler $ErrorCode$.</Locale>
		</UpgradeFailed>
		<DriverApiDllNotFound>
			<Default>The driver DLL required to access the device is missing.</Default>
			<Locale LCID="0x0407">Die DLL für den Zugriff auf den Gerätetreiber ist nicht vorhanden.</Locale>
		</DriverApiDllNotFound>
		<DriverApiDllNotCompatible>
			<Default>The driver DLL required to access the device is not compatible with this application version.</Default>
			<Locale LCID="0x0407">Die Version der DLL für den Zugriff auf den Gerätetreiber ist nicht kompatibel zu dieser Anwendung.</Locale>
		</DriverApiDllNotCompatible>
		<DriverApiDllWithoutIni>
			<Default>The configuration file for the driver DLL required to access the device is missing.</Default>
			<Locale LCID="0x0407">Die Konfigurationsdatei der DLL für den Zugriff auf den Gerätetreiber ist nicht vorhanden.</Locale>
		</DriverApiDllWithoutIni>
		<DriverApiDllWithInvalidIni>
			<Default>The configuration file for the driver DLL required to access the device is invalid.</Default>
			<Locale LCID="0x0407">Die Konfigurationsdatei der DLL für den Zugriff auf den Gerätetreiber ist ungültig.</Locale>
		</DriverApiDllWithInvalidIni>
		<FailedToOpenFirmwareFile>
			<Default>Unable to open the specified firmware file.</Default>
			<Locale LCID="0x0407">Die Firmwaredatei konnte nicht geöffnet werden.</Locale>
		</FailedToOpenFirmwareFile>
		<InvalidFirmwareFile>
			<Default>The specified firmware file is invalid.</Default>
			<Locale LCID="0x0407">Die Firmwaredatei ist ungültig.</Locale>
		</InvalidFirmwareFile>
		<FailedToReadFirmwareFile>
			<Default>Unable to read from the specified firmware file.</Default>
			<Locale LCID="0x0407">Die Firmwaredatei konnte nicht gelesen werden.</Locale>
		</FailedToReadFirmwareFile>
		<NoDeviceConnected>
			<Default>No device found. Please plug in the device you want to upgrade.</Default>
			<Locale LCID="0x0407">Kein Gerät gefunden. Bitte schließen Sie das zu aktualisierende Gerät an.</Locale>
		</NoDeviceConnected>
		<TooManyDevicesConnected>
      <Default>More than one device found. Please plug in exactly one device.</Default>
      <Locale LCID="0x0407">Mehr als ein Gerät gefunden. Bitte schließen Sie genau ein Gerät an.</Locale>
    </TooManyDevicesConnected>
  </ErrorMessage>
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  <QuestionYesNO>
    <ConfirmToAbort>
      <Default>The firmware upgrade is currently running. The device could be damaged if you abort now. Do you really want to abort?</Default>
      <Locale LCID="0x0407">Die Firmware wird gerade aktualisiert. Wenn Sie jetzt abbrechen, kann das Gerät beschädigt werden. Möchten Sie wirklich abbrechen?</Locale>
    </ConfirmToAbort>
  </QuestionYesNO>
  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
</DFU>
