Skip to content

Commit

Permalink
fix: adjust formatting in locales.hbs so it matches ESLint rules (#466)
Browse files Browse the repository at this point in the history
* fix: adjust formatting in locales.hbs so it matches ESLint rules

* fix(locales): add newline to template file
  • Loading branch information
HendrikThePendric committed Oct 7, 2020
1 parent b5ee46a commit 658fa0b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions cli/src/lib/i18n/templates/locales.hbs
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by d2-i18n-generate.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// This code was generated by d2-i18n-generate.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
import i18n from '@dhis2/d2-i18n';
import i18n from '@dhis2/d2-i18n'
{{#each langs as |lang key|}}
import {{ lang }}Translations from './{{ lang }}/translations.json';
import {{ lang }}Translations from './{{ lang }}/translations.json'
{{/each}}
const namespace = '{{ namespace }}';
const namespace = '{{ namespace }}'
{{#each langs as |lang key|}}
i18n.addResources('{{ lang }}', namespace, {{ lang }}Translations);
i18n.addResources('{{ lang }}', namespace, {{ lang }}Translations)
{{/each}}
export default i18n;
export default i18n

0 comments on commit 658fa0b

Please sign in to comment.