javaee / javahelp

javahelp
Other
14 stars 15 forks source link

Add support for Traditional Chinese translations of UI labels #14

Open glassfishrobot opened 17 years ago

glassfishrobot commented 17 years ago

Summary of Changes: Since the Constants_zh.java appears to have Simplified Chinese translations, there is no way for the user to get Traditional Chinese translations of the UI. Adding a Constants_zh_TW.java file gives the user that option. Even though this file is all in English, giving a user that uses a locale of "zh_TW" all English text is better than providing Simplified Chinese. Others may translate this file if they like or I will update it if our translation center comes back with changes of their own.

C:\JavaHelp\Open_Source\Subversion\Projects\JavaHelp\javahelp\jhMaster\JavaHelp\ src\new\javax\help\resources>svn diff Constants_zh_TW.java Index: Constants_zh_TW.java

— Constants_zh_TW.java (revision 0) +++ Constants_zh_TW.java (revision 0) @@ -0,0 +1,149 @@ +/*

{0}"},

but already has value

{1}."},

."},

{0}."},

."},

{0}."},

cannot contain text

{1}."},

."},

{0}."},

conflicts with default

{1}

an d with default

{2}

"},

{0}."}, +

."}, +

{0}"},

."}, +

{ "favorites.invalidFavoritesFormat", + "Warning: Invalid Favorites format"}

,

{0}."}, +

"}, +

{ "map.invalidMapFormat", + "Warning: Invalid Map format"}

,

{0}

."}, +

{ "index.findLabel", "Find: "}

, + +

{ "search.findLabel", "Find: "}

, +

{ "search.hitDesc", "Number of occurances in document"}

, +

{ "search.qualityDesc", "Lowest penality value in document" }

, +

{ "search.high", "High"}

, +

{ "search.midhigh", "Medium high"}

, +

{ "search.mid", "Medium"}

, +

{ "search.midlow", "Medium low"}

, +

{ "search.low", "Low"}

, + +

{ "favorites.add", "Add"}

, +

{ "favorites.remove", "Remove"}

, +

{ "favorites.folder", "New Folder"}

, +

{ "favorites.name", "Name"}

, +

{ "favorites.cut", "Cut"}

, +

{ "favorites.paste", "Paste"}

, +

{ "favorites.copy" , "Copy"}

, + +

{ "history.homePage", "Home page"}

, +

{ "history.unknownTitle", ""}

, +

{ "tooltip.BackAction", "Previous Page"}

, +

{ "tooltip.ForwardAction", "Next Page"}

, +

{ "tooltip.PrintAction", "Print"}

, +

{ "tooltip.PrintSetupAction", "Page Setup"}

, +

{ "tooltip.ReloadAction", "Reload"}

, +

{ "tooltip.FavoritesAction", "Add to Favorites"}

, +

{ "tooltip.HomeAction", "Go to home page"}

, +

{ "access.BackAction", "Previous Button"}

, +

{ "access.ForwardAction", "Next Button"}

, +

{ "access.HistoryAction", "History Button"}

, +

{ "access.PrintAction", "Print Button"}

, +

{ "access.PrintSetupAction", "Page Setup Button"}

, +

{ "access.ReloadAction", "Reload Button"}

, +

{ "access.HomeAction", "Home Button"}

, +

{ "access.FavoritesAction", "Add to Favorites Button"}

, +

{ "access.contentViewer", "Content Viewer"}

+

glassfishrobot commented 17 years ago

Reported by dacagl

glassfishrobot commented 17 years ago

dacagl said: Please disregard the first svn diff, I have a fully translated Constants_zh_TW.java file I would like to include.

C:\JavaHelp\Open_Source\Subversion\Projects\JavaHelp\javahelp\jhMaster\JavaHelp\ src\new\javax\help\resources>svn diff Constants_zh_TW.java Index: Constants_zh_TW.java

— Constants_zh_TW.java (revision 0) +++ Constants_zh_TW.java (revision 0) @@ -0,0 +1,149 @@ +/*

{0}"},

\uff0c\u4f46\u6 62f\u6a19\u984c\u5df2\u6709\u503c

{1}\u3002"},

\u3002"},

{0}\u 3002"},

\u3002"},

{0}\u3002"},

\u4e0d\u80fd\u5305\u542b\u6587\u5b57

{1}\u3002"},

\u3002"},

{0}\u3002"},

\u548c\u9810\u8a2d\u5 03c

{1}

\u53ca\u9810\u8a2d\u503c

{2}

\u885d\u7a81\u3002"},

{0}\u3002"}, +

\u3002"}, +

{0}"},

\u3002"}, +

{ "favorites.invalidFavoritesFormat", + "\u8b66\u544a: \u7121\u6548\u7684\u6211\u7684\u6700\u611b\u683 c\u5f0f"}

,

{0}."}, +

"}, +

{ "map.invalidMapFormat", + "\u8b66\u544a: \u7121\u6548\u7684\u5c0d\u61c9\u683c\u5f0f"}

,

{0}

\u3002"}, +

{ "index.findLabel", "\u5c0b\u627e: "}

, + +

{ "search.findLabel", "\u5c0b\u627e: "}

, +

{ "search.hitDesc", "\u6587\u4ef6\u4e2d\u51fa\u73fe\u7684\u6b21\u657 8"}

, +

{ "search.qualityDesc", "\u6587\u4ef6\u4e2d\u7684\u6700\u4f4e\u511f\ u503c" }

, +

{ "search.high", "\u9ad8"}

, +

{ "search.midhigh", "\u4e2d\u9ad8"}

, +

{ "search.mid", "\u4e2d"}

, +

{ "search.midlow", "\u4e2d\u4f4e"}

, +

{ "search.low", "\u4f4e"}

, + +

{ "favorites.add", "\u589e\u52a0"}

, +

{ "favorites.remove", "\u79fb\u9664"}

, +

{ "favorites.folder", "\u65b0\u8cc7\u6599\u593e"}

, +

{ "favorites.name", "\u540d\u7a31"}

, +

{ "favorites.cut", "\u526a\u4e0b"}

, +

{ "favorites.paste", "\u8cbc\u4e0a"}

, +

{ "favorites.copy" , "\u8907\u88fd"}

, + +

{ "history.homePage", "\u9996\u9801"}

, +

{ "history.unknownTitle", "<\u9801\u9762\u6a19\u984c\u672a\u77e5>"}

, +

{ "tooltip.BackAction", "\u4e0a\u4e00\u9801"}

, +

{ "tooltip.ForwardAction", "\u4e0b\u4e00\u9801"}

, +

{ "tooltip.PrintAction", "\u5217\u5370"}

, +

{ "tooltip.PrintSetupAction", "\u9801\u9762\u8a2d\u5b9a"}

, +

{ "tooltip.ReloadAction", "\u91cd\u65b0\u8f09\u5165"}

, +

{ "tooltip.FavoritesAction", "\u52a0\u5230\u6211\u7684\u6700\u611b"}

, +

{ "tooltip.HomeAction", "\u79fb\u81f3\u9996\u9801"}

, +

{ "access.BackAction", "\u4e0a\u4e00\u6309\u9215"}

, +

{ "access.ForwardAction", "\u4e0b\u4e00\u6309\u9215"}

, +

{ "access.HistoryAction", "\u6b77\u7a0b\u6309\u9215"}

, +

{ "access.PrintAction", "\u5217\u5370\u6309\u9215"}

, +

{ "access.PrintSetupAction", "\u9801\u9762\u8a2d\u5b9a\u6309\u9215"}

, +

{ "access.ReloadAction", "\u91cd\u65b0\u8f09\u5165\u6309\u9215"}

, +

{ "access.HomeAction", "\u9996\u9801\u6309\u9215"}

, +

{ "access.FavoritesAction", "\u52a0\u5230\u6211\u7684\u6700\u611b\u6309 \u9215"}

, +

{ "access.contentViewer", "\u5167\u5bb9\u6aa2\u8996\u7a0b\u5f0f"}

+

glassfishrobot commented 17 years ago

Was assigned to javahelp-issues

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAVAHELP-14