diff --git a/JsonToolsNppPlugin/Properties/AssemblyInfo.cs b/JsonToolsNppPlugin/Properties/AssemblyInfo.cs index d545210..0f621fa 100644 --- a/JsonToolsNppPlugin/Properties/AssemblyInfo.cs +++ b/JsonToolsNppPlugin/Properties/AssemblyInfo.cs @@ -28,5 +28,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("8.0.0.2")] -[assembly: AssemblyFileVersion("8.0.0.2")] +[assembly: AssemblyVersion("8.0.0.3")] +[assembly: AssemblyFileVersion("8.0.0.3")] diff --git a/JsonToolsNppPlugin/Utils/Translator.cs b/JsonToolsNppPlugin/Utils/Translator.cs index 059a4bf..4006419 100644 --- a/JsonToolsNppPlugin/Utils/Translator.cs +++ b/JsonToolsNppPlugin/Utils/Translator.cs @@ -12,10 +12,6 @@ using System.Text.RegularExpressions; using System.Globalization; -// TODO: -// 1. Implement translation of settings descriptions. -// This is surprisingly complicated, due to the PropertyGrid class not allowing public read/write access to the descriptive text for a property. - namespace JSON_Tools.Utils { public static class Translator diff --git a/README.md b/README.md index e51720d..affe96d 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,20 @@ You can unzip the 64-bit download to `C:\Program Files\Notepad++\plugins\JsonToo Alternatively, you can follow these [installation instructions](https://npp-user-manual.org/docs/plugins/) to install the latest version of the plugin from Notepad++. +### Downloading unreleased versions ### + +You can also download recently committed but unreleased versions of JsonTools by downloading the appropriate GitHub artifact in the following way: +1. Go to the [commit history](https://github.com/molsonkiko/JsonToolsNppPlugin/commits/main/) of JsonTools. +2. Most commits will have a green checkmark and the text `4/4` next to their commit message. Click on it. +3. A dropdown menu showing the CI tasks will appear. Click on one of the `Details` links. [Here's an example of a page that this leads to.](https://github.com/molsonkiko/JsonToolsNppPlugin/actions/runs/9767448644/job/26962739908). +4. Click the `Summary` link near the top-left corner of the page. [Here's an example of the page this leads to.](https://github.com/molsonkiko/JsonToolsNppPlugin/actions/runs/9767448644) +5. If you chose a commit that was made in the last 90 days, at the bottom of this page you will find links to download `plugin_dll_x64` (a zip archive containing 64-bit `JsonTools.dll`) or `plugin_dll_x86` (a zip archive containing 32-bit `JsonTools.dll`). Download the appropriate binary for your current Notepad++ installation. + +If you also want to download the most recent [translation to another language](#translating-jsontools-to-another-language), you will need to also download the most up-to-date translation file for that language from [the `translation` folder of this repo](https://github.com/molsonkiko/JsonToolsNppPlugin/tree/main/translation). To do that: +1. Click on one of the files in the list. +2. Click the download icon near the top of the page. +3. Put the downloaded raw `{yourLanguage}.json5` file into the `translation` folder of your JsonTools plugin directory, as discussed in [the documentation on translating JsonTools](#translating-jsontools-to-another-language). + ## System Requirements ## Every version of the plugin works on Notepad++ 8.4.1 onward, although [some versions of Notepad++ have problems](#problematic-notepad-versions). diff --git a/translation/english.json5 b/translation/english.json5 index 2400a34..a5502e7 100644 --- a/translation/english.json5 +++ b/translation/english.json5 @@ -51,7 +51,7 @@ // Change this value to set the text when the box is *unchecked* "unchecked": "Hide advanced options" }, - // This is a ListBox, where the text can be selected from a drop-down list. + // This is a ComboBox, where the text can be selected from a drop-down list. // DO NOT CHANGE THE NUMBER OF ELEMENTS IN THIS ARRAY! "KeysValsBothBox": [ "Keys", @@ -78,7 +78,7 @@ "GetJsonFromFilesTitle": "Get JSON from local files", "RecursiveSearchCheckBox": "Search in subdirectories?", "ChooseDirectoriesButton": "Choose directory...", - // This is another ListBox. There may be more than one element in this list, + // This is another ComboBox. There may be more than one element in this list, // but only the first element can be translated in this case. "DirectoriesVisitedBox": [ "Previously visited directories..." @@ -220,7 +220,7 @@ "tab_indent_pretty_print": "Use one horizontal tab ('\\t') instead of spaces between levels of JSON when pretty-printing", "minimal_whitespace_compression": "If true, using the 'Compress JSON' plugin command will remove ALL unnecessary whitespace from the JSON. Otherwise, it will leave after the colon in objects and after the comma in both objects and arrays", "remember_comments": "When JSON is pretty-printed or compressed, any comments found when it was last parsed are included.\r\nWhen pretty-printing, each comment will have the same relative location to each JSON element as when it was parsed.\r\nWhen compressing, all comments will come at the beginning of the document.", - "sort_keys": "Sort the keys of objects alphabetically when formatting or compressing", + "sort_keys": "Sort the keys of objects alphabetically when pretty-printing or compressing", "toolbar_icons": "Specify one of these chars for each toolbar icon you want to show, in the order you want:\r\n('t' = tree view, 'c' = compress, 'p' = pretty-print, 'o' = path to current position)\r\nThis setting will take effect the next time you start Notepad++.\r\nIf you want there to be NO toolbar icons, enter a character that does not represent an icon; do NOT leave this field empty.", "auto_try_guess_csv_delim_newline": "If this setting is true,\r\nwhen the regex search form is opened, or when the \"Parse as CSV?\" checkbox in that form is toggled on,\r\nJsonTools will attempt to guess whether the current document is a CSV or TSV file, and how many columns and what newline it has.\r\nThe regex search form will take slightly longer to open if this is true.", "csv_newline": "Which type of newline to use for generated CSV files.", diff --git a/translation/italian.json5 b/translation/italian.json5 index b8b7019..59dace2 100644 --- a/translation/italian.json5 +++ b/translation/italian.json5 @@ -51,7 +51,7 @@ // Change this value to set the text when the box is *unchecked* "unchecked": "Visualizza opzioni avanzate" }, - // This is a ListBox, where the text can be selected from a drop-down list. + // This is a ComboBox, where the text can be selected from a drop-down list. // DO NOT CHANGE THE NUMBER OF ELEMENTS IN THIS ARRAY! "KeysValsBothBox": [ "Chiavi", @@ -78,7 +78,7 @@ "GetJsonFromFilesTitle": "Ottieni JSON da file locale", "RecursiveSearchCheckBox": "Cercare nelle sottocartelle?", "ChooseDirectoriesButton": "Seleziona cartella...", - // This is another ListBox. There may be more than one element in this list, + // This is another ComboBox. There may be more than one element in this list, // but only the first element can be translated in this case. "DirectoriesVisitedBox": [ "Cartelle recenti..."