owncloud/core

View on GitHub

Showing 1,269 of 4,504 total issues

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

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Федерирано споделување",
    "Loading..." : "Вчитување",
Severity: Major
Found in apps/federatedfilesharing/l10n/mk.js and 5 other locations - About 3 hrs to fix
apps/comments/l10n/et_EE.js on lines 1..22
apps/files_external/l10n/de_AT.js on lines 1..22
core/l10n/jv.js on lines 1..22
lib/l10n/kn.js on lines 1..22
lib/l10n/sr@latin.js on lines 1..22

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 103.

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

    $('#legal_privacy_policy').change(function () {
        OC.msg.startSaving('#legal_privacy_policy');
        var post = {
            privacyPolicy : $("#legal_privacy_policy").val()
        };
Severity: Major
Found in settings/js/panels/legal.js and 1 other location - About 3 hrs to fix
settings/js/panels/legal.js on lines 2..10

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 102.

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

    $('#legal_imprint').change(function () {
        OC.msg.startSaving('#legal_imprint');
        var post = {
            imprintUrl : $("#legal_imprint").val()
        };
Severity: Major
Found in settings/js/panels/legal.js and 1 other location - About 3 hrs to fix
settings/js/panels/legal.js on lines 11..19

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 102.

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(filteredAttribute.incompatibleAttributes, function(incompatibleAttribute) {
                    _.map(filteredAttributes, function(checkAttr) {
                        if (incompatibleAttribute.scope === checkAttr.scope &&
                            incompatibleAttribute.key === checkAttr.key &&
                            incompatibleAttribute.enabled === checkAttr.enabled) {
Severity: Major
Found in core/js/shareitemmodel.js and 1 other location - About 3 hrs to fix
core/js/shareitemmodel.js on lines 926..934

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

        if (user.lastLogin === 0 && user.isGuest !== true) {
            var resendImage = $('<img class="action">').attr({
                src: OC.imagePath('core', 'actions/mail')
            });
            var resendLink = $('<a class="action resendInvitationEmail">')
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 131..141

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

        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

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

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

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

OC.L10N.register(
    "files_trashbin",
    {
    "Couldn't delete %s permanently" : "Kon %s niet permanent verwijderen",
    "Couldn't restore %s" : "Kon %s niet herstellen",
Severity: Major
Found in apps/files_trashbin/l10n/nl.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/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