Ver Fonte

changed language templatepath

eddiemachado há 13 anos atrás
pai
commit
1b1aceb228
1 ficheiros alterados com 3 adições e 3 exclusões
  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
 // 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);
 if ( is_readable($locale_file) ) require_once($locale_file);