webdestroya/sourcemod-translator

View on GitHub
app/views/pages/index.html.erb

Summary

Maintainability
Test Coverage
<% title "About" %>

<div class="hero-unit">
  <h1>Welcome to SourceMod Translator!</h1>
  <p>This application allows plugin developers to upload Phrase files from plugins, and other users can add translations for languages they are fluent in.
  </p>
  <p>
    <%= link_to t('.get_started'), get_started_path, :class => "btn btn-primary btn-large" %>
  </p>
</div>


<div class="row">
  <div class="span4">
    <h2>Translators</h2>
    <p>
      Are you bilingual? Do you enjoy helping others in the community?
      You can help internationalize plugins by adding translations for phrases.
    </p>
    <p><%= link_to(t('.get_started'), get_started_path, :class => "btn") unless current_user %></p>
  </div>
  <div class="span4">
    <h2>Developers</h2>
    <p>
      Want to support multiple languages in your plugin, but only know English?
      Upload your plugin and let others add translations!
    </p>
    <p><%= link_to(t('.get_started'), get_started_path, :class => "btn") unless current_user %></p>
  </div>
  <div class="span4">
    <h2>No Registration</h2>
    <p>
      Connect using your Steam account, or use your AlliedModders account. We never see your password, and you never have to remember another username!
    </p>
    <p><%= link_to(t('.get_started'), get_started_path, :class => "btn") unless current_user %></p>
  </div>
</div>