XoopsModules25x/apcal

View on GitHub

Showing 26,336 of 26,336 total issues

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

Calendar._TT["ABOUT"] =
    "DHTML Dato-/Tidsvelger\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "For nyeste versjon, gå til: http://www.dynarch.com/projects/calendar/\n" +
    "Distribuert under GNU LGPL.  Se http://gnu.org/licenses/lgpl.html for detaljer." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-no.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "Naujausià versijà rasite: http://www.dynarch.com/projects/calendar/\n" +
    "Platinamas pagal GNU LGPL licencijà. Aplankykite http://gnu.org/licenses/lgpl.html" +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-lt.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
    "Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-zh.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "Selector DHTML de Fecha/Hora\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "Para conseguir la última versión visite: http://www.dynarch.com/projects/calendar/\n" +
    "Distribuido bajo licencia GNU LGPL. Visite http://gnu.org/licenses/lgpl.html para más detalles." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-es.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
    "Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-big5-utf8.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "Per gli aggiornamenti: http://www.dynarch.com/projects/calendar/\n" +
    "Distribuito sotto licenza GNU LGPL.  Vedi http://gnu.org/licenses/lgpl.html per i dettagli." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-it.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "Ultima versao visite: http://www.dynarch.com/projects/calendar/\n" +
    "Distribuido sobre GNU LGPL.  Veja http://gnu.org/licenses/lgpl.html para detalhes." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-pt.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
    "Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-ru.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
    "Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-lv.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "Pentru ultima versiune vizitaţi: http://www.dynarch.com/projects/calendar/\n" +
    "Distribuit sub GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-ro.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "Uusin versio osoitteessa: http://www.dynarch.com/projects/calendar/\n" +
    "Julkaistu GNU LGPL lisenssin alaisuudessa. Lisätietoja osoitteessa http://gnu.org/licenses/lgpl.html" +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-fi.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
    "Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-tw-utf8.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Heure Selecteur\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "Pour la derniere version visitez : http://www.dynarch.com/projects/calendar/\n" +
    "Distribué par GNU LGPL.  Voir http://gnu.org/licenses/lgpl.html pour les details." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-fr.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "   DHTML \u65e5\u8d77/\u65f6\u95f4\u9009\u62e9\u63a7\u4ef6\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "For latest version visit: \u6700\u65b0\u7248\u672c\u8bf7\u767b\u9646http://www.dynarch.com/projects/calendar/\u5bdf\u770b\n" +
    "\u9075\u5faaGNU LGPL.  \u7ec6\u8282\u53c2\u9605 http://gnu.org/licenses/lgpl.html" +
Severity: Major
Found in assets/js/jscalendar/lang/cn_utf8.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "Naujausią versiją rasite: http://www.dynarch.com/projects/calendar/\n" +
    "Platinamas pagal GNU LGPL licenciją. Aplankykite http://gnu.org/licenses/lgpl.html" +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-lt-utf8.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "Za zadnjo verzijo pojdine na naslov: http://www.dynarch.com/projects/calendar/\n" +
    "Distribuirano pod GNU LGPL.  Poglejte http://gnu.org/licenses/lgpl.html za podrobnosti." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-si.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Datum/tid-väljare\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "För senaste version gå till: http://www.dynarch.com/projects/calendar/\n" +
    "Distribueras under GNU LGPL.  Se http://gnu.org/licenses/lgpl.html för detaljer." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-sv.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "Nuevas versiones en: http://www.dynarch.com/projects/calendar/\n" +
    "Distribuida bajo licencia GNU LGPL.  Para detalles vea http://gnu.org/licenses/lgpl.html ." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-sp.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML dátum/idõ kiválasztó\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "a legfrissebb verzió megtalálható: http://www.dynarch.com/projects/calendar/\n" +
    "GNU LGPL alatt terjesztve.  Lásd a http://gnu.org/licenses/lgpl.html oldalt a részletekhez." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-hu.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-tw.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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

Calendar._TT["ABOUT"] =
    "DHTML Date/Time Selector\n" +
    "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-)
    "For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
    "Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
Severity: Major
Found in assets/js/jscalendar/lang/calendar-tw.js and 28 other locations - About 2 hrs to fix
assets/js/jscalendar/lang/calendar-bg.js on lines 81..90
assets/js/jscalendar/lang/calendar-big5-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-big5.js on lines 80..89
assets/js/jscalendar/lang/calendar-ca.js on lines 80..89
assets/js/jscalendar/lang/calendar-de.js on lines 80..89
assets/js/jscalendar/lang/calendar-el.js on lines 54..63
assets/js/jscalendar/lang/calendar-en.js on lines 84..93
assets/js/jscalendar/lang/calendar-es.js on lines 86..95
assets/js/jscalendar/lang/calendar-fi.js on lines 64..73
assets/js/jscalendar/lang/calendar-fr.js on lines 82..91
assets/js/jscalendar/lang/calendar-hu.js on lines 81..90
assets/js/jscalendar/lang/calendar-it.js on lines 81..90
assets/js/jscalendar/lang/calendar-lt-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-lt.js on lines 80..89
assets/js/jscalendar/lang/calendar-lv.js on lines 80..89
assets/js/jscalendar/lang/calendar-no.js on lines 80..89
assets/js/jscalendar/lang/calendar-pl-utf8.js on lines 58..67
assets/js/jscalendar/lang/calendar-pl.js on lines 22..31
assets/js/jscalendar/lang/calendar-pt.js on lines 80..89
assets/js/jscalendar/lang/calendar-ro.js on lines 31..40
assets/js/jscalendar/lang/calendar-ru.js on lines 80..89
assets/js/jscalendar/lang/calendar-ru_win_.js on lines 80..89
assets/js/jscalendar/lang/calendar-si.js on lines 60..69
assets/js/jscalendar/lang/calendar-sp.js on lines 67..76
assets/js/jscalendar/lang/calendar-sv.js on lines 59..68
assets/js/jscalendar/lang/calendar-tw-utf8.js on lines 80..89
assets/js/jscalendar/lang/calendar-zh.js on lines 76..85
assets/js/jscalendar/lang/cn_utf8.js on lines 81..90

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

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