owncloud/core

View on GitHub

Showing 4,504 of 4,504 total issues

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

OC.L10N.register(
    "dav",
    {
    "Contact birthdays" : "Kontaktų gimtadieniai",
    "User unknown" : "Naudotojas nežinomas",
Severity: Major
Found in apps/dav/l10n/lt_LT.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/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" : "Aniversarios dos contactos",
    "User unknown" : "Usuario descoñecido",
Severity: Major
Found in apps/dav/l10n/gl.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/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" : "Urodziny",
    "User unknown" : "Nieznany użytkownik",
Severity: Major
Found in apps/dav/l10n/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_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" : "Kişi doğum günleri",
    "User unknown" : "Bilinmeyen kullanıcı",
Severity: Major
Found in apps/dav/l10n/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/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(
    "core",
    {
    "Settings" : "Inställningar",
    "No" : "Nej",
Severity: Major
Found in core/l10n/sv_SE.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
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" : "Kontak verjaardae",
    "User unknown" : "onbekende gebruiker",
Severity: Major
Found in apps/dav/l10n/af_ZA.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/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(
    "lib",
    {
    "seconds ago" : "कुछ सेकंड पहले",
    "Username" : "उपभोक्ता  का नाम",
Severity: Major
Found in lib/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/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
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_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.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_TW.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/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" : "Az ismerősök születésnapjai",
    "User unknown" : "Felhasználó ismeretlen",
Severity: Major
Found in apps/dav/l10n/hu_HU.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/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/he.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/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_LK.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/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/th_TH.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/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_external",
    {
    "Saved" : "Guardado",
    "Username" : "Nombre de usuario",
Severity: Major
Found in apps/files_external/l10n/es_ES.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/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_external",
    {
    "Saved" : "সংরক্ষিত",
    "Save" : "সেভ",
Severity: Major
Found in apps/files_external/l10n/bn_IN.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/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 Deiner Kontakte",
    "User unknown" : "Unbekannter Benutzer",
Severity: Major
Found in apps/dav/l10n/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_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" : "Datëlindje kontaktesh",
    "User unknown" : "Përdorues i panjohur",
Severity: Major
Found in apps/dav/l10n/sq.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/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" : "Kontak hari ultah",
    "User unknown" : "Pengguna tidak diketahui",
Severity: Major
Found in apps/dav/l10n/id.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/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" : "Contato de aniversários ",
    "User unknown" : "Usuário desconhecido",
Severity: Major
Found in apps/dav/l10n/pt_BR.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_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" : "Aniversários do contacto",
    "User unknown" : "Utilizador desconhecido",
Severity: Major
Found in apps/dav/l10n/pt_PT.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/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