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

panter / vue-i18next / 45 / 1
98%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/examples/perf/ws-6.2.2
DEFAULT BRANCH: master
Ran 22 May 2017 07:41AM UTC
Files 3
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 May 2017 07:38AM UTC coverage: 97.849%. Remained the same
45.1

push

travis-ci

claudiocro
feat(namespace): introduce namespaces

The namespace will be loaded with (loadNamespaces)[http://i18next.com/docs/api/#load-namespaces],so one can lazy load namespaces for components.

```
const locales = {
  en: {
    tos: 'Term of Service',
    term: 'I accept {{0}}. {{1}}.',
    promise: 'I promise',
  }
};

i18next.init({
  lng: 'en',
  fallbackLng: 'en',
  resources: {
    en: { common: locales.en },
  },
});

const i18n = new VueI18next(i18next);

Vue.component('app', {
  i18nOptions: { namespaces: 'common'}
  template: `
    <div>
      <i18next path="term" tag="label">
        <a href="#" target="_blank">{{ $t("tos") }}</a>
        <strong>{{ $t("promise") }}</strong>
      </i18next>
    </div>`,
});
```

35 of 36 branches covered (97.22%)

Branch coverage included in aggregate %.

56 of 57 relevant lines covered (98.25%)

19.42 hits per line

Source Files on job 45.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 45
  • Travis Job 45.1
  • 7649b43b on github
  • Prev Job for on features/namespaces (#44.1)
  • Next Job for on features/namespaces (#46.1)
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

© 2026 Coveralls, Inc