I have created some strings in the appropriate {{mf}} format and msgfmt:extract has recognized them automatically. However, when I create a new language in the UI, and when I translate the strings, they do not get saved. Instead, I am getting this:
I20160105-07:12:20.904(1)? Exception while invoking method '/mfStrings/insert' Error: Meteor.userId can only be invoked in method calls. Use this.userId in publish functions.
I20160105-07:12:20.905(1)? at AccountsServer.userId (accounts_server.js:80:13)
I20160105-07:12:20.905(1)? at Object.Meteor.userId (accounts_common.js:222:19)
I20160105-07:12:20.905(1)? at mfPkg.webUI.allowFuncs (packages/msgfmt_ui/lib/common.js:2:1)
I20160105-07:12:20.905(1)? at packages/msgfmt_ui/lib/common.js:9:1
I20160105-07:12:20.906(1)? at Array.some (native)
I20160105-07:12:20.906(1)? at Function._.some._.any (packages/underscore/underscore.js:233:1)
I20160105-07:12:20.906(1)? at mfPkg.webUI.allowed (packages/msgfmt_ui/lib/common.js:8:1)
I20160105-07:12:20.906(1)? at packages/mongo/collection.js:983:1
I20160105-07:12:20.906(1)? at Array.every (native)
I20160105-07:12:20.907(1)? at Function._.every._.all (packages/underscore/underscore.js:219:1)
This happens regardless of whether I am logged in or not.
Hi.
I'm using the latest v2 previews:
msgfmt:core@2.0.0-preview.15 (2015-12-23) msgfmt:extract@2.0.0-preview.12 msgfmt:ui@2.0.0-preview.5
I have created some strings in the appropriate {{mf}} format and msgfmt:extract has recognized them automatically. However, when I create a new language in the UI, and when I translate the strings, they do not get saved. Instead, I am getting this:
This happens regardless of whether I am logged in or not.
All best, Toma