mysociety/popit-api

View on GitHub
src/i18n.js

Summary

Maintainability
A
1 hr
Test Coverage

Function i18n has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function i18n(objectWithLanguages, langs, defaultLang, includeTranslations) {
  langs = langs || [];
  includeTranslations = includeTranslations || false;
  var obj = {};
  // Detect keys that need translating
Severity: Minor
Found in src/i18n.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status