Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: adjust formatting in locales.hbs so it matches ESLint rules #466

Merged
merged 2 commits into from
Oct 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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