Update for translation & better content view

- Center align changes - for better content visualization;
- Replacing HTML text output by php function 'echo' to optimize .po translation.
This commit is contained in:
farggus 2020-03-26 08:39:37 +02:00 committed by GitHub
parent 86424b9b2c
commit b0ffc1c65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 21 deletions

View File

@ -38,7 +38,7 @@
Postgres Postgres
</td> </td>
<td class="description"> <td class="description">
PDO and PostgreSQL libraries <?php echo _("PDO and PostgreSQL libraries") ?>
</td> </td>
<td class="solution <?php if ($postgres) {echo 'check';?>"> <td class="solution <?php if ($postgres) {echo 'check';?>">
<?php <?php
@ -55,7 +55,7 @@
Database Database
</td> </td>
<td class="description"> <td class="description">
Database configuration for LibreTime <?php echo _("Database configuration for LibreTime") ?>
</td> </td>
<td class="solution <?php if ($database) {echo 'check';?>"> <td class="solution <?php if ($database) {echo 'check';?>">
<?php <?php
@ -74,7 +74,7 @@
RabbitMQ RabbitMQ
</td> </td>
<td class="description"> <td class="description">
RabbitMQ configuration for LibreTime <?php echo _("RabbitMQ configuration for LibreTime") ?>
</td> </td>
<td class="solution <?php if ($rabbitmq) {echo 'check';?>"> <td class="solution <?php if ($rabbitmq) {echo 'check';?>">
<?php <?php
@ -92,19 +92,19 @@
</tr> </tr>
<tr> <tr>
<td class="component"> <td class="component">
Media Analzyer Media Analyzer
</td> </td>
<td class="description"> <td class="description">
LibreTime media analyzer service <?php echo _("LibreTime media analyzer service") ?>
</td> </td>
<td class="solution <?php if ($analyzer) {echo 'check';?>"> <td class="solution <?php if ($analyzer) {echo 'check';?>">
<?php <?php
} else { } else {
?>"> ?>">
Check that the airtime_analyzer service is installed correctly in <code>/etc/init</code>, <?php echo _("Check that the airtime_analyzer service is installed correctly in ") ?><code>/etc/init</code>,
and ensure that it's running with <?php echo _(" and ensure that it's running with ") ?>
<br/><code>initctl list | grep airtime_analyzer</code><br/> <br/><code>initctl list | grep airtime_analyzer</code><br/>
If not, try <br/><code>sudo service airtime_analyzer start</code> <?php echo _("If not, try ") ?><br/><code>sudo service airtime_analyzer start</code>
<?php <?php
} }
?> ?>
@ -115,16 +115,16 @@
Pypo Pypo
</td> </td>
<td class="description"> <td class="description">
LibreTime playout service <?php echo _("LibreTime playout service") ?>
</td> </td>
<td class="solution <?php if ($pypo) {echo 'check';?>"> <td class="solution <?php if ($pypo) {echo 'check';?>">
<?php <?php
} else { } else {
?>"> ?>">
Check that the airtime-playout service is installed correctly in <code>/etc/init</code>, <?php echo _("Check that the airtime-playout service is installed correctly in ") ?><code>/etc/init</code>,
and ensure that it's running with <?php echo _(" and ensure that it's running with ") ?>
<br/><code>initctl list | grep airtime-playout</code><br/> <br/><code>initctl list | grep airtime-playout</code><br/>
If not, try <br/><code>sudo service airtime-playout restart</code> <?php echo _("If not, try ") ?><br/><code>sudo service airtime-playout restart</code>
<?php <?php
} }
?> ?>
@ -135,36 +135,36 @@
Liquidsoap Liquidsoap
</td> </td>
<td class="description"> <td class="description">
LibreTime liquidsoap service <?php echo _("LibreTime liquidsoap service") ?>
</td> </td>
<td class="solution <?php if ($liquidsoap) {echo 'check';?>" > <td class="solution <?php if ($liquidsoap) {echo 'check';?>" >
<?php <?php
} else { } else {
?>"> ?>">
Check that the airtime-liquidsoap service is installed correctly in <code>/etc/init</code>, <?php echo _("Check that the airtime-liquidsoap service is installed correctly in ") ?><code>/etc/init</code>,
and ensure that it's running with <?php echo _(" and ensure that it's running with ") ?>
<br/><code>initctl list | grep airtime-liquidsoap</code><br/> <br/><code>initctl list | grep airtime-liquidsoap</code><br/>
If not, try <br/><code>sudo service airtime-liquidsoap restart</code> <?php echo _("If not, try ") ?><br/><code>sudo service airtime-liquidsoap restart</code>
<?php <?php
} }
?> ?>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="component"> <td class="component" align="center">
Celery Celery
</td> </td>
<td class="description"> <td class="description">
LibreTime Celery Task service <?php echo _("LibreTime Celery Task service") ?>
</td> </td>
<td class="solution <?php if ($celery) {echo 'check';?>" > <td class="solution <?php if ($celery) {echo 'check';?>" >
<?php <?php
} else { } else {
?>"> ?>">
Check that the airtime-celery service is installed correctly in <code>/etc/init</code>, <?php echo _("Check that the airtime-celery service is installed correctly in ") ?><code>/etc/init</code>,
and ensure that it's running with <?php echo _(" and ensure that it's running with ") ?>
<br/><code>initctl list | grep airtime-celery</code><br/> <br/><code>initctl list | grep airtime-celery</code><br/>
If not, try <br/><code>sudo service airtime-celery restart</code> <?php echo _("If not, try ") ?><br/><code>sudo service airtime-celery restart</code>
<?php <?php
} }
?> ?>