Skip to content

Commit

Permalink
adding some missing _() for translator
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
  • Loading branch information
PaulPoulain authored and Joshua Ferraro committed Jan 5, 2008
1 parent 4f8b1f2 commit 4737d16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -14,13 +14,13 @@
function yuiToolbar() { function yuiToolbar() {


var newmenu = [ 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 --> <!-- /TMPL_LOOP -->
] ]


new YAHOO.widget.Button({ new YAHOO.widget.Button({
type: "menu", type: "menu",
label: "New Authority", label: _("New Authority"),
name: "newmenubutton", name: "newmenubutton",
menu: newmenu, menu: newmenu,
container: "newmenuc" container: "newmenuc"
Expand Down
Expand Up @@ -132,7 +132,7 @@ function confirmDelete(s,n){
<fieldset class="action"> <fieldset class="action">
<!-- TMPL_IF name="manageshelf" --> <!-- TMPL_IF name="manageshelf" -->
<!-- TMPL_IF NAME="itemsloop" --> <!-- 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 --><!-- /itemsloop -->
<!-- /TMPL_IF --><!-- /manageshelf --> <!-- /TMPL_IF --><!-- /manageshelf -->
</fieldset> </fieldset>
Expand Down Expand Up @@ -260,7 +260,7 @@ function confirmDelete(s,n){
<!-- TMPL_IF NAME="viewcategory3" -->Open<!-- /TMPL_IF --> <!-- TMPL_IF NAME="viewcategory3" -->Open<!-- /TMPL_IF -->
</td> </td>
<td><!-- TMPL_VAR NAME="shelfvirtualcount" --> </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 --> <!-- /TMPL_LOOP -->
</table> </table>
<!-- /TMPL_IF --> <!-- /TMPL_IF -->
Expand Down

0 comments on commit 4737d16

Please sign in to comment.