implement translations into static pages (FAQ, TOS) + an example of CZ translation

This commit is contained in:
Kuba Brecka 2013-03-03 16:27:32 +01:00
parent af865ee223
commit 778cad5d2f
7 changed files with 356 additions and 4 deletions

View File

@ -9,10 +9,15 @@ class StaticController < ApplicationController
# Don't allow paths like ".." or "/" or anything hacky like that # Don't allow paths like ".." or "/" or anything hacky like that
page.gsub!(/[^a-z0-9\_\-]/, '') page.gsub!(/[^a-z0-9\_\-]/, '')
file = "static/#{page}.html" file = "static/#{page}.#{I18n.locale}"
templates = lookup_context.find_all(file)
if templates.any? # if we don't have a localized version, try the English one
render "static/#{page}", layout: !request.xhr?, formats: [:html] if not lookup_context.find_all("#{file}.html").any?
file = "static/#{page}.en"
end
if lookup_context.find_all("#{file}.html").any?
render file, layout: !request.xhr?, formats: [:html]
return return
end end

View File

@ -0,0 +1,131 @@
<ul class="nav-pills">
<li><a class="active" href="/faq">FAQ</a></li>
<li><a href="/tos">Podmínky používání</a></li>
<li><a href="/privacy">Ochrana soukromí</a></li>
</ul>
<div id="civilized"></div>
<h2><a href="#civilized">Toto je 'Civilizované místo pro veřejnou diskuzi'</a></h2>
<p>
Prosíme chovejte se na tomto fóru se stejným respektem jako byste byli ve veřejném parku. Toto fórum je také věc, kterou sdíleně užívá komunita. Je to místo pro sdílení schopností, znalostí a zájmů skrze probíhající konverzace.
</p>
<div class="more">
<p>
Toto nejsou striktní a přesná pravidla, ale pouze snaha o zachování lidského rozumu v naší komunitě. Používejte tyto návody, aby zdejší fórum zůstalo čistým a pěkným místem pro civilizovanou veřejnou diskuzi.
</p>
</div>
<div id="improve"></div>
<h2><a href="#improve">Improve the Discussion</a></h2>
<p>
Help us make this a great place for discussion by always working to improve the discussion in some way, however small. If you are not sure your post adds to the discussion or might detract from its usefulness, think over what you want to say and try again later.
</p>
<div class="more">
<p>
The topics discussed here matter to us, and we want you to act as if they matter to you, too. Be respectful of the topics and the people discussing them, even if you disagree with some of what is being said.
</p>
<p>
One way to improve the discussion is by discovering ones that are already happening. Please spend some time browsing the topics here before replying or starting your own, and youll have a better chance of meeting others who share your interests.
</p>
</div>
<div id="agreeable"></div>
<h2><a href="#agreeable">Be Agreeable, Even When You Disagree</a></h2>
<p>
You may wish to respond to something by disagreeing with it. Thats fine. But, remember to <em>criticize ideas, not people</em>.
Please avoid:
<ul>
<li>Name-calling.</li>
<li>Ad hominem attacks.</li>
<li>Responding to a posts tone instead of its actual content.</li>
<li>Knee-jerk contradiction.</li>
</ul>
<div class="more">
<p>
Instead, provide reasoned counter-arguments that improve the conversation.
</p>
</div>
<div id="participate"></div>
<h2><a href="#participate">Your Participation Counts</a></h2>
<p>
The conversations we have here set the tone for everyone. Help us influence the future of this community by choosing to engage in discussions that make this forum an interesting place to be &mdash; and avoiding those that do not.
</p>
<div class="more">
<p>
Discourse provides tools that enable the community to collectively identify the best (and worst) contributions: favorites, bookmarks, likes, flags, replies, edits, and so forth. Use these tools to improve your own experience, and everyone elses, too.
</p>
<p>
Lets try to leave our park better than we found it.
</p>
</div>
<div id="flag-problems"></div>
<h2><a href="#flag-problems">If You See a Problem, Flag It</a></h2>
<p>
Moderators have special authority; they are responsible for this forum. But so are you. With your help, moderators can be community facilitators, not just janitors or police.
</p>
<div class="more">
<p>
When you see bad behavior, dont reply. It encourages the bad behavior by acknowledging it, consumes your energy, and wastes everyones time. <i>Just flag it</i>. If enough flags accrue, action will be taken, either automatically or by moderator intervention.
</p>
<p>
In order to maintain our community, moderators reserve the right to remove any content and any user account for any reason at any time. Moderators do not preview new posts in any way; the moderators and site operators take no responsibility for any content posted by the community.
</p>
</div>
<div id="be-civil"></div>
<h2><a href="#be-civil">Always Be Civil</a></h2>
<p>
Nothing sabotages a healthy conversation like rudeness:
<ul>
<li>Be civil. Dont post anything that a reasonable person would consider offensive, abusive, or hate speech.</li>
<li>Keep it clean. Dont post anything obscene or sexually explicit.</li>
<li>Respect each other. Dont harass or grief anyone,
impersonate people, or expose their private information.</li>
<li>Respect our forum. Dont post spam or otherwise vandalize the forum.</li>
</ul>
</p>
<div class="more">
<p>
These are not concrete terms with precise definitions &mdash; avoid
even the <i>appearance</i> of any of these things. If youre unsure, ask yourself how you would feel if your post was featured on the front page of the New York Times.
</p>
<p>
This is a public forum, and search engines index these discussions. Keep the language, links, and images safe for family and friends.
</p>
</div>
<div id="keep-tidy"></div>
<h2><a href="#keep-tidy">Keep It Tidy</a></h2>
<p>
Make the effort to put things in the right place, so that we can spend more time discussing and less cleaning up. So:
<ul>
<li>Dont start a topic in the wrong category.</li>
<li>Dont cross-post the same thing in multiple topics.</li>
<li>Dont post no-content replies.</li>
<li>Dont divert a topic by changing it midstream.</li>
<li>Dont sign your posts &mdash; every post has your profile information attached to it.</li>
</ul>
</p>
<div class="more">
<p>
Rather than posting “+1” or “Agreed,” use the Like button. Rather than taking an existing topic in a radically different direction, use Reply as a New Topic.
</p>
</div>
<div id="stealing"></div>
<h2><a href="#stealing">Post Only Your Own Stuff</a></h2>
<p>
You may not post anything digital that belongs to someone else without permission. You may not post descriptions of, links to, or methods for stealing someones intellectual property (software, video, audio, images), or for breaking any other law.
</p>
<div class="more">
</div>
<div id="tos"></div>
<h2><a href="tos">Terms of Service</a></h2>
<p>
Yes, legalese is boring, but we must protect ourselves &ndash; and by extension, you and your data &ndash; against unfriendly folks. We have a <a href="/tos">Terms of Service</a> describing your (and our) behavior and rights related to content, privacy, and laws. To use this service, you must agree to abide by our <a href="/tos">TOS</a>.
</p>
<div class="more">
</div>

