From a64aa0077c259cf869fa9d3d80d6602ddfe7ce1f Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Fri, 4 Dec 2015 10:40:03 -0500 Subject: [PATCH] Return the original string if translation not found. --- themes/bootstrap3/js/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bootstrap3/js/common.js b/themes/bootstrap3/js/common.js index f2aa4983560..6ec9358ddd7 100644 --- a/themes/bootstrap3/js/common.js +++ b/themes/bootstrap3/js/common.js @@ -5,7 +5,7 @@ function VuFindNamespace(p, s) { var strings = s; var getPath = function() { return path; }; - var translate = function(op) { return strings[op]; }; + var translate = function(op) { return strings[op] || op; }; return { getPath: getPath, -- GitLab