簡易正體中文化方法研究

By Ryzen Master Traditional Chinese Translation

Ryzen Master

研究UI的建構方式

Inspect
SPY++
Dependencies
Ryzen Master Files

研究QT中文化的方式

.\vcpkg install qt5
.\vcpkg\installed\x86-windows\tools\qt5-tools\bin\linguist.exe
linguist

使用工具來做中文字體轉換

opencc.exe -c s2twp.json -i inputfile -o outputfile

此外,這個工具參考了網友 Demo’s VBS Code,並對內容加以修正。詳見開源內容。

Public Function SC2TC2(str)
Set Doc = Word.Documents.Add
Set Content = Doc.Content
Content.Text = str
Content.TCSCConverter 0, True, True
SC2TC2 = Replace(Content.Text, vbCr, vbCrLf)
SC2TC2 = Left(SC2TC2, Len(SC2TC2) - 2)
Doc.Saved = True
Doc.Close
Set Doc = Nothing
End Function
ConvertedContent = SC2TC2(InputContent)

Windows內建的 LCMapString 與 .Net StrConv 都能轉換簡繁。但是不具有詞彙轉換能力,所以不在考慮之內。

'行週期' = '行週期(tRC)';
'行地址啟用時間' = '行地址啟用時間(tRAS)';
'讀取行列地址延遲' = '讀取行列地址延遲(tRCD R)';
'列地址選通脈衝延遲' = '列地址選通脈衝延遲(tCL)';
'行地址預充電延遲' = '行地址預充電延遲(tRP)';
'寫入行列地址延遲' = '寫入行列地址延遲(tRCD W)';
'寫入 CAS 延遲' = '寫入 CAS 延遲(tWCL)'
左邊為最後結果,右邊則只簡轉正(繁)
Installation:
copy chinese_traditional.qm to
%ProgramFiles%\AMD\RyzenMaster\bin\Languages
copy chinese_traditional.qm to
%ProgramFiles%\AMD\RyzenMaster\bin\translations

最終的成果

Ryzen Master 基本檢視
Ryzen Master 高階檢視

結論

這是本篇文章校準的比較結果。

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store