Changeset 491 for trunk/plog-globals.php

Show
Ignore:
Timestamp:
01/21/08 17:20:22 (12 months ago)
Author:
kasper
Message:

Added plog_tr functions in the entire gallery (not just the admin), so that everything is now translatable. For themes, only the default theme is translatable.
Translated the entire gallery to danish.
Added code to allow videos, showing a thumb-nail for a video instead of returning an error.
Ajax editing of international characters in caption, now shows the correct characters.
Tested code that jumps down to id tags for previous and next buttons, code not active, I am not sure whether or not everyone want this behaviour.
Tested a new installation based on the code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plog-globals.php

    r422 r491  
    2626$locale = "en_US"; 
    2727 
    28 $mofile = "../plog-translations/" . $locale . ".mo"; 
     28$mofile = dirname(__FILE__).DIRECTORY_SEPARATOR . "plog-translations/" . $locale . ".mo"; 
    2929 
    3030// If the mo file does not exist or is not readable, or if the locale is