Skip to content

Commit

Permalink
fix: i18n language imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Feb 16, 2020
1 parent 88d3d58 commit 0b8a1a6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions generators/app/templates/src/app/core/_i18n.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ import { TranslateService, LangChangeEvent } from '@ngx-translate/core';
import { Subscription } from 'rxjs';

import { Logger } from './logger.service';
<% if (props.target.includes('electron')) { -%>
import enUS from '../../translations/en-US.json';
import frFR from '../../translations/fr-FR.json';
<% } else { -%>
import * as enUS from '../../translations/en-US.json';
import * as frFR from '../../translations/fr-FR.json';
<% } -%>

const log = new Logger('I18nService');
const languageKey = 'language';
Expand Down

0 comments on commit 0b8a1a6

Please sign in to comment.