sibprogrammer/owp

View on GitHub

Showing 803 of 803 total issues

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

if(Ext.form.TextField){
   Ext.apply(Ext.form.TextField.prototype, {
      minLengthText : "Pole nesmí mít méně {0} znaků",
      maxLengthText : "Pole nesmí být delší než {0} znaků",
      blankText     : "This field is required",
Severity: Major
Found in public/ext/locale/ext-lang-cs.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-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

Duplicated Code

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

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

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

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.TextField){
  Ext.apply(Ext.form.TextField.prototype, {
    minLengthText : "{0} ����� ��������� ���� �� ���",
    maxLengthText : "{0} ����� ������ ���� �� ���",
    blankText     : "��� �� �����",
Severity: Major
Found in public/ext/locale/ext-lang-he.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-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-th.js on lines 139..147
public/ext/locale/ext-lang-tr.js on lines 153..161
public/ext/locale/ext-lang-ukr.js on lines 115..123
public/ext/locale/ext-lang-vn.js on lines 113..121
public/ext/locale/ext-lang-zh_CN.js on lines 116..124
public/ext/locale/ext-lang-zh_TW.js on lines 110..118

Duplicated Code

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

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

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

Tuning

This issue has a mass of 65.

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

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

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

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

Refactorings

Further Reading

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

if(Ext.form.TextField){
   Ext.apply(Ext.form.TextField.prototype, {
      minLengthText : "Minsta tillåtna längd för detta fält är {0}",
      maxLengthText : "Största tillåtna längd för detta fält är {0}",
      blankText     : "Detta fält är obligatoriskt",
Severity: Major
Found in public/ext/locale/ext-lang-sv_SE.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-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: 'De tijd in dit veld moet op of na {0} liggen',
    maxText: 'De tijd in dit veld moet op of voor {0} liggen',
    invalidText: '{0} is geen geldig tijdstip',
Severity: Major
Found in public/ext/locale/ext-lang-nl.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-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-zh_TW.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-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

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  : "Sortare ascendentă",
      sortDescText : "Sortare descendentă",
      lockText     : "Blochează coloana",
Severity: Major
Found in public/ext/locale/ext-lang-ro.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-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  : "Sort Ascending",
    sortDescText : "Sort Descending",
    lockText     : "Lock Column",
Severity: Major
Found in public/ext/locale/ext-lang-th.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-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  : "Rastući redosled",
      sortDescText : "Opadajući redosled",
      lockText     : "Zaključaj kolonu",
Severity: Major
Found in public/ext/locale/ext-lang-sr.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_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  : "Növekvő rendezés",
    sortDescText : "Csökkenő rendezés",
    lockText     : "Oszlop zárolás",
Severity: Major
Found in public/ext/locale/ext-lang-hu.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-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-zh_CN.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_BR.js on lines 156..164
public/ext/locale/ext-lang-pt_PT.js on lines 138..146
public/ext/locale/ext-lang-ro.js on lines 139..147
public/ext/locale/ext-lang-ru.js on lines 153..161
public/ext/locale/ext-lang-sk.js on lines 114..122
public/ext/locale/ext-lang-sl.js on lines 108..116
public/ext/locale/ext-lang-sr.js on lines 110..118
public/ext/locale/ext-lang-sr_RS.js on lines 110..118
public/ext/locale/ext-lang-sv_SE.js on lines 110..118
public/ext/locale/ext-lang-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_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-mk.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-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  : "Rūšiuoti didėjančia tvarka",
    sortDescText : "Rūšiuoti mažėjančia tvarka",
    lockText     : "Užfiksuoti stulpelį",
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 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-el_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-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  : "Urut Naik", 
    sortDescText : "Urut Turun", 
    lockText     : "Kancing Kolom", 
Severity: Major
Found in public/ext/locale/ext-lang-id.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-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  : "Tri ascendant",
      sortDescText : "Tri descendant",
      lockText     : "Verrouillé la colonne",
Severity: Major
Found in public/ext/locale/ext-lang-fr_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-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-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  : "Ordem Ascendente",
      sortDescText : "Ordem Descendente",
      lockText     : "Bloquear Coluna",
Severity: Major
Found in public/ext/locale/ext-lang-pt.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_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 : "O tamanho mínimo para este campo é {0}",
      maxLengthText : "O tamanho máximo para este campo é {0}",
      blankText     : "Este campo é obrigatório.",
Severity: Major
Found in public/ext/locale/ext-lang-pt_BR.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-pl.js on lines 149..157
public/ext/locale/ext-lang-pt.js on lines 114..122
public/ext/locale/ext-lang-pt_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  : "Sortér stigende",
      sortDescText : "Sortér faldende",
      lockText     : "Lås kolonne",
Severity: Major
Found in public/ext/locale/ext-lang-da.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-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    : "Minimalna ilość znaków dla tego pola to {0}",
        maxLengthText    : "Maksymalna ilość znaków dla tego pola to {0}",
        blankText        : "To pole jest wymagane",
Severity: Major
Found in public/ext/locale/ext-lang-pl.js and 44 other locations - About 1 hr to fix
public/ext/locale/ext-lang-af.js on lines 115..123
public/ext/locale/ext-lang-bg.js on lines 131..139
public/ext/locale/ext-lang-ca.js on lines 138..146
public/ext/locale/ext-lang-cs.js on lines 138..146
public/ext/locale/ext-lang-da.js on lines 141..149
public/ext/locale/ext-lang-de.js on lines 149..157
public/ext/locale/ext-lang-el_GR.js on lines 153..161
public/ext/locale/ext-lang-en.js on lines 146..154
public/ext/locale/ext-lang-en_GB.js on lines 142..150
public/ext/locale/ext-lang-es.js on lines 141..149
public/ext/locale/ext-lang-fa.js on lines 126..134
public/ext/locale/ext-lang-fi.js on lines 143..151
public/ext/locale/ext-lang-fr.js on lines 163..171
public/ext/locale/ext-lang-fr_CA.js on lines 150..158
public/ext/locale/ext-lang-gr.js on lines 107..115
public/ext/locale/ext-lang-he.js on lines 137..145
public/ext/locale/ext-lang-hr.js on lines 141..149
public/ext/locale/ext-lang-hu.js on lines 141..149
public/ext/locale/ext-lang-id.js on lines 146..154
public/ext/locale/ext-lang-it.js on lines 139..147
public/ext/locale/ext-lang-ja.js on lines 141..149
public/ext/locale/ext-lang-ko.js on lines 111..119
public/ext/locale/ext-lang-lt.js on lines 152..160
public/ext/locale/ext-lang-lv.js on lines 108..116
public/ext/locale/ext-lang-mk.js on lines 108..116
public/ext/locale/ext-lang-nl.js on lines 146..154
public/ext/locale/ext-lang-no_NB.js on lines 139..147
public/ext/locale/ext-lang-no_NN.js on lines 139..147
public/ext/locale/ext-lang-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  : "Ordem Ascendente",
      sortDescText : "Ordem Descendente",
      lockText     : "Bloquear Coluna",
Severity: Major
Found in public/ext/locale/ext-lang-pt_BR.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_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

Severity
Category
Status
Source
Language