Skip to content

Instantly share code, notes, and snippets.

@phuzion
Created July 1, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phuzion/40cf867b039ec5a36214 to your computer and use it in GitHub Desktop.
Save phuzion/40cf867b039ec5a36214 to your computer and use it in GitHub Desktop.
diff --git a/r2/r2/templates/rulespage.html b/r2/r2/templates/rulespage.html
index 3f0732e..57a946e 100644
--- a/r2/r2/templates/rulespage.html
+++ b/r2/r2/templates/rulespage.html
@@ -62,10 +62,10 @@ function toggle_expando(elem){
<div class="rulespage">
<h1>rules of reddit</h1>
<div>
- <p class="info">reddit is a pretty open platform and free speech place, but there are a few rules:</p>
+ <p class="info">${_("reddit is a pretty open platform and free speech place, but there are a few rules:")}</p>
<ol class="rule-list">
<li id="spam" class="first-rule">
- <p>Don't&#32;<a href="http://www.reddit.com/wiki/faq#wiki_what_constitutes_spam.3F">spam</a>.</p>
+ <p>${_("Don't&#32;<a href="http://www.reddit.com/wiki/faq#wiki_what_constitutes_spam.3F">spam</a>.")}</p>
${expando_start("What is spam?")}
${bad_example('Submitting only links to your blog or personal website.')}
${good_example('Submitting links from a variety of sites and sources.')}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment