瀏覽代碼

chore: build

Sv443 1 年之前
父節點
當前提交
8d21cf1fb7
共有 2 個文件被更改,包括 13 次插入8 次删除
  1. 7 7
      assets/translations/README.md
  2. 6 1
      dist/BetterYTM.user.js

+ 7 - 7
assets/translations/README.md

@@ -48,7 +48,7 @@ This means you need to manually check against the base translations for missing
 | `unit_days-1` | `day` |
 | `unit_days-n` | `days` |
 | `feature_desc_lockVolume` | `Force the volume slider to stay at a specific level` |
-| `feature_desc_lockVolumeLevel` | `What volume level to lock the slider at` |
+| `feature_desc_lockVolumeLevel` | `What volume level to lock the volume slider at` |
 | `feature_desc_geniUrlBase` | `Base URL of your geniURL instance, see https://github.com/Sv443/geniURL` |
 | `feature_helptext_geniUrlBase` | `If you have your own instance of geniURL running (for example to bypass rate limiting), you can enter its base URL here to use it for the genius.com lyrics button.\nIf you don't know what this is, you can leave this option as is.` |
 | `feature_desc_geniUrlToken` | `Auth token for your geniURL instance` |
@@ -88,7 +88,7 @@ This means you need to manually check against the base translations for missing
 | `unit_days-1` | `day` |
 | `unit_days-n` | `days` |
 | `feature_desc_lockVolume` | `Force the volume slider to stay at a specific level` |
-| `feature_desc_lockVolumeLevel` | `What volume level to lock the slider at` |
+| `feature_desc_lockVolumeLevel` | `What volume level to lock the volume slider at` |
 | `feature_desc_geniUrlBase` | `Base URL of your geniURL instance, see https://github.com/Sv443/geniURL` |
 | `feature_helptext_geniUrlBase` | `If you have your own instance of geniURL running (for example to bypass rate limiting), you can enter its base URL here to use it for the genius.com lyrics button.\nIf you don't know what this is, you can leave this option as is.` |
 | `feature_desc_geniUrlToken` | `Auth token for your geniURL instance` |
@@ -128,7 +128,7 @@ This means you need to manually check against the base translations for missing
 | `unit_days-1` | `day` |
 | `unit_days-n` | `days` |
 | `feature_desc_lockVolume` | `Force the volume slider to stay at a specific level` |
-| `feature_desc_lockVolumeLevel` | `What volume level to lock the slider at` |
+| `feature_desc_lockVolumeLevel` | `What volume level to lock the volume slider at` |
 | `feature_desc_geniUrlBase` | `Base URL of your geniURL instance, see https://github.com/Sv443/geniURL` |
 | `feature_helptext_geniUrlBase` | `If you have your own instance of geniURL running (for example to bypass rate limiting), you can enter its base URL here to use it for the genius.com lyrics button.\nIf you don't know what this is, you can leave this option as is.` |
 | `feature_desc_geniUrlToken` | `Auth token for your geniURL instance` |
@@ -168,7 +168,7 @@ This means you need to manually check against the base translations for missing
 | `unit_days-1` | `day` |
 | `unit_days-n` | `days` |
 | `feature_desc_lockVolume` | `Force the volume slider to stay at a specific level` |
-| `feature_desc_lockVolumeLevel` | `What volume level to lock the slider at` |
+| `feature_desc_lockVolumeLevel` | `What volume level to lock the volume slider at` |
 | `feature_desc_geniUrlBase` | `Base URL of your geniURL instance, see https://github.com/Sv443/geniURL` |
 | `feature_helptext_geniUrlBase` | `If you have your own instance of geniURL running (for example to bypass rate limiting), you can enter its base URL here to use it for the genius.com lyrics button.\nIf you don't know what this is, you can leave this option as is.` |
 | `feature_desc_geniUrlToken` | `Auth token for your geniURL instance` |
@@ -208,7 +208,7 @@ This means you need to manually check against the base translations for missing
 | `unit_days-1` | `day` |
 | `unit_days-n` | `days` |
 | `feature_desc_lockVolume` | `Force the volume slider to stay at a specific level` |
-| `feature_desc_lockVolumeLevel` | `What volume level to lock the slider at` |
+| `feature_desc_lockVolumeLevel` | `What volume level to lock the volume slider at` |
 | `feature_desc_geniUrlBase` | `Base URL of your geniURL instance, see https://github.com/Sv443/geniURL` |
 | `feature_helptext_geniUrlBase` | `If you have your own instance of geniURL running (for example to bypass rate limiting), you can enter its base URL here to use it for the genius.com lyrics button.\nIf you don't know what this is, you can leave this option as is.` |
 | `feature_desc_geniUrlToken` | `Auth token for your geniURL instance` |
@@ -248,7 +248,7 @@ This means you need to manually check against the base translations for missing
 | `unit_days-1` | `day` |
 | `unit_days-n` | `days` |
 | `feature_desc_lockVolume` | `Force the volume slider to stay at a specific level` |
-| `feature_desc_lockVolumeLevel` | `What volume level to lock the slider at` |
+| `feature_desc_lockVolumeLevel` | `What volume level to lock the volume slider at` |
 | `feature_desc_geniUrlBase` | `Base URL of your geniURL instance, see https://github.com/Sv443/geniURL` |
 | `feature_helptext_geniUrlBase` | `If you have your own instance of geniURL running (for example to bypass rate limiting), you can enter its base URL here to use it for the genius.com lyrics button.\nIf you don't know what this is, you can leave this option as is.` |
 | `feature_desc_geniUrlToken` | `Auth token for your geniURL instance` |
@@ -288,7 +288,7 @@ This means you need to manually check against the base translations for missing
 | `unit_days-1` | `day` |
 | `unit_days-n` | `days` |
 | `feature_desc_lockVolume` | `Force the volume slider to stay at a specific level` |
-| `feature_desc_lockVolumeLevel` | `What volume level to lock the slider at` |
+| `feature_desc_lockVolumeLevel` | `What volume level to lock the volume slider at` |
 | `feature_desc_geniUrlBase` | `Base URL of your geniURL instance, see https://github.com/Sv443/geniURL` |
 | `feature_helptext_geniUrlBase` | `If you have your own instance of geniURL running (for example to bypass rate limiting), you can enter its base URL here to use it for the genius.com lyrics button.\nIf you don't know what this is, you can leave this option as is.` |
 | `feature_desc_geniUrlToken` | `Auth token for your geniURL instance` |

+ 6 - 1
dist/BetterYTM.user.js

@@ -238,7 +238,7 @@ var LogLevel;
 })(LogLevel || (LogLevel = {}));const modeRaw = "development";
 const branchRaw = "develop";
 const hostRaw = "github";
-const buildNumberRaw = "d481fd3";
+const buildNumberRaw = "4d85141";
 /** The mode in which the script was built (production or development) */
 const mode = (modeRaw.match(/^#{{.+}}$/) ? "production" : modeRaw);
 /** The branch to use in various URLs that point to the GitHub repo */
@@ -3126,6 +3126,11 @@ function addVolumeSliderLabel(sliderElem, sliderContainer) {
             lockIconElem.title = lockIconElem.ariaLabel = t("volume_locked", getFeatures().lockVolumeLevel);
             lockIconElem.innerHTML = lockIconHtml;
         }
+        else {
+            lockIconElem = document.createElement("div");
+            lockIconElem.textContent = " ";
+            lockIconElem.style.minWidth = "32px";
+        }
         onSelectorOld("#bytm-vol-slider-cont", {
             listener: (volumeCont) => {
                 lockIconElem && labelContElem.appendChild(lockIconElem);