The LC_MESSAGES dir isn't necessary
[gitphp.git] / include / Resource.class.php
blob:a/include/Resource.class.php -> blob:b/include/Resource.class.php
--- a/include/Resource.class.php
+++ b/include/Resource.class.php
@@ -61,7 +61,7 @@
 		$reader = null;
 
 		if (!(($locale == 'en_US') || ($locale == 'en'))) {
-			$reader = new FileReader(GITPHP_LOCALEDIR . $locale . '/LC_MESSAGES/gitphp.mo');
+			$reader = new FileReader(GITPHP_LOCALEDIR . $locale . '/gitphp.mo');
 		}
 
 		self::$instance = new gettext_reader($reader);

comments