talho/openphin

View on GitHub

Showing 3,486 of 3,486 total issues

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

if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
        splitTip            : "Przeciągnij aby zmienić rozmiar.",
        collapsibleSplitTip    : "Przeciągnij aby zmienić rozmiar. Kliknij dwukrotnie aby ukryć."
    });
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-pl.js and 42 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-af.js on lines 179..184
app/assets/javascripts/ext/src/locale/ext-lang-bg.js on lines 273..278
app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 288..293
app/assets/javascripts/ext/src/locale/ext-lang-cs.js on lines 305..310
app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 320..325
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 303..308
app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 318..323
app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 294..299
app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 267..272
app/assets/javascripts/ext/src/locale/ext-lang-fi.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-fr.js on lines 315..320
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 213..218
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 170..175
app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 287..292
app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-ja.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 261..266
app/assets/javascripts/ext/src/locale/ext-lang-lt.js on lines 306..311
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-nl.js on lines 296..301
app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 255..260
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 292..297
app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 290..295
app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 314..319
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 177..182
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-sr.js on lines 174..179
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 173..178
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 173..178
app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 256..261
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 176..181
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 258..263
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 173..178

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

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

if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
      splitTip            : "درگ برای تغییر اندازه.",
      collapsibleSplitTip : "برای تغییر اندازه درگ کنید."
   });
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-fa.js and 42 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-af.js on lines 179..184
app/assets/javascripts/ext/src/locale/ext-lang-bg.js on lines 273..278
app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 288..293
app/assets/javascripts/ext/src/locale/ext-lang-cs.js on lines 305..310
app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 320..325
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 303..308
app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 318..323
app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 294..299
app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-fi.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-fr.js on lines 315..320
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 213..218
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 170..175
app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 287..292
app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-ja.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 261..266
app/assets/javascripts/ext/src/locale/ext-lang-lt.js on lines 306..311
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-nl.js on lines 296..301
app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 299..304
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 255..260
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 292..297
app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 290..295
app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 314..319
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 177..182
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-sr.js on lines 174..179
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 173..178
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 173..178
app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 256..261
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 176..181
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 258..263
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 173..178

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

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

if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
      splitTip            : "Trascina per cambiare dimensioni.",
      collapsibleSplitTip : "Trascina per cambiare dimensioni. Doppio click per nascondere."
   });
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-it.js and 42 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-af.js on lines 179..184
app/assets/javascripts/ext/src/locale/ext-lang-bg.js on lines 273..278
app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 288..293
app/assets/javascripts/ext/src/locale/ext-lang-cs.js on lines 305..310
app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 320..325
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 303..308
app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 318..323
app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 294..299
app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 267..272
app/assets/javascripts/ext/src/locale/ext-lang-fi.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-fr.js on lines 315..320
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 213..218
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 170..175
app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 287..292
app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-ja.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 261..266
app/assets/javascripts/ext/src/locale/ext-lang-lt.js on lines 306..311
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-nl.js on lines 296..301
app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 299..304
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 255..260
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 292..297
app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 290..295
app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 314..319
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 177..182
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-sr.js on lines 174..179
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 173..178
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 173..178
app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 256..261
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 176..181
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 258..263
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 173..178

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

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

if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
      splitTip            : "Arraste para redimensionar.",
      collapsibleSplitTip : "Arraste para redimensionar. Duplo clique para esconder."
   });
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js and 42 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-af.js on lines 179..184
app/assets/javascripts/ext/src/locale/ext-lang-bg.js on lines 273..278
app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 288..293
app/assets/javascripts/ext/src/locale/ext-lang-cs.js on lines 305..310
app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 320..325
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 303..308
app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 318..323
app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 294..299
app/assets/javascripts/ext/src/locale/ext-lang-es.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 267..272
app/assets/javascripts/ext/src/locale/ext-lang-fi.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-fr.js on lines 315..320
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 213..218
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 170..175
app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 287..292
app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-ja.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 261..266
app/assets/javascripts/ext/src/locale/ext-lang-lt.js on lines 306..311
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-nl.js on lines 296..301
app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 299..304
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 255..260
app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 292..297
app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 290..295
app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 314..319
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 177..182
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-sr.js on lines 174..179
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 173..178
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 173..178
app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 256..261
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 176..181
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 258..263
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 173..178

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

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

