mulang 5.3.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c4b91159deb396c27d53a9a9a1399599fb27ed62a8dd8c066520db026b70dba
4
- data.tar.gz: 55197a5e6936e8dece7b4698d49be7458a5bf7794b2f0148bedc7dd043400362
3
+ metadata.gz: 8bb18e555a651ab4f2c24ac12c63c209e542c16f06568e64991f3805f6ade038
4
+ data.tar.gz: fe43d0621ccdd7de1fb4456a847500f18643fa7073283fc7383bfd686e56fe2c
5
5
  SHA512:
6
- metadata.gz: 4d043f51ed7c3faa12973648c44fd10f804270eaef97e8bdd457817bab25370ca17e7a9fab4cea57832f581b5181dbe59b4f72fb6a2772cd14581f3cc0236ffd
7
- data.tar.gz: 5bfbb6977a62ab53824703e854ed0022fbcdee91e7ffb8e588d805dd3ab328b62ab63b3fa0169463c988277a4d8d9fde23bb9c7a203c9b11169a69fc6804ad95
6
+ metadata.gz: 54cb641d94595bb9bb7b7a90ca34b1d07c43d16f5e9f4cf1b4c8739e4caf4019a417c72d69dd3823bde6caa9d43b90a7e1214d1e2aa6a0f25010ace70413a4e1
7
+ data.tar.gz: e3cc1287c561622172627a476548b0c721a8b3395928e5f0a26eb9ec11a10fe2275839668145a7bc63390be34556fda0e7230ca01675c7bf5df469897fc112ec
@@ -10,5 +10,5 @@ require "mulang"
10
10
  # require "pry"
11
11
  # Pry.start
12
12
 
13
- require "irb"
14
- IRB.start(__FILE__)
13
+ require "pry"
14
+ Pry.start(__FILE__)
data/bin/mulang CHANGED
Binary file
@@ -5,17 +5,17 @@ en:
5
5
  must_not: must not
6
6
  must: must
7
7
  solution: solution
8
- with_char: ' with character <i>%{value}</i>'
9
- with_false: ' with value <i>%{keyword_False}</i>'
8
+ with_char: ' with character <code>%{value}</code>'
9
+ with_false: ' with value <code>%{keyword_False}</code>'
10
10
  with_literal: ' with a literal value'
11
11
  with_logic: ' with a boolean expression'
12
12
  with_math: ' with a math expression'
13
- with_nil: ' with <i>%{keyword_nil}</i>'
13
+ with_nil: ' with <code>%{keyword_Nil}</code>'
14
14
  with_nonliteral: ' with a non-literal expresson'
15
- with_number: ' with number <i>%{value}</i>'
16
- with_string: ' with string <i>%{value}</i>'
17
- with_symbol: ' with symbol <i>%{value}</i>'
18
- with_true: ' with value <i>%{keyword_True}</i>'
15
+ with_number: ' with number <code>%{value}</code>'
16
+ with_string: ' with string <code>%{value}</code>'
17
+ with_symbol: ' with symbol <code>%{value}</code>'
18
+ with_true: ' with value <code>%{keyword_True}</code>'
19
19
  inspection:
20
20
  Assigns_except: '%{binding} %{must} assign something distinct from %{target}%{matching}'
21
21
  Assigns_like: '%{binding} %{must} assign something similar to %{target}%{matching}'
@@ -47,7 +47,7 @@ en:
47
47
  DeclaresComputationWithArity3_named: '%{target} %{must} have 3 parameters'
48
48
  DeclaresComputationWithArity4_named: '%{target} %{must} have 4 parameters'
49
49
  DeclaresComputationWithArity5_named: '%{target} %{must} have 5 parameters'
50
- DeclaresEntryPoint: '%{binding} %{must} declare a <i>%{keyword_EntryPoint}</i>%{matching}'
50
+ DeclaresEntryPoint: '%{binding} %{must} declare a <code>%{keyword_EntryPoint}</code>%{matching}'
51
51
  DeclaresEnumeration_except: '%{binding} %{must} declare enumerations distinct from %{target}'
52
52
  DeclaresEnumeration_like: '%{binding} %{must} declare an enumeration like %{target}'
53
53
  DeclaresEnumeration_named: '%{binding} %{must} declare an enumeration %{target}'
@@ -100,26 +100,27 @@ en:
100
100
  Delegates: '%{binding} %{must} delegate'
101
101
  DiscardsExceptions: '%{binding} is ignoring exceptions silently'
102
102
  DoesConsolePrint: '%{binding} is printing to the console'
103
- DoesNilTest: '%{binding} does <i>%{keyword_Null}</i> tests'
104
- DoesNullTest: '%{binding} does <i>%{keyword_Null}</i> tests'
103
+ DoesNilTest: '%{binding} does <code>%{keyword_Nil}</code> tests'
104
+ DoesNullTest: '%{binding} does <code>%{keyword_Nil}</code> tests'
105
105
  DoesTypeTest: '%{binding} string type tests'
106
- HasAssignmentCondition: '%{binding} evaluates the result of an assignment where a boolean expression is expected. Perhaps you meant to use the <i>%{operator_Equal}</i> operator?'
107
- HasAssignmentReturn: '%{binding} returns the result of an assignment. Perhaps you meant to use the <i>%{operator_Equal}</i> operator?'
106
+ HasAssignmentCondition: '%{binding} evaluates the result of an assignment where a boolean expression is expected. Perhaps you meant to use the <code>%{operator_Equal}</code> operator?'
107
+ HasAssignmentReturn: '%{binding} returns the result of an assignment. Perhaps you meant to use the <code>%{operator_Equal}</code> operator?'
108
108
  HasCodeDuplication: '%{binding} has code duplication'
109
109
  HasDeclarationTypos_named: 'Solution must declare %{target}, but declares %{binding}. Perhaps you meant %{target}?'
110
- HasEmptyIfBranches: '%{binding} has empty <i>%{keyword_If}</i> branches'
111
- HasEmptyRepeat: '%{binding} has empty <i>%{keyword_Repeat}</i>'
110
+ HasEmptyIfBranches: '%{binding} has empty <code>%{keyword_If}</code> branches'
111
+ HasEmptyRepeat: '%{binding} has empty <code>%{keyword_Repeat}</code>'
112
+ HasEqualIfBranches: '%{binding} has unnecessary <code>%{keyword_If}</code>s whose branches are equal'
112
113
  HasLongParameterList: '%{binding} has too many parameters. You may be missing an abstraction.'
113
114
  HasMisspelledBindings: '%{binding} is misspelled'
114
115
  HasMisspelledIdentifiers: '%{binding} is misspelled'
115
116
  HasRedundantBooleanComparison: '%{binding} makes unnecesary boolean comparisons'
116
117
  HasRedundantGuards: '%{binding} has unnecessary guards'
117
- HasRedundantIf: '%{binding} has unnecessary <i>%{keyword_If}</i>s'
118
+ HasRedundantIf: '%{binding} has unnecessary <code>%{keyword_If}</code>s that can be replaced by a boolean expression'
118
119
  HasRedundantLambda: '%{binding} has unnecessary lambdas'
119
120
  HasRedundantLocalVariableReturn: '%{binding} has unnecesary local variables; please try returning the expression directly'
120
121
  HasRedundantParameter: '%{binding} has unnecessary parameters, that can be removed using point-free'
