From 5a9f12e7115cdc78a08f4a5cc5291021b9f46bf5 Mon Sep 17 00:00:00 2001
From: Ere Maijala <ere.maijala@helsinki.fi>
Date: Tue, 8 Mar 2016 18:07:11 +0200
Subject: [PATCH] Translate 'close' button in lightbox.

---
 themes/bootstrap3/js/lightbox.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js
index f77231400d4..5a6cb8f8f7d 100644
--- a/themes/bootstrap3/js/lightbox.js
+++ b/themes/bootstrap3/js/lightbox.js
@@ -17,7 +17,7 @@ VuFind.lightbox = (function() {
       type = 'info';
     }
     _html('<div class="alert alert-'+type+'">'+message+'</div>\
-    <button class="btn btn-default" data-dismiss="modal">close</button>');
+    <button class="btn btn-default" data-dismiss="modal">' + VuFind.translate('close') + '</button>');
     _modal.modal('show');
   };
   var flashMessage = function(message, type) {
-- 
GitLab