• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atinc / ngx-tethys / a94de615-1a97-46e8-b07e-aa98619b3649

13 Nov 2024 12:34PM UTC coverage: 90.366% (-0.03%) from 90.398%
a94de615-1a97-46e8-b07e-aa98619b3649

push

circleci

minlovehua
feat: support i18n

5517 of 6751 branches covered (81.72%)

Branch coverage included in aggregate %.

67 of 76 new or added lines in 19 files covered. (88.16%)

55 existing lines in 10 files now uncovered.

13225 of 13989 relevant lines covered (94.54%)

1000.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/i18n/i18n.token.ts
1
import { InjectionToken, makeEnvironmentProviders, EnvironmentProviders } from '@angular/core';
2

1✔
3
export const THY_I18N_LOCALE_KEY = new InjectionToken<string>('thy-i18n-locale-key');
4

NEW
5
// Support static configuration of default language
×
6
export function provideThyI18n(config: string): EnvironmentProviders {
7
    return makeEnvironmentProviders([{ provide: THY_I18N_LOCALE_KEY, useValue: config }]);
8
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc