]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
JS elgg.echo() returns the key if the string isn't found. This is consistent with...
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 15 Mar 2011 04:56:08 +0000 (04:56 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 15 Mar 2011 04:56:08 +0000 (04:56 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8718 36083f99-b078-4883-b0ff-0f9b5a30f544

js/lib/languages.js

index 06af1ca7f55d1dac259cf0c381e2abdfc1309381..0e3cf4472153535f12ef88231903a95c3cb7cb8b 100644 (file)
@@ -80,7 +80,7 @@ elgg.echo = function(key, argv, language) {
                return vsprintf(map[key], argv);
        }
 
-       return undefined;
+       return key;
 };
 
 elgg.config.translations.init = function() {