#1526 Bad JAS variables

closed-fixed
Darren Greene
None
5
2005-05-18
2005-05-17
Doriano Cometto
No

PhpWebSite Version: 0.10.1 (phpwebsite-0.10.1-full.tar.gz)

In the file ./mod/documents/inc/runtime.php on row 26
there is a sentence non traducible in some foreing
language, because it is divided in more than one part.
In general it is very hard to translate a sentence
composed using many single variables like
JAS_DOCUMENT_SINGULAR or JAS_DOCUMENT_PLURAL, because
normally the order in which they appear in the original
sentence don't fit the destination language's grammar
rules.
Please, think a sentence like a date: you can write
2005-04-19, or 04-19-2005, 04-2005-19, but it is always
the same day.

The same problem there is in
./mod/stats/class/StatsHits.php on row 211 and row 223.

Discussion

  • Darren Greene
    Darren Greene
    2005-05-18

    Logged In: YES
    user_id=783140

    This has now been fixed in CVS. The constants for singular
    and plural have been removed. The changes should make it
    much easier to translate to another language.

    Thanks,
    Darren

     
  • Darren Greene
    Darren Greene
    2005-05-18

    • assigned_to: nobody --> dg49379
    • status: open --> closed-fixed