121
- HasRedundantReduction: '%{binding} uses <i>%{keyword_Is}</i>, but it does not artihmetic'
122
- HasRedundantRepeat: '%{binding} has an unnecesary <i>%{keyword_Repeat}</i>'
122
+ HasRedundantReduction: '%{binding} uses <code>%{keyword_Is}</code>, but it does not artihmetic'
123
+ HasRedundantRepeat: '%{binding} has an unnecesary <code>%{keyword_Repeat}</code>'
123
124
  HasTooManyMethods: '%{binding} has too many methods'
124
125
  HasTooShortBindings: '%{binding} is a too short identifier'
125
126
  HasTooShortIdentifiers: '%{binding} is a too short identifier'
@@ -140,17 +141,19 @@ en:
140
141
  Instantiates_named: '%{binding} %{must} instantiate %{target}'
141
142
  Instantiates: '%{binding} %{must} instantiate objects'
142
143
  IsLongCode: '%{binding} is too long'
143
- OverridesEqualOrHashButNotBoth: '%{binding} overrides <i>equals</i> or <i>hash</i> methods, but not both'
144
+ JavaScript#UsesVarInsteadOfLet: '%{binding} should use <code>let</code> instead of <code>var</code>'
145
+ OverridesEqualOrHashButNotBoth: '%{binding} overrides <code>equals</code> or <code>hash</code> methods, but not both'
144
146
  Raises_except: '%{binding} %{must} throw exceptions distinct from %{target}'
145
147
  Raises_like: '%{binding} %{must} throw exceptions like %{target}'
146
148
  Raises_named: '%{binding} %{must} throw %{target}'
147
149
  Raises: '%{binding} %{must} throw exceptions'
148
150
  Returns: '%{binding} %{must} return%{matching}'
149
- ReturnsNil: '%{binding} retuns <i>%{keyword_Null}</i>, which is a bad practice'
150
- ReturnsNull: '%{binding} retuns <i>%{keyword_Null}</i>, which is a bad practice'
151
- ShouldInvertIfCondition: '%{binding} should invert <i>%{keyword_If}</i> condition and swap branches'
151
+ ReturnsNil: '%{binding} retuns <code>%{keyword_Nil}</code>, which is a bad practice'
152
+ ReturnsNull: '%{binding} retuns <code>%{keyword_Nil}</code>, which is a bad practice'
153
+ ShouldInvertIfCondition: '%{binding} should invert <code>%{keyword_If}</code> condition and swap branches'
154
+ ShouldUseStrictComparators: '%{binding} should use strict operators <code>%{operator_Equal}</code> and <code>%{operator_NotEqual}</code> instead of <code>%{operator_Similar}</code> and <code>%{operator_NotSimilar}</code>'
152
155
  SubordinatesDeclarationsTo: 'All declarations in %{binding} %{must} be used from %{target}'
153
- SubordinatesDeclarationsToEntryPoint: 'All declarations in %{binding} %{must} be used from <i>%{keyword_EntryPoint}</i> '
156
+ SubordinatesDeclarationsToEntryPoint: 'All declarations in %{binding} %{must} be used from <code>%{keyword_EntryPoint}</code> '
154
157
  TypesAs_named: '%{binding} %{must} type as %{target}'
155
158
  TypesAs: '%{binding} %{must} type'
156
159
  TypesParameterAs_except: '%{binding} %{must} type parameters with a type distinct from %{target}'
@@ -163,56 +166,33 @@ en:
163
166
  Uses_like: '%{binding} %{must} delegate to something similar to %{target}'
164
167
  Uses_named: '%{binding} %{must} use %{target}'
165
168
  Uses: '%{binding} %{must} delegate'
166
- UsesAnd: '%{binding} %{must} use <i>%{operator_And}</i>'
167
169
  UsesAnonymousVariable: '%{binding} %{must} use an annonymous variable'
168
- UsesBackwardComposition: '%{binding} %{must} use <i>%{operator_BackwardComposition}</i>'
169
- UsesBitwiseAnd: '%{binding} %{must} use <i>%{operator_BitwiseAnd}</i>'
170
- UsesBitwiseLeftShift: '%{binding} %{must} use <i>%{operator_BitwiseLeftShift}</i>'
171
- UsesBitwiseOr: '%{binding} %{must} use <i>%{operator_BitwiseOr}</i>'
172
- UsesBitwiseRightShift: '%{binding} %{must} use <i>%{operator_BitwiseRightShift}</i>'
173
- UsesBitwiseXor: '%{binding} %{must} use <i>%{operator_BitwiseXor}</i>'
174
170
  UsesComposition: '%{binding} %{must} use composition'
175
171
  UsesComprehension: '%{binding} %{must} use comprehensions'
176
172
  UsesConditional: '%{binding} %{must} use conditionals'
177
- UsesCut: '%{binding} uses <i>!</li> operator, which is a bad practice'
178
- UsesDivide: '%{binding} %{must} use <i>%{operator_Divide}</i>'
173
+ UsesCut: '%{binding} uses <code>!</li> operator, which is a bad practice'
179
174
  UsesDyamicPolymorphism: '%{binding} %{must} use polymorphism'
180
175
  UsesDynamicMethodOverload: '%{binding} %{must} use overload'
181
- UsesEqual: '%{binding} %{must} use <i>%{operator_Equal}</i>'
182
- UsesFail: '%{binding} uses <i>%{keyword_Fail}</li>, which is a bad practice'
183
- UsesFindall: '%{binding} %{must} use <i>%{keyword_findall}</i>'
184
- UsesForall: '%{binding} %{must} use <i>%{keyword_Forall}</i>'
185
- UsesForeach: '%{binding} %{must} use <i>%{keyword_Foreach}</i>%{matching}'
186
- UsesForLoop: '%{binding} %{must} use <i>%{keyword_For}</i>%{matching}'
187
- UsesForwardComposition: '%{binding} %{must} use <i>%{operator_ForwardComposition}</i>'
188
- UsesGreatherOrEqualThan: '%{binding} %{must} use <i>%{operator_GreatherOrEqualThan}</i>'
189
- UsesGreatherThan: '%{binding} %{must} use <i>%{operator_GreatherThan}</i>'
176
+ UsesFail: '%{binding} uses <code>%{keyword_Fail}</li>, which is a bad practice'
177
+ UsesFindall: '%{binding} %{must} use <code>%{keyword_Findall}</code>'
178
+ UsesForall: '%{binding} %{must} use <code>%{keyword_Forall}</code>'
179
+ UsesForeach: '%{binding} %{must} use <code>%{keyword_ForEach}</code>%{matching}'
180
+ UsesForLoop: '%{binding} %{must} use <code>%{keyword_For}</code>%{matching}'
190
181
  UsesGuards: '%{binding} %{must} use guards%{matching}'
191
- UsesHash: '%{binding} %{must} use <i>%{operator_Hash}</i>'
192
- UsesIf: '%{binding} %{must} use <i>%{keyword_If}</i>%{matching}'
182
+ UsesIf: '%{binding} %{must} use <code>%{keyword_If}</code>%{matching}'
193
183
  UsesLambda: '%{binding} %{must} use lambda expressions%{matching}'
194
- UsesLessOrEqualThan: '%{binding} %{must} use <i>%{operator_LessOrEqualThan}</i>'
195
- UsesLessThan: '%{binding} %{must} use <i>%{operator_LessThan}</i>'
196
184
  UsesLogic: '%{binding} %{must} usar boolean operators'
197
185
  UsesLoop: '%{binding} %{must} use a loop%{matching}'
198
186
  UsesMath: '%{binding} %{must} usar math expressions'
199
- UsesMinus: '%{binding} %{must} use <i>%{operator_Minus}</i>'
200
187
  UsesMixin: '%{binding} %{must} use mixins'
