-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #252 from olivertzeng/master
Translated zh_TW
- Loading branch information
Showing
9 changed files
with
243 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
#  Yin-Yang | ||
|
||
 | ||
 | ||
 | ||
 | ||
 | ||
|
||
Linux 的自動化主題管理員,支援 KDE、Gnome、Budgie 等桌面環境 | ||
還可以自動設定 VSCode、Atom 等應用程式的主題。 | ||
|
||
安裝後可以查看我們的[**論壇**](https://github.com/oskarsh/Yin-Yang/discussions),會有好康的! | ||
|
||
> 翻譯:[ 🇺🇸](README.md) [🇨🇳](README_zh_CN.md) | ||
 | ||
 | ||
|
||
## 功能 | ||
|
||
* 在自訂時間或是依照日出日落自動切換主題 | ||
* 支援的桌面環境: | ||
* Gnome | ||
* Budgie | ||
* KDE Plasma | ||
* 支援的應用程式: | ||
* VSCode、Atom、gedit | ||
* Firefox、Brave | ||
* Kvantum | ||
* Konsole | ||
* OnlyOffice | ||
* 等等... | ||
* 其他 | ||
* 自動更換桌布 | ||
* 自動推送通知 | ||
* 切換主題時播放聲音 | ||
* 自動執行腳本 | ||
|
||
> 想看 ETA 的人可以查看[進度](https://github.com/oskarsh/Yin-Yang/projects?type=classic). | ||
## 安裝 | ||
|
||
### Arch(BTW)系列 | ||
Yin-Yang 可從 AUR 套件 [`yin-yang`](https://aur.archlinux.org/packages/yin-yang) 安裝 | ||
|
||
|
||
### 自行編譯 | ||
Yin-Yang 依賴 `python-systemd` 以及 `pyside6` 等 Pypi。`python-systemd` 依賴 systemd-headers 以及 `python3-devel` 等。 | ||
|
||
CentOS、RHEL、Fedora: | ||
```bash | ||
sudo dnf install gcc systemd-devel python3-devel libnotify | ||
``` | ||
|
||
OpenSUSE: | ||
```bash | ||
sudo zypper refresh | ||
sudo zypper install gcc systemd-devel libnotify | ||
``` | ||
|
||
Debian 系列: | ||
```bash | ||
sudo apt update | ||
sudo apt install libsystemd-dev gcc pkg-config python3-dev libnotify-bin | ||
``` | ||
|
||
接下來請安裝 Yin-Yang 至虛擬 python 環境: | ||
```bash | ||
# bash 是建議的 shell | ||
bash | ||
# 克隆原始碼 | ||
git clone https://github.com/oskarsh/Yin-Yang.git | ||
cd Yin-Yang | ||
# 安裝 Yin-Yang | ||
./scripts/install.sh | ||
``` | ||
|
||
開發者請略過安裝並且在家目錄中建立 vnev 資料夾 | ||
```bash | ||
python -m venv .venv | ||
source .venv/bin/activate # 此腳本是為了 bash 設計,若使用其他殼層,請在同個資料夾中尋找相容的腳本 | ||
pip install -r requirements.txt | ||
``` | ||
|
||
## 說明 | ||
|
||
想要為此軟體貢獻?請查看維基尋找如何翻譯此軟體、或擴充功能等等! | ||
|
||
[](<https://github.com/oskarsh/Yin-Yang/wiki>) | ||
|
||
## 其他相似軟體 | ||
|
||
- Windows 的自動暗黑模式[Windows Auto Night Mode](https://github.com/AutoDarkMode/Windows-Auto-Night-Mode) | ||
- Gnome 的自動暗黑模式[Night Theme Switcher](https://extensions.gnome.org/extension/2236/night-theme-switcher/) | ||
- Jetbrains IDE 自動暗黑模式 [Auto Dark Mode](https://github.com/weisJ/auto-dark-mode) | ||
- 自動化 KDE 藍光濾鏡 [Knight Adjuster](https://github.com/adrium/knightadjuster) | ||
- [darkman](https://gitlab.com/WhyNotHugo/darkman) | ||
- Firefox 的自動暗黑模式 [dark reader](https://darkreader.org/) | ||
|
||
## 感謝所有貢獻者! | ||
|
||
### 軟體貢獻者 | ||
|
||
感謝你們!因為有這些貢獻者才有這個軟體的出現]. | ||
|
||
[](https://github.com/oskarsh/Yin-Yang/graphs/contributors) | ||
|
||
### 捐獻 | ||
|
||
<a href="https://opencollective.com/Yin-Yang/organization/0/website"><img src="https://opencollective.com/Yin-Yang/organization/0/avatar.svg"></a> | ||
<a href="https://opencollective.com/Yin-Yang/organization/1/website"><img src="https://opencollective.com/Yin-Yang/organization/1/avatar.svg"></a> | ||
<a href="https://opencollective.com/Yin-Yang/organization/2/website"><img src="https://opencollective.com/Yin-Yang/organization/2/avatar.svg"></a> | ||
<a href="https://opencollective.com/Yin-Yang/organization/3/website"><img src="https://opencollective.com/Yin-Yang/organization/3/avatar.svg"></a> | ||
<a href="https://opencollective.com/Yin-Yang/organization/4/website"><img src="https://opencollective.com/Yin-Yang/organization/4/avatar.svg"></a> | ||
<a href="https://opencollective.com/Yin-Yang/organization/5/website"><img src="https://opencollective.com/Yin-Yang/organization/5/avatar.svg"></a> | ||
<a href="https://opencollective.com/Yin-Yang/organization/6/website"><img src="https://opencollective.com/Yin-Yang/organization/6/avatar.svg"></a> | ||
<a href="https://opencollective.com/Yin-Yang/organization/7/website"><img src="https://opencollective.com/Yin-Yang/organization/7/avatar.svg"></a> | ||
<a href="https://opencollective.com/Yin-Yang/organization/8/website"><img src="https://opencollective.com/Yin-Yang/organization/8/avatar.svg"></a> | ||
<a href="https://opencollective.com/Yin-Yang/organization/9/website"><img src="https://opencollective.com/Yin-Yang/organization/9/avatar.svg"></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE TS> | ||
<TS version="2.1" language="zh_TW"> | ||
<context> | ||
<name>main_window</name> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="50"/> | ||
<source>Settings</source> | ||
<translation type="unfinished">設定</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="56"/> | ||
<source>Automatic theme switching</source> | ||
<translation type="unfinished">自動切換主題</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="76"/> | ||
<source>Custom Schedule</source> | ||
<translation type="unfinished">自訂時間排程</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="101"/> | ||
<source>Light:</source> | ||
<translation type="unfinished">明亮模式:</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="137"/> | ||
<source>Dark:</source> | ||
<translation type="unfinished">暗黑模式:</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="176"/> | ||
<source>Sunset to Sunrise</source> | ||
<translation type="unfinished">日落至日出</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="189"/> | ||
<source>Longitude:</source> | ||
<translation type="unfinished">經度:</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="224"/> | ||
<source>Latitude:</source> | ||
<translation type="unfinished">緯度:</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="262"/> | ||
<source>update location automatically</source> | ||
<translation type="unfinished">自動更新經緯度</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="285"/> | ||
<source>Light</source> | ||
<translation type="unfinished">明亮模式</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="292"/> | ||
<source>Dark</source> | ||
<translation type="unfinished">暗黑模式</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="302"/> | ||
<source>Make a sound when switching the theme</source> | ||
<translation type="unfinished">切換主題時播放音效</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="309"/> | ||
<source>Send a notification</source> | ||
<translation type="unfinished">推送通知</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="318"/> | ||
<source>Time to wait until the system finished booting. Default value is 10 seconds.</source> | ||
<translation type="unfinished">開機後延遲秒數。預設為十秒。</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="321"/> | ||
<source>Delay after boot:</source> | ||
<translation type="unfinished">延遲秒數:</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="328"/> | ||
<source>s</source> | ||
<translation type="unfinished">秒</translation> | ||
</message> | ||
<message> | ||
<location filename="../../designer/main_window.ui" line="361"/> | ||
<source>Plugins</source> | ||
<translation type="unfinished">擴充功能</translation> | ||
</message> | ||
</context> | ||
<context> | ||
<name>systray</name> | ||
<message> | ||
<location filename="../../yin_yang/__main__.py" line="125"/> | ||
<source>Open Yin Yang</source> | ||
<comment>Context menu action in the systray</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../../yin_yang/__main__.py" line="126"/> | ||
<source>Toggle theme</source> | ||
<comment>Context menu action in the systray</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
<message> | ||
<location filename="../../yin_yang/__main__.py" line="127"/> | ||
<source>Quit</source> | ||
<comment>Context menu action in the systray</comment> | ||
<translation type="unfinished"></translation> | ||
</message> | ||
</context> | ||
</TS> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters