diff --git a/addOns/customactivescan/CHANGELOG.md b/addOns/customactivescan/CHANGELOG.md index fd55287..bf963d1 100644 --- a/addOns/customactivescan/CHANGELOG.md +++ b/addOns/customactivescan/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this add-on will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [v0.8.10] - 2024-05-31 +### Changed +- bugfix: fixed problemn which can't display this addon's javahelp when user select language except English. + ## [v0.8.9] - 2024-03-28 ### Changed - bugfix: Changed to correctly encode and decode the HttpRequest body based on Content-Encoding. diff --git a/addOns/customactivescan/customactivescan.gradle.kts b/addOns/customactivescan/customactivescan.gradle.kts index ebc758d..cdb0020 100644 --- a/addOns/customactivescan/customactivescan.gradle.kts +++ b/addOns/customactivescan/customactivescan.gradle.kts @@ -1,7 +1,7 @@ import org.zaproxy.gradle.addon.AddOnStatus -version = "0.8.9" +version = "0.8.10" description = "a Active Scanner with custmizable rules" val jar by tasks.getting(Jar::class) { @@ -20,8 +20,29 @@ zapAddOn { url.set("https://gdgd009xcd.github.io/CustomActiveScanForZAP") repo.set("https://github.com/gdgd009xcd/CustomActiveScanForZAP") helpSet { - baseName.set("help%LC%.helpset") - localeToken.set("%LC%") + // baseName and localToken are used for determinating javahelp helpset(.hs) file path + // In English (default) locale, %LC% token is convert to "" then helpset file path is: + // main/java/javahelp/help/helpset.hs + // In ja_JP locale, %LC% token is convert to "_ja_JP" then helpset file path is: + // main/java/javahelp/help_ja_JP/helpset_ja_JP.hs + // * if you use %LC% locale token, then you must provide "all" locale specific helpset files for ZAP. + // otherwise you may remove %LC% to support any locale helpset in English only. + // * if you comment out both baseName and localeToken property, + // zaproxy expects the help directory to be in the following path: + // + // main/java/javahelp/[addon package dir]/resources/help + // help_ja_JP + // ... + // [addon package dir] = org/zaproxy/zap/extension/customactivescan + // + // ** this help directory hierarchy is used for providing localization help by crowdin. + // + // ----locale supported helpset configurations.--- + //baseName.set("help%LC%.helpset") + //localeToken.set("%LC%") + // ---- no locale supported(English only) configurations.--- + baseName.set("help.helpset") + localeToken.set("") } } } diff --git a/addOns/customactivescan/src/main/javahelp/help_ja_JP/contents/help.html b/addOns/customactivescan/src/main/javahelp/help_ja_JP/contents/help.html new file mode 100644 index 0000000..6d5fddf --- /dev/null +++ b/addOns/customactivescan/src/main/javahelp/help_ja_JP/contents/help.html @@ -0,0 +1,22 @@ + + +
++ +