201
- UsesModulo: '%{binding} %{must} use <i>%{operator_Modulo}</i>'
202
- UsesMultiply: '%{binding} %{must} use <i>%{operator_Multiply}</i>'
203
- UsesNegation: '%{binding} %{must} use <i>%{operator_Negation}</i>'
204
188
  UsesNot: '%{binding} %{must} use not'
205
- UsesNotEqual: '%{binding} %{must} use <i>%{operator_NotEqual}</i>'
206
189
  UsesObjectComposition: '%{binding} %{must} use composition'
207
- UsesOr: '%{binding} %{must} use <i>%{operator_Or}</i>'
208
- UsesOtherwise: '%{binding} %{must} use <i>%{operator_Otherwise}</i>'
209
190
  UsesPatternMatching: '%{binding} %{must} use pattern matching'
210
- UsesPlus: '%{binding} %{must} use <i>%{operator_Plus}</i>'
211
- UsesRepeat: '%{binding} %{must} use <i>%{keyword_Repeat}</i>%{matching}'
212
- UsesRepeatOf: '%{binding} %{must} use <i>%{keyword_Repeat}</i>'
191
+ UsesRepeat: '%{binding} %{must} use <code>%{keyword_Repeat}</code>%{matching}'
192
+ UsesRepeatOf: '%{binding} %{must} use <code>%{keyword_Repeat}</code>'
213
193
  UsesStaticMethodOverload: '%{binding} %{must} use overload'
214
194
  UsesStaticPolymorphism: '%{binding} %{must} use polymorphism'
215
- UsesSwitch: '%{binding} %{must} use a <i>%{keyword_Switch}</i>'
195
+ UsesSwitch: '%{binding} %{must} use a <code>%{keyword_Switch}</code>'
216
196
  UsesTemplateMethod: '%{binding} %{must} use a template method'
217
197
  UsesUnificationOperator: '%{binding} uses the unification operator (=)'
218
- UsesWhile: '%{binding} %{must} use <i>%{keyword_While}</i>%{matching}'
198
+ UsesWhile: '%{binding} %{must} use <code>%{keyword_While}</code>%{matching}'
@@ -5,17 +5,17 @@ es:
5
5
  must_not: no debe
6
6
  must: debe
7
7
  solution: la solución
8
- with_char: ' con el carácter <i>%{value}</i>'
9
- with_false: ' con el valor <i>%{keyword_False}</i>'
8
+ with_char: ' con el carácter <code>%{value}</code>'
9
+ with_false: ' con el valor <code>%{keyword_False}</code>'
10
10
  with_literal: ' con un valor literal'
11
11
  with_logic: ' con una expresión booleana'
12
12
  with_math: 'con una expresión matemática'
13
- with_nil: ' con <i>%{keyword_nil}</i>'
13
+ with_nil: ' con <code>%{keyword_Nil}</code>'
14
14
  with_nonliteral: ' con una expresión no literal'
15
- with_number: ' con el número <i>%{value}</i>'
16
- with_string: ' con la cadena <i>%{value}</i>'
17
- with_symbol: ' con el símbolo <i>%{value}</i>'
18
- with_true: ' con el valor <i>%{keyword_True}</i>'
15
+ with_number: ' con el número <code>%{value}</code>'
16
+ with_string: ' con la cadena <code>%{value}</code>'
17
+ with_symbol: ' con el símbolo <code>%{value}</code>'
18
+ with_true: ' con el valor <code>%{keyword_True}</code>'
19
19
  inspection:
20
20
  Assigns_except: '%{binding} %{must} asignar a algo diferente a %{target}%{matching}'
21
21
  Assigns_like: '%{binding} %{must} asignar algo parecido a %{target}%{matching}'
@@ -47,7 +47,7 @@ es:
47
47
  DeclaresComputationWithArity3_named: '%{target} %{must} tener tres parámetros'
48
48
  DeclaresComputationWithArity4_named: '%{target} %{must} tener cuatro parámetros'
49
49
  DeclaresComputationWithArity5_named: '%{target} %{must} tener cinco parámetros'
50
- DeclaresEntryPoint: '%{binding} %{must} declarar un <i>%{keyword_EntryPoint}</i>%{matching}'
50
+ DeclaresEntryPoint: '%{binding} %{must} declarar un <code>%{keyword_EntryPoint}</code>%{matching}'
51
51
  DeclaresEnumeration_except: '%{binding} %{must} declarar enumeraciones que no se llamen %{target}'
52
52
  DeclaresEnumeration_like: '%{binding} %{must} declarar una enumeracion de nombre parecido a %{target}'
53
53
  DeclaresEnumeration_named: '%{binding} %{must} declarar una enumeracion %{target}'
@@ -104,26 +104,27 @@ es:
104
104
  Delegates: '%{binding} %{must} delegar'
105
105
  DiscardsExceptions: '%{binding} está ignorando excepciones silenciosamiente'
106
106
  DoesConsolePrint: '%{binding} está realizando impresiones por pantalla'
107
- DoesNilTest: '%{binding} hace comparaciones contra <i>%{keyword_Null}</i>'
108
- DoesNullTest: '%{binding} hace comparaciones contra <i>%{keyword_Null}</i>'
107
+ DoesNilTest: '%{binding} hace comparaciones contra <code>%{keyword_Nil}</code>'
108
+ DoesNullTest: '%{binding} hace comparaciones contra <code>%{keyword_Nil}</code>'
109
109
  DoesTypeTest: '%{binding} hace comparaciones contra strings'
110
- HasAssignmentCondition: '%{binding} evalúa el resultado de una asignación en donde se esperaba una expresión booleana. ¿Quizás quisiste usar el operador <i>%{operator_Equal}</i>?'
111
- HasAssignmentReturn: '%{binding} devuelve el resultado de una asignación. ¿Quizás quisiste usar el operador <i>%{operator_Equal}</i>?'
110
+ HasAssignmentCondition: '%{binding} evalúa el resultado de una asignación en donde se esperaba una expresión booleana. ¿Quizás quisiste usar el operador <code>%{operator_Equal}</code>?'
111
+ HasAssignmentReturn: '%{binding} devuelve el resultado de una asignación. ¿Quizás quisiste usar el operador <code>%{operator_Equal}</code>?'
112
112
  HasCodeDuplication: '%{binding} tiene código repetido'
113
113
  HasDeclarationTypos_named: 'La solución parece tener un error de tipeo: debe declarar %{target}, pero declara %{binding}. ¿Quizás quisiste decir %{target}?'
114
- HasEmptyIfBranches: '%{binding} tiene ramas de <i>%{keyword_If}</i> vacías'
115
- HasEmptyRepeat: '%{binding} tiene un <i>%{keyword_Repeat}</i> vacío'
114
+ HasEmptyIfBranches: '%{binding} tiene ramas de <code>%{keyword_If}</code> vacías'
115
+ HasEmptyRepeat: '%{binding} tiene un <code>%{keyword_Repeat}</code> vacío'
116
+ HasEqualIfBranches: '%{binding} tiene <code>if</code>s innecesarios porque sus dos ramas son iguales'
116
117
  HasLongParameterList: '%{binding} tiene demasiados parámetros. Te podría estar faltando una abstracción'
117
118
  HasMisspelledBindings: '%{binding} está mal escrito. Revisá la ortografía y procurá no usar abreviaturas'
118
119
  HasMisspelledIdentifiers: '%{binding} está mal escrito. Revisá la ortografía y procurá no usar abreviaturas'
119
120
  HasRedundantBooleanComparison: '%{binding} hace comparaciones booleanas innecesarias'
