owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

        if ($tr.find('td.remove img').length === 0 && OC.currentUser !== user.name) {
            var deleteImage = $('<img class="action">').attr({
                src: OC.imagePath('core', 'actions/delete')
            });
            var deleteLink = $('<a class="action delete">')
Severity: Major
Found in settings/js/users/users.js and 1 other location - About 3 hrs to fix
settings/js/users/users.js on lines 118..126

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 100.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 2 locations. Consider refactoring.
Open

                _.map(filteredRegisteredAttribute.incompatibleAttributes, function (incompatibleAttribute) {
                    _.map(filteredRegisteredAttributes, function (checkAttr) {
                        if (incompatibleAttribute.scope === checkAttr.scope &&
                            incompatibleAttribute.key === checkAttr.key &&
                            incompatibleAttribute.enabled === checkAttr.default) {
Severity: Major
Found in core/js/shareitemmodel.js and 1 other location - About 3 hrs to fix
core/js/shareitemmodel.js on lines 1006..1014

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 100.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

File Manager.php has 299 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/**
 * @author Björn Schießle <bjoern@schiessle.org>
 * @author Joas Schilling <coding@schilljs.com>
 * @author Thomas Müller <thomas.mueller@tmit.eu>
Severity: Minor
Found in lib/private/Activity/Manager.php - About 3 hrs to fix

    Method handleGetProperties has 79 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function handleGetProperties(PropFind $propFind, \Sabre\DAV\INode $node) {
            $httpRequest = $this->server->httpRequest;
    
            if ($node instanceof \OCA\DAV\Connector\Sabre\Node) {
                if (!$node->getFileInfo()->isReadable()) {
    Severity: Major
    Found in apps/dav/lib/Connector/Sabre/FilesPlugin.php - About 3 hrs to fix

      Method create has 79 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          private function create() {
              $isConnectionParametersSupported = $this->isConnectionParametersSupported();
      
              if ($config = $this->config->getValue('redis.cluster', [])) {
                  if (!\class_exists('RedisCluster')) {
      Severity: Major
      Found in lib/private/RedisFactory.php - About 3 hrs to fix

        Method checkReshare has 79 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            private static function checkReshare($itemType, $itemSource, $shareType, $shareWith, $uidOwner, $permissions, $itemSourceName, $expirationDate) {
                $backend = self::getBackend($itemType);
        
                $l = \OC::$server->getL10N('lib');
                $result = [];
        Severity: Major
        Found in lib/private/Share/Share.php - About 3 hrs to fix

          Similar blocks of code found in 2 locations. Consider refactoring.
          Open

              "monthNamesShort" => \json_encode(
                  [
                      (string)$l->t('Jan.'),
                      (string)$l->t('Feb.'),
                      (string)$l->t('Mar.'),
          Severity: Major
          Found in core/js/config.php and 1 other location - About 3 hrs to fix
          core/js/config.php on lines 152..167

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 145.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 2 locations. Consider refactoring.
          Open

              "monthNames" => \json_encode(
                  [
                      (string)$l->t('January'),
                      (string)$l->t('February'),
                      (string)$l->t('March'),
          Severity: Major
          Found in core/js/config.php and 1 other location - About 3 hrs to fix
          core/js/config.php on lines 168..183

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 145.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          File versionstabview.js has 298 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /*
           * Copyright (c) 2015
           *
           * This file is licensed under the Affero General Public License version 3
           * or later.
          Severity: Minor
          Found in apps/files_versions/js/versionstabview.js - About 3 hrs to fix

            File et_EE.js has 298 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            OC.L10N.register(
                "core",
                {
                "Please select a file." : "Palun vali fail.",
                "File is too big" : "Fail on liiga suur",
            Severity: Minor
            Found in core/l10n/et_EE.js - About 3 hrs to fix

              Similar blocks of code found in 67 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_trashbin",
                  {
                  "Couldn't delete %s permanently" : "Не удалось окончательно удалить %s",
                  "Couldn't restore %s" : "%s не может быть восстановлен",
              Severity: Major
              Found in apps/files_trashbin/l10n/ru.js and 66 other locations - About 3 hrs to fix
              apps/federatedfilesharing/l10n/eo.js on lines 1..21
              apps/files_external/l10n/lb.js on lines 1..21
              apps/files_sharing/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/af_ZA.js on lines 1..21
              apps/files_trashbin/l10n/ar.js on lines 1..21
              apps/files_trashbin/l10n/az.js on lines 1..21
              apps/files_trashbin/l10n/bg_BG.js on lines 1..21
              apps/files_trashbin/l10n/ca.js on lines 1..21
              apps/files_trashbin/l10n/cs_CZ.js on lines 1..21
              apps/files_trashbin/l10n/da.js on lines 1..21
              apps/files_trashbin/l10n/de.js on lines 1..21
              apps/files_trashbin/l10n/de_CH.js on lines 1..21
              apps/files_trashbin/l10n/de_DE.js on lines 1..21
              apps/files_trashbin/l10n/el.js on lines 1..21
              apps/files_trashbin/l10n/en_GB.js on lines 1..21
              apps/files_trashbin/l10n/es.js on lines 1..21
              apps/files_trashbin/l10n/es_AR.js on lines 1..21
              apps/files_trashbin/l10n/et_EE.js on lines 1..21
              apps/files_trashbin/l10n/eu.js on lines 1..21
              apps/files_trashbin/l10n/fa.js on lines 1..21
              apps/files_trashbin/l10n/fi_FI.js on lines 1..21
              apps/files_trashbin/l10n/fr.js on lines 1..21
              apps/files_trashbin/l10n/gl.js on lines 1..21
              apps/files_trashbin/l10n/he.js on lines 1..21
              apps/files_trashbin/l10n/hr.js on lines 1..21
              apps/files_trashbin/l10n/hu_HU.js on lines 1..21
              apps/files_trashbin/l10n/hy.js on lines 1..21
              apps/files_trashbin/l10n/id.js on lines 1..21
              apps/files_trashbin/l10n/is.js on lines 1..21
              apps/files_trashbin/l10n/it.js on lines 1..21
              apps/files_trashbin/l10n/ja.js on lines 1..21
              apps/files_trashbin/l10n/ko.js on lines 1..21
              apps/files_trashbin/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/lt_LT.js on lines 1..21
              apps/files_trashbin/l10n/lv.js on lines 1..21
              apps/files_trashbin/l10n/mk.js on lines 1..21
              apps/files_trashbin/l10n/nb_NO.js on lines 1..21
              apps/files_trashbin/l10n/nl.js on lines 1..21
              apps/files_trashbin/l10n/nn_NO.js on lines 1..21
              apps/files_trashbin/l10n/oc.js on lines 1..21
              apps/files_trashbin/l10n/pl.js on lines 1..21
              apps/files_trashbin/l10n/pt_BR.js on lines 1..21
              apps/files_trashbin/l10n/pt_PT.js on lines 1..21
              apps/files_trashbin/l10n/ro.js on lines 1..21
              apps/files_trashbin/l10n/ru_RU.js on lines 1..21
              apps/files_trashbin/l10n/sk_SK.js on lines 1..21
              apps/files_trashbin/l10n/sl.js on lines 1..21
              apps/files_trashbin/l10n/sq.js on lines 1..21
              apps/files_trashbin/l10n/sr.js on lines 1..21
              apps/files_trashbin/l10n/sv.js on lines 1..21
              apps/files_trashbin/l10n/th_TH.js on lines 1..21
              apps/files_trashbin/l10n/tr.js on lines 1..21
              apps/files_trashbin/l10n/ug.js on lines 1..21
              apps/files_trashbin/l10n/uk.js on lines 1..21
              apps/files_trashbin/l10n/vi.js on lines 1..21
              apps/files_trashbin/l10n/zh_CN.js on lines 1..21
              apps/files_trashbin/l10n/zh_TW.js on lines 1..21
              apps/updatenotification/l10n/de.js on lines 1..21
              apps/updatenotification/l10n/de_DE.js on lines 1..21
              apps/updatenotification/l10n/en_GB.js on lines 1..21
              apps/updatenotification/l10n/nl.js on lines 1..21
              apps/updatenotification/l10n/pt_BR.js on lines 1..21
              apps/updatenotification/l10n/ru.js on lines 1..21
              apps/updatenotification/l10n/ru_RU.js on lines 1..21
              apps/updatenotification/l10n/sq.js on lines 1..21
              apps/updatenotification/l10n/tr.js on lines 1..21

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 98.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 67 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_trashbin",
                  {
                  "Couldn't delete %s permanently" : "ไม่สามารถลบ %s แบบถาวร",
                  "Couldn't restore %s" : "ไม่สามารถกู้คืน %s",
              Severity: Major
              Found in apps/files_trashbin/l10n/th_TH.js and 66 other locations - About 3 hrs to fix
              apps/federatedfilesharing/l10n/eo.js on lines 1..21
              apps/files_external/l10n/lb.js on lines 1..21
              apps/files_sharing/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/af_ZA.js on lines 1..21
              apps/files_trashbin/l10n/ar.js on lines 1..21
              apps/files_trashbin/l10n/az.js on lines 1..21
              apps/files_trashbin/l10n/bg_BG.js on lines 1..21
              apps/files_trashbin/l10n/ca.js on lines 1..21
              apps/files_trashbin/l10n/cs_CZ.js on lines 1..21
              apps/files_trashbin/l10n/da.js on lines 1..21
              apps/files_trashbin/l10n/de.js on lines 1..21
              apps/files_trashbin/l10n/de_CH.js on lines 1..21
              apps/files_trashbin/l10n/de_DE.js on lines 1..21
              apps/files_trashbin/l10n/el.js on lines 1..21
              apps/files_trashbin/l10n/en_GB.js on lines 1..21
              apps/files_trashbin/l10n/es.js on lines 1..21
              apps/files_trashbin/l10n/es_AR.js on lines 1..21
              apps/files_trashbin/l10n/et_EE.js on lines 1..21
              apps/files_trashbin/l10n/eu.js on lines 1..21
              apps/files_trashbin/l10n/fa.js on lines 1..21
              apps/files_trashbin/l10n/fi_FI.js on lines 1..21
              apps/files_trashbin/l10n/fr.js on lines 1..21
              apps/files_trashbin/l10n/gl.js on lines 1..21
              apps/files_trashbin/l10n/he.js on lines 1..21
              apps/files_trashbin/l10n/hr.js on lines 1..21
              apps/files_trashbin/l10n/hu_HU.js on lines 1..21
              apps/files_trashbin/l10n/hy.js on lines 1..21
              apps/files_trashbin/l10n/id.js on lines 1..21
              apps/files_trashbin/l10n/is.js on lines 1..21
              apps/files_trashbin/l10n/it.js on lines 1..21
              apps/files_trashbin/l10n/ja.js on lines 1..21
              apps/files_trashbin/l10n/ko.js on lines 1..21
              apps/files_trashbin/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/lt_LT.js on lines 1..21
              apps/files_trashbin/l10n/lv.js on lines 1..21
              apps/files_trashbin/l10n/mk.js on lines 1..21
              apps/files_trashbin/l10n/nb_NO.js on lines 1..21
              apps/files_trashbin/l10n/nl.js on lines 1..21
              apps/files_trashbin/l10n/nn_NO.js on lines 1..21
              apps/files_trashbin/l10n/oc.js on lines 1..21
              apps/files_trashbin/l10n/pl.js on lines 1..21
              apps/files_trashbin/l10n/pt_BR.js on lines 1..21
              apps/files_trashbin/l10n/pt_PT.js on lines 1..21
              apps/files_trashbin/l10n/ro.js on lines 1..21
              apps/files_trashbin/l10n/ru.js on lines 1..21
              apps/files_trashbin/l10n/ru_RU.js on lines 1..21
              apps/files_trashbin/l10n/sk_SK.js on lines 1..21
              apps/files_trashbin/l10n/sl.js on lines 1..21
              apps/files_trashbin/l10n/sq.js on lines 1..21
              apps/files_trashbin/l10n/sr.js on lines 1..21
              apps/files_trashbin/l10n/sv.js on lines 1..21
              apps/files_trashbin/l10n/tr.js on lines 1..21
              apps/files_trashbin/l10n/ug.js on lines 1..21
              apps/files_trashbin/l10n/uk.js on lines 1..21
              apps/files_trashbin/l10n/vi.js on lines 1..21
              apps/files_trashbin/l10n/zh_CN.js on lines 1..21
              apps/files_trashbin/l10n/zh_TW.js on lines 1..21
              apps/updatenotification/l10n/de.js on lines 1..21
              apps/updatenotification/l10n/de_DE.js on lines 1..21
              apps/updatenotification/l10n/en_GB.js on lines 1..21
              apps/updatenotification/l10n/nl.js on lines 1..21
              apps/updatenotification/l10n/pt_BR.js on lines 1..21
              apps/updatenotification/l10n/ru.js on lines 1..21
              apps/updatenotification/l10n/ru_RU.js on lines 1..21
              apps/updatenotification/l10n/sq.js on lines 1..21
              apps/updatenotification/l10n/tr.js on lines 1..21

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 98.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 67 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_trashbin",
                  {
                  "Couldn't delete %s permanently" : "Couldn't delete %s permanently",
                  "Couldn't restore %s" : "Couldn't restore %s",
              Severity: Major
              Found in apps/files_trashbin/l10n/en_GB.js and 66 other locations - About 3 hrs to fix
              apps/federatedfilesharing/l10n/eo.js on lines 1..21
              apps/files_external/l10n/lb.js on lines 1..21
              apps/files_sharing/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/af_ZA.js on lines 1..21
              apps/files_trashbin/l10n/ar.js on lines 1..21
              apps/files_trashbin/l10n/az.js on lines 1..21
              apps/files_trashbin/l10n/bg_BG.js on lines 1..21
              apps/files_trashbin/l10n/ca.js on lines 1..21
              apps/files_trashbin/l10n/cs_CZ.js on lines 1..21
              apps/files_trashbin/l10n/da.js on lines 1..21
              apps/files_trashbin/l10n/de.js on lines 1..21
              apps/files_trashbin/l10n/de_CH.js on lines 1..21
              apps/files_trashbin/l10n/de_DE.js on lines 1..21
              apps/files_trashbin/l10n/el.js on lines 1..21
              apps/files_trashbin/l10n/es.js on lines 1..21
              apps/files_trashbin/l10n/es_AR.js on lines 1..21
              apps/files_trashbin/l10n/et_EE.js on lines 1..21
              apps/files_trashbin/l10n/eu.js on lines 1..21
              apps/files_trashbin/l10n/fa.js on lines 1..21
              apps/files_trashbin/l10n/fi_FI.js on lines 1..21
              apps/files_trashbin/l10n/fr.js on lines 1..21
              apps/files_trashbin/l10n/gl.js on lines 1..21
              apps/files_trashbin/l10n/he.js on lines 1..21
              apps/files_trashbin/l10n/hr.js on lines 1..21
              apps/files_trashbin/l10n/hu_HU.js on lines 1..21
              apps/files_trashbin/l10n/hy.js on lines 1..21
              apps/files_trashbin/l10n/id.js on lines 1..21
              apps/files_trashbin/l10n/is.js on lines 1..21
              apps/files_trashbin/l10n/it.js on lines 1..21
              apps/files_trashbin/l10n/ja.js on lines 1..21
              apps/files_trashbin/l10n/ko.js on lines 1..21
              apps/files_trashbin/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/lt_LT.js on lines 1..21
              apps/files_trashbin/l10n/lv.js on lines 1..21
              apps/files_trashbin/l10n/mk.js on lines 1..21
              apps/files_trashbin/l10n/nb_NO.js on lines 1..21
              apps/files_trashbin/l10n/nl.js on lines 1..21
              apps/files_trashbin/l10n/nn_NO.js on lines 1..21
              apps/files_trashbin/l10n/oc.js on lines 1..21
              apps/files_trashbin/l10n/pl.js on lines 1..21
              apps/files_trashbin/l10n/pt_BR.js on lines 1..21
              apps/files_trashbin/l10n/pt_PT.js on lines 1..21
              apps/files_trashbin/l10n/ro.js on lines 1..21
              apps/files_trashbin/l10n/ru.js on lines 1..21
              apps/files_trashbin/l10n/ru_RU.js on lines 1..21
              apps/files_trashbin/l10n/sk_SK.js on lines 1..21
              apps/files_trashbin/l10n/sl.js on lines 1..21
              apps/files_trashbin/l10n/sq.js on lines 1..21
              apps/files_trashbin/l10n/sr.js on lines 1..21
              apps/files_trashbin/l10n/sv.js on lines 1..21
              apps/files_trashbin/l10n/th_TH.js on lines 1..21
              apps/files_trashbin/l10n/tr.js on lines 1..21
              apps/files_trashbin/l10n/ug.js on lines 1..21
              apps/files_trashbin/l10n/uk.js on lines 1..21
              apps/files_trashbin/l10n/vi.js on lines 1..21
              apps/files_trashbin/l10n/zh_CN.js on lines 1..21
              apps/files_trashbin/l10n/zh_TW.js on lines 1..21
              apps/updatenotification/l10n/de.js on lines 1..21
              apps/updatenotification/l10n/de_DE.js on lines 1..21
              apps/updatenotification/l10n/en_GB.js on lines 1..21
              apps/updatenotification/l10n/nl.js on lines 1..21
              apps/updatenotification/l10n/pt_BR.js on lines 1..21
              apps/updatenotification/l10n/ru.js on lines 1..21
              apps/updatenotification/l10n/ru_RU.js on lines 1..21
              apps/updatenotification/l10n/sq.js on lines 1..21
              apps/updatenotification/l10n/tr.js on lines 1..21

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 98.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 67 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_trashbin",
                  {
                  "Couldn't delete %s permanently" : "Həmişəlik silmək olmaz %s-i",
                  "Couldn't restore %s" : "Geri qaytarila bilmədi  %s",
              Severity: Major
              Found in apps/files_trashbin/l10n/az.js and 66 other locations - About 3 hrs to fix
              apps/federatedfilesharing/l10n/eo.js on lines 1..21
              apps/files_external/l10n/lb.js on lines 1..21
              apps/files_sharing/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/af_ZA.js on lines 1..21
              apps/files_trashbin/l10n/ar.js on lines 1..21
              apps/files_trashbin/l10n/bg_BG.js on lines 1..21
              apps/files_trashbin/l10n/ca.js on lines 1..21
              apps/files_trashbin/l10n/cs_CZ.js on lines 1..21
              apps/files_trashbin/l10n/da.js on lines 1..21
              apps/files_trashbin/l10n/de.js on lines 1..21
              apps/files_trashbin/l10n/de_CH.js on lines 1..21
              apps/files_trashbin/l10n/de_DE.js on lines 1..21
              apps/files_trashbin/l10n/el.js on lines 1..21
              apps/files_trashbin/l10n/en_GB.js on lines 1..21
              apps/files_trashbin/l10n/es.js on lines 1..21
              apps/files_trashbin/l10n/es_AR.js on lines 1..21
              apps/files_trashbin/l10n/et_EE.js on lines 1..21
              apps/files_trashbin/l10n/eu.js on lines 1..21
              apps/files_trashbin/l10n/fa.js on lines 1..21
              apps/files_trashbin/l10n/fi_FI.js on lines 1..21
              apps/files_trashbin/l10n/fr.js on lines 1..21
              apps/files_trashbin/l10n/gl.js on lines 1..21
              apps/files_trashbin/l10n/he.js on lines 1..21
              apps/files_trashbin/l10n/hr.js on lines 1..21
              apps/files_trashbin/l10n/hu_HU.js on lines 1..21
              apps/files_trashbin/l10n/hy.js on lines 1..21
              apps/files_trashbin/l10n/id.js on lines 1..21
              apps/files_trashbin/l10n/is.js on lines 1..21
              apps/files_trashbin/l10n/it.js on lines 1..21
              apps/files_trashbin/l10n/ja.js on lines 1..21
              apps/files_trashbin/l10n/ko.js on lines 1..21
              apps/files_trashbin/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/lt_LT.js on lines 1..21
              apps/files_trashbin/l10n/lv.js on lines 1..21
              apps/files_trashbin/l10n/mk.js on lines 1..21
              apps/files_trashbin/l10n/nb_NO.js on lines 1..21
              apps/files_trashbin/l10n/nl.js on lines 1..21
              apps/files_trashbin/l10n/nn_NO.js on lines 1..21
              apps/files_trashbin/l10n/oc.js on lines 1..21
              apps/files_trashbin/l10n/pl.js on lines 1..21
              apps/files_trashbin/l10n/pt_BR.js on lines 1..21
              apps/files_trashbin/l10n/pt_PT.js on lines 1..21
              apps/files_trashbin/l10n/ro.js on lines 1..21
              apps/files_trashbin/l10n/ru.js on lines 1..21
              apps/files_trashbin/l10n/ru_RU.js on lines 1..21
              apps/files_trashbin/l10n/sk_SK.js on lines 1..21
              apps/files_trashbin/l10n/sl.js on lines 1..21
              apps/files_trashbin/l10n/sq.js on lines 1..21
              apps/files_trashbin/l10n/sr.js on lines 1..21
              apps/files_trashbin/l10n/sv.js on lines 1..21
              apps/files_trashbin/l10n/th_TH.js on lines 1..21
              apps/files_trashbin/l10n/tr.js on lines 1..21
              apps/files_trashbin/l10n/ug.js on lines 1..21
              apps/files_trashbin/l10n/uk.js on lines 1..21
              apps/files_trashbin/l10n/vi.js on lines 1..21
              apps/files_trashbin/l10n/zh_CN.js on lines 1..21
              apps/files_trashbin/l10n/zh_TW.js on lines 1..21
              apps/updatenotification/l10n/de.js on lines 1..21
              apps/updatenotification/l10n/de_DE.js on lines 1..21
              apps/updatenotification/l10n/en_GB.js on lines 1..21
              apps/updatenotification/l10n/nl.js on lines 1..21
              apps/updatenotification/l10n/pt_BR.js on lines 1..21
              apps/updatenotification/l10n/ru.js on lines 1..21
              apps/updatenotification/l10n/ru_RU.js on lines 1..21
              apps/updatenotification/l10n/sq.js on lines 1..21
              apps/updatenotification/l10n/tr.js on lines 1..21

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 98.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 67 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_trashbin",
                  {
                  "Couldn't delete %s permanently" : "Неуспешно е изтриването на %s за постоянно",
                  "Couldn't restore %s" : "Неуспешно възтановяване на %s",
              Severity: Major
              Found in apps/files_trashbin/l10n/bg_BG.js and 66 other locations - About 3 hrs to fix
              apps/federatedfilesharing/l10n/eo.js on lines 1..21
              apps/files_external/l10n/lb.js on lines 1..21
              apps/files_sharing/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/af_ZA.js on lines 1..21
              apps/files_trashbin/l10n/ar.js on lines 1..21
              apps/files_trashbin/l10n/az.js on lines 1..21
              apps/files_trashbin/l10n/ca.js on lines 1..21
              apps/files_trashbin/l10n/cs_CZ.js on lines 1..21
              apps/files_trashbin/l10n/da.js on lines 1..21
              apps/files_trashbin/l10n/de.js on lines 1..21
              apps/files_trashbin/l10n/de_CH.js on lines 1..21
              apps/files_trashbin/l10n/de_DE.js on lines 1..21
              apps/files_trashbin/l10n/el.js on lines 1..21
              apps/files_trashbin/l10n/en_GB.js on lines 1..21
              apps/files_trashbin/l10n/es.js on lines 1..21
              apps/files_trashbin/l10n/es_AR.js on lines 1..21
              apps/files_trashbin/l10n/et_EE.js on lines 1..21
              apps/files_trashbin/l10n/eu.js on lines 1..21
              apps/files_trashbin/l10n/fa.js on lines 1..21
              apps/files_trashbin/l10n/fi_FI.js on lines 1..21
              apps/files_trashbin/l10n/fr.js on lines 1..21
              apps/files_trashbin/l10n/gl.js on lines 1..21
              apps/files_trashbin/l10n/he.js on lines 1..21
              apps/files_trashbin/l10n/hr.js on lines 1..21
              apps/files_trashbin/l10n/hu_HU.js on lines 1..21
              apps/files_trashbin/l10n/hy.js on lines 1..21
              apps/files_trashbin/l10n/id.js on lines 1..21
              apps/files_trashbin/l10n/is.js on lines 1..21
              apps/files_trashbin/l10n/it.js on lines 1..21
              apps/files_trashbin/l10n/ja.js on lines 1..21
              apps/files_trashbin/l10n/ko.js on lines 1..21
              apps/files_trashbin/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/lt_LT.js on lines 1..21
              apps/files_trashbin/l10n/lv.js on lines 1..21
              apps/files_trashbin/l10n/mk.js on lines 1..21
              apps/files_trashbin/l10n/nb_NO.js on lines 1..21
              apps/files_trashbin/l10n/nl.js on lines 1..21
              apps/files_trashbin/l10n/nn_NO.js on lines 1..21
              apps/files_trashbin/l10n/oc.js on lines 1..21
              apps/files_trashbin/l10n/pl.js on lines 1..21
              apps/files_trashbin/l10n/pt_BR.js on lines 1..21
              apps/files_trashbin/l10n/pt_PT.js on lines 1..21
              apps/files_trashbin/l10n/ro.js on lines 1..21
              apps/files_trashbin/l10n/ru.js on lines 1..21
              apps/files_trashbin/l10n/ru_RU.js on lines 1..21
              apps/files_trashbin/l10n/sk_SK.js on lines 1..21
              apps/files_trashbin/l10n/sl.js on lines 1..21
              apps/files_trashbin/l10n/sq.js on lines 1..21
              apps/files_trashbin/l10n/sr.js on lines 1..21
              apps/files_trashbin/l10n/sv.js on lines 1..21
              apps/files_trashbin/l10n/th_TH.js on lines 1..21
              apps/files_trashbin/l10n/tr.js on lines 1..21
              apps/files_trashbin/l10n/ug.js on lines 1..21
              apps/files_trashbin/l10n/uk.js on lines 1..21
              apps/files_trashbin/l10n/vi.js on lines 1..21
              apps/files_trashbin/l10n/zh_CN.js on lines 1..21
              apps/files_trashbin/l10n/zh_TW.js on lines 1..21
              apps/updatenotification/l10n/de.js on lines 1..21
              apps/updatenotification/l10n/de_DE.js on lines 1..21
              apps/updatenotification/l10n/en_GB.js on lines 1..21
              apps/updatenotification/l10n/nl.js on lines 1..21
              apps/updatenotification/l10n/pt_BR.js on lines 1..21
              apps/updatenotification/l10n/ru.js on lines 1..21
              apps/updatenotification/l10n/ru_RU.js on lines 1..21
              apps/updatenotification/l10n/sq.js on lines 1..21
              apps/updatenotification/l10n/tr.js on lines 1..21

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 98.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 67 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "updatenotification",
                  {
                  "Update notifications" : "Njoftime përditësimesh",
                  "{version} is available. Get more information on how to update." : "Është gati {version}. Merrni më tepër hollësi se si ta përditësoni.",
              Severity: Major
              Found in apps/updatenotification/l10n/sq.js and 66 other locations - About 3 hrs to fix
              apps/federatedfilesharing/l10n/eo.js on lines 1..21
              apps/files_external/l10n/lb.js on lines 1..21
              apps/files_sharing/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/af_ZA.js on lines 1..21
              apps/files_trashbin/l10n/ar.js on lines 1..21
              apps/files_trashbin/l10n/az.js on lines 1..21
              apps/files_trashbin/l10n/bg_BG.js on lines 1..21
              apps/files_trashbin/l10n/ca.js on lines 1..21
              apps/files_trashbin/l10n/cs_CZ.js on lines 1..21
              apps/files_trashbin/l10n/da.js on lines 1..21
              apps/files_trashbin/l10n/de.js on lines 1..21
              apps/files_trashbin/l10n/de_CH.js on lines 1..21
              apps/files_trashbin/l10n/de_DE.js on lines 1..21
              apps/files_trashbin/l10n/el.js on lines 1..21
              apps/files_trashbin/l10n/en_GB.js on lines 1..21
              apps/files_trashbin/l10n/es.js on lines 1..21
              apps/files_trashbin/l10n/es_AR.js on lines 1..21
              apps/files_trashbin/l10n/et_EE.js on lines 1..21
              apps/files_trashbin/l10n/eu.js on lines 1..21
              apps/files_trashbin/l10n/fa.js on lines 1..21
              apps/files_trashbin/l10n/fi_FI.js on lines 1..21
              apps/files_trashbin/l10n/fr.js on lines 1..21
              apps/files_trashbin/l10n/gl.js on lines 1..21
              apps/files_trashbin/l10n/he.js on lines 1..21
              apps/files_trashbin/l10n/hr.js on lines 1..21
              apps/files_trashbin/l10n/hu_HU.js on lines 1..21
              apps/files_trashbin/l10n/hy.js on lines 1..21
              apps/files_trashbin/l10n/id.js on lines 1..21
              apps/files_trashbin/l10n/is.js on lines 1..21
              apps/files_trashbin/l10n/it.js on lines 1..21
              apps/files_trashbin/l10n/ja.js on lines 1..21
              apps/files_trashbin/l10n/ko.js on lines 1..21
              apps/files_trashbin/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/lt_LT.js on lines 1..21
              apps/files_trashbin/l10n/lv.js on lines 1..21
              apps/files_trashbin/l10n/mk.js on lines 1..21
              apps/files_trashbin/l10n/nb_NO.js on lines 1..21
              apps/files_trashbin/l10n/nl.js on lines 1..21
              apps/files_trashbin/l10n/nn_NO.js on lines 1..21
              apps/files_trashbin/l10n/oc.js on lines 1..21
              apps/files_trashbin/l10n/pl.js on lines 1..21
              apps/files_trashbin/l10n/pt_BR.js on lines 1..21
              apps/files_trashbin/l10n/pt_PT.js on lines 1..21
              apps/files_trashbin/l10n/ro.js on lines 1..21
              apps/files_trashbin/l10n/ru.js on lines 1..21
              apps/files_trashbin/l10n/ru_RU.js on lines 1..21
              apps/files_trashbin/l10n/sk_SK.js on lines 1..21
              apps/files_trashbin/l10n/sl.js on lines 1..21
              apps/files_trashbin/l10n/sq.js on lines 1..21
              apps/files_trashbin/l10n/sr.js on lines 1..21
              apps/files_trashbin/l10n/sv.js on lines 1..21
              apps/files_trashbin/l10n/th_TH.js on lines 1..21
              apps/files_trashbin/l10n/tr.js on lines 1..21
              apps/files_trashbin/l10n/ug.js on lines 1..21
              apps/files_trashbin/l10n/uk.js on lines 1..21
              apps/files_trashbin/l10n/vi.js on lines 1..21
              apps/files_trashbin/l10n/zh_CN.js on lines 1..21
              apps/files_trashbin/l10n/zh_TW.js on lines 1..21
              apps/updatenotification/l10n/de.js on lines 1..21
              apps/updatenotification/l10n/de_DE.js on lines 1..21
              apps/updatenotification/l10n/en_GB.js on lines 1..21
              apps/updatenotification/l10n/nl.js on lines 1..21
              apps/updatenotification/l10n/pt_BR.js on lines 1..21
              apps/updatenotification/l10n/ru.js on lines 1..21
              apps/updatenotification/l10n/ru_RU.js on lines 1..21
              apps/updatenotification/l10n/tr.js on lines 1..21

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 98.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 67 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_trashbin",
                  {
                  "Couldn't delete %s permanently" : "No fue posible borrar %s de manera permanente",
                  "Couldn't restore %s" : "No se pudo restaurar %s",
              Severity: Major
              Found in apps/files_trashbin/l10n/es_AR.js and 66 other locations - About 3 hrs to fix
              apps/federatedfilesharing/l10n/eo.js on lines 1..21
              apps/files_external/l10n/lb.js on lines 1..21
              apps/files_sharing/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/af_ZA.js on lines 1..21
              apps/files_trashbin/l10n/ar.js on lines 1..21
              apps/files_trashbin/l10n/az.js on lines 1..21
              apps/files_trashbin/l10n/bg_BG.js on lines 1..21
              apps/files_trashbin/l10n/ca.js on lines 1..21
              apps/files_trashbin/l10n/cs_CZ.js on lines 1..21
              apps/files_trashbin/l10n/da.js on lines 1..21
              apps/files_trashbin/l10n/de.js on lines 1..21
              apps/files_trashbin/l10n/de_CH.js on lines 1..21
              apps/files_trashbin/l10n/de_DE.js on lines 1..21
              apps/files_trashbin/l10n/el.js on lines 1..21
              apps/files_trashbin/l10n/en_GB.js on lines 1..21
              apps/files_trashbin/l10n/es.js on lines 1..21
              apps/files_trashbin/l10n/et_EE.js on lines 1..21
              apps/files_trashbin/l10n/eu.js on lines 1..21
              apps/files_trashbin/l10n/fa.js on lines 1..21
              apps/files_trashbin/l10n/fi_FI.js on lines 1..21
              apps/files_trashbin/l10n/fr.js on lines 1..21
              apps/files_trashbin/l10n/gl.js on lines 1..21
              apps/files_trashbin/l10n/he.js on lines 1..21
              apps/files_trashbin/l10n/hr.js on lines 1..21
              apps/files_trashbin/l10n/hu_HU.js on lines 1..21
              apps/files_trashbin/l10n/hy.js on lines 1..21
              apps/files_trashbin/l10n/id.js on lines 1..21
              apps/files_trashbin/l10n/is.js on lines 1..21
              apps/files_trashbin/l10n/it.js on lines 1..21
              apps/files_trashbin/l10n/ja.js on lines 1..21
              apps/files_trashbin/l10n/ko.js on lines 1..21
              apps/files_trashbin/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/lt_LT.js on lines 1..21
              apps/files_trashbin/l10n/lv.js on lines 1..21
              apps/files_trashbin/l10n/mk.js on lines 1..21
              apps/files_trashbin/l10n/nb_NO.js on lines 1..21
              apps/files_trashbin/l10n/nl.js on lines 1..21
              apps/files_trashbin/l10n/nn_NO.js on lines 1..21
              apps/files_trashbin/l10n/oc.js on lines 1..21
              apps/files_trashbin/l10n/pl.js on lines 1..21
              apps/files_trashbin/l10n/pt_BR.js on lines 1..21
              apps/files_trashbin/l10n/pt_PT.js on lines 1..21
              apps/files_trashbin/l10n/ro.js on lines 1..21
              apps/files_trashbin/l10n/ru.js on lines 1..21
              apps/files_trashbin/l10n/ru_RU.js on lines 1..21
              apps/files_trashbin/l10n/sk_SK.js on lines 1..21
              apps/files_trashbin/l10n/sl.js on lines 1..21
              apps/files_trashbin/l10n/sq.js on lines 1..21
              apps/files_trashbin/l10n/sr.js on lines 1..21
              apps/files_trashbin/l10n/sv.js on lines 1..21
              apps/files_trashbin/l10n/th_TH.js on lines 1..21
              apps/files_trashbin/l10n/tr.js on lines 1..21
              apps/files_trashbin/l10n/ug.js on lines 1..21
              apps/files_trashbin/l10n/uk.js on lines 1..21
              apps/files_trashbin/l10n/vi.js on lines 1..21
              apps/files_trashbin/l10n/zh_CN.js on lines 1..21
              apps/files_trashbin/l10n/zh_TW.js on lines 1..21
              apps/updatenotification/l10n/de.js on lines 1..21
              apps/updatenotification/l10n/de_DE.js on lines 1..21
              apps/updatenotification/l10n/en_GB.js on lines 1..21
              apps/updatenotification/l10n/nl.js on lines 1..21
              apps/updatenotification/l10n/pt_BR.js on lines 1..21
              apps/updatenotification/l10n/ru.js on lines 1..21
              apps/updatenotification/l10n/ru_RU.js on lines 1..21
              apps/updatenotification/l10n/sq.js on lines 1..21
              apps/updatenotification/l10n/tr.js on lines 1..21

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 98.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 67 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_trashbin",
                  {
                  "Couldn't delete %s permanently" : "%s نى مەڭگۈلۈك ئۆچۈرەلمىدى",
                  "Couldn't restore %s" : "%sنى ئەسلىگە كەلتۈرەلمىدى",
              Severity: Major
              Found in apps/files_trashbin/l10n/ug.js and 66 other locations - About 3 hrs to fix
              apps/federatedfilesharing/l10n/eo.js on lines 1..21
              apps/files_external/l10n/lb.js on lines 1..21
              apps/files_sharing/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/af_ZA.js on lines 1..21
              apps/files_trashbin/l10n/ar.js on lines 1..21
              apps/files_trashbin/l10n/az.js on lines 1..21
              apps/files_trashbin/l10n/bg_BG.js on lines 1..21
              apps/files_trashbin/l10n/ca.js on lines 1..21
              apps/files_trashbin/l10n/cs_CZ.js on lines 1..21
              apps/files_trashbin/l10n/da.js on lines 1..21
              apps/files_trashbin/l10n/de.js on lines 1..21
              apps/files_trashbin/l10n/de_CH.js on lines 1..21
              apps/files_trashbin/l10n/de_DE.js on lines 1..21
              apps/files_trashbin/l10n/el.js on lines 1..21
              apps/files_trashbin/l10n/en_GB.js on lines 1..21
              apps/files_trashbin/l10n/es.js on lines 1..21
              apps/files_trashbin/l10n/es_AR.js on lines 1..21
              apps/files_trashbin/l10n/et_EE.js on lines 1..21
              apps/files_trashbin/l10n/eu.js on lines 1..21
              apps/files_trashbin/l10n/fa.js on lines 1..21
              apps/files_trashbin/l10n/fi_FI.js on lines 1..21
              apps/files_trashbin/l10n/fr.js on lines 1..21
              apps/files_trashbin/l10n/gl.js on lines 1..21
              apps/files_trashbin/l10n/he.js on lines 1..21
              apps/files_trashbin/l10n/hr.js on lines 1..21
              apps/files_trashbin/l10n/hu_HU.js on lines 1..21
              apps/files_trashbin/l10n/hy.js on lines 1..21
              apps/files_trashbin/l10n/id.js on lines 1..21
              apps/files_trashbin/l10n/is.js on lines 1..21
              apps/files_trashbin/l10n/it.js on lines 1..21
              apps/files_trashbin/l10n/ja.js on lines 1..21
              apps/files_trashbin/l10n/ko.js on lines 1..21
              apps/files_trashbin/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/lt_LT.js on lines 1..21
              apps/files_trashbin/l10n/lv.js on lines 1..21
              apps/files_trashbin/l10n/mk.js on lines 1..21
              apps/files_trashbin/l10n/nb_NO.js on lines 1..21
              apps/files_trashbin/l10n/nl.js on lines 1..21
              apps/files_trashbin/l10n/nn_NO.js on lines 1..21
              apps/files_trashbin/l10n/oc.js on lines 1..21
              apps/files_trashbin/l10n/pl.js on lines 1..21
              apps/files_trashbin/l10n/pt_BR.js on lines 1..21
              apps/files_trashbin/l10n/pt_PT.js on lines 1..21
              apps/files_trashbin/l10n/ro.js on lines 1..21
              apps/files_trashbin/l10n/ru.js on lines 1..21
              apps/files_trashbin/l10n/ru_RU.js on lines 1..21
              apps/files_trashbin/l10n/sk_SK.js on lines 1..21
              apps/files_trashbin/l10n/sl.js on lines 1..21
              apps/files_trashbin/l10n/sq.js on lines 1..21
              apps/files_trashbin/l10n/sr.js on lines 1..21
              apps/files_trashbin/l10n/sv.js on lines 1..21
              apps/files_trashbin/l10n/th_TH.js on lines 1..21
              apps/files_trashbin/l10n/tr.js on lines 1..21
              apps/files_trashbin/l10n/uk.js on lines 1..21
              apps/files_trashbin/l10n/vi.js on lines 1..21
              apps/files_trashbin/l10n/zh_CN.js on lines 1..21
              apps/files_trashbin/l10n/zh_TW.js on lines 1..21
              apps/updatenotification/l10n/de.js on lines 1..21
              apps/updatenotification/l10n/de_DE.js on lines 1..21
              apps/updatenotification/l10n/en_GB.js on lines 1..21
              apps/updatenotification/l10n/nl.js on lines 1..21
              apps/updatenotification/l10n/pt_BR.js on lines 1..21
              apps/updatenotification/l10n/ru.js on lines 1..21
              apps/updatenotification/l10n/ru_RU.js on lines 1..21
              apps/updatenotification/l10n/sq.js on lines 1..21
              apps/updatenotification/l10n/tr.js on lines 1..21

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 98.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 67 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_trashbin",
                  {
                  "Couldn't delete %s permanently" : "无法彻底删除文件%s",
                  "Couldn't restore %s" : "无法恢复%s",
              Severity: Major
              Found in apps/files_trashbin/l10n/zh_CN.js and 66 other locations - About 3 hrs to fix
              apps/federatedfilesharing/l10n/eo.js on lines 1..21
              apps/files_external/l10n/lb.js on lines 1..21
              apps/files_sharing/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/af_ZA.js on lines 1..21
              apps/files_trashbin/l10n/ar.js on lines 1..21
              apps/files_trashbin/l10n/az.js on lines 1..21
              apps/files_trashbin/l10n/bg_BG.js on lines 1..21
              apps/files_trashbin/l10n/ca.js on lines 1..21
              apps/files_trashbin/l10n/cs_CZ.js on lines 1..21
              apps/files_trashbin/l10n/da.js on lines 1..21
              apps/files_trashbin/l10n/de.js on lines 1..21
              apps/files_trashbin/l10n/de_CH.js on lines 1..21
              apps/files_trashbin/l10n/de_DE.js on lines 1..21
              apps/files_trashbin/l10n/el.js on lines 1..21
              apps/files_trashbin/l10n/en_GB.js on lines 1..21
              apps/files_trashbin/l10n/es.js on lines 1..21
              apps/files_trashbin/l10n/es_AR.js on lines 1..21
              apps/files_trashbin/l10n/et_EE.js on lines 1..21
              apps/files_trashbin/l10n/eu.js on lines 1..21
              apps/files_trashbin/l10n/fa.js on lines 1..21
              apps/files_trashbin/l10n/fi_FI.js on lines 1..21
              apps/files_trashbin/l10n/fr.js on lines 1..21
              apps/files_trashbin/l10n/gl.js on lines 1..21
              apps/files_trashbin/l10n/he.js on lines 1..21
              apps/files_trashbin/l10n/hr.js on lines 1..21
              apps/files_trashbin/l10n/hu_HU.js on lines 1..21
              apps/files_trashbin/l10n/hy.js on lines 1..21
              apps/files_trashbin/l10n/id.js on lines 1..21
              apps/files_trashbin/l10n/is.js on lines 1..21
              apps/files_trashbin/l10n/it.js on lines 1..21
              apps/files_trashbin/l10n/ja.js on lines 1..21
              apps/files_trashbin/l10n/ko.js on lines 1..21
              apps/files_trashbin/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/lt_LT.js on lines 1..21
              apps/files_trashbin/l10n/lv.js on lines 1..21
              apps/files_trashbin/l10n/mk.js on lines 1..21
              apps/files_trashbin/l10n/nb_NO.js on lines 1..21
              apps/files_trashbin/l10n/nl.js on lines 1..21
              apps/files_trashbin/l10n/nn_NO.js on lines 1..21
              apps/files_trashbin/l10n/oc.js on lines 1..21
              apps/files_trashbin/l10n/pl.js on lines 1..21
              apps/files_trashbin/l10n/pt_BR.js on lines 1..21
              apps/files_trashbin/l10n/pt_PT.js on lines 1..21
              apps/files_trashbin/l10n/ro.js on lines 1..21
              apps/files_trashbin/l10n/ru.js on lines 1..21
              apps/files_trashbin/l10n/ru_RU.js on lines 1..21
              apps/files_trashbin/l10n/sk_SK.js on lines 1..21
              apps/files_trashbin/l10n/sl.js on lines 1..21
              apps/files_trashbin/l10n/sq.js on lines 1..21
              apps/files_trashbin/l10n/sr.js on lines 1..21
              apps/files_trashbin/l10n/sv.js on lines 1..21
              apps/files_trashbin/l10n/th_TH.js on lines 1..21
              apps/files_trashbin/l10n/tr.js on lines 1..21
              apps/files_trashbin/l10n/ug.js on lines 1..21
              apps/files_trashbin/l10n/uk.js on lines 1..21
              apps/files_trashbin/l10n/vi.js on lines 1..21
              apps/files_trashbin/l10n/zh_TW.js on lines 1..21
              apps/updatenotification/l10n/de.js on lines 1..21
              apps/updatenotification/l10n/de_DE.js on lines 1..21
              apps/updatenotification/l10n/en_GB.js on lines 1..21
              apps/updatenotification/l10n/nl.js on lines 1..21
              apps/updatenotification/l10n/pt_BR.js on lines 1..21
              apps/updatenotification/l10n/ru.js on lines 1..21
              apps/updatenotification/l10n/ru_RU.js on lines 1..21
              apps/updatenotification/l10n/sq.js on lines 1..21
              apps/updatenotification/l10n/tr.js on lines 1..21

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 98.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Similar blocks of code found in 67 locations. Consider refactoring.
              Open

              OC.L10N.register(
                  "files_trashbin",
                  {
                  "Couldn't delete %s permanently" : "Non foi posíbel eliminar %s permanente",
                  "Couldn't restore %s" : "Non foi posíbel restaurar %s",
              Severity: Major
              Found in apps/files_trashbin/l10n/gl.js and 66 other locations - About 3 hrs to fix
              apps/federatedfilesharing/l10n/eo.js on lines 1..21
              apps/files_external/l10n/lb.js on lines 1..21
              apps/files_sharing/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/af_ZA.js on lines 1..21
              apps/files_trashbin/l10n/ar.js on lines 1..21
              apps/files_trashbin/l10n/az.js on lines 1..21
              apps/files_trashbin/l10n/bg_BG.js on lines 1..21
              apps/files_trashbin/l10n/ca.js on lines 1..21
              apps/files_trashbin/l10n/cs_CZ.js on lines 1..21
              apps/files_trashbin/l10n/da.js on lines 1..21
              apps/files_trashbin/l10n/de.js on lines 1..21
              apps/files_trashbin/l10n/de_CH.js on lines 1..21
              apps/files_trashbin/l10n/de_DE.js on lines 1..21
              apps/files_trashbin/l10n/el.js on lines 1..21
              apps/files_trashbin/l10n/en_GB.js on lines 1..21
              apps/files_trashbin/l10n/es.js on lines 1..21
              apps/files_trashbin/l10n/es_AR.js on lines 1..21
              apps/files_trashbin/l10n/et_EE.js on lines 1..21
              apps/files_trashbin/l10n/eu.js on lines 1..21
              apps/files_trashbin/l10n/fa.js on lines 1..21
              apps/files_trashbin/l10n/fi_FI.js on lines 1..21
              apps/files_trashbin/l10n/fr.js on lines 1..21
              apps/files_trashbin/l10n/he.js on lines 1..21
              apps/files_trashbin/l10n/hr.js on lines 1..21
              apps/files_trashbin/l10n/hu_HU.js on lines 1..21
              apps/files_trashbin/l10n/hy.js on lines 1..21
              apps/files_trashbin/l10n/id.js on lines 1..21
              apps/files_trashbin/l10n/is.js on lines 1..21
              apps/files_trashbin/l10n/it.js on lines 1..21
              apps/files_trashbin/l10n/ja.js on lines 1..21
              apps/files_trashbin/l10n/ko.js on lines 1..21
              apps/files_trashbin/l10n/lb.js on lines 1..21
              apps/files_trashbin/l10n/lt_LT.js on lines 1..21
              apps/files_trashbin/l10n/lv.js on lines 1..21
              apps/files_trashbin/l10n/mk.js on lines 1..21
              apps/files_trashbin/l10n/nb_NO.js on lines 1..21
              apps/files_trashbin/l10n/nl.js on lines 1..21
              apps/files_trashbin/l10n/nn_NO.js on lines 1..21
              apps/files_trashbin/l10n/oc.js on lines 1..21
              apps/files_trashbin/l10n/pl.js on lines 1..21
              apps/files_trashbin/l10n/pt_BR.js on lines 1..21
              apps/files_trashbin/l10n/pt_PT.js on lines 1..21
              apps/files_trashbin/l10n/ro.js on lines 1..21
              apps/files_trashbin/l10n/ru.js on lines 1..21
              apps/files_trashbin/l10n/ru_RU.js on lines 1..21
              apps/files_trashbin/l10n/sk_SK.js on lines 1..21
              apps/files_trashbin/l10n/sl.js on lines 1..21
              apps/files_trashbin/l10n/sq.js on lines 1..21
              apps/files_trashbin/l10n/sr.js on lines 1..21
              apps/files_trashbin/l10n/sv.js on lines 1..21
              apps/files_trashbin/l10n/th_TH.js on lines 1..21
              apps/files_trashbin/l10n/tr.js on lines 1..21
              apps/files_trashbin/l10n/ug.js on lines 1..21
              apps/files_trashbin/l10n/uk.js on lines 1..21
              apps/files_trashbin/l10n/vi.js on lines 1..21
              apps/files_trashbin/l10n/zh_CN.js on lines 1..21
              apps/files_trashbin/l10n/zh_TW.js on lines 1..21
              apps/updatenotification/l10n/de.js on lines 1..21
              apps/updatenotification/l10n/de_DE.js on lines 1..21
              apps/updatenotification/l10n/en_GB.js on lines 1..21
              apps/updatenotification/l10n/nl.js on lines 1..21
              apps/updatenotification/l10n/pt_BR.js on lines 1..21
              apps/updatenotification/l10n/ru.js on lines 1..21
              apps/updatenotification/l10n/ru_RU.js on lines 1..21
              apps/updatenotification/l10n/sq.js on lines 1..21
              apps/updatenotification/l10n/tr.js on lines 1..21

              Duplicated Code

              Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

              Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

              When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

              Tuning

              This issue has a mass of 98.

              We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

              The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

              If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

              See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

              Refactorings

              Further Reading

              Severity
              Category
              Status
              Source
              Language