Skip to content

Commit

Permalink
add Italian translation for new setting
Browse files Browse the repository at this point in the history
It passes a Google Translate sanity check
  • Loading branch information
molsonkiko committed Aug 14, 2024
1 parent e6e3034 commit bb25a4e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions JsonToolsNppPlugin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("8.0.0.19")]
[assembly: AssemblyFileVersion("8.0.0.19")]
[assembly: AssemblyVersion("8.0.0.20")]
[assembly: AssemblyFileVersion("8.0.0.20")]
2 changes: 1 addition & 1 deletion JsonToolsNppPlugin/Utils/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public class Settings : SettingsBase
Category("Random JSON"), DefaultValue(false)]
public bool extended_ascii_strings { get; set; }

[Description("Generate random strings that match \"pattern\" schemas, and random keys that match \"patternProperties\" object subschemas."),
[Description("Generate random strings that match the \"pattern\" keyword of string schemas, and random keys that match the \"patternProperties\" keyword of object schemas."),
Category("Random JSON"), DefaultValue(false)]
public bool generate_random_patterns { get; set; }
#endregion
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,7 @@ A regular expression can only be used to generate random strings if:
* It does not contain any `NUL` or non-ASCII characters, or `\xXX` or `\uXXXX` escapes that represent non-ASCII characters or the `NUL` character
* It does not contain any named capture groups
* It contains only backreferences of the form `\X`, where `X` is a digit from `1` to `9`
* It uses only the `i` (ignore case) and `s` (`.` matches `\n`) flags

__EXAMPLES__

Expand Down
3 changes: 2 additions & 1 deletion translation/english.json5
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@
"extended_ascii_strings": "Use extended ASCII characters (e.g., \u000b, ñ) in strings?",
"maxArrayLength": "Maximum length of random arrays, unless otherwise specified by the \"maxItems\" keyword",
"minArrayLength": "Minimum length of random arrays, unless otherwise specified by the \"minItems\" keyword",
"max_schema_validation_problems": "Maximum number of JSON Schema validation problems to log before the validator stops"
"max_schema_validation_problems": "Maximum number of JSON Schema validation problems to log before the validator stops",
"generate_random_patterns": "Generate random strings that match the \"pattern\" keyword of string schemas, and random keys that match the \"patternProperties\" keyword of object schemas."
},
// These are the error messages that JsonTools can report while parsing JSON and JSON Lines.
"jsonLint": {
Expand Down
3 changes: 2 additions & 1 deletion translation/italian.json5
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@
"extended_ascii_strings": "Utilizza caratteri ASCII estesi (es., \u000b, ñ) nelle stringhe?",
"maxArrayLength": "Lunghezza massima degli array casuali, se non diversamente specificato dalla parola chiave \"maxItems\" ",
"minArrayLength": "Lunghezza minima degli array casuali, se non diversamente specificato dalla parola chiave \"minItems\" ",
"max_schema_validation_problems": "Numero massimo di problemi di convalida dello schema JSON da registrare prima che il validatore si interrompa"
"max_schema_validation_problems": "Numero massimo di problemi di convalida dello schema JSON da registrare prima che il validatore si interrompa",
"generate_random_patterns": "Genera stringhe casuali che corrispondono alla parola chiave \"pattern\" degli schemi stringa e chiavi casuali che corrispondono alla parola chiave \"patternProperties\" degli schemi oggetto."
},
// These are the error messages that JsonTools can report while parsing JSON and JSON Lines.
// Note that some of these error messages will have "{integer}" in their text,
Expand Down

0 comments on commit bb25a4e

Please sign in to comment.