summaryrefslogtreecommitdiffstats
path: root/tools/droiddoc/templates-sdk/header_tabs.cs
diff options
context:
space:
mode:
authorDirk Dougherty <nobody@android.com>2009-07-07 17:43:27 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-07-07 17:43:27 -0700
commit4405a23258d3e4df8f5970e8eb781203a5c94f7a (patch)
tree370450888d83df98b833c107960ea514d1804491 /tools/droiddoc/templates-sdk/header_tabs.cs
parentf9f41d0dfdac6deb819f0cc0cb0270f504dbd4ed (diff)
downloadbuild-4405a23258d3e4df8f5970e8eb781203a5c94f7a.zip
build-4405a23258d3e4df8f5970e8eb781203a5c94f7a.tar.gz
build-4405a23258d3e4df8f5970e8eb781203a5c94f7a.tar.bz2
AI 150370: Add localized content infrastructure in droiddoc templates, javascript, and css. DocFile.java - instead of FileReader, use InputStreamReader with UTF-8 encoding. ClearPage.java - add UTF-8 output encoding to FileOutputStreamWriter. Note: this change also up-integrates gerrit 2146 (smain).
BUG=1910893 Automated import of CL 150370
Diffstat (limited to 'tools/droiddoc/templates-sdk/header_tabs.cs')
-rw-r--r--tools/droiddoc/templates-sdk/header_tabs.cs55
1 files changed, 55 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-sdk/header_tabs.cs b/tools/droiddoc/templates-sdk/header_tabs.cs
new file mode 100644
index 0000000..d77836e
--- /dev/null
+++ b/tools/droiddoc/templates-sdk/header_tabs.cs
@@ -0,0 +1,55 @@
+<ul id="header-tabs" class="<?cs
+ if:reference ?>reference<?cs
+ elif:guide ?>guide<?cs
+ elif:sdk ?>sdk<?cs
+ elif:home ?>home<?cs
+ elif:community ?>community<?cs
+ elif:publish ?>publish<?cs
+ elif:about ?>about<?cs /if ?>">
+
+ <li id="home-link"><a href="<?cs var:toroot ?><?cs if:android.whichdoc != "online" ?>offline.html<?cs else ?>index.html<?cs /if ?>">
+ <span class="en">Home</span>
+ <span class="de">Startseite</span>
+ <span class="ja">ホーム</span>
+ <span class="zh-CN">主页</span>
+ <span class="zh-TW">首頁</span>
+ </a></li>
+ <li id="sdk-link"><a href="<?cs var:toroot ?>sdk/<?cs var:sdk.current ?>/index.html">
+ <span class="en">SDK</span>
+ </a></li>
+ <li id="guide-link"><a href="<?cs var:toroot ?>guide/index.html" onClick="return loadLast('guide')">
+ <span class="en">Dev Guide</span>
+ <span class="de">Handbuch</span>
+ <span class="es">Guía</span>
+ <span class="fr">Guide</span>
+ <span class="it">Guida</span>
+ <span class="ja">開発ガイド</span>
+ <span class="zh-CN">开发人员指南</span>
+ <span class="zh-TW">開發指南</span>
+ </a></li>
+ <li id="reference-link"><a href="<?cs var:toroot ?>reference/packages.html" onClick="return loadLast('reference')">
+ <span class="en">Reference</span>
+ <span class="de">Referenz</span>
+ <span class="es">Referencia</span>
+ <span class="fr">Référence</span>
+ <span class="it">Riferimento</span>
+ <span class="ja">リファレンス</span>
+ <span class="zh-CN">参考</span>
+ <span class="zh-TW">參考資料</span>
+ </a></li>
+ <li><a href="http://android-developers.blogspot.com">
+ <span class="en">Blog</span>
+ <span class="ja">ブログ</span>
+ <span class="zh-CN">博客</span>
+ <span class="zh-TW">網誌</span>
+ </a></li>
+ <li id="community-link"><a href="<?cs var:toroot ?>community/index.html">
+ <span class="en">Community</span>
+ <span class="es">Comunidad</span>
+ <span class="fr">Communauté</span>
+ <span class="ja">コミュニティ</span>
+ <span class="zh-CN">社区</span>
+ <span class="zh-TW">社群</span>
+ </a></li>
+
+</ul> \ No newline at end of file