i18next / i18next-gitbook

165 stars 172 forks source link

Minor typo in docs #33

Closed minitauros closed 6 years ago

minitauros commented 6 years ago

Just a notification, took me some time but then I got it working ;)

https://www.i18next.com/add-or-load-translations.html#

In the "Add after init" part, there's a single quote missing in the example. Just notifying you guys in case you have as much OCD as me.

// Missing a single quote after 'en
i18next.addResourceBundle('en, 'namespace1', {
  key: 'hello from namespace 1'
});
jamuhl commented 6 years ago

thank you...publishing an update right now.