Commit r2401: https://sourceforge.net/p/mrbs/code/2401/
------------------------------------------------------------------------
r2401 | cimorrison | 2012-09-11 10:10:07 +0100 (Tue, 11 Sep 2012) | 1 line
Changed paths:
M /mrbs/trunk/web/language.inc
Fixed bug which meant that the datatables strings were not being translated
------------------------------------------------------------------------
Index: mrbs/trunk/web/language.inc
===================================================================
--- mrbs/trunk/web/language.inc (revision 2400)
+++ mrbs/trunk/web/language.inc (revision 2401)
@@ -635,7 +635,7 @@
global $langs, $lang_map_windows, $server_os;
$found_lang = FALSE;
- $language_dir = "jquery/datatables/language"; // location of dataTables
language files
+ $language_dir = "../jquery/datatables/language"; // location of dataTables
language files
// If automatic language changing is disabled, then use the $override_locale
// as the first choice of language, and then second the default language
tokens
@@ -696,7 +696,8 @@
}
}
- return ($found_lang) ? $lang_file : FALSE;
+ // We need to strip the "../" off the start of the $lang_file, hence 3
+ return ($found_lang) ? substr($lang_file, 3) : FALSE;
}
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits