diff options
author | filip <filip.komar@gmail.com> | 2019-06-30 13:58:26 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2019-06-30 13:58:26 +0200 |
commit | 426711480cacec3a5e679377a67e78b4ea529b27 (patch) | |
tree | 668fc9b22cb0c5ff0daf47f2612bb1f265a0915d /en | |
parent | faa78565cf5a486d1ca77a5998abb6e02107f0af (diff) | |
download | www-426711480cacec3a5e679377a67e78b4ea529b27.tar www-426711480cacec3a5e679377a67e78b4ea529b27.tar.gz www-426711480cacec3a5e679377a67e78b4ea529b27.tar.bz2 www-426711480cacec3a5e679377a67e78b4ea529b27.tar.xz www-426711480cacec3a5e679377a67e78b4ea529b27.zip |
add i18n for missing strings
Diffstat (limited to 'en')
-rw-r--r-- | en/downloads/alternative/index.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/en/downloads/alternative/index.php b/en/downloads/alternative/index.php index 0278380ab..2f082bf4e 100644 --- a/en/downloads/alternative/index.php +++ b/en/downloads/alternative/index.php @@ -95,7 +95,7 @@ function TableContent($url, $name, $torrent, $magnet, $size){ function allDiv($release, $Trelease, $table){ $div = sprintf("<div id=\"%s\">\n\t<h3>%s</h3>" . PHP_EOL, $release,$Trelease); $div .= '<table class="table table-hover table-sm">'; - $div .= sprintf('<thead><tr><th >iso</th><th>torrent</th><th>magnet</th><th>size</th></tr></thead>' . PHP_EOL); + $div .= sprintf('<thead><tr><th >' . _r("iso image") . '</th><th>' . _r("torrent link") . '</th><th>' . _r("magnet link") . '</th><th>' . _r("size") . '</th></tr></thead>' . PHP_EOL); echo $div .= sprintf('<tbody>%s</tbody></table></div>' . PHP_EOL, $table); } ?> @@ -104,20 +104,20 @@ function allDiv($release, $Trelease, $table){ <div class="col-sm-3"> <nav id="nav-release" class="navbar navbar-light bg-light"> <nav class="nav nav-pills flex-column"> - <a class="nav-link" href="#Current">Current Release</a> + <a class="nav-link" href="#Current"><?php _g('Latest stable release'); echo '</a>';?> <?php if($tableCauldron){; - echo '<a class="nav-link" href="#Cauldron">Unstable Release</a>'; + echo '<a class="nav-link" href="#Cauldron">'; _g('Test release'); echo '</a>'; }; ?> - <a class="nav-link" href="#Archives">Archives</a> + <a class="nav-link" href="#Archives"><?php _g('Previous releases'); echo '</a>';?> </nav> </nav> </div> <div class="col-sm-9" data-spy="scroll" data-target="#nav-release" data-offset="1" style="height:400px; overflow-y: scroll"> <?php - allDiv('Current', 'Current Release', $tableCurrent); - $tableCauldron ? allDiv('Cauldron', 'Unstable Release', $tableCauldron) : '' ; - allDiv('Archives', 'Archives', $tableArchives); + allDiv('Current', _r('Latest stable release') . '</a>', $tableCurrent); + $tableCauldron ? allDiv('Cauldron', _r('Test release'), $tableCauldron) : '' ; + allDiv('Archives', _r('Previous releases') . '</a>', $tableArchives); ?> </div> |