120
121
  HasRedundantGuards: '%{binding} tiene guardas innecesarias'
121
- HasRedundantIf: '%{binding} tiene ifs innecesarios'
122
+ HasRedundantIf: '%{binding} tiene <code>if</code>s innecesarios que pueden ser reemplazados por expresiones booleanas'
122
123
  HasRedundantLambda: '%{binding} tiene lambdas innecesarias'
123
124
  HasRedundantLocalVariableReturn: '%{binding} usa variables locales innecesarias; podés retornar directamente la expresión'
124
125
  HasRedundantParameter: '%{binding} tiene parámetros innecesarios (se pueden eliminar mediante point-free)'
125
- HasRedundantReduction: '%{binding} usa <i>%{keyword_Is}</i>, pero no realiza cálculos'
126
- HasRedundantRepeat: '%{binding} tiene un <i>%{keyword_Repeat}</i> innecesario'
126
+ HasRedundantReduction: '%{binding} usa <code>%{keyword_Is}</code>, pero no realiza cálculos'
127
+ HasRedundantRepeat: '%{binding} tiene un <code>%{keyword_Repeat}</code> innecesario'
127
128
  HasTooManyMethods: '%{binding} tiene demasiados métodos'
128
129
  HasTooShortBindings: '%{binding} es un identificador muy corto'
129
130
  HasTooShortIdentifiers: '%{binding} es un identificador muy corto'
@@ -148,7 +149,8 @@ es:
148
149
  Instantiates_named: '%{binding} %{must} instanciar %{target}'
149
150
  Instantiates: '%{binding} %{must} instanciar objetos'
150
151
  IsLongCode: '%{binding} es muy largo. Tratá de delegar más'
151
- OverridesEqualOrHashButNotBoth: '%{binding} redefine los métodos <i>equals</i> o <i>hash</i>, pero no ambos'
152
+ JavaScript#UsesVarInsteadOfLet: '%{binding} debería utilizar <code>let</code> en lugar de <code>var</code>'
153
+ OverridesEqualOrHashButNotBoth: '%{binding} redefine los métodos <code>equals</code> o <code>hash</code>, pero no ambos'
152
154
  Raises_except: '%{binding} %{must} lanzar excepciones diferentes a %{target}'
153
155
  Raises_like: '%{binding} %{must} lanzar excepciones parecidas a %{target}'
154
156
  Raises_named: '%{binding} %{must} lanzar %{target}'
@@ -160,9 +162,10 @@ es:
160
162
  Returns: '%{binding} %{must} retornar%{matching}'
161
163
  ReturnsNil: '%{binding} retorna null, lo cual es una mala práctica'
162
164
  ReturnsNull: '%{binding} retorna null, lo cual es una mala práctica'
163
- ShouldInvertIfCondition: '%{binding} debería invertir la condición del <i>%{keyword_If}</i> e intercambiar las ramas'
165
+ ShouldInvertIfCondition: '%{binding} debería invertir la condición del <code>%{keyword_If}</code> e intercambiar las ramas'
166
+ ShouldUseStrictComparators: '%{binding} debería usar los operadores de equivalencia <code>%{operator_Equal}</code> y <code>%{operator_NotEqual}</code> en lugar de los operadores de similitud <code>%{operator_Similar}</code> y <code>%{operator_NotSimilar}</code>'
164
167
  SubordinatesDeclarationsTo: 'Todas las declaraciones en %{binding} %{must} ser usadas desde %{target}'
165
- SubordinatesDeclarationsToEntryPoint: 'Todas las declaraciones en %{binding} %{must} deben ser usadas desde un <i>%{keyword_EntryPoint}</i>'
168
+ SubordinatesDeclarationsToEntryPoint: 'Todas las declaraciones en %{binding} %{must} deben ser usadas desde un <code>%{keyword_EntryPoint}</code>'
166
169
  TypesAs_named: '%{binding} %{must} ser de tipo %{target}'
167
170
  TypesAs: '%{binding} %{must} tipar'
168
171
  TypesParameterAs_except: '%{binding} %{must} tipar parámetros con un tipo diferente a %{target}'
@@ -175,61 +178,38 @@ es:
175
178
  Uses_like: '%{binding} %{must} delegar en algo parecido a %{target}'
176
179
  Uses_named: '%{binding} %{must} utilizar %{target}'
177
180
  Uses: '%{binding} %{must} delegar'
178
- UsesAnd: '%{binding} %{must} utilizar <i>%{operator_And}</i>'
179
181
  UsesAnonymousVariable: '%{binding} %{must} utilizar una variable anónima'
180
- UsesBackwardComposition: '%{binding} %{must} utilizar <i>%{operator_BackwardComposition}</i>'
181
- UsesBitwiseAnd: '%{binding} %{must} utilizar <i>%{operator_BitwiseAnd}</i>'
182
- UsesBitwiseLeftShift: '%{binding} %{must} utilizar <i>%{operator_BitwiseLeftShift}</i>'
183
- UsesBitwiseOr: '%{binding} %{must} utilizar <i>%{operator_BitwiseOr}</i>'
184
- UsesBitwiseRightShift: '%{binding} %{must} utilizar <i>%{operator_BitwiseRightShift}</i>'
185
- UsesBitwiseXor: '%{binding} %{must} utilizar <i>%{operator_BitwiseXor}</i>'
186
182
  UsesComposition: '%{binding} %{must} usar composición'
187
183
  UsesComprehension: '%{binding} %{must} emplear listas por comprensión'
188
184
  UsesConditional: '%{binding} %{must} utilizar condicionales'
189
185
  UsesCut: '%{binding} usa el operador !, lo cual es una mala práctica'
190
- UsesDivide: '%{binding} %{must} utilizar <i>%{operator_Divide}</i>'
191
186
  UsesDyamicPolymorphism: '%{binding} %{must} usar polimorfismo'
192
187
  UsesDynamicMethodOverload: '%{binding} %{must} usar sobrecarga'
193
- UsesEqual: '%{binding} %{must} utilizar <i>%{operator_Equal}</i>'
194
188
  UsesExceptionHandling: '%{binding} %{must} realizar manejo de excepciones'
195
189
  UsesExceptions: '%{binding} %{must} usar excepciones'
196
- UsesFail: '%{binding} usa <i>%{keyword_Fail}</li>, lo cual es una mala práctica'
197
- UsesFindall: '%{binding} %{must} utilizar <i>%{keyword_findall}</i>'
198
- UsesForall: '%{binding} %{must} utilizar <i>%{keyword_Forall}</i>'
199
- UsesForeach: '%{binding} %{must} usar <i>%{keyword_Foreach}</i>%{matching}'
200
- UsesForLoop: '%{binding} %{must} usar <i>%{keyword_For}</i>%{matching}'
201
- UsesForwardComposition: '%{binding} %{must} utilizar <i>%{operator_ForwardComposition}</i>'
202
- UsesGreatherOrEqualThan: '%{binding} %{must} utilizar <i>%{operator_GreatherOrEqualThan}</i>'
203
- UsesGreatherThan: '%{binding} %{must} utilizar <i>%{operator_GreatherThan}</i>'
190
+ UsesFail: '%{binding} usa <code>%{keyword_Fail}</li>, lo cual es una mala práctica'
191
+ UsesFindall: '%{binding} %{must} utilizar <code>%{keyword_Findall}</code>'
192
+ UsesForall: '%{binding} %{must} utilizar <code>%{keyword_Forall}</code>'
193
+ UsesForeach: '%{binding} %{must} usar <code>%{keyword_ForEach}</code>%{matching}'
194
+ UsesForLoop: '%{binding} %{must} usar <code>%{keyword_For}</code>%{matching}'
204
195
  UsesGuards: '%{binding} %{must} usar guardas%{matching}'
