sibprogrammer/owp

View on GitHub

Showing 803 of 803 total issues

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Hoje",
      minText           : "Esta data é anterior a menor data",
      maxText           : "Esta data é posterior a maior data",
Severity: Major
Found in public/ext/locale/ext-lang-pt_BR.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText: 'Vandaag',
    minText: 'Deze datum is eerder dan de minimale datum',
    maxText: 'Deze datum is later dan de maximale datum',
Severity: Major
Found in public/ext/locale/ext-lang-nl.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Avui",
    minText           : "Aquesta data és anterior a la data mínima",
    maxText           : "Aquesta data és posterior a la data màxima",
Severity: Major
Found in public/ext/locale/ext-lang-ca.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "오늘",
      minText           : "최소 날짜범위를 넘었습니다.",
      maxText           : "최대 날짜범위를 넘었습니다.",
Severity: Major
Found in public/ext/locale/ext-lang-ko.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Hoje",
      minText           : "Esta data é anterior à menor data",
      maxText           : "Esta data é posterior à maior data",
Severity: Major
Found in public/ext/locale/ext-lang-pt.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Dnes",
      minText           : "Datum nesmí být starší než je minimální",
      maxText           : "Datum nesmí být dřívější než je maximální",
Severity: Major
Found in public/ext/locale/ext-lang-cs.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Hari ini",
    minText           : "Tanggal ini sebelum batas tanggal minimal", 
    maxText           : "Tanggal ini setelah batas tanggal maksimal", 
Severity: Major
Found in public/ext/locale/ext-lang-id.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Today",
    minText           : "This date is before the minimum date",
    maxText           : "This date is after the maximum date",
Severity: Major
Found in public/ext/locale/ext-lang-en_GB.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Mai nap",
    minText           : "A dátum korábbi a megengedettnél",
    maxText           : "A dátum későbbi a megengedettnél",
Severity: Major
Found in public/ext/locale/ext-lang-hu.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Šiandien",
    minText           : "Ši data yra mažesnė už leistiną",
    maxText           : "Ši data yra didesnė už leistiną",
Severity: Major
Found in public/ext/locale/ext-lang-lt.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "I dag",
    minText           : "Denne datoen er før tidligste tillatte dato",
    maxText           : "Denne datoen er etter seneste tillatte dato",
Severity: Major
Found in public/ext/locale/ext-lang-no_NB.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Today",
    minText           : "This date is before the minimum date",
    maxText           : "This date is after the maximum date",
Severity: Major
Found in public/ext/locale/ext-lang-en.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "����",
    minText           : ".����� �� �� ���� ������ ������� �����",
    maxText           : ".����� �� �� ���� ������ ����� �����",
Severity: Major
Found in public/ext/locale/ext-lang-he.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Hoje",
    minText           : "A data é anterior ao mínimo definido",
    maxText           : "A data é posterior ao m�ximo definido",
Severity: Major
Found in public/ext/locale/ext-lang-pt_PT.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Çѹ¹Õé",
    minText           : "This date is before the minimum date",
    maxText           : "This date is after the maximum date",
Severity: Major
Found in public/ext/locale/ext-lang-th.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "今日",
    minText           : "選択した日付は最小値以下です。",
    maxText           : "選択した日付は最大値以上です。",
Severity: Major
Found in public/ext/locale/ext-lang-ja.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
   Ext.apply(Ext.DatePicker.prototype, {
      todayText         : "Сьогодні",
      minText           : "Ця дата меньша за мінімальну допустиму дату",
      maxText           : "Ця дата більша за максимальну допустиму дату",
Severity: Major
Found in public/ext/locale/ext-lang-ukr.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "امروز",
    minText           : "این تاریخ قبل از محدوده مجاز است",
    maxText           : "این تاریخ پس از محدوده مجاز است",
Severity: Major
Found in public/ext/locale/ext-lang-fa.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Днес",
    minText           : "Тази дата е преди минималната",
    maxText           : "Тази дата е след максималната",
Severity: Major
Found in public/ext/locale/ext-lang-bg.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-no_NN.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "I dag",
    minText           : "Denne datoen er før tidlegaste tillatne dato",
    maxText           : "Denne datoen er etter seinaste tillatne dato",
Severity: Major
Found in public/ext/locale/ext-lang-no_NN.js and 28 other locations - About 4 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 97..115
public/ext/locale/ext-lang-ca.js on lines 100..118
public/ext/locale/ext-lang-cs.js on lines 104..122
public/ext/locale/ext-lang-da.js on lines 107..125
public/ext/locale/ext-lang-de.js on lines 115..133
public/ext/locale/ext-lang-en.js on lines 104..122
public/ext/locale/ext-lang-en_GB.js on lines 100..118
public/ext/locale/ext-lang-es.js on lines 103..121
public/ext/locale/ext-lang-fa.js on lines 92..110
public/ext/locale/ext-lang-fr.js on lines 121..139
public/ext/locale/ext-lang-he.js on lines 103..121
public/ext/locale/ext-lang-hr.js on lines 107..125
public/ext/locale/ext-lang-hu.js on lines 107..125
public/ext/locale/ext-lang-id.js on lines 112..130
public/ext/locale/ext-lang-it.js on lines 105..123
public/ext/locale/ext-lang-ja.js on lines 103..121
public/ext/locale/ext-lang-ko.js on lines 77..95
public/ext/locale/ext-lang-lt.js on lines 118..136
public/ext/locale/ext-lang-nl.js on lines 108..126
public/ext/locale/ext-lang-no_NB.js on lines 105..123
public/ext/locale/ext-lang-pt.js on lines 80..98
public/ext/locale/ext-lang-pt_BR.js on lines 122..140
public/ext/locale/ext-lang-pt_PT.js on lines 100..118
public/ext/locale/ext-lang-ro.js on lines 105..123
public/ext/locale/ext-lang-ru.js on lines 119..137
public/ext/locale/ext-lang-th.js on lines 105..123
public/ext/locale/ext-lang-tr.js on lines 119..137
public/ext/locale/ext-lang-ukr.js on lines 81..99

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

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