sibprogrammer/owp

View on GitHub

Showing 803 of 803 total issues

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

if(Ext.grid.PropertyColumnModel){
   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
      nameText   : "Propriété",
      valueText  : "Valeur",
      dateFormat : "d/m/Y"
Severity: Major
Found in public/ext/locale/ext-lang-fr_CA.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.form.NumberField){
   Ext.apply(Ext.form.NumberField.prototype, {
      minText : "Минимална вредност у пољу је {0}",
      maxText : "Максимална вредност у пољу је {0}",
      nanText : "{0} није правилан број"
Severity: Major
Found in public/ext/locale/ext-lang-sr_RS.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.PropertyColumnModel){
  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
    nameText   : "Ad",
    valueText  : "Deðer",
    dateFormat : "d/m/Y"
Severity: Major
Found in public/ext/locale/ext-lang-tr.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.form.NumberField){
   Ext.apply(Ext.form.NumberField.prototype, {
      minText : "حداقل مقدار این فیلد برابر است با {0}",
      maxText : "حداکثر مقدار این فیلد برابر است با {0}",
      nanText : "{0} یک عدد نیست"
Severity: Major
Found in public/ext/locale/ext-lang-fa.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.GroupingView){
  Ext.apply(Ext.grid.GroupingView.prototype, {
    emptyGroupText : '(Nessun dato)',
    groupByText    : 'Raggruppa per questo campo',
    showGroupsText : 'Mostra nei gruppi'
Severity: Major
Found in public/ext/locale/ext-lang-it.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.form.NumberField){
   Ext.apply(Ext.form.NumberField.prototype, {
      minText : "该输入项的最小值是 {0}",
      maxText : "该输入项的最大值是 {0}",
      nanText : "{0} 不是有效数值"
Severity: Major
Found in public/ext/locale/ext-lang-zh_CN.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.form.NumberField){
   Ext.apply(Ext.form.NumberField.prototype, {
      minText : "Minimalna vrednost u polju је {0}",
      maxText : "Maksimalna vrednost u polju је {0}",
      nanText : "{0} nije pravilan broj"
Severity: Major
Found in public/ext/locale/ext-lang-sr.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.PropertyColumnModel){
  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
    nameText   : "Nom",
    valueText  : "Valor",
    dateFormat : "d/m/Y"
Severity: Major
Found in public/ext/locale/ext-lang-ca.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.form.NumberField){
  Ext.apply(Ext.form.NumberField.prototype, {
    minText : "A mező tartalma nem lehet kissebb, mint {0}",
    maxText : "A mező tartalma nem lehet nagyobb, mint {0}",
    nanText : "{0} nem szám"
Severity: Major
Found in public/ext/locale/ext-lang-hu.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.GroupingView){
   Ext.apply(Ext.grid.GroupingView.prototype, {
      emptyGroupText : '(Aucun)',
      groupByText    : 'Grouper par ce champ',
      showGroupsText : 'Afficher par groupes'
Severity: Major
Found in public/ext/locale/ext-lang-fr.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.GridView){
   Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText  : "Tri croissant",
      sortDescText : "Tri décroissant",
      columnsText  : "Colonnes"
Severity: Major
Found in public/ext/locale/ext-lang-fr.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.PropertyColumnModel){
   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
      nameText   : "Názov",
      valueText  : "Hodnota",
      dateFormat : "d.m.Y"
Severity: Major
Found in public/ext/locale/ext-lang-sk.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.form.NumberField){
  Ext.apply(Ext.form.NumberField.prototype, {
    minText : "O valor mínimo deste campo &eaute; {0}",
    maxText : "O valor máximo deste campo &eaute; {0}",
    nanText : "{0} não é um numero"
Severity: Major
Found in public/ext/locale/ext-lang-pt_PT.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.PropertyColumnModel){
   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
      nameText   : "名称",
      valueText  : "值",
      dateFormat : "y年m月d日"
Severity: Major
Found in public/ext/locale/ext-lang-zh_CN.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.form.NumberField){
   Ext.apply(Ext.form.NumberField.prototype, {
      minText : "Minsta tillåtna värde för detta fält är {0}",
      maxText : "Största tillåtna värde för detta fält är {0}",
      nanText : "{0} är inte ett tillåtet nummer"
Severity: Major
Found in public/ext/locale/ext-lang-sv_SE.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.form.NumberField){
   Ext.apply(Ext.form.NumberField.prototype, {
      minText : "Η μικρότερη τιμή του πεδίου είναι {0}",
      maxText : "Η μεγαλύτερη τιμή του πεδίου είναι {0}",
      nanText : "{0} δεν είναι αποδεκτός αριθμός"
Severity: Major
Found in public/ext/locale/ext-lang-el_GR.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.GroupingView){
  Ext.apply(Ext.grid.GroupingView.prototype, {
    emptyGroupText : '(Пусто)',
    groupByText    : 'Группировать по этому полю',
    showGroupsText : 'Отображать по группам'
Severity: Major
Found in public/ext/locale/ext-lang-ru.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.GroupingView){
  Ext.apply(Ext.grid.GroupingView.prototype, {
    emptyGroupText : '(None)',
    groupByText    : 'Grupuj po tym polu',
    showGroupsText : 'Pokaż w grupach'
Severity: Major
Found in public/ext/locale/ext-lang-pl.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.GroupingView){
  Ext.apply(Ext.grid.GroupingView.prototype, {
    emptyGroupText : '(Ništa)',
    groupByText    : 'Grupiranje po ovom polju',
    showGroupsText : 'Prikaz u grupama'
Severity: Major
Found in public/ext/locale/ext-lang-hr.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lt.js on lines 298..304
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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

if(Ext.grid.PropertyColumnModel){
  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
    nameText   : "Pavadinimas",
    valueText  : "Reikšmė",
    dateFormat : "Y-m-d"
Severity: Major
Found in public/ext/locale/ext-lang-lt.js and 112 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 125..131
public/ext/locale/ext-lang-af.js on lines 171..177
public/ext/locale/ext-lang-bg.js on lines 141..147
public/ext/locale/ext-lang-bg.js on lines 265..271
public/ext/locale/ext-lang-ca.js on lines 264..270
public/ext/locale/ext-lang-ca.js on lines 272..278
public/ext/locale/ext-lang-ca.js on lines 280..286
public/ext/locale/ext-lang-cs.js on lines 148..154
public/ext/locale/ext-lang-cs.js on lines 272..278
public/ext/locale/ext-lang-cs.js on lines 280..286
public/ext/locale/ext-lang-da.js on lines 151..157
public/ext/locale/ext-lang-da.js on lines 283..289
public/ext/locale/ext-lang-de.js on lines 284..290
public/ext/locale/ext-lang-de.js on lines 292..298
public/ext/locale/ext-lang-el_GR.js on lines 163..169
public/ext/locale/ext-lang-el_GR.js on lines 287..293
public/ext/locale/ext-lang-el_GR.js on lines 295..301
public/ext/locale/ext-lang-en.js on lines 272..278
public/ext/locale/ext-lang-en.js on lines 280..286
public/ext/locale/ext-lang-en.js on lines 298..304
public/ext/locale/ext-lang-en_GB.js on lines 268..274
public/ext/locale/ext-lang-en_GB.js on lines 276..282
public/ext/locale/ext-lang-es.js on lines 267..273
public/ext/locale/ext-lang-es.js on lines 275..281
public/ext/locale/ext-lang-es.js on lines 283..289
public/ext/locale/ext-lang-fa.js on lines 136..142
public/ext/locale/ext-lang-fa.js on lines 259..265
public/ext/locale/ext-lang-fi.js on lines 153..159
public/ext/locale/ext-lang-fi.js on lines 281..287
public/ext/locale/ext-lang-fi.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 289..295
public/ext/locale/ext-lang-fr.js on lines 297..303
public/ext/locale/ext-lang-fr_CA.js on lines 160..166
public/ext/locale/ext-lang-fr_CA.js on lines 205..211
public/ext/locale/ext-lang-gr.js on lines 117..123
public/ext/locale/ext-lang-gr.js on lines 162..168
public/ext/locale/ext-lang-he.js on lines 147..153
public/ext/locale/ext-lang-he.js on lines 271..277
public/ext/locale/ext-lang-he.js on lines 279..285
public/ext/locale/ext-lang-hr.js on lines 151..157
public/ext/locale/ext-lang-hr.js on lines 274..280
public/ext/locale/ext-lang-hr.js on lines 282..288
public/ext/locale/ext-lang-hu.js on lines 151..157
public/ext/locale/ext-lang-hu.js on lines 275..281
public/ext/locale/ext-lang-hu.js on lines 283..289
public/ext/locale/ext-lang-id.js on lines 156..162
public/ext/locale/ext-lang-id.js on lines 281..287
public/ext/locale/ext-lang-id.js on lines 289..295
public/ext/locale/ext-lang-it.js on lines 149..155
public/ext/locale/ext-lang-it.js on lines 273..279
public/ext/locale/ext-lang-it.js on lines 281..287
public/ext/locale/ext-lang-ja.js on lines 267..273
public/ext/locale/ext-lang-ja.js on lines 275..281
public/ext/locale/ext-lang-ja.js on lines 283..289
public/ext/locale/ext-lang-ko.js on lines 121..127
public/ext/locale/ext-lang-ko.js on lines 244..251
public/ext/locale/ext-lang-ko.js on lines 253..259
public/ext/locale/ext-lang-lt.js on lines 162..168
public/ext/locale/ext-lang-lt.js on lines 290..296
public/ext/locale/ext-lang-lv.js on lines 118..124
public/ext/locale/ext-lang-lv.js on lines 163..169
public/ext/locale/ext-lang-mk.js on lines 118..124
public/ext/locale/ext-lang-mk.js on lines 163..169
public/ext/locale/ext-lang-nl.js on lines 272..278
public/ext/locale/ext-lang-nl.js on lines 280..286
public/ext/locale/ext-lang-nl.js on lines 288..294
public/ext/locale/ext-lang-no_NB.js on lines 149..155
public/ext/locale/ext-lang-no_NB.js on lines 273..279
public/ext/locale/ext-lang-no_NB.js on lines 281..287
public/ext/locale/ext-lang-no_NN.js on lines 149..155
public/ext/locale/ext-lang-no_NN.js on lines 273..279
public/ext/locale/ext-lang-no_NN.js on lines 281..287
public/ext/locale/ext-lang-pl.js on lines 159..165
public/ext/locale/ext-lang-pl.js on lines 283..289
public/ext/locale/ext-lang-pl.js on lines 291..297
public/ext/locale/ext-lang-pt.js on lines 124..130
public/ext/locale/ext-lang-pt.js on lines 247..253
public/ext/locale/ext-lang-pt_BR.js on lines 166..172
public/ext/locale/ext-lang-pt_BR.js on lines 289..295
public/ext/locale/ext-lang-pt_PT.js on lines 148..154
public/ext/locale/ext-lang-pt_PT.js on lines 276..282
public/ext/locale/ext-lang-pt_PT.js on lines 284..290
public/ext/locale/ext-lang-ro.js on lines 149..155
public/ext/locale/ext-lang-ro.js on lines 274..280
public/ext/locale/ext-lang-ro.js on lines 282..288
public/ext/locale/ext-lang-ru.js on lines 163..169
public/ext/locale/ext-lang-ru.js on lines 291..297
public/ext/locale/ext-lang-ru.js on lines 299..305
public/ext/locale/ext-lang-sk.js on lines 124..130
public/ext/locale/ext-lang-sk.js on lines 169..175
public/ext/locale/ext-lang-sl.js on lines 118..124
public/ext/locale/ext-lang-sl.js on lines 163..169
public/ext/locale/ext-lang-sr.js on lines 120..126
public/ext/locale/ext-lang-sr.js on lines 166..172
public/ext/locale/ext-lang-sr_RS.js on lines 120..126
public/ext/locale/ext-lang-sr_RS.js on lines 165..171
public/ext/locale/ext-lang-sv_SE.js on lines 120..126
public/ext/locale/ext-lang-sv_SE.js on lines 165..171
public/ext/locale/ext-lang-th.js on lines 149..155
public/ext/locale/ext-lang-th.js on lines 273..279
public/ext/locale/ext-lang-th.js on lines 281..287
public/ext/locale/ext-lang-tr.js on lines 163..169
public/ext/locale/ext-lang-tr.js on lines 285..291
public/ext/locale/ext-lang-tr.js on lines 293..299
public/ext/locale/ext-lang-ukr.js on lines 125..131
public/ext/locale/ext-lang-ukr.js on lines 248..254
public/ext/locale/ext-lang-vn.js on lines 123..129
public/ext/locale/ext-lang-vn.js on lines 168..174
public/ext/locale/ext-lang-zh_CN.js on lines 126..132
public/ext/locale/ext-lang-zh_CN.js on lines 250..256
public/ext/locale/ext-lang-zh_TW.js on lines 120..126
public/ext/locale/ext-lang-zh_TW.js on lines 165..171

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

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