Commit 7f20c36a authored by Tails developers's avatar Tails developers

Move information about latest release to tiny files that are included where needed.

The same effect was previously attempted using [[!template ...]] which proved to
be a mess to deal with for HTML and translatable pages.

Note that [[!inline ...]] prepends a newline before the inlined content, which
makes it impossible to use two inline directives in the same URL, hence the
seemingly unnecessary information duplication. At least that information now is
gathered in a central place and not exposed to translators unless needed (i.e.
only the release date is translatable).
parent 72d567ba
......@@ -223,7 +223,7 @@ po_slave_languages:
- es|Español
- fr|Français
# PageSpec controlling which pages are translatable
po_translatable_pages: '!security/audits and !security/audits/* and (about or bug_reporting or chat or customize or download or features or found_a_problem or git or GnuPG_key or index or news or security or security/* or sidebar or stay_tuned or support or support/* or talk-dev or talk-users or tarball or torrents or upgrade or wishlist)'
po_translatable_pages: '!security/audits and !security/audits/* and (about or bug_reporting or chat or customize or download or features or found_a_problem or git or GnuPG_key or inc/stable_i386_date or index or news or security or security/* or sidebar or stay_tuned or support or support/* or talk-dev or talk-users or tarball or torrents or upgrade or wishlist)'
# internal linking behavior (default/current/negotiated)
po_link_to: current
......
......@@ -198,7 +198,7 @@ po_slave_languages:
- es|Español
- fr|Français
# PageSpec controlling which pages are translatable
po_translatable_pages: '!security/audits and !security/audits/* and (about or bug_reporting or chat or customize or download or features or found_a_problem or git or GnuPG_key or index or news or security or security/* or sidebar or stay_tuned or support or support/* or talk-dev or talk-users or tarball or torrents or upgrade or wishlist)'
po_translatable_pages: '!security/audits and !security/audits/* and (about or bug_reporting or chat or customize or download or features or found_a_problem or git or GnuPG_key or inc/stable_i386_date or index or news or security or security/* or sidebar or stay_tuned or support or support/* or talk-dev or talk-users or tarball or torrents or upgrade or wishlist)'
# internal linking behavior (default/current/negotiated)
po_link_to: current
......
......@@ -140,7 +140,7 @@ Write an announce listing the security bugs affecting the previous version in
`security/` in order to let the users of the old versions know that they have to
upgrade.
Update the latest version in `sidebar.html`.
Update the latest version and related information in `inc/*`.
Replace tags todo/pending and bugs/pending with todo/done and done
tags.
......
......@@ -36,8 +36,8 @@ download it, use it and share it without restriction.</strong>
<h3>Latest release</h3>
<p>
<a id='http-pool' href='http://dl.amnesia.boum.org/tails/stable/tails-i386-0.7/tails-i386-0.7.iso'>
Tails 0.7
<a id='http-pool' href=[[!inline pages="inc/stable_i386_iso_url" raw="yes"]]>
Tails [[!inline pages="inc/stable_i386_version" raw="yes"]]
</a>
</p>
......@@ -130,7 +130,7 @@ download it, use it and share it without restriction.</strong>
<h2><a name="verify-the-iso-with-terminal"></a>Using the command line (faster, Linux and Mac)</h2>
<p>Download the file <a
href="http://dl.amnesia.boum.org/tails/stable/tails-i386-0.7/tails-i386-0.7.iso.sha256">tails-i386-0.7.iso.sha256</a>
href=[[!inline pages="inc/stable_i386_hash_url" raw="yes"]]>tails-i386-[[!inline pages="inc/stable_i386_version" raw="yes"]].iso.sha256</a>
containing the SHA-256 hash in the same directory as the ISO image you
downloaded.</p>
......@@ -157,7 +157,7 @@ download it, use it and share it without restriction.</strong>
<p>Select with your cursor the following hash:</p>
<pre>fd95926c203fc5bff619573c4c040056cdd9b692ecca11e34b4b7bbec5fffe06</pre>
<pre>[[!inline pages="inc/stable_i386_hash" raw="yes"]]</pre>
<p>Right-click on it and choose "Selected hash (256)" from the
contextual menu:</p>
......
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2011-05-15 14:50+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Content of: outside any tag (error?)
msgid "April 30, 2011"
msgstr ""
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2011-05-15 14:50+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Content of: outside any tag (error?)
msgid "April 30, 2011"
msgstr ""
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2011-05-15 14:50+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Content of: outside any tag (error?)
msgid "April 30, 2011"
msgstr ""
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2011-05-15 14:50+0300\n"
"PO-Revision-Date: 2011-05-15 14:51+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Content of: outside any tag (error?)
msgid "April 30, 2011"
msgstr "30 avril 2011"
April 30, 2011
\ No newline at end of file
688ba823f8a9401b67aabc60a0366c80a17916bd44aa446a8ba9f770df50e943
\ No newline at end of file
http://dl.amnesia.boum.org/tails/stable/tails-i386-0.7.1/tails-i386-0.7.1.iso.sha256
\ No newline at end of file
http://dl.amnesia.boum.org/tails/stable/tails-i386-0.7.1/tails-i386-0.7.1.iso
\ No newline at end of file
0.7.1
\ No newline at end of file
......@@ -7,8 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2011-04-29 17:10+0300\n"
"PO-Revision-Date: 2011-04-29 17:11+0200\n"
"POT-Creation-Date: 2011-05-15 14:46+0300\n"
"PO-Revision-Date: 2011-05-15 14:51+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
......@@ -19,11 +19,10 @@ msgstr ""
#. type: Content of: <div>
msgid ""
"[[<span class=\"tails\">Download Tails</span> <span class=\"release\">Latest "
"release: 0.7.1</span> <span class=\"date\">April 30, 2011</span>|Download]]"
msgstr ""
"[[<span class=\"tails\">Télécharger Tails</span> <span class=\"release"
"\">Dernière version : 0.7.1</span> <span class=\"date\">30 avril 2011</span>|"
"Download]]"
"release: [[!inline pages=\"inc/stable_i386_version\" raw=\"yes\"]]</span> "
"<span class=\"date\">[[!inline pages=\"inc/stable_i386_date\" raw=\"yes\"]]</"
"span>|Download]]"
msgstr "[[<span class=\"tails\">Télécharger Tails</span> <span class=\"release\">Dernière version : [[!inline pages=\"inc/stable_i386_version\" raw=\"yes\"]]</span> <span class=\"date\">[[!inline pages=\"inc/stable_i386_date.fr\" raw=\"yes\"]]</span>|Download]]"
#. type: Content of: <div><ul><li>
msgid "[[About]]"
......
<div class="download">
[[<span class="tails">Download Tails</span>
<span class="release">Latest release: 0.7.1</span>
<span class="date">April 30, 2011</span>|Download]]
</div>
<span class="release">Latest release: [[!inline pages="inc/stable_i386_version" raw="yes"]]</span>
<span class="date">[[!inline pages="inc/stable_i386_date" raw="yes"]]</span>|Download]]</div>
<div class="links">
<ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment