Use '' for non-translated strings

Pay attention to the style guidelines.

https://bugzilla.gnome.org/show_bug.cgi?id=660600
This commit is contained in:
Jasper St. Pierre
2011-09-30 17:30:47 -04:00
parent 4e114107ed
commit f13f5bc1bb
8 changed files with 16 additions and 16 deletions

View File

@ -157,9 +157,9 @@ Signals.addSignalMethods(Notebook.prototype);
function objectToString(o) {
if (typeof(o) == typeof(objectToString)) {
// special case this since the default is way, way too verbose
return "<js function>";
return '<js function>';
} else {
return "" + o;
return o.toString();
}
}
@ -322,7 +322,7 @@ ObjInspector.prototype = {
link = new St.Label({ text: '<error>' });
}
let hbox = new St.BoxLayout();
let propText = propName + ": " + valueStr;
let propText = propName + ': ' + valueStr;
hbox.add(new St.Label({ text: propName + ': ' }));
hbox.add(link);
this._container.add_actor(hbox);
@ -343,7 +343,7 @@ ObjInspector.prototype = {
this.actor.move_anchor_point(Math.floor(sourceX + sourceWidth / 2),
Math.floor(sourceY + sourceHeight / 2));
Tweener.addTween(this.actor, { scale_x: 1, scale_y: 1,
transition: "easeOutQuad",
transition: 'easeOutQuad',
time: 0.2 });
} else {
this.actor.set_scale(1, 1);