diff options
author | Filip Komar <filip@mageia.org> | 2014-03-22 23:02:30 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2014-03-22 23:02:30 +0000 |
commit | 2d56e13009850f01ae81a6aec8ad66bda023bb06 (patch) | |
tree | 5de7772913965cc7daf9b5bfeb30a3cb8d007768 /en/about/license | |
parent | 150dcccaa000a5c35b86279ffa138962615b7879 (diff) | |
download | www-2d56e13009850f01ae81a6aec8ad66bda023bb06.tar www-2d56e13009850f01ae81a6aec8ad66bda023bb06.tar.gz www-2d56e13009850f01ae81a6aec8ad66bda023bb06.tar.bz2 www-2d56e13009850f01ae81a6aec8ad66bda023bb06.tar.xz www-2d56e13009850f01ae81a6aec8ad66bda023bb06.zip |
license page converted to gettext + fix of report for empty translations (+ community refresh)
Diffstat (limited to 'en/about/license')
-rw-r--r-- | en/about/license/index.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/en/about/license/index.php b/en/about/license/index.php index e5d82920a..eb9b086dd 100644 --- a/en/about/license/index.php +++ b/en/about/license/index.php @@ -3,18 +3,18 @@ define('HLANG', true); require '../../../langs.php'; -_lang_load($locale, 'about/license'); +$dictionary = read_translation_file($locale, 'about/license'); require('license.php'); $prepared_license_strings = read_license_from_vcs($locale); -// Note to translators: _t('Note to translators! PLEASE READ THIS LINE! YOU DON\'T NEED TO TRANSLATE IT! Please translate license in your po file "http://gitweb.mageia.org/software/drakx/tree/perl-install/share/po/" first. Check wiki for details.') +// Note to translators: _r('Note to translators! PLEASE READ THIS LINE! YOU DON\'T NEED TO TRANSLATE IT! Please translate license in your po file "http://gitweb.mageia.org/software/drakx/tree/perl-install/share/po/" first. Check wiki for details.') ?> <!DOCTYPE html> <html lang="<?php echo $locale; ?>"> <head> <meta charset="utf-8"> - <title><?php _e('Mageia license')?></title> + <title><?php _g('Mageia license')?></title> <link rel="stylesheet" href="/g/style/all.css"> <style> .para { text-align: left; float: left; display: block; } @@ -24,14 +24,14 @@ $prepared_license_strings = read_license_from_vcs($locale); </head> <body class="about"> <?php echo $hsnav; ?> - <h1 id="mgnavtitle"><?php _e('Mageia license')?></h1> + <h1 id="mgnavtitle"><?php _g('Mageia license')?></h1> <div id="doc" class="yui-t7"> <div id="bd" role="main" class="para"> <section> <?php echo '<div id="preamble">'; // _('An introduction text ... (summarizing, explaining the core principles, and why this license was chosen).'); - echo '<p>' . sprintf(_t('You can get more information about our licensing policy %shere</a>.'), + echo '<p>' . sprintf(_r('You can get more information about our licensing policy %shere</a>.'), '<a href="https://wiki.mageia.org/en/Licensing_policy">') . '</p>'; $unofficial_translation = array_shift($prepared_license_strings); $patents_warning = array_pop($prepared_license_strings); @@ -44,7 +44,7 @@ $prepared_license_strings = read_license_from_vcs($locale); echo sprintf('<%s>' . $string[0] . '</%s>' . PHP_EOL, $string[1], $string[1]); } - _h('Warning about patents', null, 'h2'); + _g('Warning about patents', null, 'h2'); $patents = str_replace('http://www.mp3licensing.com', '<a href="http://www.mp3licensing.com">www.mp3licensing.com</a>', $patents_warning[0]); echo '<p>' . $patents . '</p>' . PHP_EOL; ?> |