[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/media/includes/classes
From:       Chris Howells <howells () kde ! org>
Date:       2003-06-23 21:03:14
[Download RAW message or body]

CVS commit by howells: 

Try to enable translations on kde.org, without enabling them on stuff like \
apps/konqueror which currently won't work and will need some thinking about (because \
we use $site_root to find the location of the dictionary to load the translation)


  M +5 -1      class_translate.inc   1.18


--- www/media/includes/classes/class_translate.inc  #1.17:1.18
@@ -26,5 +26,9 @@
                 print "<!-- including $dir_file and $media_file -->\n";
 
-                /*include_once($media_file);*/
+                global $site_external;
+                if (!$site_external)
+                {
+                        include_once($media_file);
+                }
                 /*include_once($dictionary/media.inc");*/
         }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic