Explorar el Código

changed language templatepath

eddiemachado hace 13 años
padre
commit
1b1aceb228
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      library/translation/translation.php

+ 3 - 3
library/translation/translation.php

@@ -10,9 +10,9 @@ URL: http://themble.com/bones/
 
 
 // Adding Translation Option
-load_theme_textdomain( 'bonestheme', TEMPLATEPATH.'/languages' );
-$locale = get_locale();
-$locale_file = TEMPLATEPATH."/languages/$locale.php";
+load_theme_textdomain( 'bonestheme', TEMPLATEPATH.'/library/translation' );
+	$locale = get_locale();
+	$locale_file = TEMPLATEPATH."/library/translation/$locale.php";
 if ( is_readable($locale_file) ) require_once($locale_file);