Fix websites/timeline-kde-org switch language issue and add Chinese simplified (zh) translation
ClosedPublic

Authored by lesliezhai on Sep 20 2016, 3:22 AM.

Details

Summary
  1. Fix websites/timeline-kde-org switch language issue

When clicked 'es' link in https://timeline.kde.org/ it failed to active https://pbs.twimg.com/media/CsxBy28UAAAJ9Wq.jpg but successfully translated to Espana language!

And 'en' and 'pt' is able to work! so I fixed the js/translate.js to define langs array and for loop to switch languages ;-)

  1. add Chinese simplified (zh) translation

As a KDE developer, it is glad to translate '20 years of KDE' to my Mother tongue, happy birthday! but sorry for my poor English, please KDE-China team carefully review my patch, thanks a lot!

Regards,
Leslie Zhai - a KDE developer https://git.reviewboard.kde.org/users/lesliezhai/

Test Plan

Hi KDE-China team,

Please clicke 'zh' link in https://isoft-linux.org/timeline-kde-org/

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped
lesliezhai updated this revision to Diff 6823.Sep 20 2016, 3:22 AM
lesliezhai retitled this revision from to Fix websites/timeline-kde-org switch language issue and add Chinese simplified (zh) translation.
lesliezhai updated this object.
lesliezhai edited the test plan for this revision. (Show Details)
lesliezhai edited the test plan for this revision. (Show Details)Sep 20 2016, 3:28 AM
guoyunhe edited edge metadata.Sep 20 2016, 8:23 AM

Some suggestions on the beginning part. Review it fully later. In general, it is enough for understanding. I suggest to accept the patch and invite other Chinese native speakers to help a little.

js/languages.xml
13

KDE 二十周年

25

(来源)

When "source" means the source of image reference, it should be translated as "来源".

37
49

Bjarne Stroustrup --> 比雅尼·斯特劳斯特鲁普

73

Linus Torvalds -> 林纳斯·托瓦兹
https://zh.wikipedia.org/wiki/%E6%9E%97%E7%BA%B3%E6%96%AF%C2%B7%E6%89%98%E7%93%A6%E5%85%B9

Andrew Tanenbaum --> 安德鲁·塔能鲍姆

25年 Linux 内核开发资料 --> Linux 内核开发 25 周年资料

110

Kool 桌面环境 --> Kool Desktop Environment

https://en.wikipedia.org/wiki/Common_Desktop_Environment --> https://zh.wikipedia.org/wiki/CDE

It is better to use English for software name if there is no official translation.

147

Tübingen --> 蒂宾根

159

<a href="https://www.kde.org/community/whatiskde/kdefreeqtfoundation.php">KDE 自由 Qt 基金会</a>基础协议由 KDE e.V. 和奇趣(Qt 拥有者)共同签署。基金会<a href="https://dot.kde.org/2016/01/13/qt-guaranteed-stay-free-and-open-%E2%80%93-legal-update">确保了 Qt 永远是自由软件</a>。

195

Erlangen --> 埃朗根市

guoyunhe accepted this revision.Sep 20 2016, 8:24 AM
guoyunhe edited edge metadata.
This revision is now accepted and ready to land.Sep 20 2016, 8:24 AM
lesliezhai edited the test plan for this revision. (Show Details)Sep 20 2016, 9:10 AM
lesliezhai added a reviewer: ayres.
lesliezhai updated this revision to Diff 6824.Sep 20 2016, 9:23 AM

Fixed as Yunhe Guo suggested!

araceletorres accepted this revision.Sep 20 2016, 2:17 PM
araceletorres edited edge metadata.

Thank you, lesliezhai.
It seems good to me. We can publish and ask that anyone who finds any error report to us.

araceletorres requested changes to this revision.Sep 20 2016, 2:55 PM
araceletorres edited edge metadata.
This comment was removed by araceletorres.
This revision now requires changes to proceed.Sep 20 2016, 2:55 PM
araceletorres accepted this revision.Sep 20 2016, 4:13 PM
araceletorres edited edge metadata.
This revision is now accepted and ready to land.Sep 20 2016, 4:13 PM

Patch added! Thank you Leslie, thank you all!

You are welcome ;-)