adding some missing _() for translator
authorPaul POULAIN <paul.poulain@biblibre.com>
Fri, 4 Jan 2008 16:40:08 +0000 (17:40 +0100)
committerJoshua Ferraro <jmf@liblime.com>
Sat, 5 Jan 2008 00:09:37 +0000 (18:09 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl

index b67117c..d734a0d 100644 (file)
        function yuiToolbar() {   
        
                var newmenu = [
-                       <!-- TMPL_LOOP name="authtypesloop" -->{ text: "New <!-- TMPL_VAR name="authtypetext" -->", url: "/cgi-bin/koha/authorities/authorities.pl?authtypecode=<!-- TMPL_VAR name="value" -->"},
+                       <!-- TMPL_LOOP name="authtypesloop" -->{ text: "<!-- TMPL_VAR name="authtypetext" -->", url: "/cgi-bin/koha/authorities/authorities.pl?authtypecode=<!-- TMPL_VAR name="value" -->"},
 <!-- /TMPL_LOOP -->
                ]
 
            new YAHOO.widget.Button({
                type: "menu",
-               label: "New Authority",
+               label: _("New Authority"),
                name: "newmenubutton",
                menu: newmenu,
                container: "newmenuc"
index d810899..2415a7c 100644 (file)
@@ -132,7 +132,7 @@ function confirmDelete(s,n){
         <fieldset class="action">
         <!-- TMPL_IF name="manageshelf" -->
         <!-- TMPL_IF NAME="itemsloop" -->
-            <input type="submit" value="Remove selected Items" onclick="return confirm('Are you sure you want to remove these items from the shelf?')" />
+            <input type="submit" value="Remove selected Items" onclick="return confirm(_('Are you sure you want to remove these items from the shelf?'))" />
         <!-- /TMPL_IF --><!-- /itemsloop -->
         <!-- /TMPL_IF --><!-- /manageshelf -->
         </fieldset>
@@ -260,7 +260,7 @@ function confirmDelete(s,n){
 <!-- TMPL_IF NAME="viewcategory3" -->Open<!-- /TMPL_IF -->
 </td>
 <td><!-- TMPL_VAR NAME="shelfvirtualcount" --> </td>
-<td><!-- TMPL_IF name="mine" --><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=modif&amp;shelf=<!-- TMPL_VAR NAME="shelf" -->">Edit</a> <a href="/cgi-bin/koha/virtualshelves/shelves.pl?shelves=1&amp;DEL-<!-- TMPL_VAR NAME="shelf" -->=1" onclick="return confirmDelete('Are you sure you want to remove this List?')">Delete</a><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td></tr>
+<td><!-- TMPL_IF name="mine" --><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=modif&amp;shelf=<!-- TMPL_VAR NAME="shelf" -->">Edit</a> <a href="/cgi-bin/koha/virtualshelves/shelves.pl?shelves=1&amp;DEL-<!-- TMPL_VAR NAME="shelf" -->=1" onclick="return confirmDelete(_('Are you sure you want to remove this List?'))">Delete</a><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td></tr>
 <!-- /TMPL_LOOP -->
 </table>
 <!-- /TMPL_IF -->