diff --git a/README.md b/README.md index b0d0781472..c3887aa1f1 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## How to translate a string - If the string is in a `.jade` file it can be accessed with `env.t('string name here')` -- If the string is in a `.js` file it can be accessed with `window.env.t['string name here']` +- If the string is in a `.js` file it can be accessed with `window.env.t('string name here')` HabitRPG ===============