Translate headers. (#580)

This commit is contained in:
Alexander Shursha 2018-03-05 13:45:52 +03:00 committed by Franco Fichtner
parent e89022506c
commit 500dcfda0a

View file

@ -462,7 +462,7 @@ POSSIBILITY OF SUCH DAMAGE.
<div class="content-box tab-content">
<div id="introduction" class="tab-pane fade in active">
<div class="col-md-12">
<h1>Quick Start Guide</h1>
<h1>{{ lang._('Quick Start Guide') }}</h1>
<p>{{ lang._('Welcome to the HAProxy plugin! This plugin is designed to offer all the features and flexibility HAProxy is famous for. If you are using HAProxy for the first time, please take some time to get familiar with it. The following information should help you to get started.')}}</p>
<p>{{ lang._('Note that you should configure HAProxy in the following order:') }}</p>
<ul>
@ -479,7 +479,7 @@ POSSIBILITY OF SUCH DAMAGE.
<div id="subtab_haproxy-real-servers-introduction" class="tab-pane fade">
<div class="col-md-12">
<h1>Real Servers</h1>
<h1>{{ lang._('Real Servers') }}</h1>
<p>{{ lang._('HAProxy needs to know which servers should be used to serve content. The following minimum information must be provided for each server:') }}</p>
<ul>
<li>{{ lang._('%sFQDN or IP:%s The IP address or fully-qualified domain name that should be used when communicating with your server.') | format('<b>', '</b>') }}</li>
@ -493,7 +493,7 @@ POSSIBILITY OF SUCH DAMAGE.
<div id="subtab_haproxy-virtual-services-introduction" class="tab-pane fade">
<div class="col-md-12">
<h1>Virtual Services</h1>
<h1>{{ lang._('Virtual Services') }}</h1>
<p>{{ lang._("HAProxy requires two virtual services for its load balancing and proxying features. The following virtual services must be configured for everything that should be served by HAProxy:") }}</p>
<ul>
<li>{{ lang._('%sBackend Pools:%s The HAProxy backend. Group the %spreviously added servers%s to build a server farm. All servers in a group usually deliver the same content. The Backend Pool cares for health monitoring and load distribution. A Backend Pool must also be configured if you only have a single server. The same Backend Pool may be used for multiple Public Services.') | format('<b>', '</b>', '<b>', '</b>') }}</li>
@ -507,7 +507,7 @@ POSSIBILITY OF SUCH DAMAGE.
<div id="subtab_haproxy-rules-checks-introduction" class="tab-pane fade">
<div class="col-md-12">
<h1>Rules &amp; Checks</h1>
<h1>{{ lang._('Rules and Checks') }}</h1>
<p>{{ lang._("After getting acquainted with HAProxy the following optional features may prove useful:") }}</p>
<ul>
<li>{{ lang._('%sHealth Monitors:%s The HAProxy "health checks". Health Monitors are used by %sBackend Pools%s to determine if a server is still able to respond to client requests. If a server fails a health check it will automatically be removed from a Backend Pool and healthy servers are automatically re-added.') | format('<b>', '</b>', '<b>', '</b>') }}</li>
@ -522,7 +522,7 @@ POSSIBILITY OF SUCH DAMAGE.
<div id="subtab_haproxy-advanced-introduction" class="tab-pane fade">
<div class="col-md-12">
<h1>Advanced Features</h1>
<h1>{{ lang._('Advanced Features') }}</h1>
<p>{{ lang._("Most of the time these features are not required, but in certain situations they will be handy:") }}</p>
<ul>
<li>{{ lang._("%sError Messages:%s Return a custom message instead of errors generated by HAProxy. Useful to overwrite HAProxy's internal error messages. The message must represent the full HTTP response and include required HTTP headers.") | format('<b>', '</b>') }}</li>