View File

@ -0,0 +1,78 @@
<ul class="nav-pills">
<li><a href="/faq">FAQ</a></li>
<li><a href="/tos">Podmínky používání</a></li>
<li><a class="active" href="/privacy">Ochrana soukromí</a></li>
</ul>
<div id="collect"></div>
<h2><a href="#collect">What information do we collect?</a></h2>
<p>
We collect information from you when you register on our site and gather data when you participate in the forum by reading, writing, and evaluating the content shared here.
</p>
<p>
When participating on our site, you may be asked to enter your: name, age and or e-mail address. You may, however, visit our site anonymously.
</p>
<div id="use"></div>
<h2><a href="#use">What do we use your information for?</a></h2>
<p>Any of the information we collect from you may be used in one of the following ways:</p>
<ul>
<li>To personalize your experience &mdash; your information helps us to better respond to your individual needs.</li>
<li>To improve our site &mdash; we continually strive to improve our site offerings based on the information and feedback we receive from you.</li>
<li>To improve customer service &mdash; your information helps us to more effectively respond to your customer service requests and support needs.</li>
<li>To send periodic emails &mdash; The email address you provide may be used to send you information, notifications that you request about changes to topics or in response to your user name, respond to inquiries, and/or other requests or questions.</li>
</ul>
<div id="protect"></div>
<h2><a href="#use">How do we protect your information?</a></h2>
<p>
We implement a variety of security measures to maintain the safety of your personal
information when you enter, submit, or access your personal information.
</p>
<div id="cookies"></div>
<h2><a href="#cookies">Do we use cookies?</a></h2>
<p>
Yes. Cookies are small files that a site or its service provider transfers to your computer's hard drive through your Web browser (if you allow) that enables the sites or service providers systems to recognize your browser and capture and remember certain information.
</p>
<p>
We use cookies to understand and save your preferences for future visits and compile aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future. We may contract with third-party service providers to assist us in better understanding our site visitors. These service providers are not permitted to use the information collected on our behalf except to help us conduct and improve our business.
</p>
<div id="disclose"></div>
<h2><a href="#disclose">Do we disclose any information to outside parties?</a></h2>
<p>
We do not sell, trade, or otherwise transfer to outside parties your personally identifiable information. This does not include trusted third parties who assist us in operating our site, conducting our business, or servicing you, so long as those parties agree to keep this information confidential. We may also release your information when we believe release is appropriate to comply with the law, enforce our site policies, or protect ours or others rights, property, or safety. However, non-personally identifiable visitor information may be provided to other parties for marketing, advertising, or other uses.
</p>
<div id="third-party"></div>
<h2><a href="#third-party">Third party links</a></h2>
<p>
Occasionally, at our discretion, we may include or offer third party products or services on our site. These third party sites have separate and independent privacy policies. We therefore have no responsibility or liability for the content and activities of these linked sites. Nonetheless, we seek to protect the integrity of our site and welcome any feedback about these sites.
</p>
<div id="coppa"></div>
<h2><a href="#coppa">Children's Online Privacy Protection Act Compliance</a></h2>
<p>
We are in compliance with the requirements of COPPA (<a href="http://en.wikipedia.org/wiki/Children's_Online_Privacy_Protection_Act">Children's Online Privacy Protection Act</a>), we do not collect any information from anyone under 13 years of age. Our site, products and services are all directed to people who are at least 13 years old or older.
</p>
<div id="online"></div>
<h2><a href="#online">Online Privacy Policy Only</a></h2>
<p>
This online privacy policy applies only to information collected through our site and not to information collected offline.
</p>
<div id="consent"></div>
<h2><a href="#consent">Your Consent</a></h2>
<p>
By using our site, you consent to our web site privacy policy.
</p>
<div id="changes"></div>
<h2><a href="#changes">Changes to our Privacy Policy</a></h2>
<p>
If we decide to change our privacy policy, we will post those changes on this page.
</p>

View File

@ -0,0 +1,138 @@
<ul class="nav-pills">
<li><a href="/faq">FAQ</a></li>
<li><a class="active" href="/tos">Podmínky používání</a></li>
<li><a href="/privacy">Ochrana soukromí</a></li>
</ul>
<p>
The following terms and conditions govern all use of the <%= SiteSetting.company_domain %> website and all content, services and products available at or through the website, including, but not limited to, <%= SiteSetting.company_domain %> Forum Software, <%= SiteSetting.company_domain %> Support Forums and the <%= SiteSetting.company_domain %> Hosting service (“Hosting”), (taken together, the Website). The Website is owned and operated by <%= SiteSetting.company_full_name %> (“<%= SiteSetting.company_short_name %>”). The Website is offered subject to your acceptance without modification of all of the terms and conditions contained herein and all other operating rules, policies (including, without limitation, <%= SiteSetting.company_domain %>s <a href="/privacy">Privacy Policy</a> and <a href="/faq">Community Guidelines</a>) and procedures that may be published from time to time on this Site by <%= SiteSetting.company_short_name %> (collectively, the “Agreement”).
</p>
<p>
Please read this Agreement carefully before accessing or using the Website. By accessing or using any part of the web site, you agree to become bound by the terms and conditions of this agreement. If you do not agree to all the terms and conditions of this agreement, then you may not access the Website or use any services. If these terms and conditions are considered an offer by <%= SiteSetting.company_short_name %>, acceptance is expressly limited to these terms. The Website is available only to individuals who are at least 13 years old.
</p>
<div id="1"></div>
<h2><a href="#1">1. Your <%= SiteSetting.company_domain %> Account</a></h2>
<p>
If you create an account on the Website, you are responsible for maintaining the security of your account and you are fully responsible for all activities that occur under the account. You must immediately notify <%= SiteSetting.company_short_name %> of any unauthorized uses of your account or any other breaches of security. <%= SiteSetting.company_short_name %> will not be liable for any acts or omissions by you, including any damages of any kind incurred as a result of such acts or omissions.
</p>
<div id="2"></div>
<h2><a href="#2">2. Responsibility of Contributors</a></h2>
<p>If you post material to the Website, post links on the Website, or otherwise make (or allow any third party to make) material available by means of the Website (any such material, “Content”), You are entirely responsible for the content of, and any harm resulting from, that Content. That is the case regardless of whether the Content in question constitutes text, graphics, an audio file, or computer software. By making Content available, you represent and warrant that:
</p>
<ul>
<li>the downloading, copying and use of the Content will not infringe the proprietary rights, including but not limited to the copyright, patent, trademark or trade secret rights, of any third party;</li>
<li>if your employer has rights to intellectual property you create, you have either (i) received permission from your employer to post or make available the Content, including but not limited to any software, or (ii) secured from your employer a waiver as to all rights in or to the Content;</li>
<li>you have fully complied with any third-party licenses relating to the Content, and have done all things necessary to successfully pass through to end users any required terms;</li>
<li>the Content does not contain or install any viruses, worms, malware, Trojan horses or other harmful or destructive content;</li>
<li>the Content is not spam, is not machine- or randomly-generated, and does not contain unethical or unwanted commercial content designed to drive traffic to third party sites or boost the search engine rankings of third party sites, or to further unlawful acts (such as phishing) or mislead recipients as to the source of the material (such as spoofing);</li>
<li>the Content is not pornographic, does not contain threats or incite violence, and does not violate the privacy or publicity rights of any third party;</li>
<li>your content is not getting advertised via unwanted electronic messages such as spam links on newsgroups, email lists, blogs and web sites, and similar unsolicited promotional methods;</li>
<li>your content is not named in a manner that misleads your readers into thinking that you are another person or company; and</li>
<li>you have, in the case of Content that includes computer code, accurately categorized and/or described the type, nature, uses and effects of the materials, whether requested to do so by <%= SiteSetting.company_short_name %> or otherwise.</li>
</ul>
<div id="3"></div>
<h2><a href="#3">3. User Content License</a></h2>
<!--<p>
By submitting Content to <%= SiteSetting.company_short_name %> for inclusion on your Website, you grant <%= SiteSetting.company_short_name %> a world-wide, royalty-free, and non-exclusive license to reproduce, modify, adapt and publish the Content solely for the purpose of displaying, distributing and promoting your content. If you delete Content, <%= SiteSetting.company_short_name %> will use reasonable efforts to remove it from the Website, but you acknowledge that caching or references to the Content may not be made immediately unavailable.
</p>-->
<p>
User contributions are licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_US">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>. Without limiting any of those representations or warranties, <%= SiteSetting.company_short_name %> has the right (though not the obligation) to, in <%= SiteSetting.company_short_name %>s sole discretion (i) refuse or remove any content that, in <%= SiteSetting.company_short_name %>s reasonable opinion, violates any <%= SiteSetting.company_short_name %> policy or is in any way harmful or objectionable, or (ii) terminate or deny access to and use of the Website to any individual or entity for any reason, in <%= SiteSetting.company_short_name %>s sole discretion. <%= SiteSetting.company_short_name %> will have no obligation to provide a refund of any amounts previously paid.
</p>
<p>
Without limiting any of those representations or warranties, <%= SiteSetting.company_short_name %> has the right (though not the obligation) to, in <%= SiteSetting.company_short_name %>s sole discretion (i) refuse or remove any content that, in <%= SiteSetting.company_short_name %>s reasonable opinion, violates any <%= SiteSetting.company_short_name %> policy or is in any way harmful or objectionable, or (ii) terminate or deny access to and use of the Website to any individual or entity for any reason, in <%= SiteSetting.company_short_name %>s sole discretion. <%= SiteSetting.company_short_name %> will have no obligation to provide a refund of any amounts previously paid.
</p>
<div id="4"></div>
<h2><a href="#4">4. Payment and Renewal</a></h2>
<h3>General Terms</h3>
<p>
Optional paid services such as extra storage, or domain purchases are available on the Website (any such services, an “Upgrade”). By selecting an Upgrade you agree to pay <%= SiteSetting.company_short_name %> the monthly or annual subscription fees indicated for that service. Payments will be charged on a pre-pay basis on the day you sign up for an Upgrade and will cover the use of that service for a monthly or annual subscription period as indicated. Upgrade fees are not refundable.
</p>
<h3>Automatic Renewal</h3>
<p>Unless you notify <%= SiteSetting.company_short_name %> before the end of the applicable subscription period that you want to cancel an Upgrade, your Upgrade subscription will automatically renew and you authorize us to collect the then-applicable annual or monthly subscription fee for such Upgrade (as well as any taxes) using any credit card or other payment mechanism we have on record for you. Upgrades can be canceled at any time in the Upgrades section of your sites dashboard.
</p>
<div id="5"></div>
<h2><a href="#5">5. Services</a></h2>
<h3>Hosting, Support Services</h3>
<p>Hosting and Support services are provided by <%= SiteSetting.company_short_name %> under the terms and conditions for each such service, which are located at /hosting-tos and /support-tos, respectively. By signing up for a Hosting/Support or Support services account, you agree to abide by such terms and conditions.
</p>
<div id="6"></div>
<h2><a href="#6">6. Responsibility of Website Visitors</a></h2>
<p>
<%= SiteSetting.company_short_name %> has not reviewed, and cannot review, all of the material, including computer software, posted to the Website, and cannot therefore be responsible for that materials content, use or effects. By operating the Website, <%= SiteSetting.company_short_name %> does not represent or imply that it endorses the material there posted, or that it believes such material to be accurate, useful or non-harmful. You are responsible for taking precautions as necessary to protect yourself and your computer systems from viruses, worms, Trojan horses, and other harmful or destructive content. The Website may contain content that is offensive, indecent, or otherwise objectionable, as well as content containing technical inaccuracies, typographical mistakes, and other errors. The Website may also contain material that violates the privacy or publicity rights, or infringes the intellectual property and other proprietary rights, of third parties, or the downloading, copying or use of which is subject to additional terms and conditions, stated or unstated. <%= SiteSetting.company_short_name %> disclaims any responsibility for any harm resulting from the use by visitors of the Website, or from any downloading by those visitors of content there posted.
</p>
<div id="7"></div>
<h2><a href="#7">7. Content Posted on Other Websites</a></h2>
<p>We have not reviewed, and cannot review, all of the material, including computer software, made available through the websites and webpages to which <%= SiteSetting.company_domain %> links, and that link to <%= SiteSetting.company_domain %>. <%= SiteSetting.company_short_name %> does not have any control over those non-<%= SiteSetting.company_domain %> websites and webpages, and is not responsible for their contents or their use. By linking to a non-<%= SiteSetting.company_domain %> website or webpage, <%= SiteSetting.company_short_name %> does not represent or imply that it endorses such website or webpage. You are responsible for taking precautions as necessary to protect yourself and your computer systems from viruses, worms, Trojan horses, and other harmful or destructive content. <%= SiteSetting.company_short_name %> disclaims any responsibility for any harm resulting from your use of non-WordPress websites and webpages.
</p>
<div id="8"></div>
<h2><a href="#8">8. Copyright Infringement and DMCA Policy</a></h2>
<p>
As <%= SiteSetting.company_short_name %> asks others to respect its intellectual property rights, it respects the intellectual property rights of others. If you believe that material located on or linked to by <%= SiteSetting.company_domain %> violates your copyright, you are encouraged to notify <%= SiteSetting.company_short_name %> in accordance with <%= SiteSetting.company_short_name %>s <a href="http://en.wikipedia.org/wiki/Digital_Millennium_Copyright_Act">Digital Millennium Copyright Act</a> (“DMCA”) Policy. <%= SiteSetting.company_short_name %> will respond to all such notices, including as required or appropriate by removing the infringing material or disabling all links to the infringing material. <%= SiteSetting.company_short_name %> will terminate a visitors access to and use of the Website if, under appropriate circumstances, the visitor is determined to be a repeat infringer of the copyrights or other intellectual property rights of <%= SiteSetting.company_short_name %> or others. In the case of such termination, <%= SiteSetting.company_short_name %> will have no obligation to provide a refund of any amounts previously paid to <%= SiteSetting.company_short_name %>.
</p>
<div id="9"></div>
<h2><a href="#9">9. Intellectual Property</a></h2>
<p>
This Agreement does not transfer from <%= SiteSetting.company_short_name %> to you any <%= SiteSetting.company_short_name %> or third party intellectual property, and all right, title and interest in and to such property will remain (as between the parties) solely with <%= SiteSetting.company_short_name %>. <%= SiteSetting.company_short_name %>, <%= SiteSetting.company_domain %>, the <%= SiteSetting.company_domain %> logo, and all other trademarks, service marks, graphics and logos used in connection with <%= SiteSetting.company_domain %>, or the Website are trademarks or registered trademarks of <%= SiteSetting.company_short_name %> or <%= SiteSetting.company_short_name %>s licensors. Other trademarks, service marks, graphics and logos used in connection with the Website may be the trademarks of other third parties. Your use of the Website grants you no right or license to reproduce or otherwise use any <%= SiteSetting.company_short_name %> or third-party trademarks.
</p>
<div id="10"></div>
<h2><a href="#10">10. Advertisements</a></h2>
<p><%= SiteSetting.company_short_name %> reserves the right to display advertisements on your content unless you have purchased an Ad-free Upgrade or a Services account.</p>
<div id="11"></div>
<h2><a href="#11">11. Attribution</a></h2>
<p><%= SiteSetting.company_short_name %> reserves the right to display attribution links such as Powered by <%= SiteSetting.company_domain %>, theme author, and font attribution in your content footer or toolbar. Footer credits and the <%= SiteSetting.company_domain %> toolbar may not be removed regardless of upgrades purchased.</p>
<div id="12"></div>
<h2><a href="#12">12. Changes</a></h2>
<p>
<%= SiteSetting.company_short_name %> reserves the right, at its sole discretion, to modify or replace any part of this Agreement. It is your responsibility to check this Agreement periodically for changes. Your continued use of or access to the Website following the posting of any changes to this Agreement constitutes acceptance of those changes. <%= SiteSetting.company_short_name %> may also, in the future, offer new services and/or features through the Website (including, the release of new tools and resources). Such new features and/or services shall be subject to the terms and conditions of this Agreement.
</p>
<div id="13"></div>
<h2><a href="#13">13. Termination</a></h2>
<p>
<%= SiteSetting.company_short_name %> may terminate your access to all or any part of the Website at any time, with or without cause, with or without notice, effective immediately. If you wish to terminate this Agreement or your <%= SiteSetting.company_domain %> account (if you have one), you may simply discontinue using the Website. All provisions of this Agreement which by their nature should survive termination shall survive termination, including, without limitation, ownership provisions, warranty disclaimers, indemnity and limitations of liability.
</p>
<div id="14"></div>
<h2><a href="#14">14. Disclaimer of Warranties</a></h2>
<p>
The Website is provided “as is”. <%= SiteSetting.company_short_name %> and its suppliers and licensors hereby disclaim all warranties of any kind, express or implied, including, without limitation, the warranties of merchantability, fitness for a particular purpose and non-infringement. Neither <%= SiteSetting.company_short_name %> nor its suppliers and licensors, makes any warranty that the Website will be error free or that cess thereto will be continuous or uninterrupted. If youre actually reading this, heres <a href="http://www.newyorker.com/online/blogs/shouts/2012/12/the-hundred-best-lists-of-all-time.html">a treat</a>. You understand that you download from, or otherwise obtain content or services through, the Website at your own discretion and risk.
</p>
<div id="15"></div>
<h2><a href="#15">15. Limitation of Liability</a></h2>
<p>
In no event will <%= SiteSetting.company_short_name %>, or its suppliers or licensors, be liable with respect to any subject matter of this agreement under any contract, negligence, strict liability or other legal or equitable theory for: (i) any special, incidental or consequential damages; (ii) the cost of procurement for substitute products or services; (iii) for interruption of use or loss or corruption of data; or (iv) for any amounts that exceed the fees paid by you to <%= SiteSetting.company_short_name %> under this agreement during the twelve (12) month period prior to the cause of action. <%= SiteSetting.company_short_name %> shall have no liability for any failure or delay due to matters beyond their reasonable control. The foregoing shall not apply to the extent prohibited by applicable law.
</p>
<div id="16"></div>
<h2><a href="#16">16. General Representation and Warranty</a></h2>
<p>
You represent and warrant that (i) your use of the Website will be in strict accordance with the <%= SiteSetting.company_short_name %> <a href="/privacy">Privacy Policy</a>, <a href="/faq">Community Guidelines</a>, with this Agreement and with all applicable laws and regulations (including without limitation any local laws or regulations in your country, state, city, or other governmental area, regarding online conduct and acceptable content, and including all applicable laws regarding the transmission of technical data exported from the United States or the country in which you reside) and (ii) your use of the Website will not infringe or misappropriate the intellectual property rights of any third party.
</p>
<div id="17"></div>
<h2><a href="#17">17. Indemnification</a></h2>
<p>
You agree to indemnify and hold harmless <%= SiteSetting.company_short_name %>, its contractors, and its licensors, and their respective directors, officers, employees and agents from and against any and all claims and expenses, including attorneys fees, arising out of your use of the Website, including but not limited to your violation of this Agreement.
</p>
<div id="18"></div>
<h2><a href="#18">18. Miscellaneous</a></h2>
<p>
This Agreement constitutes the entire agreement between <%= SiteSetting.company_short_name %> and you concerning the subject matter hereof, and they may only be modified by a written amendment signed by an authorized executive of <%= SiteSetting.company_short_name %>, or by the posting by <%= SiteSetting.company_short_name %> of a revised version. Except to the extent applicable law, if any, provides otherwise, this Agreement, any access to or use of the Website will be governed by the laws of the state of California, U.S.A., excluding its conflict of law provisions, and the proper venue for any disputes arising out of or relating to any of the same will be the state and federal courts located in San Francisco County, California. Except for claims for injunctive or equitable relief or claims regarding intellectual property rights (which may be brought in any competent court without the posting of a bond), any dispute arising under this Agreement shall be finally settled in accordance with the Comprehensive Arbitration Rules of the Judicial Arbitration and Mediation Service, Inc. (“JAMS”) by three arbitrators appointed in accordance with such Rules. The arbitration shall take place in San Francisco, California, in the English language and the arbitral decision may be enforced in any court. The prevailing party in any action or proceeding to enforce this Agreement shall be entitled to costs and attorneys fees. If any part of this Agreement is held invalid or unenforceable, that part will be construed to reflect the parties original intent, and the remaining portions will remain in full force and effect. A waiver by either party of any term or condition of this Agreement or any breach thereof, in any one instance, will not waive such term or condition or any subsequent breach thereof. You may assign your rights under this Agreement to any party that consents to, and agrees to be bound by, its terms and conditions; <%= SiteSetting.company_short_name %> may assign its rights under this Agreement without condition. This Agreement will be binding upon and will inure to the benefit of the parties, their successors and permitted assigns.
</p>