205
- UsesHash: '%{binding} %{must} utilizar <i>%{operator_Hash}</i>'
206
- UsesIf: '%{binding} %{must} usar <i>%{keyword_If}</i>%{matching}'
196
+ UsesIf: '%{binding} %{must} usar <code>%{keyword_If}</code>%{matching}'
207
197
  UsesInheritance: '%{binding} %{must} usar herencia'
208
198
  UsesLambda: '%{binding} %{must} emplear expresiones lambda%{matching}'
209
- UsesLessOrEqualThan: '%{binding} %{must} utilizar <i>%{operator_LessOrEqualThan}</i>'
210
- UsesLessThan: '%{binding} %{must} utilizar <i>%{operator_LessThan}</i>'
211
199
  UsesLogic: '%{binding} %{must} usar operadores booleanos'
212
200
  UsesLoop: '%{binding} %{must} usar un bucle'
213
201
  UsesMath: '%{binding} %{must} usar expresiones matemáticas'
214
- UsesMinus: '%{binding} %{must} utilizar <i>%{operator_Minus}</i>'
215
202
  UsesMixin: '%{binding} %{must} utilizar mixins'
216
203
  UsesMixins: '%{binding} %{must} usar mixins'
217
- UsesModulo: '%{binding} %{must} utilizar <i>%{operator_Modulo}</i>'
218
- UsesMultiply: '%{binding} %{must} utilizar <i>%{operator_Multiply}</i>'
219
- UsesNegation: '%{binding} %{must} utilizar <i>%{operator_Negation}</i>'
220
- UsesNot: '%{binding} %{must} utilizar <i>%{keyword_Not}</i>'
221
- UsesNotEqual: '%{binding} %{must} utilizar <i>%{operator_NotEqual}</i>'
204
+ UsesNot: '%{binding} %{must} utilizar <code>%{keyword_Not}</code>'
222
205
  UsesObjectComposition: '%{binding} %{must} usar composición'
223
- UsesOr: '%{binding} %{must} utilizar <i>%{operator_Or}</i>'
224
- UsesOtherwise: '%{binding} %{must} utilizar <i>%{operator_Otherwise}</i>'
225
206
  UsesPatternMatching: '%{binding} %{must} utilizar pattern matching'
226
- UsesPlus: '%{binding} %{must} utilizar <i>%{operator_Plus}</i>'
227
- UsesRepeat: '%{binding} %{must} usar <i>%{keyword_Repeat}</i>%{matching}'
228
- UsesRepeatOf: '%{binding} %{must} usar un <i>%{keyword_Repeat}</i> de %{target}'
207
+ UsesRepeat: '%{binding} %{must} usar <code>%{keyword_Repeat}</code>%{matching}'
208
+ UsesRepeatOf: '%{binding} %{must} usar un <code>%{keyword_Repeat}</code> de %{target}'
229
209
  UsesStaticMethodOverload: '%{binding} %{must} usar sobrecarga'
230
210
  UsesStaticPolymorphism: '%{binding} %{must} usar polimorfismo'
231
- UsesSwitch: '%{binding} %{must} utilizar un <i>%{keyword_Switch}</i>'
211
+ UsesSwitch: '%{binding} %{must} utilizar un <code>%{keyword_Switch}</code>'
232
212
  UsesTemplateMethod: '%{binding} %{must} usar un método plantilla'
233
213
  UsesUnificationOperator: '%{binding} usa el operador de unificación (=)'
