Fix issue on older systems, where the "N_"-prefix to a javascript-string is not known.

master
Jens Lody 8 years ago
parent 80d1afd499
commit 892652b9cb
  1. 3
      src/extension.js

@ -429,8 +429,7 @@ let extensionUpdateShowingNotification = function() {
tl = bl; tl = bl;
tr = br; tr = br;
} }
// add N before underscore (_), to prevent translation this._notification._table.set_style('border-radius: '+tl+'px '+tr+'px '+bl+'px '+br+'px;');
this._notification._table.set_style(N_('border-radius: %dpx %dpx %dpx %dpx;').format(tl, tr, bl, br));
} }
} }
// JRL changes end // JRL changes end

Loading…
Cancel
Save