kopia lustrzana https://github.com/backface/turtlestitch
Fixed #51
rodzic
cfc84accea
commit
74e679a538
|
@ -64,7 +64,7 @@ Localizer.prototype.translate = function (string) {
|
||||||
return Object.prototype.hasOwnProperty.call(
|
return Object.prototype.hasOwnProperty.call(
|
||||||
this.dict[this.language],
|
this.dict[this.language],
|
||||||
string
|
string
|
||||||
) ? this.dict[this.language][string] || string;
|
) ? this.dict[this.language][string] : string;
|
||||||
};
|
};
|
||||||
|
|
||||||
Localizer.prototype.languages = function () {
|
Localizer.prototype.languages = function () {
|
||||||
|
|
Ładowanie…
Reference in New Issue