1 | #!/usr/bin/env node
|
2 |
|
3 | /**
|
4 | * Bud file for locale
|
5 | * Executing this file renders locale resources.
|
6 | *
|
7 | * Generated by {{generator}} on {{today}},
|
8 | * from a template provided by {{ pkg.name }}.
|
9 | *
|
10 | * @see https://github.com/coz-repo/coz
|
11 | */
|
12 |
|
13 | 'use strict'
|
14 |
|
15 | const apemanBudLocale = require('apeman-bud-locale')
|
16 |
|
17 | module.exports = apemanBudLocale({
|
18 | /** Languages to render */
|
19 | lang: [ 'en', 'ja' ],
|
20 | /** Namespaces inside each locales */
|
21 | namespace: [
|
22 | {{#each params.namespace}} '{{{this}}}'{{#if @last}}{{else}},{{/if}}
|
23 | {{/each}}
|
24 | ]
|
25 | })
|
26 |
|
27 | {{{read _render}}}
|
28 |
|
\ | No newline at end of file |