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

panter / vue-i18next
98%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/examples/perf/ws-6.2.2
DEFAULT BRANCH: master
Repo Added 09 May 2017 04:38PM UTC
Files 6
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

LAST BUILD ON BRANCH features/namespaces
branch: features/namespaces
CHANGE BRANCH
x
Reset
  • features/namespaces
  • chore/examples-deps
  • chore/init-rollup
  • chore/update-deps
  • dependabot/npm_and_yarn/acorn-6.4.1
  • dependabot/npm_and_yarn/bin-links-1.1.8
  • dependabot/npm_and_yarn/browserslist-4.16.6
  • dependabot/npm_and_yarn/dns-packet-1.3.4
  • dependabot/npm_and_yarn/elliptic-6.5.3
  • dependabot/npm_and_yarn/elliptic-6.5.4
  • dependabot/npm_and_yarn/examples/perf/directive/dns-packet-1.3.4
  • dependabot/npm_and_yarn/examples/perf/directive/elliptic-6.5.3
  • dependabot/npm_and_yarn/examples/perf/directive/elliptic-6.5.4
  • dependabot/npm_and_yarn/examples/perf/directive/hosted-git-info-2.8.9
  • dependabot/npm_and_yarn/examples/perf/directive/http-proxy-1.18.1
  • dependabot/npm_and_yarn/examples/perf/directive/ini-1.3.7
  • dependabot/npm_and_yarn/examples/perf/directive/lodash-4.17.19
  • dependabot/npm_and_yarn/examples/perf/directive/lodash-4.17.21
  • dependabot/npm_and_yarn/examples/perf/directive/mixin-deep-1.3.2
  • dependabot/npm_and_yarn/examples/perf/directive/url-parse-1.5.1
  • dependabot/npm_and_yarn/examples/perf/directive/websocket-extensions-0.1.4
  • dependabot/npm_and_yarn/examples/perf/directive/y18n-3.2.2
  • dependabot/npm_and_yarn/examples/perf/https-proxy-agent-2.2.4
  • dependabot/npm_and_yarn/examples/perf/ini-1.3.7
  • dependabot/npm_and_yarn/examples/perf/method/dns-packet-1.3.4
  • dependabot/npm_and_yarn/examples/perf/method/elliptic-6.5.3
  • dependabot/npm_and_yarn/examples/perf/method/elliptic-6.5.4
  • dependabot/npm_and_yarn/examples/perf/method/hosted-git-info-2.8.9
  • dependabot/npm_and_yarn/examples/perf/method/http-proxy-1.18.1
  • dependabot/npm_and_yarn/examples/perf/method/ini-1.3.7
  • dependabot/npm_and_yarn/examples/perf/method/lodash-4.17.19
  • dependabot/npm_and_yarn/examples/perf/method/lodash-4.17.21
  • dependabot/npm_and_yarn/examples/perf/method/mixin-deep-1.3.2
  • dependabot/npm_and_yarn/examples/perf/method/url-parse-1.5.1
  • dependabot/npm_and_yarn/examples/perf/method/websocket-extensions-0.1.4
  • dependabot/npm_and_yarn/examples/perf/method/y18n-3.2.2
  • dependabot/npm_and_yarn/examples/perf/plain/dns-packet-1.3.4
  • dependabot/npm_and_yarn/examples/perf/plain/elliptic-6.5.3
  • dependabot/npm_and_yarn/examples/perf/plain/elliptic-6.5.4
  • dependabot/npm_and_yarn/examples/perf/plain/hosted-git-info-2.8.9
  • dependabot/npm_and_yarn/examples/perf/plain/http-proxy-1.18.1
  • dependabot/npm_and_yarn/examples/perf/plain/ini-1.3.7
  • dependabot/npm_and_yarn/examples/perf/plain/lodash-4.17.19
  • dependabot/npm_and_yarn/examples/perf/plain/lodash-4.17.21
  • dependabot/npm_and_yarn/examples/perf/plain/mixin-deep-1.3.2
  • dependabot/npm_and_yarn/examples/perf/plain/url-parse-1.5.1
  • dependabot/npm_and_yarn/examples/perf/plain/websocket-extensions-0.1.4
  • dependabot/npm_and_yarn/examples/perf/plain/y18n-3.2.2
  • dependabot/npm_and_yarn/examples/perf/ws-6.2.2
  • dependabot/npm_and_yarn/handlebars-4.5.3
  • dependabot/npm_and_yarn/handlebars-4.7.6
  • dependabot/npm_and_yarn/handlebars-4.7.7
  • dependabot/npm_and_yarn/hosted-git-info-2.8.9
  • dependabot/npm_and_yarn/http-proxy-1.18.1
  • dependabot/npm_and_yarn/https-proxy-agent-2.2.4
  • dependabot/npm_and_yarn/ini-1.3.7
  • dependabot/npm_and_yarn/lodash-4.17.15
  • dependabot/npm_and_yarn/lodash-4.17.19
  • dependabot/npm_and_yarn/lodash-4.17.21
  • dependabot/npm_and_yarn/mixin-deep-1.3.2
  • dependabot/npm_and_yarn/node-fetch-2.6.1
  • dependabot/npm_and_yarn/npm-6.13.4
  • dependabot/npm_and_yarn/npm-6.14.6
  • dependabot/npm_and_yarn/npm-user-validate-1.0.1
  • dependabot/npm_and_yarn/prismjs-1.21.0
  • dependabot/npm_and_yarn/prismjs-1.23.0
  • dependabot/npm_and_yarn/ssri-6.0.2
  • dependabot/npm_and_yarn/url-parse-1.5.1
  • dependabot/npm_and_yarn/websocket-extensions-0.1.4
  • dependabot/npm_and_yarn/y18n-3.2.2
  • docs/fix-example
  • docs/gitbook
  • docs/i18n-tag-update
  • docs/performance
  • docs/readme-links
  • features/component-plurals
  • features/directive
  • features/global-options-docs
  • features/inline-translations
  • features/key-prefix
  • features/next
  • features/typescript
  • features/typescript-constructor-fix
  • features/wait
  • fixes/deps-security-issues
  • fixes/deps-security-issues-again
  • fixes/inline-translations
  • fixes/load-namespaces
  • fixes/parent-namespace
  • fixes/security-dependency
  • fixes/security-dependency-1
  • fixes/security-dependency-2
  • fixes/security-dependency-3
  • master
  • refactor/deprecate-language-for-directive
  • tests/perf
  • v0.10.0
  • v0.10.1
  • v0.11.0
  • v0.12.0
  • v0.13.0
  • v0.14.0
  • v0.15.0
  • v0.15.1
  • v0.15.2
  • v0.5.0
  • v0.5.1
  • v0.6.0
  • v0.6.1
  • v0.6.2
  • v0.7.0
  • v0.7.1
  • v0.7.2
  • v0.8.0
  • v0.8.1
  • v0.9.0
  • v0.9.1

pending completion
47

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.

``` javascript
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

Relevant lines Covered
Build:
Build:
57 RELEVANT LINES 56 COVERED LINES
19.42 HITS PER LINE
Source Files on features/namespaces
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
47 features/namespaces 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. ``` javascript const locales = { en: { tos: 'Term of Ser... push 22 May 2017 07:44AM UTC claudiocro travis-ci pending completion  
46 features/namespaces 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. ``` javascript const locales = { en: { tos: 'Term of Ser... push 22 May 2017 07:43AM UTC claudiocro travis-ci pending completion  
45 features/namespaces 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', ... push 22 May 2017 07:41AM UTC claudiocro travis-ci pending completion  
44 features/namespaces feat(namespace): introduce namespaces push 21 May 2017 08:38PM UTC claudiocro travis-ci pending completion  
See All Builds (371)
  • Repo on GitHub
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