Skip to content

Commit

Permalink
update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Apr 23, 2015
1 parent 77ebe55 commit 7a9bcc9
Show file tree
Hide file tree
Showing 7 changed files with 293 additions and 163 deletions.
Binary file modified examples/QMLPlayer/i18n/QMLPlayer_zh_CN.qm
Binary file not shown.
40 changes: 25 additions & 15 deletions examples/QMLPlayer/i18n/QMLPlayer_zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,67 +9,77 @@
<translation>关于</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="27"/>
<location filename="../qml/QMLPlayer/About.qml" line="21"/>
<source>based on</source>
<translation>基于</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="22"/>
<source>QtAV is a corss-platform, high performace multimedia playback framework</source>
<translation>QtAV是跨平台的高性能多媒体播放框架</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="28"/>
<source>Shortcut</source>
<translation>快捷键</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="28"/>
<location filename="../qml/QMLPlayer/About.qml" line="29"/>
<source>Mute</source>
<translation>静音</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="28"/>
<location filename="../qml/QMLPlayer/About.qml" line="29"/>
<source>Fullscreen</source>
<translation>全屏</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="28"/>
<location filename="../qml/QMLPlayer/About.qml" line="29"/>
<source>Up/Down</source>
<translation>上/下</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="28"/>
<location filename="../qml/QMLPlayer/About.qml" line="29"/>
<source>Volume</source>
<translation>音量</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="29"/>
<location filename="../qml/QMLPlayer/About.qml" line="30"/>
<source>Left/Right</source>
<translation>左/右</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="29"/>
<location filename="../qml/QMLPlayer/About.qml" line="30"/>
<source>Seek backward/forward</source>
<translation>快退快进</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="30"/>
<location filename="../qml/QMLPlayer/About.qml" line="31"/>
<source>Space</source>
<translation>空格</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="30"/>
<location filename="../qml/QMLPlayer/About.qml" line="31"/>
<source>Pause/Resum</source>
<translation>暂停/恢复</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="30"/>
<location filename="../qml/QMLPlayer/About.qml" line="31"/>
<source>Quit</source>
<translation>退出</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="31"/>
<location filename="../qml/QMLPlayer/About.qml" line="32"/>
<source>Rotate</source>
<translation>旋转90度</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="31"/>
<location filename="../qml/QMLPlayer/About.qml" line="32"/>
<source>Aspect ratio</source>
<translation>比例</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/About.qml" line="35"/>
<location filename="../qml/QMLPlayer/About.qml" line="36"/>
<source>Donate</source>
<translation>捐赠</translation>
</message>
Expand Down Expand Up @@ -297,7 +307,7 @@
<translation>预览</translation>
</message>
<message>
<location filename="../qml/QMLPlayer/SubtitlePage.qml" line="163"/>
<location filename="../qml/QMLPlayer/SubtitlePage.qml" line="162"/>
<source>Open a subtitle file</source>
<translation>打开一个字幕文件</translation>
</message>
Expand Down Expand Up @@ -373,7 +383,7 @@
<context>
<name>main</name>
<message>
<location filename="../qml/QMLPlayer/main.qml" line="108"/>
<location filename="../qml/QMLPlayer/main.qml" line="132"/>
<source>Subtitle</source>
<translation>字幕</translation>
</message>
Expand Down
3 changes: 2 additions & 1 deletion examples/QMLPlayer/qml/QMLPlayer/About.qml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Page {
font.pixelSize: Utils.scaled(14)
onContentHeightChanged: parent.height = contentHeight + 2*anchors.margins
onLinkActivated: Qt.openUrlExternally(link)
text: "<h3>QMLPlayer based on QtAV 1.5.0 </h3>"
text: "<h3>QMLPlayer " + qsTr("based on") + " QtAV 1.6.0 </h3>"
+ "<p>" + qsTr("QtAV is a corss-platform, high performace multimedia playback framework") + "</p>"
+ "<p>Distributed under the terms of LGPLv2.1 or later.</p>"
+ "<p>Copyright (C) 2012-2015 Wang Bin (aka. Lucas Wang) <a href='mailto:[email protected]'>[email protected]</a></p>"
+ "<p>Shanghai University->S3 Graphics->Deepin, Shanghai, China</p>"
Expand Down
Binary file modified examples/player/res/player_zh_CN.qm
Binary file not shown.
Loading

0 comments on commit 7a9bcc9

Please sign in to comment.