if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
  Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
    splitTip            : "Arrastre para redimensionar.",
    collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar."
  });
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-es.js and 42 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-af.js on lines 179..184
app/assets/javascripts/ext/src/locale/ext-lang-bg.js on lines 273..278
app/assets/javascripts/ext/src/locale/ext-lang-ca.js on lines 288..293
app/assets/javascripts/ext/src/locale/ext-lang-cs.js on lines 305..310
app/assets/javascripts/ext/src/locale/ext-lang-da.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-de.js on lines 320..325
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 303..308
app/assets/javascripts/ext/src/locale/ext-lang-en.js on lines 318..323
app/assets/javascripts/ext/src/locale/ext-lang-en_GB.js on lines 294..299
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 267..272
app/assets/javascripts/ext/src/locale/ext-lang-fi.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-fr.js on lines 315..320
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 213..218
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 170..175
app/assets/javascripts/ext/src/locale/ext-lang-he.js on lines 287..292
app/assets/javascripts/ext/src/locale/ext-lang-hu.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-id.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-it.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-ja.js on lines 291..296
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 261..266
app/assets/javascripts/ext/src/locale/ext-lang-lt.js on lines 306..311
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-nl.js on lines 296..301
app/assets/javascripts/ext/src/locale/ext-lang-no_NB.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-no_NN.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-pl.js on lines 299..304
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 255..260
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 297..302
app/assets/javascripts/ext/src/locale/ext-lang-pt_PT.js on lines 292..297
app/assets/javascripts/ext/src/locale/ext-lang-ro.js on lines 290..295
app/assets/javascripts/ext/src/locale/ext-lang-ru.js on lines 314..319
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 177..182
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 171..176
app/assets/javascripts/ext/src/locale/ext-lang-sr.js on lines 174..179
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 173..178
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 173..178
app/assets/javascripts/ext/src/locale/ext-lang-th.js on lines 289..294
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 256..261
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 176..181
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 258..263
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 173..178

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

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Пасивно",
      disabledDatesText : "Пасивно",
      minText           : "Датум у овом пољу мора бити након {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Neaktivno",
      disabledDatesText : "Neaktivno",
      minText           : "Datum u ovom polje mora biti poslije {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-hr.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Désactivé",
      disabledDatesText : "Désactivé",
      minText           : "La date de ce champ doit être avant le {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Zablokované",
      disabledDatesText : "Zablokované",
      minText           : "Dátum v tomto poli musí byť až po {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-sk.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Onemogočen",
      disabledDatesText : "Onemogočen",
      minText           : "Datum mora biti po {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-sl.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "비활성",
      disabledDatesText : "비활성",
      minText           : "{0}일 이후여야 합니다.",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-ko.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Ανενεργό",
      disabledDatesText : "Ανενεργό",
      minText           : "Η ημερομηνία αυτού του πεδίου πρέπει να είναι μετά την {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
    Ext.apply(Ext.form.DateField.prototype, {
       disabledDaysText  : "無法使用",
       disabledDatesText : "無法使用",
       minText           : "此欄位之日期必須在 {0} 之後",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143

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

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "غیرفعال",
      disabledDatesText : "غیرفعال",
      minText           : "تاریخ باید پس از {0} باشد",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-fa.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "禁用",
      disabledDatesText : "禁用",
      minText           : "该输入项的日期必须在 {0} 之后",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Inaktiverad",
      disabledDatesText : "Inaktiverad",
      minText           : "Datumet i detta fält måste inträffa efter {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Неактивно",
      disabledDatesText : "Неактивно",
      minText           : "Датумот во ова поле мора да биде пред {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-mk.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Vô hiệu",
      disabledDatesText : "Vô hiệu",
      minText           : "Ngày nhập trong ô này phải sau ngày {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-vn.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Не доступно",
      disabledDatesText : "Не доступно",
      minText           : "Дата у цьому полі повинна бути більша {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-ukr.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-lv.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "Atspējots",
      disabledDatesText : "Atspējots",
      minText           : "Datumam šajā laukā jābūt lielākam kā {0}",
Severity: Major
Found in app/assets/javascripts/ext/src/locale/ext-lang-lv.js and 17 other locations - About 1 hr to fix
app/assets/javascripts/ext/src/locale/ext-lang-el_GR.js on lines 171..180
app/assets/javascripts/ext/src/locale/ext-lang-fa.js on lines 144..153
app/assets/javascripts/ext/src/locale/ext-lang-fr_CA.js on lines 168..177
app/assets/javascripts/ext/src/locale/ext-lang-gr.js on lines 125..134
app/assets/javascripts/ext/src/locale/ext-lang-hr.js on lines 159..168
app/assets/javascripts/ext/src/locale/ext-lang-ko.js on lines 129..138
app/assets/javascripts/ext/src/locale/ext-lang-mk.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-pt.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-pt_BR.js on lines 174..183
app/assets/javascripts/ext/src/locale/ext-lang-sk.js on lines 132..141
app/assets/javascripts/ext/src/locale/ext-lang-sl.js on lines 126..135
app/assets/javascripts/ext/src/locale/ext-lang-sr_RS.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-sv_SE.js on lines 128..137
app/assets/javascripts/ext/src/locale/ext-lang-ukr.js on lines 133..142
app/assets/javascripts/ext/src/locale/ext-lang-vn.js on lines 131..140
app/assets/javascripts/ext/src/locale/ext-lang-zh_CN.js on lines 134..143
app/assets/javascripts/ext/src/locale/ext-lang-zh_TW.js on lines 128..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 70.

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