owncloud/core

View on GitHub

Showing 1,269 of 4,504 total issues

Similar blocks of code found in 43 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ção sobre como atualizar.",
Severity: Major
Found in apps/updatenotification/l10n/pt_PT.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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

OC.L10N.register(
    "updatenotification",
    {
    "Update notifications" : "Notificacions d'actualització",
    "{version} is available. Get more information on how to update." : "Hi ha disponible la versió {version}. Obtingueu més informació sobre com actualitzar.",
Severity: Major
Found in apps/updatenotification/l10n/ca.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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 43 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/ko.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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

OC.L10N.register(
    "updatenotification",
    {
    "Update notifications" : "Päivitysilmoitukset",
    "{version} is available. Get more information on how to update." : "{version} on saatavilla. Tarjolla on lisätietoja päivittämisestä.",
Severity: Major
Found in apps/updatenotification/l10n/fi_FI.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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 43 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/ja.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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

OC.L10N.register(
    "updatenotification",
    {
    "Update notifications" : "Актуализиране на известията",
    "{version} is available. Get more information on how to update." : "{версия} е налична. Получете повече информация за това как да актуализирате.",
Severity: Major
Found in apps/updatenotification/l10n/bg_BG.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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

OC.L10N.register(
    "comments",
    {
    "Type in a new comment..." : "Tajpu novan komenton...",
    "Delete comment" : "Forigi komenton",
Severity: Major
Found in apps/comments/l10n/eo.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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

OC.L10N.register(
    "federatedfilesharing",
    {
    "Loading..." : "Įkeliama ...",
    "Accept" : "Priimti",
Severity: Major
Found in apps/federatedfilesharing/l10n/lt_LT.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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 43 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/th_TH.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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

OC.L10N.register(
    "updatenotification",
    {
    "Update notifications" : "Tilkynningar um uppfærslu",
    "{version} is available. Get more information on how to update." : "{version} er í boði. Fáðu frekari upplýsingar um hvernig á að uppfæra.",
Severity: Major
Found in apps/updatenotification/l10n/is.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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

OC.L10N.register(
    "updatenotification",
    {
    "Update notifications" : "Posodobi obvestila",
    "{version} is available. Get more information on how to update." : "Na voljo je nova različica {version}. Na voljo je več podrobnosti o nadgradnji.",
Severity: Major
Found in apps/updatenotification/l10n/sl.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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 43 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/el.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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

OC.L10N.register(
    "lib",
    {
    "Unknown filetype" : "Unbekannter Dateityp",
    "Invalid image" : "Ungültiges Bild",
Severity: Major
Found in lib/l10n/de_AT.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/af_ZA.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20

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

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

OC.L10N.register(
    "updatenotification",
    {
    "Update notifications" : "Bywerkkennisgewings",
    "{version} is available. Get more information on how to update." : "{version} is beskikbaar. Kry meer inligting oor opdatering.",
Severity: Major
Found in apps/updatenotification/l10n/af_ZA.js and 42 other locations - About 2 hrs to fix
apps/comments/l10n/eo.js on lines 1..20
apps/comments/l10n/sr.js on lines 1..20
apps/federatedfilesharing/l10n/lt_LT.js on lines 1..20
apps/files/l10n/nds.js on lines 1..20
apps/files_external/l10n/si_LK.js on lines 1..20
apps/files_external/l10n/ta.js on lines 1..20
apps/files_external/l10n/ta_LK.js on lines 1..20
apps/files_sharing/l10n/de_AT.js on lines 1..20
apps/files_trashbin/l10n/eo.js on lines 1..20
apps/updatenotification/l10n/ar.js on lines 1..20
apps/updatenotification/l10n/bg_BG.js on lines 1..20
apps/updatenotification/l10n/ca.js on lines 1..20
apps/updatenotification/l10n/cs_CZ.js on lines 1..20
apps/updatenotification/l10n/da.js on lines 1..20
apps/updatenotification/l10n/de_CH.js on lines 1..20
apps/updatenotification/l10n/el.js on lines 1..20
apps/updatenotification/l10n/es.js on lines 1..20
apps/updatenotification/l10n/es_MX.js on lines 1..20
apps/updatenotification/l10n/eu.js on lines 1..20
apps/updatenotification/l10n/fi_FI.js on lines 1..20
apps/updatenotification/l10n/fr.js on lines 1..20
apps/updatenotification/l10n/gl.js on lines 1..20
apps/updatenotification/l10n/he.js on lines 1..20
apps/updatenotification/l10n/hu_HU.js on lines 1..20
apps/updatenotification/l10n/is.js on lines 1..20
apps/updatenotification/l10n/it.js on lines 1..20
apps/updatenotification/l10n/ja.js on lines 1..20
apps/updatenotification/l10n/ko.js on lines 1..20
apps/updatenotification/l10n/lt_LT.js on lines 1..20
apps/updatenotification/l10n/mk.js on lines 1..20
apps/updatenotification/l10n/nb_NO.js on lines 1..20
apps/updatenotification/l10n/nn_NO.js on lines 1..20
apps/updatenotification/l10n/pl.js on lines 1..20
apps/updatenotification/l10n/pt_PT.js on lines 1..20
apps/updatenotification/l10n/sl.js on lines 1..20
apps/updatenotification/l10n/sv.js on lines 1..20
apps/updatenotification/l10n/th_TH.js on lines 1..20
apps/updatenotification/l10n/uk.js on lines 1..20
apps/updatenotification/l10n/zh_CN.js on lines 1..20
apps/updatenotification/l10n/zh_TW.js on lines 1..20
core/l10n/bn_IN.js on lines 1..20
lib/l10n/de_AT.js on lines 1..20

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

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

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

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

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

Refactorings

Further Reading

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

    private function extractPluginList($array) {
        if (isset($array['sabre']) && \is_array($array['sabre'])) {
            if (isset($array['sabre']['plugins']) && \is_array($array['sabre']['plugins'])) {
                if (isset($array['sabre']['plugins']['plugin'])) {
                    $items = $array['sabre']['plugins']['plugin'];
Severity: Major
Found in apps/dav/lib/AppInfo/PluginManager.php and 1 other location - About 2 hrs to fix
apps/dav/lib/AppInfo/PluginManager.php on lines 126..139

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

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

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

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

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

Refactorings

Further Reading

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

        if ($params[0] !== $params[1] && $params[1] !== null) {
            $params[0] = $this->getUserString($params[0]);
            $params[1] = $this->getUserString($params[1]);
            $notification->setParsedSubject(
                (string) $l->t('"%1$s" shared "%3$s" with you (on behalf of "%2$s")', $params)
Severity: Major
Found in apps/files_sharing/lib/Notifier.php and 1 other location - About 2 hrs to fix
apps/files_sharing/lib/Notifier.php on lines 123..134

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

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

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

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

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

Refactorings

Further Reading

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

        if ($messageParams[0] !== $messageParams[1] && $messageParams[1] !== null) {
            $messageParams[0] = $this->getUserString($messageParams[0]);
            $messageParams[1] = $this->getUserString($messageParams[1]);
            $notification->setParsedMessage(
                (string) $l->t('"%1$s" invited you to view "%3$s" (on behalf of "%2$s")', $messageParams)
Severity: Major
Found in apps/files_sharing/lib/Notifier.php and 1 other location - About 2 hrs to fix
apps/files_sharing/lib/Notifier.php on lines 109..120

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

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

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

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

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

Refactorings

Further Reading

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

    private function extractCollectionList($array) {
        if (isset($array['sabre']) && \is_array($array['sabre'])) {
            if (isset($array['sabre']['collections']) && \is_array($array['sabre']['collections'])) {
                if (isset($array['sabre']['collections']['collection'])) {
                    $items = $array['sabre']['collections']['collection'];
Severity: Major
Found in apps/dav/lib/AppInfo/PluginManager.php and 1 other location - About 2 hrs to fix
apps/dav/lib/AppInfo/PluginManager.php on lines 111..124

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

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

<?php

namespace OCA\Files_Trashbin\Migrations;

use Doctrine\DBAL\Schema\Schema;
apps/federatedfilesharing/appinfo/Migrations/Version20190410160725.php on lines 1..42
apps/files_sharing/appinfo/Migrations/Version20190426123324.php on lines 1..41

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

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

<?php
/**
 * @author Viktar Dubiniuk <dubiniuk@owncloud.com>
 *
 * @copyright Copyright (c) 2019, ownCloud GmbH
apps/files_sharing/appinfo/Migrations/Version20190426123324.php on lines 1..41
apps/files_trashbin/appinfo/Migrations/Version20170804201253.php on lines 1..24

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

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