diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json new file mode 100644 index 0000000..ceee90a --- /dev/null +++ b/i18n/en.i18n.json @@ -0,0 +1,7 @@ +{ + "drag" : "drag here to reposition", + "back" : "Back", + "next" : "Next", + "finish" : "Finish", + "loading" : "Loading..." +} \ No newline at end of file diff --git a/i18n/fr.i18n.json b/i18n/fr.i18n.json new file mode 100644 index 0000000..0f7cc24 --- /dev/null +++ b/i18n/fr.i18n.json @@ -0,0 +1,7 @@ +{ + "drag" : "Cliquer ici pour déplacer", + "back" : "Précédent", + "next" : "Suivant", + "finish" : "Fin", + "loading" : "Chargement..." +} \ No newline at end of file diff --git a/package-tap.i18n b/package-tap.i18n new file mode 100644 index 0000000..f3e0170 --- /dev/null +++ b/package-tap.i18n @@ -0,0 +1,5 @@ +{ + "translation_function_name": "__", // The name for the translation function that + // will be available in package's namespace. + "helper_name": "_" // the name for the package templates' translation helper +} \ No newline at end of file diff --git a/package.js b/package.js index efcb087..012c2c9 100644 --- a/package.js +++ b/package.js @@ -11,6 +11,7 @@ Package.onUse(function (api) { api.use(['ui', 'templating'], 'client'); api.use("mizzao:bootstrap-3@3.2.0", 'client'); + api.use(["tap:i18n"], ["client", "server"]); api.addFiles('templates.html', 'client'); api.addFiles('tutorial.styl', 'client'); diff --git a/templates.html b/templates.html index 8b73f4e..a080551 100644 --- a/templates.html +++ b/templates.html @@ -9,7 +9,7 @@ @@ -22,19 +22,19 @@
{{#if prevEnabled}} {{/if}} {{#if nextEnabled}} {{/if}} {{#if finishEnabled}} {{/if}}