Vulcan/packages/customization-demo/lib/i18n.js

9 lines
221 B
JavaScript
Raw Normal View History

/*
Let's add an international label to the field added in custom_fields.js
*/
2016-08-08 11:18:21 +09:00
2016-12-12 15:10:53 +09:00
import { addStrings } from 'meteor/nova:core';
2016-08-08 11:18:21 +09:00
2016-12-12 15:10:53 +09:00
addStrings('en', {
"posts.color": "Color" // add a new one (collection.field: "Label")
2016-12-12 15:10:53 +09:00
});