owncloud/core

View on GitHub

Showing 1,269 of 4,504 total issues

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

OC.L10N.register(
    "files_trashbin",
    {
    "Couldn't delete %s permanently" : "Konnte %s nicht dauerhaft löschen",
    "Couldn't restore %s" : "Konnte %s nicht wiederherstellen",
Severity: Major
Found in apps/files_trashbin/l10n/de_CH.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_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" : "Konnte %s nicht dauerhaft löschen",
    "Couldn't restore %s" : "Konnte %s nicht wiederherstellen",
Severity: Major
Found in apps/files_trashbin/l10n/de.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_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" : "Kohdetta %s ei voitu poistaa pysyvästi",
    "Couldn't restore %s" : "Kohteen %s palautus epäonnistui",
Severity: Major
Found in apps/files_trashbin/l10n/fi_FI.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/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" : "Tidak dapat menghapus permanen %s",
    "Couldn't restore %s" : "Tidak dapat memulihkan %s",
Severity: Major
Found in apps/files_trashbin/l10n/id.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/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" : "Kunne ikke slette %s fullstendig",
    "Couldn't restore %s" : "Kunne ikke gjenopprette %s",
Severity: Major
Found in apps/files_trashbin/l10n/nb_NO.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/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/el.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/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/sr.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/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" : "Notificações de atualização",
    "{version} is available. Get more information on how to update." : "{version} está disponível. Obtenha mais informações sobre como atualizar.",
Severity: Major
Found in apps/updatenotification/l10n/pt_BR.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/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/mk.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/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" : "Nie można trwale usunąć %s",
    "Couldn't restore %s" : "Nie można przywrócić %s",
Severity: Major
Found in apps/files_trashbin/l10n/pl.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/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" : "Datoteke %s ni mogoče trajno izbrisati.",
    "Couldn't restore %s" : "Ni mogoče obnoviti %s",
Severity: Major
Found in apps/files_trashbin/l10n/sl.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/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’u fshi dot përgjithmonë %s",
    "Couldn't restore %s" : "S’u rikthye dot %s",
Severity: Major
Found in apps/files_trashbin/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/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/fa.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/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" : "Ekki tókst að eyða %s varanlega",
    "Couldn't restore %s" : "Gat ekki endurheimt %s",
Severity: Major
Found in apps/files_trashbin/l10n/is.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/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" : "Kunne ikke slette %s permanent",
    "Couldn't restore %s" : "Kunne ikke gendanne %s",
Severity: Major
Found in apps/files_trashbin/l10n/da.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/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" : "Уведомления об обновлениях",
    "{version} is available. Get more information on how to update." : "Доступна версия {version}. Получить дополнительную информацию о порядке обновления.",
Severity: Major
Found in apps/updatenotification/l10n/ru_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.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/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

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

        $.post(url, {tag: tag}, function(response) {
            if(response.status === 'success') {
                defer.resolve(response);
            } else {
                defer.reject(response);
Severity: Major
Found in core/js/tags.js and 1 other location - About 3 hrs to fix
core/js/tags.js on lines 153..161

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

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

        $.post(url, {tag: tag}, function(response) {
            if(response.status === 'success') {
                defer.resolve(response);
            } else {
                defer.reject(response);
Severity: Major
Found in core/js/tags.js and 1 other location - About 3 hrs to fix
core/js/tags.js on lines 178..186

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

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

                if(self.menuDirection === 'down') {
                    button.parent().children('ul').slideUp(slideDuration,function() {
                        button.parent().children('ul').remove();
                        button.removeClass('active down');
                        $(self).trigger($.Event('dropdownclosed', settings));
Severity: Major
Found in core/js/multiselect.js and 1 other location - About 3 hrs to fix
core/js/multiselect.js on lines 82..94

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

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

                if(self.menuDirection === 'down') {
                    button.parent().children('ul').slideUp(slideDuration,function() {
                        button.parent().children('ul').remove();
                        button.removeClass('active down');
                        $(self).trigger($.Event('dropdownclosed', settings));
Severity: Major
Found in core/js/multiselect.js and 1 other location - About 3 hrs to fix
core/js/multiselect.js on lines 102..114

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

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