234
- UsesWhile: '%{binding} %{must} utilizar un <i>%{keyword_While}</i>'
235
- UsesYield: '%{binding} %{must} utilizar un <i>%{keyword_Yield}</i>'
214
+ UsesWhile: '%{binding} %{must} utilizar un <code>%{keyword_While}</code>'
215
+ UsesYield: '%{binding} %{must} utilizar un <code>%{keyword_Yield}</code>'
@@ -0,0 +1,96 @@
1
+ en:
2
+ mulang:
3
+ inspection:
4
+ UsesAnd: '%{binding} %{must} use <code>%{operator_And}</code>'
5
+ UsesBackwardComposition: '%{binding} %{must} use <code>%{operator_BackwardComposition}</code>'
6
+ UsesBitwiseAnd: '%{binding} %{must} use <code>%{operator_BitwiseAnd}</code>'
7
+ UsesBitwiseLeftShift: '%{binding} %{must} use <code>%{operator_BitwiseLeftShift}</code>'
8
+ UsesBitwiseOr: '%{binding} %{must} use <code>%{operator_BitwiseOr}</code>'
9
+ UsesBitwiseRightShift: '%{binding} %{must} use <code>%{operator_BitwiseRightShift}</code>'
10
+ UsesBitwiseXor: '%{binding} %{must} use <code>%{operator_BitwiseXor}</code>'
11
+ UsesDivide: '%{binding} %{must} use <code>%{operator_Divide}</code>'
12
+ UsesEqual: '%{binding} %{must} use <code>%{operator_Equal}</code>'
13
+ UsesForwardComposition: '%{binding} %{must} use <code>%{operator_ForwardComposition}</code>'
14
+ UsesGreatherOrEqualThan: '%{binding} %{must} use <code>%{operator_GreatherOrEqualThan}</code>'
15
+ UsesGreatherThan: '%{binding} %{must} use <code>%{operator_GreatherThan}</code>'
16
+ UsesHash: '%{binding} %{must} use <code>%{operator_Hash}</code>'
17
+ UsesLessOrEqualThan: '%{binding} %{must} use <code>%{operator_LessOrEqualThan}</code>'
18
+ UsesLessThan: '%{binding} %{must} use <code>%{operator_LessThan}</code>'
19
+ UsesMinus: '%{binding} %{must} use <code>%{operator_Minus}</code>'
20
+ UsesModulo: '%{binding} %{must} use <code>%{operator_Modulo}</code>'
21
+ UsesMultiply: '%{binding} %{must} use <code>%{operator_Multiply}</code>'
22
+ UsesNegation: '%{binding} %{must} use <code>%{operator_Negation}</code>'
23
+ UsesNotEqual: '%{binding} %{must} use <code>%{operator_NotEqual}</code>'
24
+ UsesNotSame: '%{binding} %{must} use <code>%{operator_NotSame}</code>'
25
+ UsesNotSimilar: '%{binding} %{must} use <code>%{operator_NotSimilar}</code>'
26
+ UsesOr: '%{binding} %{must} use <code>%{operator_Or}</code>'
27
+ UsesOtherwise: '%{binding} %{must} use <code>%{operator_Otherwise}</code>'
28
+ UsesPlus: '%{binding} %{must} use <code>%{operator_Plus}</code>'
29
+ UsesPush: '%{binding} %{must} use <code>%{operator_Push}</code>'
30
+ UsesSame: '%{binding} %{must} use <code>%{operator_Same}</code>'
31
+ UsesSimilar: '%{binding} %{must} use <code>%{operator_Similar}</code>'
32
+ UsesSize: '%{binding} %{must} use <code>%{operator_Size}</code>'
33
+ es:
34
+ mulang:
35
+ inspection:
36
+ UsesAnd: '%{binding} %{must} usar <code>%{operator_And}</code>'
37
+ UsesBackwardComposition: '%{binding} %{must} usar <code>%{operator_BackwardComposition}</code>'
38
+ UsesBitwiseAnd: '%{binding} %{must} usar <code>%{operator_BitwiseAnd}</code>'
39
+ UsesBitwiseLeftShift: '%{binding} %{must} usar <code>%{operator_BitwiseLeftShift}</code>'
40
+ UsesBitwiseOr: '%{binding} %{must} usar <code>%{operator_BitwiseOr}</code>'
41
+ UsesBitwiseRightShift: '%{binding} %{must} usar <code>%{operator_BitwiseRightShift}</code>'
42
+ UsesBitwiseXor: '%{binding} %{must} usar <code>%{operator_BitwiseXor}</code>'
43
+ UsesDivide: '%{binding} %{must} usar <code>%{operator_Divide}</code>'
44
+ UsesEqual: '%{binding} %{must} usar <code>%{operator_Equal}</code>'
45
+ UsesForwardComposition: '%{binding} %{must} usar <code>%{operator_ForwardComposition}</code>'
46
+ UsesGreatherOrEqualThan: '%{binding} %{must} usar <code>%{operator_GreatherOrEqualThan}</code>'
47
+ UsesGreatherThan: '%{binding} %{must} usar <code>%{operator_GreatherThan}</code>'
48
+ UsesHash: '%{binding} %{must} usar <code>%{operator_Hash}</code>'
49
+ UsesLessOrEqualThan: '%{binding} %{must} usar <code>%{operator_LessOrEqualThan}</code>'
50
+ UsesLessThan: '%{binding} %{must} usar <code>%{operator_LessThan}</code>'
51
+ UsesMinus: '%{binding} %{must} usar <code>%{operator_Minus}</code>'
52
+ UsesModulo: '%{binding} %{must} usar <code>%{operator_Modulo}</code>'
53
+ UsesMultiply: '%{binding} %{must} usar <code>%{operator_Multiply}</code>'
54
+ UsesNegation: '%{binding} %{must} usar <code>%{operator_Negation}</code>'
55
+ UsesNotEqual: '%{binding} %{must} usar <code>%{operator_NotEqual}</code>'
56
+ UsesNotSame: '%{binding} %{must} usar <code>%{operator_NotSame}</code>'
57
+ UsesNotSimilar: '%{binding} %{must} usar <code>%{operator_NotSimilar}</code>'
58
+ UsesOr: '%{binding} %{must} usar <code>%{operator_Or}</code>'
59
+ UsesOtherwise: '%{binding} %{must} usar <code>%{operator_Otherwise}</code>'
60
+ UsesPlus: '%{binding} %{must} usar <code>%{operator_Plus}</code>'
61
+ UsesPush: '%{binding} %{must} usar <code>%{operator_Push}</code>'
62
+ UsesSame: '%{binding} %{must} usar <code>%{operator_Same}</code>'
63
+ UsesSimilar: '%{binding} %{must} usar <code>%{operator_Similar}</code>'
64
+ UsesSize: '%{binding} %{must} usar <code>%{operator_Size}</code>'
65
+ pt:
66
+ mulang:
67
+ inspection:
68
+ UsesAnd: '%{binding} %{must} utilizar <code>%{operator_And}</code>'
69
+ UsesBackwardComposition: '%{binding} %{must} utilizar <code>%{operator_BackwardComposition}</code>'
70
+ UsesBitwiseAnd: '%{binding} %{must} utilizar <code>%{operator_BitwiseAnd}</code>'
71
+ UsesBitwiseLeftShift: '%{binding} %{must} utilizar <code>%{operator_BitwiseLeftShift}</code>'
72
+ UsesBitwiseOr: '%{binding} %{must} utilizar <code>%{operator_BitwiseOr}</code>'
73
+ UsesBitwiseRightShift: '%{binding} %{must} utilizar <code>%{operator_BitwiseRightShift}</code>'
74
+ UsesBitwiseXor: '%{binding} %{must} utilizar <code>%{operator_BitwiseXor}</code>'
75
+ UsesDivide: '%{binding} %{must} utilizar <code>%{operator_Divide}</code>'
76
+ UsesEqual: '%{binding} %{must} utilizar <code>%{operator_Equal}</code>'
77
+ UsesForwardComposition: '%{binding} %{must} utilizar <code>%{operator_ForwardComposition}</code>'
78
+ UsesGreatherOrEqualThan: '%{binding} %{must} utilizar <code>%{operator_GreatherOrEqualThan}</code>'
79
+ UsesGreatherThan: '%{binding} %{must} utilizar <code>%{operator_GreatherThan}</code>'
80
+ UsesHash: '%{binding} %{must} utilizar <code>%{operator_Hash}</code>'
81
+ UsesLessOrEqualThan: '%{binding} %{must} utilizar <code>%{operator_LessOrEqualThan}</code>'
82
+ UsesLessThan: '%{binding} %{must} utilizar <code>%{operator_LessThan}</code>'
83
+ UsesMinus: '%{binding} %{must} utilizar <code>%{operator_Minus}</code>'
84
+ UsesModulo: '%{binding} %{must} utilizar <code>%{operator_Modulo}</code>'
85
+ UsesMultiply: '%{binding} %{must} utilizar <code>%{operator_Multiply}</code>'
86
+ UsesNegation: '%{binding} %{must} utilizar <code>%{operator_Negation}</code>'
87
+ UsesNotEqual: '%{binding} %{must} utilizar <code>%{operator_NotEqual}</code>'
88
+ UsesNotSame: '%{binding} %{must} utilizar <code>%{operator_NotSame}</code>'
89
+ UsesNotSimilar: '%{binding} %{must} utilizar <code>%{operator_NotSimilar}</code>'
90
+ UsesOr: '%{binding} %{must} utilizar <code>%{operator_Or}</code>'
91
+ UsesOtherwise: '%{binding} %{must} utilizar <code>%{operator_Otherwise}</code>'
92
+ UsesPlus: '%{binding} %{must} utilizar <code>%{operator_Plus}</code>'
93
+ UsesPush: '%{binding} %{must} utilizar <code>%{operator_Push}</code>'
94
+ UsesSame: '%{binding} %{must} utilizar <code>%{operator_Same}</code>'
95
+ UsesSimilar: '%{binding} %{must} utilizar <code>%{operator_Similar}</code>'
96
+ UsesSize: '%{binding} %{must} utilizar <code>%{operator_Size}</code>'
@@ -5,17 +5,17 @@ pt:
5
5
  must_not: 'não deve'
6
6
  must: 'deve'
7
7
  solution: 'a solução'
8
- with_char: ' com o caractere <i>%{value}</i>'
9
- with_false: ' com o valor <i>%{keyword_False}</i>'
8
+ with_char: ' com o caractere <code>%{value}</code>'
9
+ with_false: ' com o valor <code>%{keyword_False}</code>'
10
10
  with_literal: ' com um valor literal'
11
11
  with_logic: ' com uma expressão booleana'
12
12
  with_math: ' com uma expressão matemática'
13
- with_nil: ' com <i>%{keyword_nil}</i>'
13
+ with_nil: ' com <code>%{keyword_Nil}</code>'
14
14
  with_nonliteral: ' com uma expressão não literal'
15
- with_number: ' com o número <i>%{value}</i>'
16
- with_string: ' com a string <i>%{value}</i>'
17
- with_symbol: ' com o símbolo <i>%{value}</i>'
18
- with_true: ' com o valor <i>%{keyword_True}</i>'
15
+ with_number: ' com o número <code>%{value}</code>'
16
+ with_string: ' com a string <code>%{value}</code>'
17
+ with_symbol: ' com o símbolo <code>%{value}</code>'
18
+ with_true: ' com o valor <code>%{keyword_True}</code>'
19
19
  inspection:
20
20
  Assigns_except: '%{binding} %{must} atribuir algo diferente a %{target}%{matching}'
21
21
  Assigns_like: '%{binding} %{must} atribuir algo semelhante ao %{target}%{matching}'
@@ -47,7 +47,7 @@ pt:
47
47
  DeclaresComputationWithArity3_named: '%{target} %{must} tem três parâmetros'
48
48
  DeclaresComputationWithArity4_named: '%{target} %{must} tem quatro parâmetros'
49
49
  DeclaresComputationWithArity5_named: '%{target} %{must} tem cinco parâmetros'
50
- DeclaresEntryPoint: '%{binding} %{must} declarar um <i>%{keyword_EntryPoint}</i>%{matching}'
50
+ DeclaresEntryPoint: '%{binding} %{must} declarar um <code>%{keyword_EntryPoint}</code>%{matching}'
51
51
  DeclaresEnumeration_except: '%{binding} %{must} declarar enumerações que não são chamadas %{target}'
52
52
  DeclaresEnumeration_like: '%{binding} %{must} declarar uma enumeração de nome semelhante a %{target}'
53
53
  DeclaresEnumeration_named: '%{binding} %{must} declarar uma enumeração %{target}'
@@ -104,26 +104,27 @@ pt:
104
104
  Delegates: '%{binding} %{must} delegar'
105
105
  DiscardsExceptions: '%{binding} está silenciosamente ignorando exceções'
106
106
  DoesConsolePrint: '%{binding} está fazendo impressões na tela'
107
- DoesNilTest: '%{binding} faz comparações contra <i>%{keyword_Null}</i>'
108
- DoesNullTest: '%{binding} faz comparações contra <i>%{keyword_Null}</i>'
107
+ DoesNilTest: '%{binding} faz comparações contra <code>%{keyword_Nil}</code>'
108
+ DoesNullTest: '%{binding} faz comparações contra <code>%{keyword_Nil}</code>'
109
109
  DoesTypeTest: '%{binding} faz comparações contra strings'
110
- HasAssignmentCondition: '%{binding} avalia o resultado de uma atribuição no qual uma expressão booleana era esperada. Talvez você queira usar o operador <i>%{operator_Equal}</i>?'
111
- HasAssignmentReturn: '%{binding} retorna o resultado de uma atribuição. Talvez você queira usar o operador <i>%{operator_Equal}</i>?'
110
+ HasAssignmentCondition: '%{binding} avalia o resultado de uma atribuição no qual uma expressão booleana era esperada. Talvez você queira usar o operador <code>%{operator_Equal}</code>?'
111
+ HasAssignmentReturn: '%{binding} retorna o resultado de uma atribuição. Talvez você queira usar o operador <code>%{operator_Equal}</code>?'
112
112
  HasCodeDuplication: '%{binding} tem código repetido'
113
113
  HasDeclarationTypos_named: 'A solução deve declarar %{target}, mas declara %{binding}. Você poderia ter cometido um erro de digitação?'
114
114
  HasEmptyIfBranches: '%{binding} tem uma ramificaçao %{keyword_If} vazia'
115
- HasEmptyRepeat: '%{binding} tem um <i>%{keyword_Repeat}</i> vazio'
115
+ HasEmptyRepeat: '%{binding} tem um <code>%{keyword_Repeat}</code> vazio'
116
+ HasEqualIfBranches: '%{binding} possui <code>%{keyword_If}</code>s desnecessários porque seus dois ramos são iguais'
116
117
  HasLongParameterList: '%{binding} tem muitos parâmetros. Você pode estar perdendo uma abstração.'
117
118
  HasMisspelledBindings: '%{binding} está incorreto. Verifique a ortografia e tente não usar abreviaturas'
118
119
  HasMisspelledIdentifiers: '%{binding} está incorreto. Verifique a ortografia e tente não usar abreviaturas'
119
120
  HasRedundantBooleanComparison: '%{binding} faz comparações booleanas desnecessárias'
120
121
  HasRedundantGuards: '%{binding} possui protetores desnecessários'
121
- HasRedundantIf: '%{binding} <i>%{keyword_If}</i> desnecessário'
122
+ HasRedundantIf: '%{binding} possui <code>%{keyword_If}</code>s desnecessários que podem ser substituídos por expressões booleanas'
122
123
  HasRedundantLambda: '%{binding} possui lambdas desnecessários'
123
124
  HasRedundantLocalVariableReturn: '%{binding} usa variáveis ​​locais desnecessárias; você pode retornar a expressão diretamente'
124
125
  HasRedundantParameter: '%{binding} possui parâmetros desnecessários (pode ser removido por ponto-livre)'
125
- HasRedundantReduction: '%{binding} usa <i>%{keyword_Is}</i>, mas não executa cálculos'
126
- HasRedundantRepeat: '%{binding} tem <i>%{keyword_Repeat}</i> desnecessário'
126
+ HasRedundantReduction: '%{binding} usa <code>%{keyword_Is}</code>, mas não executa cálculos'
127
+ HasRedundantRepeat: '%{binding} tem <code>%{keyword_Repeat}</code> desnecessário'
127
128
  HasTooManyMethods: '%{binding} tem muitos métodos'
128
129
  HasTooShortBindings: '%{binding} é um identificador muito curto'
129
130
  HasTooShortIdentifiers: '%{binding} é um identificador muito curto'
@@ -144,7 +145,8 @@ pt:
144
145
  Instantiates_named: '%{binding} %{must} instantiate %{target}'
145
146
  Instantiates: '%{binding} %{must} instanciar objetos'
146
147
  IsLongCode: '%{binding} é muito longo. Tente delegar mais'
147
- OverridesEqualOrHashButNotBoth: '%{binding} redefine os métodos <i>equals</i> ou <i>hash </i>, mas não ambos'
148
+ JavaScript#UsesVarInsteadOfLet: '% {binding} deve usar <code>let</code> em vez de <code>var</code>'
149
+ OverridesEqualOrHashButNotBoth: '%{binding} redefine os métodos <code>equals</code> ou <code>hash </code>, mas não ambos'
148
150
  Raises_except: '%{binding} %{must} lançar exceções diferentes de %{target}'
149
151
  Raises_like: '%{binding} %{must} lançar exceções semelhantes a %{target}'
150
152
  Raises_named: '%{binding} %{must} launch %{target}'
@@ -156,9 +158,10 @@ pt:
156
158
  Returns: '%{binding} %{must} retornar%{matching}'
157
159
  ReturnsNil: '%{binding} retorna nulo, o que é uma prática ruim'
158
160
  ReturnsNull: '%{binding} retorna nulo, o que é uma prática ruim'
159
- ShouldInvertIfCondition: '%{binding} deve inverter a condição da <i>%{keyword_If}</i> e trocar as ramos'
161
+ ShouldInvertIfCondition: '%{binding} deve inverter a condição da <code>%{keyword_If}</code> e trocar as ramos'
162
+ ShouldUseStrictComparators: '%{binding} deve usar os operadores de equivalência <code>%{operator_Equal}</code> e <code>%{operator_NotEqual}</code> em vez dos operadores de similaridade <code>%{operator_Similar}</code> e <code>%{operator_NotSimilar}</code> '
160
163
  SubordinatesDeclarationsTo: 'Todas as declarações em %{binding} %{must} ser usadas a partir de %{target}'
161
- SubordinatesDeclarationsToEntryPoint: 'Todas as declarações em %{binding} %{must} devem ser usadas a partir de <i>%{keyword_EntryPoint}</i>'
164
+ SubordinatesDeclarationsToEntryPoint: 'Todas as declarações em %{binding} %{must} devem ser usadas a partir de <code>%{keyword_EntryPoint}</code>'
162
165
  TypesAs_named: '%{binding} %{must} é do tipo %{target}'
