From 8cc4ed69e1438a0987f4631b552e7576212ee7c6 Mon Sep 17 00:00:00 2001 From: David Nind Date: Sat, 30 Sep 2023 09:03:06 +0000 Subject: [PATCH] Bug 34942: Fix typo - 'brower' to 'browser' This fixes a typo in a message used in the advanced cataloguing editor when macros are converted from being stored in the browser to being stored in the database (bug 17268 - Advanced cataloging editor - rancor - macros are lost when browser storage cleared). Test plan: 1. Search for 'brower' in the codebase - there should be one occurance: grep -rn --exclude=*.po brower * 2. Apply the patch. 3. Run the search in step 1 again, there should now be no occurances. 4. Review the diff for the patch a nd make sure that the change makes sense. 5. Sign off! 8-) Signed-off-by: David Nind Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 7ec0a8ae60190c1d2baf716bb4c922ded0ef24b7) Signed-off-by: Fridolin Somers (cherry picked from commit 20a99ed86c7ec023db39de9a1fb3cfaad75b762b) Signed-off-by: Jacob O'Mara --- koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc index 4bb87d7a87..80e22e10a2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc @@ -870,7 +870,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr if( Object.keys(Preferences.user.macros).length ){ $convert = $( '' ); $convert.click( function(){ - if( !confirm( _("This will retrieve macros stored in the brower, save them in the database, and delete them from the browser. Proceed?") ) ){ + if( !confirm( _("This will retrieve macros stored in the browser, save them in the database, and delete them from the browser. Proceed?") ) ){ return; } convertOldMacros(); -- 2.39.5