Commit f2f8e3b106f55a9072067f051e194fd96280310a
1 parent
10713660
Exists in
master
and in
29 other branches
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 | 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 | 3 | <html> |
4 | 4 | <head> |
5 | + <link rel="shortcut icon" href="<%= '/designs/themes/' + current_theme + '/images/favicon.ico' %>" type="image/x-icon" /> | |
5 | 6 | <title><%= |
6 | 7 | (@page ? @page.name + ' - ' : '') + |
7 | 8 | (@profile ? @profile.name + ' - ' : '') + |
... | ... | @@ -14,13 +15,15 @@ |
14 | 15 | <script language="javascript"> |
15 | 16 | <!-- |
16 | 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 | 21 | $("#slideshow").SliderJS({ |
19 | 22 | window_width: 320, |
20 | 23 | window_height: 55, |
21 | 24 | list_width: 832, |
22 | 25 | pikachoose: true, |
23 | - auto_play: false | |
26 | + auto_play: false, | |
24 | 27 | }); |
25 | 28 | }); |
26 | 29 | --> | ... | ... |