Bladeren bron

changed initIdioma() to initLang()

pecesama 18 jaren geleden
bovenliggende
commit
d0e8576f51
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 2 2
      classes/lang.functions.php
  2. 1 1
      config-sample.php

+ 2 - 2
classes/lang.functions.php Bestand weergeven

11
   =========================== */
11
   =========================== */
12
 ?>
12
 ?>
13
 <?php
13
 <?php
14
-function initIdioma($lang = "en") {
14
+function initLang($lang = "en") {
15
 	global $locale, $l10n;
15
 	global $locale, $l10n;
16
 
16
 
17
-	$input = new FileReader(dirname(__FILE__)."/../idiomas/". $locale ."/lang.mo");
17
+	$input = new FileReader(dirname(__FILE__)."/../languages/". $locale ."/lang.mo");
18
 	$l10n = new gettext_reader($input);
18
 	$l10n = new gettext_reader($input);
19
 }
19
 }
20
 
20
 

+ 1 - 1
config-sample.php Bestand weergeven

32
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
32
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
33
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');
33
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');
34
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'lang.functions.php');
34
 	require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'lang.functions.php');
35
-	initIdioma('en');
35
+	initLang('en');
36
 ?>
36
 ?>