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