Update for translation & better content view

- Added styles for .player-title label - was not space for translated text;
- Added styles for .preview-label label - for styling like neighboring pages;
- Center align header and some other 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-22 14:51:46 +02:00 committed by GitHub
parent 63ffc23c6f
commit 873000086f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 11 deletions

View File

@ -1,3 +1,20 @@
<style type="text/css">
.player-title {
width: 70px;
border-style: none
float: left;
}
.preview-label {
line-height: 60px;
border-style: none
float: left;
font-size: 20px;
color: #fff
}
</style>
<fieldset class="padded">
<dl class="zend_form">
@ -23,11 +40,11 @@
<?php //echo $this->element->getElement('player_display_track_metadata'); ?>
<table id="player_compatibility_chart">
<th colspan="5">Stream Compatibility</th>
<table id="player_compatibility_chart" style="text-align:center; position:relative; top:40px;">
<th colspan="5" style="text-align:center"><?php echo _("Stream Compatibility") ?></th>
<tr>
<td colspan="3">Desktop</td>
<td colspan="2">Mobile</td>
<td colspan="3"><?php echo _("Desktop") ?></td>
<td colspan="2"><?php echo _("Mobile") ?></td>
</tr>
<tr>
<td>Firefox</td>
@ -37,17 +54,17 @@
<td>iOS 7 - Safari</td>
</tr>
<tr>
<td>Yes (Flash)</td>
<td>Yes (Flash)</td>
<td>Yes (Flash)</td>
<td>MP3/OGG* only</td>
<td>MP3/AAC only</td>
<td><?php echo _("Yes (Flash)") ?></td>
<td><?php echo _("Yes (Flash)") ?></td>
<td><?php echo _("Yes (Flash)") ?></td>
<td><?php echo _("MP3/OGG* only") ?></td>
<td><?php echo _("MP3/AAC only") ?></td>
</tr>
<tr>
<td colspan="5">* Chrome on Android is known to take about 4 seconds to buffer a 128 kbps MP3 stream. Lower bitrates take longer to buffer.</td>
<td colspan="5" style="text-align:left"><?php echo _("* Chrome on Android is known to take about 4 seconds to buffer a 128 kbps MP3 stream. Lower bitrates take longer to buffer.") ?></td>
</tr>
</table>
</dl>
</fieldset>
</fieldset>