removed localization directory from config file

This commit is contained in:
shiin 2012-04-27 21:09:29 +02:00
parent 10a96e3aba
commit ab8c700a94
2 changed files with 1 additions and 2 deletions

View File

@ -39,7 +39,6 @@ OSRM.DEFAULTS = {
SHORTENER_REPLY_PARAMETER: 'ShortURL',
LANGUAGE: "en",
LANGUAGE_FILES_DIRECTORY: "localization/",
LANUGAGE_ONDEMAND_RELOADING: true,
LANGUAGE_SUPPORTED: [
{display_name:"en", encoding:"en"},

View File

@ -92,7 +92,7 @@ setLanguage: function(language) {
if( supported_languages[i].encoding == language) {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = OSRM.DEFAULTS.LANGUAGE_FILES_DIRECTORY + "OSRM.Locale."+language+".js";
script.src = "localization/OSRM.Locale."+language+".js";
document.head.appendChild(script);
break;
}