View | Details | Raw Unified | Return to bug 11304
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +3 lines)
Lines 1467-1483 Link Here
1467
              }, function (data) {
1467
              }, function (data) {
1468
1468
1469
                if (data.auth_status != 'ok') {
1469
                if (data.auth_status != 'ok') {
1470
                  window.alert(_('Your CGI session cookie is not current. Please refresh the page and try again.'));
1470
                  window.alert(_("Your CGI session cookie is not current. Please refresh the page and try again."));
1471
                } else {
1471
                } else {
1472
                  $("#rating_value").val(data.rating_value);
1472
                  $("#rating_value").val(data.rating_value);
1473
1473
1474
                  if (data.rating_value) {
1474
                  if (data.rating_value) {
1475
                    $("#rating_value_text").text(_('your rating: ') + data.rating_value + ', ');
1475
                    $("#rating_value_text").text(_("your rating: ") + data.rating_value + ", ");
1476
                  } else {
1476
                  } else {
1477
                    $("#rating_value_text").text('');
1477
                    $("#rating_value_text").text('');
1478
                  }
1478
                  }
1479
1479
1480
                  $("#rating_text").text(_('average rating: ') + data.rating_avg_int + ' (' + data.rating_total + ' ' + _("votes") + ')');
1480
                  $("#rating_text").text(_("average rating: ") + data.rating_avg_int + " (" + data.rating_total + ' ' + _("votes") + ")");
1481
1481
1482
                }
1482
                }
1483
              }, "json");
1483
              }, "json");
(-)a/xt/single_quotes.t (-3 / +5 lines)
Lines 28-35 find( Link Here
28
        open my $fh, $_ or die "Could not open $_: $!";
28
        open my $fh, $_ or die "Could not open $_: $!";
29
        my @lines = sort grep /\_\(\'/, <$fh>;
29
        my @lines = sort grep /\_\(\'/, <$fh>;
30
        push @files, { name => "$_", lines => \@lines } if @lines;
30
        push @files, { name => "$_", lines => \@lines } if @lines;
31
    },
31
    },qw#
32
    ( "./koha-tmpl/opac-tmpl/prog/en", "./koha-tmpl/intranet-tmpl/prog/en" )
32
    ./koha-tmpl/opac-tmpl/prog/en
33
    ./koha-tmpl/opac-tmpl/bootstrap/en
34
    ./koha-tmpl/intranet-tmpl/prog/en
35
    #
33
);
36
);
34
37
35
ok( !@files, "Files do not contain single quotes _(' " )
38
ok( !@files, "Files do not contain single quotes _(' " )
36
- 

Return to bug 11304