aboutsummaryrefslogtreecommitdiffstats
path: root/en/about
diff options
context:
space:
mode:
Diffstat (limited to 'en/about')
-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 {