sibprogrammer/owp

View on GitHub

Showing 803 of 803 total issues

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

if(Ext.form.ComboBox){
  Ext.apply(Ext.form.ComboBox.prototype, {
    loadingText       : "¡ÓÅѧâËÅŽ...",
    valueNotFoundText : undefined
  });
Severity: Major
Found in public/ext/locale/ext-lang-th.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "En cours de chargement...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-fr_CA.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "Nalagam...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-sl.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
  Ext.apply(Ext.form.ComboBox.prototype, {
    loadingText       : "読み込み中...",
    valueNotFoundText : undefined
  });
Severity: Major
Found in public/ext/locale/ext-lang-ja.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "Учитавам...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-sr_RS.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "Вчитувам...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-mk.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "Učitavanje...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-hr.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
  Ext.apply(Ext.form.ComboBox.prototype, {
    loadingText       : "A Carregar...",
    valueNotFoundText : undefined
  });
Severity: Major
Found in public/ext/locale/ext-lang-pt_PT.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "Prosím čekejte...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-cs.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "Ielādē...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-lv.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
    Ext.apply(Ext.form.ComboBox.prototype, {
       loadingText       : "讀取中 ...",
       valueNotFoundText : undefined
    });
Severity: Major
Found in public/ext/locale/ext-lang-zh_TW.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
  Ext.apply(Ext.form.ComboBox.prototype, {
    loadingText       : "Зареждане...",
    valueNotFoundText : undefined
  });
Severity: Major
Found in public/ext/locale/ext-lang-bg.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "Lade Daten ...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-de.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
  Ext.apply(Ext.form.ComboBox.prototype, {
    loadingText       : "Loading...",
    valueNotFoundText : undefined
  });
Severity: Major
Found in public/ext/locale/ext-lang-en.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "Завантаження...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-ukr.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
  Ext.apply(Ext.form.ComboBox.prototype, {
    loadingText       : "Cargando...",
    valueNotFoundText : undefined
  });
Severity: Major
Found in public/ext/locale/ext-lang-es.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "로딩중...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-ko.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
  Ext.apply(Ext.form.ComboBox.prototype, {
    loadingText       : "Загрузка...",
    valueNotFoundText : undefined
  });
Severity: Major
Found in public/ext/locale/ext-lang-ru.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "加载中...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-zh_CN.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr.js on lines 140..145
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "Učitavam...",
      valueNotFoundText : undefined
   });
Severity: Major
Found in public/ext/locale/ext-lang-sr.js and 44 other locations - About 45 mins to fix
public/ext/locale/ext-lang-af.js on lines 145..150
public/ext/locale/ext-lang-bg.js on lines 161..166
public/ext/locale/ext-lang-ca.js on lines 170..175
public/ext/locale/ext-lang-cs.js on lines 168..173
public/ext/locale/ext-lang-da.js on lines 171..176
public/ext/locale/ext-lang-de.js on lines 180..185
public/ext/locale/ext-lang-el_GR.js on lines 182..187
public/ext/locale/ext-lang-en.js on lines 178..183
public/ext/locale/ext-lang-en_GB.js on lines 174..179
public/ext/locale/ext-lang-es.js on lines 173..178
public/ext/locale/ext-lang-fa.js on lines 155..160
public/ext/locale/ext-lang-fi.js on lines 173..178
public/ext/locale/ext-lang-fr.js on lines 195..200
public/ext/locale/ext-lang-fr_CA.js on lines 179..184
public/ext/locale/ext-lang-gr.js on lines 136..141
public/ext/locale/ext-lang-he.js on lines 167..172
public/ext/locale/ext-lang-hr.js on lines 170..175
public/ext/locale/ext-lang-hu.js on lines 171..176
public/ext/locale/ext-lang-id.js on lines 177..182
public/ext/locale/ext-lang-it.js on lines 169..174
public/ext/locale/ext-lang-ja.js on lines 173..178
public/ext/locale/ext-lang-ko.js on lines 140..145
public/ext/locale/ext-lang-lt.js on lines 182..187
public/ext/locale/ext-lang-lv.js on lines 137..142
public/ext/locale/ext-lang-mk.js on lines 137..142
public/ext/locale/ext-lang-nl.js on lines 178..183
public/ext/locale/ext-lang-no_NB.js on lines 169..174
public/ext/locale/ext-lang-no_NN.js on lines 169..174
public/ext/locale/ext-lang-pl.js on lines 179..184
public/ext/locale/ext-lang-pt.js on lines 143..148
public/ext/locale/ext-lang-pt_BR.js on lines 185..190
public/ext/locale/ext-lang-pt_PT.js on lines 168..173
public/ext/locale/ext-lang-ro.js on lines 169..174
public/ext/locale/ext-lang-ru.js on lines 183..188
public/ext/locale/ext-lang-sk.js on lines 143..148
public/ext/locale/ext-lang-sl.js on lines 137..142
public/ext/locale/ext-lang-sr_RS.js on lines 139..144
public/ext/locale/ext-lang-sv_SE.js on lines 139..144
public/ext/locale/ext-lang-th.js on lines 169..174
public/ext/locale/ext-lang-tr.js on lines 183..188
public/ext/locale/ext-lang-ukr.js on lines 144..149
public/ext/locale/ext-lang-vn.js on lines 142..147
public/ext/locale/ext-lang-zh_CN.js on lines 145..150
public/ext/locale/ext-lang-zh_TW.js on lines 139..144

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

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