sibprogrammer/owp

View on GitHub

Showing 803 of 803 total issues

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

if(Ext.grid.GridView){
   Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText  : "Sortiraj rastućim redoslijedom",
      sortDescText : "Sortiraj padajućim redoslijedom",
      lockText     : "Zaključaj stupac",
Severity: Major
Found in public/ext/locale/ext-lang-hr.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.PropertyColumnModel){
  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
    nameText   : "Name",
    valueText  : "Value",
    dateFormat : "j/m/Y",
Severity: Major
Found in public/ext/locale/ext-lang-en_GB.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
  Ext.apply(Ext.grid.GridView.prototype, {
    sortAscText  : "Сортировать по возрастанию",
    sortDescText : "Сортировать по убыванию",
    lockText     : "Закрепить столбец",
Severity: Major
Found in public/ext/locale/ext-lang-ru.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
    Ext.apply(Ext.grid.GridView.prototype, {
        sortAscText        : "Sortuj rosnąco",
        sortDescText    : "Sortuj malejąco",
        lockText        : "Zablokuj kolumnę",
Severity: Major
Found in public/ext/locale/ext-lang-pl.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
  Ext.apply(Ext.grid.GridView.prototype, {
    sortAscText  : "Artan sýrada sýrala",
    sortDescText : "Azalan sýrada sýrala",
    lockText     : "Kolonu kilitle",
Severity: Major
Found in public/ext/locale/ext-lang-tr.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
   Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText  : "Kārtot pieaugošā secībā",
      sortDescText : "Kārtot dilstošā secībā",
      lockText     : "Noslēgt kolonnu",
Severity: Major
Found in public/ext/locale/ext-lang-lv.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
   Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText  : "Áýîïõóá Ôáîéíüìçóç",
      sortDescText : "Öèßíïõóá Ôáîéíüìçóç",
      lockText     : "Êëåßäùìá óôÞëçò",
Severity: Major
Found in public/ext/locale/ext-lang-gr.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
  Ext.apply(Ext.grid.GridView.prototype, {
    sortAscText  : "Подреди в нарастващ ред",
    sortDescText : "Подреди в намаляващ ред",
    lockText     : "Заключи колона",
Severity: Major
Found in public/ext/locale/ext-lang-bg.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
   Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText  : "Zoradiť vzostupne",
      sortDescText : "Zoradiť zostupne",
      lockText     : "Zamknúť stľpec",
Severity: Major
Found in public/ext/locale/ext-lang-sk.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.TimeField){
  Ext.apply(Ext.form.TimeField.prototype, {
    minText : "Laikas turi buti lygus arba vėlesnis už {0}",
    maxText : "Laikas turi būti lygus arba ankstesnis už {0}",
    invalidText : "{0} yra neteisingas laikas",
Severity: Major
Found in public/ext/locale/ext-lang-lt.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
   Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText  : "Sortera stigande",
      sortDescText : "Sortera fallande",
      lockText     : "Lås kolumn",
Severity: Major
Found in public/ext/locale/ext-lang-sv_SE.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
   Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText  : "Aufsteigend sortieren",
      sortDescText : "Absteigend sortieren",
      lockText     : "Spalte sperren",
Severity: Major
Found in public/ext/locale/ext-lang-de.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
  Ext.apply(Ext.grid.GridView.prototype, {
    sortAscText  : "���� ���� ����",
    sortDescText : "���� ���� ����",
    lockText     : "��� �����",
Severity: Major
Found in public/ext/locale/ext-lang-he.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.TimeField){
  Ext.apply(Ext.form.TimeField.prototype, {
    minText : "La hora en este campo debe ser igual o posterior a {0}",
    maxText : "La hora en este campo debe ser igual o anterior a {0}",
    invalidText : "{0} no es una hora válida",
Severity: Major
Found in public/ext/locale/ext-lang-es.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.grid.GridView){
   Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText  : "مرتب سازی افزایشی",
      sortDescText : "مرتب سازی کاهشی",
      lockText     : "قفل ستون ها",
Severity: Major
Found in public/ext/locale/ext-lang-fa.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-ca.js on lines 295..303
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.TimeField){
  Ext.apply(Ext.form.TimeField.prototype, {
    minText : "L\'hora en aquest camp ha de ser igual o posterior a {0}",
    maxText : "L\'hora en aquest camp ha de ser igual o anterior {0}",
    invalidText : "{0} no és un hora vàlida",
Severity: Major
Found in public/ext/locale/ext-lang-ca.js and 47 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 161..169
public/ext/locale/ext-lang-bg.js on lines 255..263
public/ext/locale/ext-lang-cs.js on lines 262..270
public/ext/locale/ext-lang-da.js on lines 265..273
public/ext/locale/ext-lang-de.js on lines 274..282
public/ext/locale/ext-lang-el_GR.js on lines 277..285
public/ext/locale/ext-lang-en.js on lines 288..296
public/ext/locale/ext-lang-en.js on lines 325..333
public/ext/locale/ext-lang-en_GB.js on lines 284..292
public/ext/locale/ext-lang-en_GB.js on lines 301..309
public/ext/locale/ext-lang-es.js on lines 298..306
public/ext/locale/ext-lang-fa.js on lines 249..257
public/ext/locale/ext-lang-fi.js on lines 271..279
public/ext/locale/ext-lang-fr.js on lines 305..313
public/ext/locale/ext-lang-fr.js on lines 322..330
public/ext/locale/ext-lang-fr_CA.js on lines 195..203
public/ext/locale/ext-lang-gr.js on lines 152..160
public/ext/locale/ext-lang-he.js on lines 261..269
public/ext/locale/ext-lang-hr.js on lines 264..272
public/ext/locale/ext-lang-hu.js on lines 265..273
public/ext/locale/ext-lang-id.js on lines 271..279
public/ext/locale/ext-lang-it.js on lines 263..271
public/ext/locale/ext-lang-ja.js on lines 298..306
public/ext/locale/ext-lang-ko.js on lines 234..242
public/ext/locale/ext-lang-lt.js on lines 280..288
public/ext/locale/ext-lang-lt.js on lines 313..321
public/ext/locale/ext-lang-lv.js on lines 153..161
public/ext/locale/ext-lang-mk.js on lines 153..161
public/ext/locale/ext-lang-nl.js on lines 303..311
public/ext/locale/ext-lang-no_NB.js on lines 263..271
public/ext/locale/ext-lang-no_NN.js on lines 263..271
public/ext/locale/ext-lang-pl.js on lines 273..281
public/ext/locale/ext-lang-pt.js on lines 237..245
public/ext/locale/ext-lang-pt_BR.js on lines 279..287
public/ext/locale/ext-lang-pt_PT.js on lines 266..274
public/ext/locale/ext-lang-ro.js on lines 264..272
public/ext/locale/ext-lang-ru.js on lines 281..289
public/ext/locale/ext-lang-sk.js on lines 159..167
public/ext/locale/ext-lang-sl.js on lines 153..161
public/ext/locale/ext-lang-sr.js on lines 156..164
public/ext/locale/ext-lang-sr_RS.js on lines 155..163
public/ext/locale/ext-lang-sv_SE.js on lines 155..163
public/ext/locale/ext-lang-th.js on lines 263..271
public/ext/locale/ext-lang-tr.js on lines 275..283
public/ext/locale/ext-lang-ukr.js on lines 238..246
public/ext/locale/ext-lang-vn.js on lines 158..166
public/ext/locale/ext-lang-zh_TW.js on lines 155..163

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

Severity
Category
Status
Source
Language