From 965b4c6c78cd68417bc60d97219573781c54ca0a Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Wed, 29 Nov 2023 15:50:52 -0500 Subject: [PATCH 1/2] custom release rule --- release.config.cjs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/release.config.cjs b/release.config.cjs index ad9b1989..40930543 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -1,6 +1,12 @@ module.exports = { plugins: [ - "@semantic-release/commit-analyzer", + [ + "@semantic-release/commit-analyzer", + { + preset: "angular", + releaseRules: [{ type: "translations", release: "patch" }] + } + ], "@semantic-release/release-notes-generator", "@semantic-release/changelog", [ From 84d0b37b98169dc06b5d736d6681b996fb98fb8f Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Wed, 29 Nov 2023 15:51:36 -0500 Subject: [PATCH 2/2] translations: Remove verbosity from strings --- public/locales/en-US.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/public/locales/en-US.json b/public/locales/en-US.json index 7b40eb99..47f54135 100644 --- a/public/locales/en-US.json +++ b/public/locales/en-US.json @@ -64,27 +64,27 @@ }, "maximizePlayerButton": { "title": "Fills the video to the window size", - "label": "Enable maximize player button" + "label": "Maximize player button" }, "videoHistory": { "title": "Keeps track of where you left off on videos you were watching and asks if you want to resume when that video loads again", - "label": "Enable video history" + "label": "Video history" }, "remainingTime": { "title": "Shows the remaining time of the video you're watching", - "label": "Enable remaining time" + "label": "Remaining time" }, "loopButton": { "title": "Adds a button to the player to loop the video you're watching", - "label": "Enable loop button" + "label": "Loop button" }, "hideScrollbar": { "title": "Hides the pages scrollbar", - "label": "Enable hide scrollbar" + "label": "Hide scrollbar" }, "automaticTheaterMode": { "title": "Automatically enables theater mode when you load a video", - "label": "Enable automatic theater mode" + "label": "Automatic theater mode" } } }, @@ -92,7 +92,7 @@ "title": "Scroll wheel volume control settings", "enable": { "title": "Lets you use the scroll wheel to control the volume of the video you're watching", - "label": "Enable scroll wheel volume control" + "label": "Scroll wheel volume control" }, "osdColor": { "title": "Select the color for the On-Screen Display", "label": "OSD Color" }, "osdType": { "title": "Select the style of On-Screen Display", "label": "OSD Type" }, @@ -132,7 +132,7 @@ "holdModifierKey": { "enable": { "title": "Press a modifier key to enable volume adjustment with the scroll wheel.", - "label": "Enable hold modifier key" + "label": "Hold modifier key" }, "optionLabel": "{{KEY}} key", "select": { @@ -143,7 +143,7 @@ "holdRightClick": { "enable": { "title": "Hold right click to enable scroll wheel volume control", - "label": "Enable hold right click" + "label": "Hold right click" } } }, @@ -151,7 +151,7 @@ "title": "Automatic quality settings", "enable": { "title": "Automatically adjusts the video quality to the selected level.", - "label": "Enable automatic quality adjustment" + "label": "Automatic quality adjustment" }, "select": { "label": "Player quality", @@ -162,7 +162,7 @@ "title": "Playback speed settings", "enable": { "title": "Sets the video speed to what you choose below", - "label": "Enable forced playback speed" + "label": "Forced playback speed" }, "select": { "label": "Player speed", @@ -173,7 +173,7 @@ "title": "Volume boost settings", "enable": { "title": "Boosts the volume of the video you're watching", - "label": "Enable volume boost" + "label": "Volume boost" }, "number": { "label": "Volume boost amount (dB)", @@ -184,7 +184,7 @@ "title": "Screenshot settings", "enable": { "title": "Adds a button to the player to take a screenshot of the video", - "label": "Enable screenshot button" + "label": "Screenshot button" }, "selectSaveAs": { "label": "Screenshot save type",