sibprogrammer/owp

View on GitHub

Showing 803 of 803 total issues

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "����",
    afterPageText  : "{0} ����",
    firstText      : "���� �����",
Severity: Major
Found in public/ext/locale/ext-lang-he.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "Hal",
    afterPageText  : "dari {0}",
    firstText      : "Hal. Pertama",
Severity: Major
Found in public/ext/locale/ext-lang-id.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "Página",
    afterPageText  : "de {0}",
    firstText      : "Primera página",
Severity: Major
Found in public/ext/locale/ext-lang-es.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
   Ext.apply(Ext.PagingToolbar.prototype, {
      beforePageText : "صفحه",
      afterPageText  : "از {0}",
      firstText      : "صفحه اول",
Severity: Major
Found in public/ext/locale/ext-lang-fa.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "Pàgina",
    afterPageText  : "de {0}",
    firstText      : "Primera Pàgina",
Severity: Major
Found in public/ext/locale/ext-lang-ca.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "Side",
    afterPageText  : "av {0}",
    firstText      : "Første sida",
Severity: Major
Found in public/ext/locale/ext-lang-no_NN.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "Página",
    afterPageText  : "de {0}",
    firstText      : "Primeira Página",
Severity: Major
Found in public/ext/locale/ext-lang-pt_PT.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "Page",
    afterPageText  : "of {0}",
    firstText      : "First Page",
Severity: Major
Found in public/ext/locale/ext-lang-en_GB.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
   Ext.apply(Ext.PagingToolbar.prototype, {
      beforePageText : "Sida",
      afterPageText  : "av {0}",
      firstText      : "Första sidan",
Severity: Major
Found in public/ext/locale/ext-lang-sv_SE.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
   Ext.apply(Ext.PagingToolbar.prototype, {
      beforePageText : "Óåëßäá",
      afterPageText  : "áðü {0}",
      firstText      : "Ðñþôç óåëßäá",
Severity: Major
Found in public/ext/locale/ext-lang-gr.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "Sayfa",
    afterPageText  : " / {0}",
    firstText      : "Ä°lk Sayfa",
Severity: Major
Found in public/ext/locale/ext-lang-tr.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "Страница",
    afterPageText  : "от {0}",
    firstText      : "Първа страница",
Severity: Major
Found in public/ext/locale/ext-lang-bg.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "Oldal",
    afterPageText  : "a {0}-ból/ből",
    firstText      : "Első oldal",
Severity: Major
Found in public/ext/locale/ext-lang-hu.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
  Ext.apply(Ext.PagingToolbar.prototype, {
    beforePageText : "Page",
    afterPageText  : "of {0}",
    firstText      : "First Page",
Severity: Major
Found in public/ext/locale/ext-lang-en.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
   Ext.apply(Ext.PagingToolbar.prototype, {
      beforePageText : "Seite",
      afterPageText  : "von {0}",
      firstText      : "Erste Seite",
Severity: Major
Found in public/ext/locale/ext-lang-de.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
   Ext.apply(Ext.PagingToolbar.prototype, {
      beforePageText : "Pagina",
      afterPageText  : "di {0}",
      firstText      : "Prima pagina",
Severity: Major
Found in public/ext/locale/ext-lang-it.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
    Ext.apply(Ext.PagingToolbar.prototype, {
       beforePageText : "Bladsy",
       afterPageText  : "van {0}",
       firstText      : "Eerste Bladsy",
Severity: Major
Found in public/ext/locale/ext-lang-af.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
    Ext.apply(Ext.PagingToolbar.prototype, {
       beforePageText : "第",
       afterPageText  : "頁,共{0}頁",
       firstText      : "第一頁",
Severity: Major
Found in public/ext/locale/ext-lang-zh_TW.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111

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

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

if(Ext.PagingToolbar){
   Ext.apply(Ext.PagingToolbar.prototype, {
      beforePageText : "Страна",
      afterPageText  : "од {0}",
      firstText      : "Прва страна",
Severity: Major
Found in public/ext/locale/ext-lang-sr_RS.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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

if(Ext.PagingToolbar){
   Ext.apply(Ext.PagingToolbar.prototype, {
      beforePageText : "Strana",
      afterPageText  : "od {0}",
      firstText      : "Prva strana",
Severity: Major
Found in public/ext/locale/ext-lang-sr.js and 43 other locations - About 2 hrs to fix
public/ext/locale/ext-lang-af.js on lines 101..113
public/ext/locale/ext-lang-bg.js on lines 117..129
public/ext/locale/ext-lang-ca.js on lines 120..132
public/ext/locale/ext-lang-cs.js on lines 124..136
public/ext/locale/ext-lang-da.js on lines 127..139
public/ext/locale/ext-lang-de.js on lines 135..147
public/ext/locale/ext-lang-el_GR.js on lines 139..151
public/ext/locale/ext-lang-en.js on lines 124..136
public/ext/locale/ext-lang-en_GB.js on lines 120..132
public/ext/locale/ext-lang-es.js on lines 123..135
public/ext/locale/ext-lang-fa.js on lines 112..124
public/ext/locale/ext-lang-fi.js on lines 125..137
public/ext/locale/ext-lang-fr.js on lines 141..153
public/ext/locale/ext-lang-fr_CA.js on lines 136..148
public/ext/locale/ext-lang-gr.js on lines 93..105
public/ext/locale/ext-lang-he.js on lines 123..135
public/ext/locale/ext-lang-hr.js on lines 127..139
public/ext/locale/ext-lang-hu.js on lines 127..139
public/ext/locale/ext-lang-id.js on lines 132..144
public/ext/locale/ext-lang-it.js on lines 125..137
public/ext/locale/ext-lang-ja.js on lines 123..135
public/ext/locale/ext-lang-ko.js on lines 97..109
public/ext/locale/ext-lang-lt.js on lines 138..150
public/ext/locale/ext-lang-lv.js on lines 94..106
public/ext/locale/ext-lang-mk.js on lines 94..106
public/ext/locale/ext-lang-nl.js on lines 128..140
public/ext/locale/ext-lang-no_NB.js on lines 125..137
public/ext/locale/ext-lang-no_NN.js on lines 125..137
public/ext/locale/ext-lang-pl.js on lines 135..147
public/ext/locale/ext-lang-pt.js on lines 100..112
public/ext/locale/ext-lang-pt_BR.js on lines 142..154
public/ext/locale/ext-lang-pt_PT.js on lines 120..132
public/ext/locale/ext-lang-ro.js on lines 125..137
public/ext/locale/ext-lang-ru.js on lines 139..151
public/ext/locale/ext-lang-sk.js on lines 99..111
public/ext/locale/ext-lang-sl.js on lines 94..106
public/ext/locale/ext-lang-sr_RS.js on lines 96..108
public/ext/locale/ext-lang-sv_SE.js on lines 96..108
public/ext/locale/ext-lang-th.js on lines 125..137
public/ext/locale/ext-lang-tr.js on lines 139..151
public/ext/locale/ext-lang-ukr.js on lines 101..113
public/ext/locale/ext-lang-vn.js on lines 99..111
public/ext/locale/ext-lang-zh_TW.js on lines 96..108

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

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