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

9 lines
223 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
2017-03-23 16:27:59 +09:00
import { addStrings } from 'meteor/vulcan: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
});