From 6b407797bee3e91c8348e2d0148b78b1c0983ed1 Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Sat, 13 Aug 2022 17:49:55 +0900 Subject: [PATCH 1/4] Update typos to v1.10.3 --- .github/workflows/typos.yml | 2 +- _typos.toml | 1 + build/installer_linux.sh | 4 ++-- build/splitNsisArchive.js | 2 +- src/store/audio.ts | 8 ++++---- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index 525284af7a..ce0ef0c12a 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -15,4 +15,4 @@ jobs: - uses: actions/checkout@v2 - name: typos-action - uses: crate-ci/typos@v1.1.7 + uses: crate-ci/typos@v1.10.3 diff --git a/_typos.toml b/_typos.toml index f72c4a638a..3af4282772 100644 --- a/_typos.toml +++ b/_typos.toml @@ -4,6 +4,7 @@ [default.extend-identifiers] [default.extend-words] +ba="ba" [files] extend-exclude = ["package-lock.json", "src/store/project.ts", "*.svg"] diff --git a/build/installer_linux.sh b/build/installer_linux.sh index c723744e32..653efae1c4 100755 --- a/build/installer_linux.sh +++ b/build/installer_linux.sh @@ -195,7 +195,7 @@ if [ "$REUSE_LIST" != "1" ]; then fi echo -echo "[+] Listing of splitted archives..." +echo "[+] Listing of split archives..." _readarray ARCHIVE_LIST < "list.txt" if [ -z "$(echo "${ARCHIVE_LIST[0]}" | awk '$0=$1')" ]; then @@ -375,7 +375,7 @@ EOS # Remove archives if [ "${KEEP_ARCHIVE}" != "1" ]; then - echo "[+] Removing splitted archives..." + echo "[+] Removing spit archives..." for filename in "${ARCHIVE_NAME_LIST[@]}"; do echo "[+] Removing ${filename}..." diff --git a/build/splitNsisArchive.js b/build/splitNsisArchive.js index e86ea7d199..6223b311c0 100644 --- a/build/splitNsisArchive.js +++ b/build/splitNsisArchive.js @@ -74,6 +74,6 @@ exports.default = async function (target) { inputStream.on("end", () => { const iniFilePath = path.resolve(outputDirectory, fileName).concat(".ini"); fs.writeFileSync(iniFilePath, createIni(sizes, hashes)); - console.log("Splitted NSIS Archive."); + console.log("Split NSIS Archive."); }); }; diff --git a/src/store/audio.ts b/src/store/audio.ts index 5d4b369eb8..a07df59df6 100644 --- a/src/store/audio.ts +++ b/src/store/audio.ts @@ -102,14 +102,14 @@ function parseTextFile( userOrderedCharacterInfos[0].metas.speakerUuid ); if (lastStyleId == undefined) throw new Error(`lastStyleId is undefined.`); - for (const splittedText of body.split(new RegExp(`${seps.join("|")}`, "g"))) { - const styleId = characters.get(splittedText); + for (const splitText of body.split(new RegExp(`${seps.join("|")}`, "g"))) { + const styleId = characters.get(splitText); if (styleId !== undefined) { lastStyleId = styleId; continue; } - audioItems.push({ text: splittedText, styleId: lastStyleId }); + audioItems.push({ text: splitText, styleId: lastStyleId }); } return audioItems; } @@ -1853,7 +1853,7 @@ export const audioCommandStore: VoiceVoxStoreOptions< JSON.stringify(query.accentPhrases) ); const changeIndexes = [accentPhraseIndex]; - // toggleAccentPhrase to newAccentPhrases and recored changeIndexes + // toggleAccentPhrase to newAccentPhrases and record changeIndexes { const mergeAccent = ( accentPhrases: AccentPhrase[], From acb8d909365ab7579572baabc1b02342f05f7062 Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Tue, 23 Aug 2022 13:52:55 +0900 Subject: [PATCH 2/4] =?UTF-8?q?=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=82=92=E3=82=8F=E3=81=8B=E3=82=8A=E3=82=84=E3=81=99?= =?UTF-8?q?=E3=81=8F=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/splitNsisArchive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/splitNsisArchive.js b/build/splitNsisArchive.js index 6223b311c0..68aff90db3 100644 --- a/build/splitNsisArchive.js +++ b/build/splitNsisArchive.js @@ -74,6 +74,6 @@ exports.default = async function (target) { inputStream.on("end", () => { const iniFilePath = path.resolve(outputDirectory, fileName).concat(".ini"); fs.writeFileSync(iniFilePath, createIni(sizes, hashes)); - console.log("Split NSIS Archive."); + console.log("Finished NSIS Archive split."); }); }; From 7dde019b0321ddff08b741f8eff3433d85acb0a2 Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Tue, 23 Aug 2022 16:18:29 +0900 Subject: [PATCH 3/4] Update _typos.toml Co-authored-by: Hiroshiba --- _typos.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_typos.toml b/_typos.toml index 3af4282772..81f3a22b0b 100644 --- a/_typos.toml +++ b/_typos.toml @@ -4,7 +4,7 @@ [default.extend-identifiers] [default.extend-words] -ba="ba" +ba="ba" # 7zコマンドの-baオプション [files] extend-exclude = ["package-lock.json", "src/store/project.ts", "*.svg"] From 96912e0dcec3d9915b4b5a91aaef95e2860f0bfb Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Tue, 23 Aug 2022 16:20:45 +0900 Subject: [PATCH 4/4] Fix a word --- build/installer_linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/installer_linux.sh b/build/installer_linux.sh index 653efae1c4..6c72b94e2f 100755 --- a/build/installer_linux.sh +++ b/build/installer_linux.sh @@ -375,7 +375,7 @@ EOS # Remove archives if [ "${KEEP_ARCHIVE}" != "1" ]; then - echo "[+] Removing spit archives..." + echo "[+] Removing split archives..." for filename in "${ARCHIVE_NAME_LIST[@]}"; do echo "[+] Removing ${filename}..."