diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 51b393b77..a8e9c7ded 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8, 3.9] + python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10'] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 9b5aaeba4..7225e0142 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,7 @@ Document 文檔: https://byvoid.github.io/OpenCC/ ### Others (Unofficial) * Swift (iOS): [SwiftyOpenCC](https://github.com/XQS6LB3A/SwiftyOpenCC) +* iOSOpenCC (pod): [iOSOpenCC](https://github.com/swiftdo/OpenCC) * Java: [opencc4j](https://github.com/houbb/opencc4j) * Android: [android-opencc](https://github.com/qichuan/android-opencc) * PHP: [opencc4php](https://github.com/nauxliu/opencc4php) diff --git a/data/dictionary/TWPhrasesIT.txt b/data/dictionary/TWPhrasesIT.txt index d8692ecf1..52c93044b 100644 --- a/data/dictionary/TWPhrasesIT.txt +++ b/data/dictionary/TWPhrasesIT.txt @@ -232,7 +232,7 @@ U盤 隨身碟 發送 傳送 皮膚 面板 盤片 碟片 -盤符 碟符 +盤符 磁碟機代號 目標代碼 目的碼 相冊 相簿 矢量 向量 diff --git a/data/dictionary/TWPhrasesOther.txt b/data/dictionary/TWPhrasesOther.txt index 265bf1ad8..22b3b899d 100644 --- a/data/dictionary/TWPhrasesOther.txt +++ b/data/dictionary/TWPhrasesOther.txt @@ -34,3 +34,4 @@ 鐦 鉲 鑥 鎦 黃宏 黃宏 +借記卡 簽帳金融卡 diff --git a/deps/pybind11-2.5.0/tools/pybind11Tools.cmake b/deps/pybind11-2.5.0/tools/pybind11Tools.cmake index 508e47429..794da1375 100644 --- a/deps/pybind11-2.5.0/tools/pybind11Tools.cmake +++ b/deps/pybind11-2.5.0/tools/pybind11Tools.cmake @@ -12,7 +12,7 @@ if(NOT PYBIND11_PYTHON_VERSION) set(PYBIND11_PYTHON_VERSION "" CACHE STRING "Python version to use for compiling modules") endif() -set(Python_ADDITIONAL_VERSIONS 3.9 3.8 3.7 3.6 3.5 3.4) +set(Python_ADDITIONAL_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4) find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} REQUIRED) include(CheckCXXCompilerFlag) diff --git a/release-pypi-linux.sh b/release-pypi-linux.sh index 5eca6617c..6c3c41741 100644 --- a/release-pypi-linux.sh +++ b/release-pypi-linux.sh @@ -25,7 +25,7 @@ bash ${MINICONDA_FILENAME} -b -f -p $HOME/miniconda3 export PATH=$HOME/miniconda3/bin:$PATH eval "$(conda shell.bash hook)" -for VERSION in 3.5 3.6 3.7 3.8 3.9; do +for VERSION in 3.5 3.6 3.7 3.8 3.9 3.10; do # Create and activate environment conda create -y -n py$VERSION python=$VERSION conda activate py$VERSION diff --git a/release-pypi-macos.sh b/release-pypi-macos.sh index 8879fc738..7ceea1776 100644 --- a/release-pypi-macos.sh +++ b/release-pypi-macos.sh @@ -12,7 +12,7 @@ bash ${MINICONDA_FILENAME} -b -f -p $HOME/miniconda3 export PATH=$HOME/miniconda3/bin:$PATH eval "$(conda shell.bash hook)" -for VERSION in 3.5 3.6 3.7 3.8 3.9; do +for VERSION in 3.5 3.6 3.7 3.8 3.9 3.10; do # Create and activate environment conda create -y -n py$VERSION python=$VERSION conda activate py$VERSION diff --git a/release-pypi-windows.cmd b/release-pypi-windows.cmd index efb73e2f9..c267165ef 100644 --- a/release-pypi-windows.cmd +++ b/release-pypi-windows.cmd @@ -1,7 +1,7 @@ @echo off setlocal EnableDelayedExpansion -SET VERSIONS=3.5 3.6 3.7 3.8 3.9 +SET VERSIONS=3.5 3.6 3.7 3.8 3.9 3.10 SET SOURCEDIR=%cd% REM Build packages