pragmaMx Support Forum

pragmaMx => integrierte Module => Thema gestartet von: gabin in 08 Februar 2007, 09:33:39

Titel: Downloads\includes\functions.php
Beitrag von: gabin in 08 Februar 2007, 09:33:39
Hallo an das pragmaMX-Team und alle anwesenden,


auf Zeile 1038 von  Downloads\includes\functions.php steht immer noch:
Zitat
$options[] = '<option value="0">No Categories available</option>';


Frage:
Warum macht man nicht aus dem "No Categories available" eine Sprachkonstante?

Das wäre gut für die Übersetzung in anderen Sprachen.

Gruß

gabin
Titel: Re: Downloads\includes\functions.php
Beitrag von: diabolo in 08 Februar 2007, 09:54:46
Hi,
You can add it:

$options[] = '<option value="0">' . _NOCATAVAILABLE . '</option>';

and add in modules/Downloads/language/YOUR LANGUAGE

ADD:

define("_NOCATAVAILABLE", "No Categories available");

I will make the changes for cvs  :thumbup:
Titel: Re: Downloads\includes\functions.php
Beitrag von: gabin in 08 Februar 2007, 10:17:39
Super!

Nun ich schlage vor, diese Sprachkonstante für die nächsten Versionen zu übernehmen.

Danke Diabolo

gabin

Titel: Re: Downloads\includes\functions.php
Beitrag von: diabolo in 08 Februar 2007, 10:34:54
Done and also for Web_links module  ;)

If you see another "Sprachkonstante" forgotten , post it, i' ll make the changes  ;)