owncloud/core

View on GitHub

Showing 1,268 of 4,503 total issues

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

$(document).ready(function() {
    function saveSettings() {
        var postData = {};
        postData[$(this).attr('name')] = $(this).is(":checked") ? "yes" : "no";
        $.post(OC.generateUrl('apps/files_sharing/personalsettings/setuserconfig'), postData);
Severity: Major
Found in apps/files_sharing/js/settings-personal.js and 1 other location - About 4 hrs to fix
apps/federatedfilesharing/js/settings-personal-sharing.js on lines 1..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 127.

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

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

        updateEmptyContent: function() {
            var dir = this.getCurrentDirectory();
            if (dir === '/') {
                // root has special permissions
                this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty);
Severity: Major
Found in apps/files_external/js/mountsfilelist.js and 1 other location - About 4 hrs to fix
apps/files/js/favoritesfilelist.js on lines 47..57

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "Wprowadź nowy komentarz...",
    "Delete comment" : "Skasuj komentarz",
Severity: Major
Found in apps/comments/l10n/pl.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "Напишете нов коментар...",
    "Delete comment" : "Изтриване на коментар",
Severity: Major
Found in apps/comments/l10n/bg_BG.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "Zadat nový komentář...",
    "Delete comment" : "Smazat komentář",
Severity: Major
Found in apps/comments/l10n/cs_CZ.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "نوشتن دیدگاه جدید ...",
    "Delete comment" : "حذف نظر",
Severity: Major
Found in apps/comments/l10n/fa.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "Запишите новый комментарий...",
    "Delete comment" : "Удалить комментарий",
Severity: Major
Found in apps/comments/l10n/ru.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "Digita un nuovo commento...",
    "Delete comment" : "Elimina commento",
Severity: Major
Found in apps/comments/l10n/it.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Federoitu jakaminen",
    "Loading..." : "Ladataan...",
Severity: Major
Found in apps/federatedfilesharing/l10n/fi_FI.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Souporaba v zveznem oblaku",
    "Loading..." : "Poteka nalaganje ...",
Severity: Major
Found in apps/federatedfilesharing/l10n/sl.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "lib",
    {
    "today" : "අද",
    "yesterday" : "ඊයේ",
Severity: Major
Found in lib/l10n/si.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "Escribe un nuevo comentario...",
    "Delete comment" : "Borrar comentario",
Severity: Major
Found in apps/comments/l10n/es.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Partajare federalizată",
    "Loading..." : "Se încarcă...",
Severity: Major
Found in apps/federatedfilesharing/l10n/ro.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Propojené sdílení",
    "Loading..." : "Načítám...",
Severity: Major
Found in apps/federatedfilesharing/l10n/cs_CZ.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "새 댓글을 입력하십시오...",
    "Delete comment" : "댓글 삭제",
Severity: Major
Found in apps/comments/l10n/ko.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "Escribe un novo comentario...",
    "Delete comment" : "Eliminar comentario",
Severity: Major
Found in apps/comments/l10n/gl.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "יש להכניס תגובה חדשה...",
    "Delete comment" : "מחיקת תגובה",
Severity: Major
Found in apps/comments/l10n/he.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "เพิ่มความคิดเห็นใหม่ ...",
    "Delete comment" : "ลบความคิดเห็น",
Severity: Major
Found in apps/comments/l10n/th_TH.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "federatedfilesharing",
    {
    "Federated sharing" : "Compartició federada",
    "Loading..." : "Carregant...",
Severity: Major
Found in apps/federatedfilesharing/l10n/ca.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26
settings/l10n/mn.js on lines 1..26

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

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 60 locations. Consider refactoring.
Open

OC.L10N.register(
    "settings",
    {
    "Authentication error" : "Нотолгооны алдаа",
    "Your full name has been changed." : "Таны бүтэн нэр солигдлоо.",
Severity: Major
Found in settings/l10n/mn.js and 59 other locations - About 4 hrs to fix
apps/comments/l10n/ar.js on lines 1..26
apps/comments/l10n/bg_BG.js on lines 1..26
apps/comments/l10n/ca.js on lines 1..26
apps/comments/l10n/cs_CZ.js on lines 1..26
apps/comments/l10n/da.js on lines 1..26
apps/comments/l10n/de.js on lines 1..26
apps/comments/l10n/de_CH.js on lines 1..26
apps/comments/l10n/de_DE.js on lines 1..26
apps/comments/l10n/el.js on lines 1..26
apps/comments/l10n/en_GB.js on lines 1..26
apps/comments/l10n/es.js on lines 1..26
apps/comments/l10n/es_AR.js on lines 1..26
apps/comments/l10n/es_MX.js on lines 1..26
apps/comments/l10n/eu.js on lines 1..26
apps/comments/l10n/fa.js on lines 1..26
apps/comments/l10n/fi_FI.js on lines 1..26
apps/comments/l10n/fr.js on lines 1..26
apps/comments/l10n/gl.js on lines 1..26
apps/comments/l10n/he.js on lines 1..26
apps/comments/l10n/hu_HU.js on lines 1..26
apps/comments/l10n/id.js on lines 1..26
apps/comments/l10n/is.js on lines 1..26
apps/comments/l10n/it.js on lines 1..26
apps/comments/l10n/ja.js on lines 1..26
apps/comments/l10n/ko.js on lines 1..26
apps/comments/l10n/lt_LT.js on lines 1..26
apps/comments/l10n/mk.js on lines 1..26
apps/comments/l10n/nb_NO.js on lines 1..26
apps/comments/l10n/nl.js on lines 1..26
apps/comments/l10n/oc.js on lines 1..26
apps/comments/l10n/pl.js on lines 1..26
apps/comments/l10n/pt_BR.js on lines 1..26
apps/comments/l10n/pt_PT.js on lines 1..26
apps/comments/l10n/ru.js on lines 1..26
apps/comments/l10n/ru_RU.js on lines 1..26
apps/comments/l10n/sl.js on lines 1..26
apps/comments/l10n/sq.js on lines 1..26
apps/comments/l10n/sv.js on lines 1..26
apps/comments/l10n/th_TH.js on lines 1..26
apps/comments/l10n/tr.js on lines 1..26
apps/comments/l10n/ug.js on lines 1..26
apps/comments/l10n/uk.js on lines 1..26
apps/comments/l10n/uz.js on lines 1..26
apps/comments/l10n/zh_CN.js on lines 1..26
apps/comments/l10n/zh_TW.js on lines 1..26
apps/federatedfilesharing/l10n/ast.js on lines 1..26
apps/federatedfilesharing/l10n/ca.js on lines 1..26
apps/federatedfilesharing/l10n/cs_CZ.js on lines 1..26
apps/federatedfilesharing/l10n/da.js on lines 1..26
apps/federatedfilesharing/l10n/fi_FI.js on lines 1..26
apps/federatedfilesharing/l10n/hu_HU.js on lines 1..26
apps/federatedfilesharing/l10n/ja.js on lines 1..26
apps/federatedfilesharing/l10n/oc.js on lines 1..26
apps/federatedfilesharing/l10n/pl.js on lines 1..26
apps/federatedfilesharing/l10n/pt_PT.js on lines 1..26
apps/federatedfilesharing/l10n/ro.js on lines 1..26
apps/federatedfilesharing/l10n/sl.js on lines 1..26
apps/files_external/l10n/nn_NO.js on lines 1..26
lib/l10n/si.js on lines 1..26

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

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