aboutsummaryrefslogtreecommitdiffstats
path: root/en
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2014-03-23 14:33:06 +0000
committerFilip Komar <filip@mageia.org>2014-03-23 14:33:06 +0000
commit194f4494107ec046b68a4a49ee71fb35b3775873 (patch)
tree5c32bf4fe33458abd4786efb4189eac079d65ea3 /en
parent248ad99c6bb2b77e271c65540461d3c1027be536 (diff)
downloadwww-194f4494107ec046b68a4a49ee71fb35b3775873.tar
www-194f4494107ec046b68a4a49ee71fb35b3775873.tar.gz
www-194f4494107ec046b68a4a49ee71fb35b3775873.tar.bz2
www-194f4494107ec046b68a4a49ee71fb35b3775873.tar.xz
www-194f4494107ec046b68a4a49ee71fb35b3775873.zip
about/constitution page converted to gettext
Diffstat (limited to 'en')
-rw-r--r--en/about/constitution/index.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/en/about/constitution/index.php b/en/about/constitution/index.php
index 70ae88108..21eef210f 100644
--- a/en/about/constitution/index.php
+++ b/en/about/constitution/index.php
@@ -3,30 +3,30 @@
define('HLANG', true);
require '../../../langs.php';
-_lang_load($locale, "about/constitution");
+$dictionary = read_translation_file($locale, "about/constitution");
-// Note to translators: _t('Note to translators! PLEASE READ THIS LINE! YOU DON\'T NEED TO TRANSLATE IT! Please translate constitution in file "mageia.org_statutes_fr.md" or "mageia.org_statutes_en.md" as a fallback 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 constitution in file "mageia.org_statutes_fr.md" or "mageia.org_statutes_en.md" as a fallback first. Check wiki for details.')
?><!DOCTYPE html>
<html dir="ltr" lang="<?php echo $locale ?>">
<head>
<meta charset="utf-8">
- <title><?php _e('Mageia.Org constitution'); ?></title>
- <meta name="description" content="<?php _e('Mageia.Org constitution');?>">
- <meta name="keywords" content="<?php _e('mageia.org, association, organization, legal, constitution, statuts'); ?>">
+ <title><?php _g('Mageia.Org constitution'); ?></title>
+ <meta name="description" content="<?php _g('Mageia.Org constitution');?>">
+ <meta name="keywords" content="<?php _g('mageia.org, association, organization, legal, constitution, statuts'); ?>">
<meta name="author" content="Mageia">
<link rel="stylesheet" type="text/css" href="/g/style/all.css">
<?php include '../../../analytics.php'; ?>
</head>
<body class="about constitution">
<?php echo $hsnav; ?>
- <h1 id="mgnavt"><?php _e('Mageia.Org constitution')?></h1>
+ <h1 id="mgnavt"><?php _g('Mageia.Org constitution')?></h1>
<div id="doc4" class="yui-t7">
<div id="bd" role="main">
<div class="yui-g">
<div class="para preambule">
<div id="preamble">
- <p><?php echo sprintf(_t('Original and definitive version (in French) is available from %s. These <em>may</em> be improved. Do not hesitate to mail your patches; check how in the %s.'),
+ <p><?php echo sprintf(_r('Original and definitive version (in French) is available from %s. These <em>may</em> be improved. Do not hesitate to mail your patches; check how in the %s.'),
'<a href="//svnweb.mageia.org/org/constitution/">svnweb.mageia.org/org/constitution</a>',
'<a href="//svnweb.mageia.org/org/constitution/README.md?revision=HEAD&amp;view=markup">README</a>')?></p>
</div>
@@ -34,7 +34,6 @@ _lang_load($locale, "about/constitution");
<div class="para">
<?php
include G_APP_ROOT . '/lib/php-markdown/markdown.php';
-// $l = isset($_GET['l']) ? $_GET['l'] : $locale;
if(in_array($locale, array('en', 'fr', 'sl', 'tr', 'ro', 'de', 'pt-br', 'el', 'id', 'uk', 'ru', 'es'))) {
echo Markdown(file_get_contents('mageia.org_statutes_' . $locale . '.md'));
} else {