{"action":"created","issue":{"url":"https://api.github.com/repos/gadicc/meteor-messageformat/issues/143","labels_url":"https://api.github.com/repos/gadicc/meteor-messageformat/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/gadicc/meteor-messageformat/issues/143/comments","events_url":"https://api.github.com/repos/gadicc/meteor-messageformat/issues/143/events","html_url":"https://github.com/gadicc/meteor-messageformat/issues/143","id":93155278,"number":143,"title":"mf() versus {{mf }} bug?","user":{"login":"tvld","id":986182,"avatar_url":"https://avatars.githubusercontent.com/u/986182?v=3","gravatar_id":"","url":"https://api.github.com/users/tvld","html_url":"https://github.com/tvld","followers_url":"https://api.github.com/users/tvld/followers","following_url":"https://api.github.com/users/tvld/following{/other_user}","gists_url":"https://api.github.com/users/tvld/gists{/gist_id}","starred_url":"https://api.github.com/users/tvld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvld/subscriptions","organizations_url":"https://api.github.com/users/tvld/orgs","repos_url":"https://api.github.com/users/tvld/repos","events_url":"https://api.github.com/users/tvld/events{/privacy}","received_events_url":"https://api.github.com/users/tvld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-05T23:12:05Z","updated_at":"2015-07-06T08:27:31Z","closed_at":null,"body":"I have a template with this:\r\n`<h1>{{mf \"more-title\" \"More about us\"}}</h1>`\r\nAnd a js file with this:\r\n`console.log(mf('more-title'));`\r\n\r\nResult: the log output shows *more-title* \r\nExpected: *More about us*\r\n\r\nInfo: *mf_extract -v* shows:\r\n```   \r\n  ./views/moreinfo/client/moreinfo.html\r\n   more-title: \"More about us\"\r\n\r\n   ./views/global/main/client/moreinfo.js\r\n   more-menutitle: \"About\"\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gadicc/meteor-messageformat/issues/comments/118773653","html_url":"https://github.com/gadicc/meteor-messageformat/issues/143#issuecomment-118773653","issue_url":"https://api.github.com/repos/gadicc/meteor-messageformat/issues/143","id":118773653,"user":{"login":"tvld","id":986182,"avatar_url":"https://avatars.githubusercontent.com/u/986182?v=3","gravatar_id":"","url":"https://api.github.com/users/tvld","html_url":"https://github.com/tvld","followers_url":"https://api.github.com/users/tvld/followers","following_url":"https://api.github.com/users/tvld/following{/other_user}","gists_url":"https://api.github.com/users/tvld/gists{/gist_id}","starred_url":"https://api.github.com/users/tvld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvld/subscriptions","organizations_url":"https://api.github.com/users/tvld/orgs","repos_url":"https://api.github.com/users/tvld/repos","events_url":"https://api.github.com/users/tvld/events{/privacy}","received_events_url":"https://api.github.com/users/tvld/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T08:27:31Z","updated_at":"2015-07-06T08:27:31Z","body":"I use this in the navbar. I populate the menu titles with js:\r\n```javascript\r\nvar menuItems= [\r\n\t\t{ menu_item: mf('more-menutitle', 'About'), \r\n\t\t\tmenu_title: mf('more-title'),\r\n\t\t\tmenu_url: \"/moreinfo\" },\r\n\t\t\r\n\t\t{ menu_item: \"Google\", \r\n\t\t\tmenu_url: \"http://www.google.com\"}\r\n\t];\r\n\t\r\n\r\n\tconsole.log(mf('moreTitle'));\r\n\t\r\n/***  populate menus */\r\nTemplate.NavTopbar.helpers({\r\n\tmenu_items: menuItems\r\n});\r\n```\r\n```html\r\n<template name=\"MoreInfo\">\r\n  <header>\r\n    <div class=\"container\">\r\n      <div class=\"row\">\r\n\t <h1>{{mf \"more-title\" \"More about our solution\"}}</h1>\r\n\t</div>\r\n    </div>\r\n  </header>\r\n</template>\r\n```"}}