Undev/redmine-stuff-to-do-plugin

View on GitHub

Showing 434 of 609 total issues

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

jQuery(function($){
    $.datepicker.regional['da'] = {
        clearText: 'Nulstil', clearStatus: 'Nulstil den aktuelle dato',
        closeText: 'Luk', closeStatus: 'Luk uden ændringer',
        prevText: '<Forrige', prevStatus: 'Vis forrige måned',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-da.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['pt-BR'] = {
        clearText: 'Limpar', clearStatus: '',
        closeText: 'Fechar', closeStatus: '',
        prevText: '<Anterior', prevStatus: '',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['ko'] = {
        clearText: '지우기', clearStatus: '',
        closeText: '닫기', closeStatus: '',
        prevText: '이전달', prevStatus: '',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-ko.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['it'] = {
        clearText: 'Svuota', clearStatus: 'Annulla',
        closeText: 'Chiudi', closeStatus: 'Chiudere senza modificare',
        prevText: '<Prec', prevStatus: 'Mese precedente',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-it.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['sq'] = {
        clearText: 'fshije', clearStatus: 'fshije datën aktuale',
        closeText: 'mbylle', closeStatus: 'mbylle pa ndryshime',
        prevText: '<mbrapa', prevStatus: 'trego muajin e fundit',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-sq.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['is'] = {
        clearText: 'Hreinsa', clearStatus: '',
        closeText: 'Loka', closeStatus: '',
        prevText: '< Fyrri', prevStatus: '',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-is.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['ro'] = {
        clearText: 'Curat', clearStatus: 'Sterge data curenta',
        closeText: 'Inchide', closeStatus: 'Inchide fara schimbare',
        prevText: '<Anterior', prevStatus: 'Arata luna trecuta',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-ro.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['sk'] = {
        clearText: 'Zmazať', clearStatus: '',
        closeText: 'Zavrieť', closeStatus: '',
        prevText: '<Predchádzajúci',  prevStatus: '',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-sk.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['hr'] = {
        clearText: 'izbriši', clearStatus: 'Izbriši trenutni datum',
        closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
        prevText: '<', prevStatus: 'Prikaži prethodni mjesec',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-hr.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['hy'] = {
        clearText: 'Մաքրել', clearStatus: '',
        closeText: 'Փակել', closeStatus: '',
        prevText: '<Նախ.',  prevStatus: '',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-hy.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['he'] = {
        clearText: 'נקה', clearStatus: '',
        closeText: 'סגור', closeStatus: '',
        prevText: '<הקודם', prevStatus: '',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-he.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['eo'] = {
        clearText: 'Vakigi', clearStatus: '',
        closeText: 'Fermi', closeStatus: 'Fermi sen modifi',
        prevText: '<Anta', prevStatus: 'Vidi la antaŭan monaton',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-eo.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['pl'] = {
        clearText: 'Wyczyść', clearStatus: 'Wyczyść obecną datę',
        closeText: 'Zamknij', closeStatus: 'Zamknij bez zapisywania',
        prevText: '<Poprzedni', prevStatus: 'Pokaż poprzedni miesiąc',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-pl.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['th'] = {
        clearText: 'ลบ', clearStatus: '',
        closeText: 'ปิด', closeStatus: '',
        prevText: '« ย้อน', prevStatus: '',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-th.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['zh-TW'] = {
        clearText: '清除', clearStatus: '清除已選日期',
        closeText: '關閉', closeStatus: '不改變目前的選擇',
        prevText: '<上月', prevStatus: '顯示上月',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['bg'] = {
        clearText: 'изчисти', clearStatus: 'изчисти актуалната дата',
        closeText: 'затвори', closeStatus: 'затвори без промени',
        prevText: '<назад', prevStatus: 'покажи последния месец',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-bg.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['lv'] = {
        clearText: 'Notīrīt', clearStatus: '',
        closeText: 'Aizvērt', closeStatus: '',
        prevText: 'Iepr',  prevStatus: '',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-lv.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['de'] = {
        clearText: 'löschen', clearStatus: 'aktuelles Datum löschen',
        closeText: 'schließen', closeStatus: 'ohne Änderungen schließen',
        prevText: '<zurück', prevStatus: 'letzten Monat zeigen',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-de.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-id.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

jQuery(function($){
    $.datepicker.regional['id'] = {
        clearText: 'kosongkan', clearStatus: 'bersihkan tanggal yang sekarang',
        closeText: 'Tutup', closeStatus: 'Tutup tanpa mengubah',
        prevText: '<mundur', prevStatus: 'Tampilkan bulan sebelumnya',
Severity: Major
Found in assets/javascripts/ui/i18n/ui.datepicker-id.js and 28 other locations - About 1 day to fix
assets/javascripts/ui/i18n/ui.datepicker-bg.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-cs.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-da.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-de.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-eo.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-fr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-he.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hu.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-hy.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-is.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-it.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ko.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lt.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-lv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-no.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pl.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-pt-BR.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ro.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-ru.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sq.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-sv.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-th.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-tr.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-uk.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-CN.js on lines 3..25
assets/javascripts/ui/i18n/ui.datepicker-zh-TW.js on lines 3..25

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

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

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

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

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

Refactorings

Further Reading

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

        if(this.options.custom && this.options.custom.refreshContainers) {
            this.options.custom.refreshContainers.call(this);
        } else {
            for (var i = this.containers.length - 1; i >= 0; i--){
                var p = this.containers[i].element.offset();
Severity: Major
Found in assets/javascripts/ui/ui.sortable.js and 1 other location - About 1 day to fix
assets/javascripts/jquery-ui.js on lines 1687..1697

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

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