Skip to content

Commit

Permalink
Add zh_CN translation
Browse files Browse the repository at this point in the history
  • Loading branch information
w568w committed Mar 13, 2024
1 parent f72bfff commit de73a72
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 0 deletions.
Binary file added resources/translations/yin_yang.zh_CN.qm
Binary file not shown.
108 changes: 108 additions & 0 deletions resources/translations/yin_yang.zh_CN.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="zh_CN">
<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>Send a notification</source>
<translation type="unfinished">切换时发送通知</translation>
</message>
<message>
<location filename="../../designer/main_window.ui" line="311"/>
<source>Time to wait until the system finished booting. Default value is 10 seconds.</source>
<translation type="unfinished">开机后延迟秒数。默认值为 10 秒。</translation>
</message>
<message>
<location filename="../../designer/main_window.ui" line="314"/>
<source>Delay after boot:</source>
<translation type="unfinished">系统启动后生效延迟:</translation>
</message>
<message>
<location filename="../../designer/main_window.ui" line="321"/>
<source>s</source>
<translation type="unfinished">秒</translation>
</message>
<message>
<location filename="../../designer/main_window.ui" line="354"/>
<source>Plugins</source>
<translation type="unfinished">插件</translation>
</message>
</context>
<context>
<name>systray</name>
<message>
<location filename="../../yin_yang/__main__.py" line="127"/>
<source>Open Yin Yang</source>
<comment>Context menu action in the systray</comment>
<translation type="unfinished">打开 Yin Yang</translation>
</message>
<message>
<location filename="../../yin_yang/__main__.py" line="130"/>
<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="133"/>
<source>Quit</source>
<comment>Context menu action in the systray</comment>
<translation type="unfinished">退出</translation>
</message>
</context>
</TS>

0 comments on commit de73a72

Please sign in to comment.