Skip to content

Commit

Permalink
Adding translations for validations
Browse files Browse the repository at this point in the history
  • Loading branch information
ivojawer committed Dec 28, 2024
1 parent 95066ef commit 59661e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/validator/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"shouldNotUseOverride": "Method does not override anything",
"shouldNotUseReservedWords": "{0} is a reserved name for a core element",
"shouldNotUseVoidMethodAsValue": "Message send \"{0}\" produces no value (missing return in method?)",
"shouldNotUseVoidSingleton": "Named object 'void' produces no value, use 'null' instead",
"shouldOnlyInheritFromMixin": "Mixin can only inherit from another mixin",
"shouldPassValuesToAllAttributes": "{0} cannot be instantiated, you must pass values to the following attributes: {1}",
"shouldUseBooleanValueInIfCondition": "Expecting a boolean",
Expand Down
1 change: 1 addition & 0 deletions src/validator/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"shouldNotUseOverride": "Este método no sobrescribe ningún otro método",
"shouldNotUseReservedWords": "{0} es una palabra reservada por la biblioteca de Wollok",
"shouldNotUseVoidMethodAsValue": "El mensaje \"{0}\" no retorna ningún valor (quizás te falte un return en el método)",
"shouldNotUseVoidSingleton": "El objeto nombrado 'void' no retorna ningún valor (puede usar 'null' en su lugar)",
"shouldOnlyInheritFromMixin": "Los mixines solo pueden heredar de otros mixines",
"shouldPassValuesToAllAttributes": "No se puede instanciar {0}. Falta pasar valores a los siguientes atributos: {1}",
"shouldUseBooleanValueInIfCondition": "Se espera un booleano",
Expand Down

0 comments on commit 59661e9

Please sign in to comment.