aboutsummaryrefslogtreecommitdiffstats
path: root/en
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2021-02-28 22:22:16 +0100
committerfilip <filip.komar@gmail.com>2021-02-28 22:22:16 +0100
commit95f825b4a50aa3c09498d58f53d6326cc2af69bb (patch)
treecc2a2bfa5aac2dc7704f1f0e40f80ef447f5e6aa /en
parent906427113f0a87a45b19f46f175a4ef39ff40009 (diff)
downloadwww-95f825b4a50aa3c09498d58f53d6326cc2af69bb.tar
www-95f825b4a50aa3c09498d58f53d6326cc2af69bb.tar.gz
www-95f825b4a50aa3c09498d58f53d6326cc2af69bb.tar.bz2
www-95f825b4a50aa3c09498d58f53d6326cc2af69bb.tar.xz
www-95f825b4a50aa3c09498d58f53d6326cc2af69bb.zip
smaller number of strings to translate as suggested by Masanori
Diffstat (limited to 'en')
-rw-r--r--en/index.php2
-rw-r--r--en/timeline/index.php23
2 files changed, 13 insertions, 12 deletions
diff --git a/en/index.php b/en/index.php
index 9735cf8bf..49ca4f79a 100644
--- a/en/index.php
+++ b/en/index.php
@@ -361,7 +361,7 @@ $rtl = is_locale_rtl($locale);
<svg version="1.1" viewBox="0 0 774 236.92" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><metadata><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title/></cc:Work></rdf:RDF></metadata><g transform="translate(-125 -521.36)"><g transform="translate(-.20804 7.0001)" fill="#2397d4"><path class="bubble" d="m177.89 597.13h-0.01c-6.6729 0-12.107-5.4267-12.114-12.095-0.01-6.6905 5.4251-12.125 12.104-12.132 6.683 0 12.116 5.4267 12.124 12.095 0 6.6905-5.4251 12.126-12.104 12.133z"/><path class="bubble" d="m210.61 588.24c-6.2309 0-11.302-5.0662-11.307-11.292-0.01-6.242 5.0612-11.316 11.296-11.321 6.2392 0 11.311 5.0651 11.317 11.291 0 6.242-5.0622 11.316-11.296 11.323h-0.01z"/><path class="bubble" d="m201.3 555.96c0 5.5755-4.5198 10.095-10.095 10.095s-10.095-4.5199-10.095-10.095c0-5.5756 4.5198-10.095 10.095-10.095s10.095 4.5198 10.095 10.095z" stroke-width="1.4422"/><path class="bubble" d="m216.65 539c0 5.1294-4.1581 9.2875-9.2875 9.2875s-9.2875-4.1581-9.2875-9.2875 4.1581-9.2875 9.2875-9.2875 9.2875 4.1581 9.2875 9.2875z" stroke-width=".80761"/><path class="bubble" d="m195.65 522.44c0 4.4603-3.6158 8.0761-8.0761 8.0761s-8.0761-3.6158-8.0761-8.0761 3.6158-8.0761 8.0761-8.0761 8.0761 3.6158 8.0761 8.0761z" stroke-width=".76915"/></g><path class="cauldron" d="m143.93 615.04c-10.45 13.545-18.926 28.781-18.926 47.238 0 40.006 30.358 73 68 73 37.64 0 68-32.993 68-73 0-18.461-8.4889-33.212-19.53-47.238-4.1402-4.3446-10.118-3.6986-14.469-0.91856-12.733 6.5886-19.606 9.2209-34.001 9.1565-13.922-0.0624-21.237-2.336-33.97-9.2774-4.3514-2.6592-10.964-3.3052-15.104 1.0394zm9.0742 11.238c13.198 7.2975 24.969 11 40 11 15.044 0 26.795-3.7025 40-11 7.2055 10.16 14 22.758 14 36 0 32.801-24.175 59-54 59-29.826 0-55-26.199-55-59 0-13.225 7.7788-25.832 15-36z" color="#000000" fill="#262f45" style="text-indent:0;text-transform:none"/><path class="text" d="m346 632.28c-24 0-42 18-42 42v40h12v-40c0-18 12-30 30-30s30 12 30 30v40h12v-40c0-18 12-30 30-30s30 12 30 30v40h12v-40c0-24-18-42-42-42-15.665 0-28.784 7.6868-36 19.687-7.2157-12.001-20.335-19.687-36-19.687z" fill="#262f45"/><path class="text" d="m521 632.28c-24 0-42 18-42 42s18 42 42 42c12 0 22.5-4.5 30-12v10h12v-40c0-24-18-42-42-42zm0 12c18 0 30 12 30 30s-12 30-30 30-30-12-30-30 12-30 30-30z" fill="#262f45"/><path class="text" d="m623 632.28c-24 0-42 18-42 42s18 42 42 42c12 0 22.5-4.5 30-12v12c0 18-12 30-30 30v12c24 0 42-18 42-42v-42c0-24-18-42-42-42zm0 12c18 0 30 12 30 30s-12 30-30 30-30-12-30-30 12-30 30-30z" fill="#262f45"/><path class="text" d="m725 632.28c-24 0-42 18-42 42s18 42 42 42v-12c-15.908 0-27.106-9.3968-29.5-24h71.125c0.25558-1.9564 0.375-3.9482 0.375-6 0-24-18-42-42-42zm0 12c15.908 0 27.106 9.397 29.5 24h-59c2.3939-14.603 13.592-24 29.5-24z" fill="#262f45"/><path class="text" d="m785 634.28h12v80h-12z" fill="#262f45"/><path class="text" d="m791 745.28c-4.9706 0-9-4.0294-9-9 0-4.9705 4.0294-8.9999 9-8.9999 4.9705 0 9 4.0294 9 8.9999 0 4.9706-4.0295 9-9 9z" fill="#2397d4"/><path class="text" d="m857 632.28c-24 0-42 18-42 42s18 42 42 42c12 0 22.5-4.5 30-12v10h12v-40c0-24-18-42-42-42zm0 12c18 0 30 12 30 30s-12 30-30 30-30-12-30-30 12-30 30-30z" fill="#262f45"/></g></svg>
</span>
<span style="font-size: 32px; color: green; float: right;" class="icon-download-alt"></span>
- <span class="dl-btn free-dl"><?php _g('Mageia 8'); /* _g('Mageia 8.1'); */?></span>
+ <span class="dl-btn free-dl"><?php _g('Mageia %s', array(_r('8'))); /* _r('8.1')*/?></span>
<span class="dl-btn"><?php _g('released in February 2021'); ?></span>
</a>
diff --git a/en/timeline/index.php b/en/timeline/index.php
index a59a7e28d..51d22a308 100644
--- a/en/timeline/index.php
+++ b/en/timeline/index.php
@@ -38,43 +38,44 @@ function list_events($events = array(), $rtl = false)
$events = array(
_r('2021') => array(
- _r('February') => array(sprintf(_r('<a href=%s>Mageia 8</a> is released.'), '"../7/"')),
+ _r('February') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../8/"', '8')),
),
_r('2019') => array(
- _r('June') => array(sprintf(_r('<a href=%s>Mageia 7</a> is released.'), '"../7/"')),
+ _r('July') => array(sprintf(_r('<a href=%1$s>Mageia %2$s</a> updated to %3$s.'), '"../7/"', '7', _r('7.1'))),
+ _r('June') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../7/"', '7')),
),
_r('2018') => array(
- _r('October') => array(sprintf(_r('<a href=%s>Mageia 6</a> updated to 6.1.'), '"../6/"')),
+ _r('October') => array(sprintf(_r('<a href=%1$s>Mageia %2$s</a> updated to %3$s.'), '"../6/"', '6', _r('6.1'))),
),
_r('2017') => array(
- _r('July') => array(sprintf(_r('<a href=%s>Mageia 6</a> is released.'), '"../6/"')),
+ _r('July') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../6/"', '6')),
_r('February') => array(_r('Seventh General Assembly during FOSDEM in Brussels, Belgium.')),
),
_r('2016') => array(
- _r('December') => array(sprintf(_r('<a href=%s>Mageia 5</a> updated to 5.1.'), '"../5/"')),
+ _r('December') => array(sprintf(_r('<a href=%1$s>Mageia %2$s</a> updated to %3$s.'), '"../5/"', '5', _r('5.1'))),
_r('February') => array(_r('Sixth General Assembly during FOSDEM in Brussels, Belgium.')),
),
_r('2015') => array(
- _r('June') => array(sprintf(_r('<a href=%s>Mageia 5</a> is released.'), '"../5/"')),
+ _r('June') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../5/"', '5')),
_r('February') => array(_r('Fifth General Assembly during FOSDEM in Brussels, Belgium.')),
),
_r('2014') => array(
- _r('June') => array(sprintf(_r('<a href=%s>Mageia 4</a> updated to 4.1.'), '"../4/"')),
+ _r('June') => array(sprintf(_r('<a href=%1$s>Mageia %2$s</a> updated to %3$s.'), '"../4/"', '4', _r('4.1'))),
_r('February') => array(
- _r('<a href="/4/">Mageia 4</a> is released.'),
+ sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../4/"', '4'),
_r('Fourth General Assembly during FOSDEM in Brussels, Belgium.'),
),
),
_r('2013') => array(
- _r('May') => array(_r('<a href="/3/">Mageia 3</a> is released.')),
+ _r('May') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../3/"', '3')),
_r('February') => array(_r('Third General Assembly during FOSDEM in Brussels, Belgium.')),
),
_r('2012') => array(
- _r('May') => array(_r('<a href="/2/">Mageia 2</a> is released.')),
+ _r('May') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../2/"', '2')),
_r('February') => array(_r('Second General Assembly during FOSDEM in Brussels, Belgium.')),
),
_r('2011') => array(
- _r('June') => array(_r('<a href="/1/">Mageia 1</a> is released.')),
+ _r('June') => array(sprintf(_r('<a href=%s>Mageia %s</a> is released.'), '"../1/"', '1')),
_r('February') => array(_r('First General Assembly during FOSDEM in Brussels, Belgium.')),
_r('January') => array(_r('Build system is ready to run for the first alpha ISOs.')),
),