163
166
  TypesAs: '%{binding} %{must} tem tipo'
164
167
  TypesReturnAs_named: '%{binding} %{must} tem tipo de valor de retorno %{target}'
@@ -167,59 +170,36 @@ pt:
167
170
  Uses_like: '%{binding} %{must} delegar algo semelhante ao %{target}'
168
171
  Uses_named: '%{binding} %{must} usar %{target}'
169
172
  Uses: '%{binding} %{must} delegar'
170
- UsesAnd: '%{binding} %{must} utilizar <i>%{operator_And}</i>'
171
173
  UsesAnonymousVariable: '%{binding} %{must} usar uma variável anônima'
172
- UsesBackwardComposition: '%{binding} %{must} utilizar <i>%{operator_BackwardComposition}</i>'
173
- UsesBitwiseAnd: '%{binding} %{must} utilizar <i>%{operator_BitwiseAnd}</i>'
174
- UsesBitwiseLeftShift: '%{binding} %{must} utilizar <i>%{operator_BitwiseLeftShift}</i>'
175
- UsesBitwiseOr: '%{binding} %{must} utilizar <i>%{operator_BitwiseOr}</i>'
176
- UsesBitwiseRightShift: '%{binding} %{must} utilizar <i>%{operator_BitwiseRightShift}</i>'
177
- UsesBitwiseXor: '%{binding} %{must} utilizar <i>%{operator_BitwiseXor}</i>'
178
174
  UsesComposition: '%{binding} %{must} usar a composição'
179
175
  UsesComprehension: '%{binding} %{must} usar listas pelo entendimento'
180
176
  UsesConditional: '%{binding} %{must} usar conditional'
181
177
  UsesCut: '%{binding} usa o operador !, que é uma má prática'
182
- UsesDivide: '%{binding} %{must} utilizar <i>%{operator_Divide}</i>'
183
178
  UsesDyamicPolymorphism: '%{binding} %{must} usar polimorfismo'
184
179
  UsesDynamicMethodOverload: '%{binding} %{must} usar sobrecarga'
185
- UsesEqual: '%{binding} %{must} utilizar <i>%{operator_Equal}</i>'
186
180
  UsesExceptionHandling: '%{binding} %{must} executar o tratamento de exceção'
187
181
  UsesExceptions: '%{binding} %{must} usar exceções'
188
- UsesFail: '%{binding} usa <i>%{keyword_Fail}</li>, o que é uma prática ruim'
189
- UsesFindall: '%{binding} %{must} usar <i>%{keyword_findall}</i>'
190
- UsesFor: '%{binding} %{must} usar <i>%{keyword_For}</i>%{matching}'
191
- UsesForall: '%{binding} %{must} usar <i>%{keyword_Forall}</i>'
192
- UsesForeach: '%{binding} %{must} usar <i>%{keyword_Foreach}</i>%{matching}'
193
- UsesForwardComposition: '%{binding} %{must} utilizar <i>%{operator_ForwardComposition}</i>'
194
- UsesGreatherOrEqualThan: '%{binding} %{must} utilizar <i>%{operator_GreatherOrEqualThan}</i>'
195
- UsesGreatherThan: '%{binding} %{must} utilizar <i>%{operator_GreatherThan}</i>'
182
+ UsesFail: '%{binding} usa <code>%{keyword_Fail}</li>, o que é uma prática ruim'
183
+ UsesFindall: '%{binding} %{must} usar <code>%{keyword_Findall}</code>'
184
+ UsesFor: '%{binding} %{must} usar <code>%{keyword_For}</code>%{matching}'
185
+ UsesForall: '%{binding} %{must} usar <code>%{keyword_Forall}</code>'
186
+ UsesForeach: '%{binding} %{must} usar <code>%{keyword_ForEach}</code>%{matching}'
196
187
  UsesGuards: '%{binding} %{must} usar guardas%{matching}'
197
- UsesHash: '%{binding} %{must} utilizar <i>%{operator_Hash}</i>'
198
- UsesIf: '%{binding} %{must} usar <i>%{keyword_If}</i>%{matching}'
188
+ UsesIf: '%{binding} %{must} usar <code>%{keyword_If}</code>%{matching}'
199
189
  UsesInheritance: '%{binding} %{must} usar herança'
200
190
  UsesLambda: '%{binding} %{must} usar expressões lambda%{matching}'
201
- UsesLessOrEqualThan: '%{binding} %{must} utilizar <i>%{operator_LessOrEqualThan}</i>'
202
- UsesLessThan: '%{binding} %{must} utilizar <i>%{operator_LessThan}</i>'
203
191
  UsesLogic: '%{binding} %{must} usar operadores booleanos'
204
192
  UsesLoop: '%{binding} %{must} usar um loop%{matching}'
205
193
  UsesMath: '%{binding} %{must} usar expressões matemáticas'
206
- UsesMinus: '%{binding} %{must} utilizar <i>%{operator_Minus}</i>'
207
194
  UsesMixins: '%{binding} %{must} usar mixins'
208
- UsesModulo: '%{binding} %{must} utilizar <i>%{operator_Modulo}</i>'
209
- UsesMultiply: '%{binding} %{must} utilizar <i>%{operator_Multiply}</i>'
210
- UsesNegation: '%{binding} %{must} utilizar <i>%{operator_Negation}</i>'
211
- UsesNot: '%{binding} %{must} usar <i>%{keyword_Not}</i>'
212
- UsesNotEqual: '%{binding} %{must} utilizar <i>%{operator_NotEqual}</i>'
195
+ UsesNot: '%{binding} %{must} usar <code>%{keyword_Not}</code>'
213
196
  UsesObjectComposition: '%{binding} %{must} usar composição'
214
- UsesOr: '%{binding} %{must} utilizar <i>%{operator_Or}</i>'
215
- UsesOtherwise: '%{binding} %{must} utilizar <i>%{operator_Otherwise}</i>'
216
197
  UsesPatternMatching: '%{binding} %{must} usar o padrão de correspondência'
217
- UsesPlus: '%{binding} %{must} utilizar <i>%{operator_Plus}</i>'
218
- UsesRepeat: '%{binding} %{must} usar <i>%{keyword_Repeat}</i>%{matching}'
219
- UsesRepeatOf: '%{binding} %{must} usar uma <i>%{keyword_Repeat}</i> de %{target}'
198
+ UsesRepeat: '%{binding} %{must} usar <code>%{keyword_Repeat}</code>%{matching}'
199
+ UsesRepeatOf: '%{binding} %{must} usar uma <code>%{keyword_Repeat}</code> de %{target}'
220
200
  UsesStaticMethodOverload: '%{binding} %{must} usar sobrecarga'
221
201
  UsesStaticPolymorphism: '%{binding} %{must} usar polimorfismo'
222
- UsesSwitch: '%{binding} %{must} usar um <i>%{keyword_Switch}</i>'
202
+ UsesSwitch: '%{binding} %{must} usar um <code>%{keyword_Switch}</code>'
223
203
  UsesTemplateMethod: '%{binding} %{must} usar um _template method_'
224
204
  UsesUnificationOperator: '%{binding} usa o operador de unificação (=)'
225
- UsesWhile: '%{binding} %{must} usar um <i>%{keyword_While}</i>%{matching}'
205
+ UsesWhile: '%{binding} %{must} usar um <code>%{keyword_While}</code>%{matching}'