Syntax error in Danish translation file da.xml

If you aren't speaking german, you can ask for support or post your request here.
Antworten
jorola
Beiträge: 31
Registriert: 12. Okt 2020, 09:10

Syntax error in Danish translation file da.xml

Beitrag von jorola »

After update to 5.0.1 (from 4.3.16): Syntax error in da.xml (Danish language) causing php to fail.
There is an error at line 1051 col. 202.

<string name="SYS_NOTIFICATION_NEW_ENTRIES_DESC">Medlemmer af den gemte notifikationsrolle vil få en systemnotifikation for nye eller ændrede poster i modulerne Meddelelser, Begivenheder, Dokumenter & Filer, fotos, weblinks og forum. (Standard: nej)</string>

The ampersand between "Dokumenter" and "Filer" causes parsing the file to fail. Changed to ''og'.

Best regards
Johnny
Benutzeravatar
fasse
Administrator
Beiträge: 6317
Registriert: 12. Nov 2005, 16:06

Re: Syntax error in Danish translation file da.xml

Beitrag von fasse »

Hi Johnny,

thanks for the hint and the solution. This will be fixed within the next release.
https://github.com/Admidio/admidio/issues/1908

Best
Fasse
jorola
Beiträge: 31
Registriert: 12. Okt 2020, 09:10

Re: Syntax error in Danish translation file da.xml

Beitrag von jorola »

Hi Fasse.
Unfortunately I have had a delay on upgrading Admidio. so today I updated to 5.0.4.
There is a new syntax error in the da.xml file on line 695:

<string name="SYS_FOLDER_NAME_INVALID">Det valgte mappenavn #VAR1_BOLD# indeholder ugyldige tegn. Tjek venligst mappenavnet.\n\nFølgende specialtegn er ikke tilladt: ? * ~ ; : \" | < > / \ </string>

You are using XML specific characters < > inside the string.
I have replaced by &lt; and &gt; just as in de.xml.

BR Johnny
Antworten