From ac6a5ae8d241ad6c1f095a86f9f23f0d766bc1ff Mon Sep 17 00:00:00 2001 From: Keith Holliday Date: Thu, 15 Feb 2018 21:25:44 -0700 Subject: [PATCH] Registered new funtion as translation (#10005) --- website/common/script/content/gear/weapon.js | 1 + 1 file changed, 1 insertion(+) diff --git a/website/common/script/content/gear/weapon.js b/website/common/script/content/gear/weapon.js index d893e001ce..62578e6310 100644 --- a/website/common/script/content/gear/weapon.js +++ b/website/common/script/content/gear/weapon.js @@ -60,6 +60,7 @@ for (let key in weapon) { return `${oldnotes(lang)} ${twoHandedText}`; }; + item.notes.i18nLangFunc = true; // See https://github.com/HabitRPG/habitica/blob/develop/website/common/script/content/translation.js#L8 } }