owncloud/core

View on GitHub

Showing 1,269 of 4,504 total issues

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

OC.L10N.register(
    "updatenotification",
    {
    "Update notifications" : "Paziņojumi par atjauninājumiem",
    "{version} is available. Get more information on how to update." : "{version} ir pieejams. Uzziniet vairāk kā atjaunināt.",
Severity: Major
Found in apps/updatenotification/l10n/lv.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "comments",
    {
    "Delete comment" : "Ջնջել մեկնաբանությունը",
    "Cancel" : "Չեղարկել",
Severity: Major
Found in apps/comments/l10n/hy.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "උපන්දින",
    "User unknown" : "නොදන්නා පරිශීලකයෙක්",
Severity: Major
Found in apps/dav/l10n/si.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "files_sharing",
    {
    "Cancel" : "منسوخ کریں",
    "Add" : "شامل کریں",
Severity: Major
Found in apps/files_sharing/l10n/ur_PK.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "files_sharing",
    {
    "Shared by link" : "लिंक द्वारा साझा किया गया",
    "Cancel" : "रद्द करें ",
Severity: Major
Found in apps/files_sharing/l10n/hi.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Дни рождения контактов",
    "User unknown" : "Пользователь неизвестен",
Severity: Major
Found in apps/dav/l10n/ru.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "settings",
    {
    "Authentication error" : "ခွင့်ပြုချက်မအောင်မြင်",
    "Invalid request" : "တောင်းဆိုချက်မမှန်ကန်ပါ",
Severity: Major
Found in settings/l10n/my_MM.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "أعياد ميلاد جهات الاتصال",
    "User unknown" : "مستخدم غيرمعروف",
Severity: Major
Found in apps/dav/l10n/ar.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Anniversaires des contacts",
    "User unknown" : "Utilisateur inconnu",
Severity: Major
Found in apps/dav/l10n/fr.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Рождени дни на контактите",
    "User unknown" : "Непознат потребител",
Severity: Major
Found in apps/dav/l10n/bg_BG.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Compleanni dei contatti",
    "User unknown" : "Utente sconosciuto",
Severity: Major
Found in apps/dav/l10n/it.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "files",
    {
    "Close" : "Kapat",
    "Download" : "İndir",
Severity: Major
Found in apps/files/l10n/tr_TR.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Urodziny",
    "User unknown" : "Nieznany użytkownik",
Severity: Major
Found in apps/dav/l10n/pl_PL.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "ئالاقىداش تۇغۇلغان كۈنى",
    "User unknown" : "نامەلۇم ئىشلەتكۈچى",
Severity: Major
Found in apps/dav/l10n/ug.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Narozeniny kontaktů",
    "User unknown" : "Neznámý uživatel",
Severity: Major
Found in apps/dav/l10n/cs_CZ.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Kontakters födelsedagar",
    "User unknown" : "Okänd användare",
Severity: Major
Found in apps/dav/l10n/sv.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Geburtstage Ihrer Kontakte",
    "User unknown" : "Unbekannter Benutzer",
Severity: Major
Found in apps/dav/l10n/de_DE.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "연락처에 등록된 생일",
    "User unknown" : "알 수 없는 사용자",
Severity: Major
Found in apps/dav/l10n/ko.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "联系人生日",
    "User unknown" : "用户未知",
Severity: Major
Found in apps/dav/l10n/zh_CN.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/en_GB.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Contact birthdays",
    "User unknown" : "User unknown",
Severity: Major
Found in apps/dav/l10n/en_GB.js and 51 other locations - About 1 hr to fix
apps/comments/l10n/hy.js on lines 1..13
apps/comments/l10n/si.js on lines 1..13
apps/comments/l10n/si_LK.js on lines 1..13
apps/dav/l10n/af_ZA.js on lines 1..13
apps/dav/l10n/ar.js on lines 1..13
apps/dav/l10n/bg_BG.js on lines 1..13
apps/dav/l10n/cs_CZ.js on lines 1..13
apps/dav/l10n/de.js on lines 1..13
apps/dav/l10n/de_CH.js on lines 1..13
apps/dav/l10n/de_DE.js on lines 1..13
apps/dav/l10n/el.js on lines 1..13
apps/dav/l10n/es.js on lines 1..13
apps/dav/l10n/fr.js on lines 1..13
apps/dav/l10n/gl.js on lines 1..13
apps/dav/l10n/he.js on lines 1..13
apps/dav/l10n/hu_HU.js on lines 1..13
apps/dav/l10n/id.js on lines 1..13
apps/dav/l10n/it.js on lines 1..13
apps/dav/l10n/ko.js on lines 1..13
apps/dav/l10n/lt_LT.js on lines 1..13
apps/dav/l10n/pl.js on lines 1..13
apps/dav/l10n/pl_PL.js on lines 1..13
apps/dav/l10n/pt_BR.js on lines 1..13
apps/dav/l10n/pt_PT.js on lines 1..13
apps/dav/l10n/ru.js on lines 1..13
apps/dav/l10n/ru_RU.js on lines 1..13
apps/dav/l10n/si.js on lines 1..13
apps/dav/l10n/si_LK.js on lines 1..13
apps/dav/l10n/sq.js on lines 1..13
apps/dav/l10n/sv.js on lines 1..13
apps/dav/l10n/th_TH.js on lines 1..13
apps/dav/l10n/tr.js on lines 1..13
apps/dav/l10n/ug.js on lines 1..13
apps/dav/l10n/zh_CN.js on lines 1..13
apps/dav/l10n/zh_TW.js on lines 1..13
apps/federation/l10n/hr.js on lines 1..13
apps/federation/l10n/vi.js on lines 1..13
apps/files/l10n/te.js on lines 1..13
apps/files/l10n/tr_TR.js on lines 1..13
apps/files_external/l10n/bn_IN.js on lines 1..13
apps/files_external/l10n/es_ES.js on lines 1..13
apps/files_external/l10n/ku_IQ.js on lines 1..13
apps/files_sharing/l10n/hi.js on lines 1..13
apps/files_sharing/l10n/nds.js on lines 1..13
apps/files_sharing/l10n/ta_LK.js on lines 1..13
apps/files_sharing/l10n/ur_PK.js on lines 1..13
apps/files_versions/l10n/ru_RU.js on lines 1..13
apps/updatenotification/l10n/lv.js on lines 1..13
core/l10n/sv_SE.js on lines 1..13
lib/l10n/hi.js on lines 1..13
settings/l10n/my_MM.js on lines 1..13

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

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