Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: includes/additional-support-options.tmpl

Issue 29329117: Issue 3193 - show different social media links for Chinese locale (Closed)
Patch Set: Created Oct. 14, 2015, 3:36 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: includes/additional-support-options.tmpl
===================================================================
rename from includes/additional-support-options.md
rename to includes/additional-support-options.tmpl
--- a/includes/additional-support-options.md
+++ b/includes/additional-support-options.tmpl
@@ -1,7 +1,14 @@
-##{{social-contacts Still can't find what you're looking for? Contact us via:}}
+<h2>{{"Still can't find what you're looking for? Contact us via:"|translate("social-contacts")}}</h2>
-* [Facebook](https://www.facebook.com/adblockplus)
-* [​Google+](https://plus.google.com/+AdblockPlus)
-* [Twitter](https://twitter.com/adblockplus)
-* [{{forum-android Forum Adblock Browser for Android}}](https://adblockplus.org/forum/viewforum.php?f=24)
-* [{{forum-ios Forum Adblock Browser for iOS}}](https://adblockplus.org/forum/viewforum.php?f=25)
+<ul>
+ {% if locale == "zh_CN" %}
+ <li><a href="http://weibo.com/adblockplus">微博</a></li>
+ <li><a href="http://abpchina.org/forum/forum.php">中文论坛</a></li>
+ {% else %}
+ <li><a href="https://www.facebook.com/adblockplus">Facebook</a></li>
+ <li><a href="https://plus.google.com/+AdblockPlus">​Google+</a></li>
+ <li><a href="https://twitter.com/adblockplus">Twitter</a></li>
+ <li><a href="https://adblockplus.org/forum/viewforum.php?f=24">{{"Forum Adblock Browser for Android"|translate("forum-android")}}</a></li>
+ <li><a href="https://adblockplus.org/forum/viewforum.php?f=25">{{"Forum Adblock Browser for iOS"|translate("forum-ios")}}</a></li>
+ {% endif %}
+</ul>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld