sibprogrammer/owp

View on GitHub

Showing 803 of 803 total issues

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

if(Ext.form.TextField){
  Ext.apply(Ext.form.TextField.prototype, {
    minLengthText : "The minimum length for this field is {0}",
    maxLengthText : "The maximum length for this field is {0}",
    blankText     : "This field is required",
Severity: Major
Found in public/ext/locale/ext-lang-th.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.TextField){
   Ext.apply(Ext.form.TextField.prototype, {
      minLengthText : "Το μικρότερο αποδεκτό μήκος για το πεδίο είναι {0}",
      maxLengthText : "Το μεγαλύτερο αποδεκτό μήκος για το πεδίο είναι {0}",
      blankText     : "Το πεδίο είναι υποχρεωτικό",
Severity: Major
Found in public/ext/locale/ext-lang-el_GR.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.TextField){
   Ext.apply(Ext.form.TextField.prototype, {
      minLengthText : "Минималната должина за ова поле е {0}",
      maxLengthText : "Максималната должина за ова поле е {0}",
      blankText     : "Податоците во ова поле се потребни",
Severity: Major
Found in public/ext/locale/ext-lang-mk.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.TextField){
   Ext.apply(Ext.form.TextField.prototype, {
      minLengthText : "Minimálna dĺžka pre toto pole je {0}",
      maxLengthText : "Maximálna dĺžka pre toto pole je {0}",
      blankText     : "Toto pole je povinné",
Severity: Major
Found in public/ext/locale/ext-lang-sk.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.TextField){
  Ext.apply(Ext.form.TextField.prototype, {
    minLengthText : "Минималната дължина на това поле е {0}",
    maxLengthText : "Максималната дължина на това поле е {0}",
    blankText     : "Това поле е задължително",
Severity: Major
Found in public/ext/locale/ext-lang-bg.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.TextField){
  Ext.apply(Ext.form.TextField.prototype, {
    minLengthText : "Минимальная длина этого поля {0}",
    maxLengthText : "Максимальная длина этого поля {0}",
    blankText     : "Это поле обязательно для заполнения",
Severity: Major
Found in public/ext/locale/ext-lang-ru.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.TextField){
   Ext.apply(Ext.form.TextField.prototype, {
      minLengthText : "Minimalna dužina za ovo polje je {0}",
      maxLengthText : "Maksimalna dužina za ovo polje je {0}",
      blankText     : "Ovo polje je obavezno",
Severity: Major
Found in public/ext/locale/ext-lang-hr.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.TextField){
  Ext.apply(Ext.form.TextField.prototype, {
    minLengthText : "Minimalus šio lauko ilgis yra {0}",
    maxLengthText : "Maksimalus šio lauko ilgis yra {0}",
    blankText     : "Šis laukas yra privalomas",
Severity: Major
Found in public/ext/locale/ext-lang-lt.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.TextField){
   Ext.apply(Ext.form.TextField.prototype, {
      minLengthText : "حداقل طول این فیلد برابر است با {0}",
      maxLengthText : "حداکثر طول این فیلد برابر است با {0}",
      blankText     : "این فیلد باید مقداری داشته باشد",
Severity: Major
Found in public/ext/locale/ext-lang-fa.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.TextField){
   Ext.apply(Ext.form.TextField.prototype, {
      minLengthText : "Minimalna dužina ovog polja је {0}",
      maxLengthText : "Maksimalna dužina ovog polja је {0}",
      blankText     : "Polje је obavezno",
Severity: Major
Found in public/ext/locale/ext-lang-sr.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.TextField){
    Ext.apply(Ext.form.TextField.prototype, {
        minLengthText : "La longueur minimum de ce champ est de {0} caractère(s)",
        maxLengthText : "La longueur maximum de ce champ est de {0} caractère(s)",
        blankText     : "Ce champ est obligatoire",
Severity: Major
Found in public/ext/locale/ext-lang-fr.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

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

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

if(Ext.form.NumberField){
  Ext.apply(Ext.form.NumberField.prototype, {
    decimalSeparator : ",",
    decimalPrecision : 2,
    minText: 'De minimale waarde van dit veld is {0}',
Severity: Major
Found in public/ext/locale/ext-lang-nl.js and 6 other locations - About 1 hr to fix
public/ext/locale/ext-lang-ca.js on lines 148..156
public/ext/locale/ext-lang-en.js on lines 156..164
public/ext/locale/ext-lang-en_GB.js on lines 152..160
public/ext/locale/ext-lang-es.js on lines 151..159
public/ext/locale/ext-lang-fr.js on lines 173..181
public/ext/locale/ext-lang-ja.js on lines 151..159

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

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

if(Ext.form.NumberField){
  Ext.apply(Ext.form.NumberField.prototype, {
    decimalSeparator : ".",
    decimalPrecision : 2,
    minText : "El valor mínimo para este campo es de {0}",
Severity: Major
Found in public/ext/locale/ext-lang-es.js and 6 other locations - About 1 hr to fix
public/ext/locale/ext-lang-ca.js on lines 148..156
public/ext/locale/ext-lang-en.js on lines 156..164
public/ext/locale/ext-lang-en_GB.js on lines 152..160
public/ext/locale/ext-lang-fr.js on lines 173..181
public/ext/locale/ext-lang-ja.js on lines 151..159
public/ext/locale/ext-lang-nl.js on lines 156..164

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

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

if(Ext.form.NumberField){
  Ext.apply(Ext.form.NumberField.prototype, {
    decimalSeparator : ".",
    decimalPrecision : 2,
    minText : "このフィールドの最小値は {0} です。",
Severity: Major
Found in public/ext/locale/ext-lang-ja.js and 6 other locations - About 1 hr to fix
public/ext/locale/ext-lang-ca.js on lines 148..156
public/ext/locale/ext-lang-en.js on lines 156..164
public/ext/locale/ext-lang-en_GB.js on lines 152..160
public/ext/locale/ext-lang-es.js on lines 151..159
public/ext/locale/ext-lang-fr.js on lines 173..181
public/ext/locale/ext-lang-nl.js on lines 156..164

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

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

if(Ext.form.NumberField){
  Ext.apply(Ext.form.NumberField.prototype, {
    decimalSeparator : ".",
    decimalPrecision : 2,
    minText : "The minimum value for this field is {0}",
Severity: Major
Found in public/ext/locale/ext-lang-en_GB.js and 6 other locations - About 1 hr to fix
public/ext/locale/ext-lang-ca.js on lines 148..156
public/ext/locale/ext-lang-en.js on lines 156..164
public/ext/locale/ext-lang-es.js on lines 151..159
public/ext/locale/ext-lang-fr.js on lines 173..181
public/ext/locale/ext-lang-ja.js on lines 151..159
public/ext/locale/ext-lang-nl.js on lines 156..164

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

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

if(Ext.form.NumberField){
  Ext.apply(Ext.form.NumberField.prototype, {
    decimalSeparator : ",",
    decimalPrecision : 2,
    minText : "El valor mínim per aquest camp és {0}",
Severity: Major
Found in public/ext/locale/ext-lang-ca.js and 6 other locations - About 1 hr to fix
public/ext/locale/ext-lang-en.js on lines 156..164
public/ext/locale/ext-lang-en_GB.js on lines 152..160
public/ext/locale/ext-lang-es.js on lines 151..159
public/ext/locale/ext-lang-fr.js on lines 173..181
public/ext/locale/ext-lang-ja.js on lines 151..159
public/ext/locale/ext-lang-nl.js on lines 156..164

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

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

if(Ext.form.NumberField){
   Ext.apply(Ext.form.NumberField.prototype, {
      decimalSeparator : ",",
      decimalPrecision : 2,
      minText : "La valeur minimum de ce champ doit être de {0}",
Severity: Major
Found in public/ext/locale/ext-lang-fr.js and 6 other locations - About 1 hr to fix
public/ext/locale/ext-lang-ca.js on lines 148..156
public/ext/locale/ext-lang-en.js on lines 156..164
public/ext/locale/ext-lang-en_GB.js on lines 152..160
public/ext/locale/ext-lang-es.js on lines 151..159
public/ext/locale/ext-lang-ja.js on lines 151..159
public/ext/locale/ext-lang-nl.js on lines 156..164

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

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

if(Ext.form.NumberField){
  Ext.apply(Ext.form.NumberField.prototype, {
    decimalSeparator : ".",
    decimalPrecision : 2,
    minText : "The minimum value for this field is {0}",
Severity: Major
Found in public/ext/locale/ext-lang-en.js and 6 other locations - About 1 hr to fix
public/ext/locale/ext-lang-ca.js on lines 148..156
public/ext/locale/ext-lang-en_GB.js on lines 152..160
public/ext/locale/ext-lang-es.js on lines 151..159
public/ext/locale/ext-lang-fr.js on lines 173..181
public/ext/locale/ext-lang-ja.js on lines 151..159
public/ext/locale/ext-lang-nl.js on lines 156..164

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

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

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

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

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

Refactorings

Further Reading

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

Date.getMonthNumber = function(name) {
  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
};
Severity: Major
Found in public/ext/locale/ext-lang-pl.js and 21 other locations - About 1 hr to fix
public/ext/locale/ext-lang-ca.js on lines 63..65
public/ext/locale/ext-lang-cs.js on lines 69..71
public/ext/locale/ext-lang-da.js on lines 72..74
public/ext/locale/ext-lang-de.js on lines 75..77
public/ext/locale/ext-lang-el_GR.js on lines 90..92
public/ext/locale/ext-lang-en.js on lines 67..69
public/ext/locale/ext-lang-en_GB.js on lines 63..65
public/ext/locale/ext-lang-es.js on lines 64..66
public/ext/locale/ext-lang-he.js on lines 68..70
public/ext/locale/ext-lang-hr.js on lines 72..74
public/ext/locale/ext-lang-hu.js on lines 72..74
public/ext/locale/ext-lang-id.js on lines 77..79
public/ext/locale/ext-lang-it.js on lines 70..72
public/ext/locale/ext-lang-no_NB.js on lines 70..72
public/ext/locale/ext-lang-no_NN.js on lines 70..72
public/ext/locale/ext-lang-pt_BR.js on lines 74..76
public/ext/locale/ext-lang-pt_PT.js on lines 65..67
public/ext/locale/ext-lang-ro.js on lines 70..72
public/ext/locale/ext-lang-ru.js on lines 84..86
public/ext/locale/ext-lang-th.js on lines 70..72
public/ext/locale/ext-lang-tr.js on lines 74..76

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

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

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

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

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

Refactorings

Further Reading

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

Date.getMonthNumber = function(name) {
  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
};
Severity: Major
Found in public/ext/locale/ext-lang-ro.js and 21 other locations - About 1 hr to fix
public/ext/locale/ext-lang-ca.js on lines 63..65
public/ext/locale/ext-lang-cs.js on lines 69..71
public/ext/locale/ext-lang-da.js on lines 72..74
public/ext/locale/ext-lang-de.js on lines 75..77
public/ext/locale/ext-lang-el_GR.js on lines 90..92
public/ext/locale/ext-lang-en.js on lines 67..69
public/ext/locale/ext-lang-en_GB.js on lines 63..65
public/ext/locale/ext-lang-es.js on lines 64..66
public/ext/locale/ext-lang-he.js on lines 68..70
public/ext/locale/ext-lang-hr.js on lines 72..74
public/ext/locale/ext-lang-hu.js on lines 72..74
public/ext/locale/ext-lang-id.js on lines 77..79
public/ext/locale/ext-lang-it.js on lines 70..72
public/ext/locale/ext-lang-no_NB.js on lines 70..72
public/ext/locale/ext-lang-no_NN.js on lines 70..72
public/ext/locale/ext-lang-pl.js on lines 70..72
public/ext/locale/ext-lang-pt_BR.js on lines 74..76
public/ext/locale/ext-lang-pt_PT.js on lines 65..67
public/ext/locale/ext-lang-ru.js on lines 84..86
public/ext/locale/ext-lang-th.js on lines 70..72
public/ext/locale/ext-lang-tr.js on lines 74..76

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

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