langref の修正
http://www.adobe.com/support/documentation/jp/flex/index.html#package(ドキュメンテーション zip ファイル)に日本語化でのバグがあるのでその修正。
id:eggtoothcroc:20061201:1164942185 に shell script と PHP による静的修正版があります。
PHP はいってなかったので JavaScript と CSS の書き換えで対応してみました。
適用する場合は UTF-8 で。
--- old_asdoc.js +++ asdoc.js @@ -43,6 +43,10 @@ findObject("titleTable").style.display = "none"; } showTitle(asdocTitle); + var obj = findObject('hideInheritedProtectedMethod'); + if (obj) { + obj.innerHTML = obj.innerHTML.replace('の表示', 'の非表示'); + } } function loadFrames(classFrameURL, classListFrameURL) { @@ -202,6 +206,7 @@ } function setInheritedVisible(show, selectorText) { + function setStyle(selectorText) { if (document.styleSheets[0].cssRules != undefined) { var rules = document.styleSheets[0].cssRules; @@ -219,6 +224,17 @@ document.styleSheets[0].addRule(".hideInherited" + selectorText, show ? "display:inline" : "display:none"); document.styleSheets[0].addRule(".showInherited" + selectorText, show ? "display:none" : "display:inline"); } + } + setStyle(selectorText); + var selectors_ja = { + Method: 'メソッド', + ProtectedMethod: 'Protectedメソッド' + }; + for (var en in selectors_ja) { + if (en == selectorText) { + setStyle(selectors_ja[en]); + } + } setCookie("showInherited" + selectorText, show ? "true" : "false", new Date(3000,1,1,1,1), "/", document.location.domain); setRowColors(show, selectorText); } --- old_style.css +++ style.css @@ -251,6 +251,18 @@ .showInheritedProtectedMethod { display: inline; } +.hideInheritedメソッド { + display: none; +} +.showInheritedメソッド { + display: inline; +} +.hideInheritedProtectedメソッド { + display: none; +} +.showInheritedProtectedメソッド { + display: inline; +} .hideInheritedEvent { display: none; }