Commit f2f8e3b106f55a9072067f051e194fd96280310a

Authored by Antonio Terceiro
1 parent 10713660

ActionItem929: translate the labels for pikachoose

Showing 1 changed file with 5 additions and 2 deletions   Show diff stats
app/views/layouts/slideshow.rhtml
@@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html> 3 <html>
4 <head> 4 <head>
  5 + <link rel="shortcut icon" href="<%= '/designs/themes/' + current_theme + '/images/favicon.ico' %>" type="image/x-icon" />
5 <title><%= 6 <title><%=
6 (@page ? @page.name + ' - ' : '') + 7 (@page ? @page.name + ' - ' : '') +
7 (@profile ? @profile.name + ' - ' : '') + 8 (@profile ? @profile.name + ' - ' : '') +
@@ -14,13 +15,15 @@ @@ -14,13 +15,15 @@
14 <script language="javascript"> 15 <script language="javascript">
15 <!-- 16 <!--
16 $(document).ready(function (){ 17 $(document).ready(function (){
17 - $("#slideshow").PikaChoose(); 18 + $("#slideshow").PikaChoose({
  19 + buttons: { play: <%= _("Play").to_json %>, stop: <%= _("Stop").to_json %>, previous: <%= _("Previous").to_json %>, next: <%= _("Next").to_json %> }
  20 + });
18 $("#slideshow").SliderJS({ 21 $("#slideshow").SliderJS({
19 window_width: 320, 22 window_width: 320,
20 window_height: 55, 23 window_height: 55,
21 list_width: 832, 24 list_width: 832,
22 pikachoose: true, 25 pikachoose: true,
23 - auto_play: false 26 + auto_play: false,
24 }); 27 });
25 }); 28 });
26 --> 29 -->