Bug 10002 - Don't include line breaks in strings that are translated
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / cat-toolbar.inc
index 2dde5ad..f669d2c 100644 (file)
@@ -34,9 +34,9 @@
 
         var is_confirmed;
        if (count > 0){
-            is_confirmed = alert( count + " " +_("item(s) are attached to this record.\nYou must delete all items before deleting this record.") );
+            is_confirmed = alert( count + " " +_("item(s) are attached to this record. You must delete all items before deleting this record.") );
         } else if ( holdcount > 0 ) {
-            is_confirmed = confirm( holdcount + " " + _("holds(s) for this record \n Are you sure you want to delete this record?."));
+            is_confirmed = confirm( holdcount + " " + _("hold(s) on this record. Are you sure you want to delete this record?."));
         } else {
             is_confirmed = confirm(_("Are you sure you want to delete this record?"));
         }
@@ -59,7 +59,7 @@
         var holdcount = [% holdcount %];
 
         if ( holdcount > 0 ) {
-            alert( holdcount + " " + _("holds(s) for this record \n You must delete all holds before deleting all items.") );
+            alert( holdcount + " " + _("hold(s) on this record. You must delete all holds before deleting all items.") );
         } else if ( count > 0 ) {
             if( confirm( _("Are you sure you want to delete the") + " " + count + " " + _("attached items?") ) ) {
                 window.location="/cgi-bin/koha/cataloguing/additem.pl?op=delallitems&biblionumber=[% biblionumber %]";