summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locale.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale.js b/locale.js
index fa71c08..f366f16 100644
--- a/locale.js
+++ b/locale.js
@@ -64,7 +64,7 @@ Localizer.prototype.translate = function (string) {
return Object.prototype.hasOwnProperty.call(
this.dict[this.language],
string
- ) ? this.dict[this.language][string] || string;
+ ) ? this.dict[this.language][string] : string;
};
Localizer.prototype.languages = function () {