Skip to content
Snippets Groups Projects
Commit a64aa007 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Return the original string if translation not found.

parent d89b6242
No related merge requests found
...@@ -5,7 +5,7 @@ function VuFindNamespace(p, s) { ...@@ -5,7 +5,7 @@ function VuFindNamespace(p, s) {
var strings = s; var strings = s;
var getPath = function() { return path; }; var getPath = function() { return path; };
var translate = function(op) { return strings[op]; }; var translate = function(op) { return strings[op] || op; };
return { return {
getPath: getPath, getPath: getPath,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment