dash-docs/_layouts/base-fr.html
Saivann 21441d310d Handle urls translations automatically in pages
Internal page urls are now all declared once in _config.yml for each language
Translators can translate file and anchor urls without needing to manually update all pages
2013-04-25 18:32:51 -04:00

90 lines
4.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
lang: fr
menufor:
bitcoin-for-individuals: Particuliers
bitcoin-for-businesses: Entreprises
bitcoin-for-developers: Développeurs
bitcoin-for-enthusiasts: Passionnés
menu:
how-it-works: Comment ça marche
vocabulary: Vocabulaire
resources: Ressources
community: Communauté
development: Développement
foundation: Fondation
about: À propos
button:
wallet: Choisissez votre porte-monnaie
know: Vous devez savoir
support: Supporter Bitcoin
footer: © Bitcoin Project 20092013 Publié sous la <a href="http://creativecommons.org/licenses/MIT/" target="_blank">licence MIT</a>
---
<!DOCTYPE HTML>
<html lang="{{ page.lang }}">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta property="og:image" content="http://bitcoin.org/img/opengraph.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>{{ page.title }}</title>
{% lesscss main.less %}
<script type="text/javascript" src="/js/main.js"></script>
<link rel="shortcut icon" href="/favicon.png">
<link rel="apple-touch-icon-precomposed" href="/img/logo_ios.png"/>
</head>
<body>
{% if site.ALERT or site.ALERT_fr %}
{% if site.ALERT_CLASS %}{% assign class = site.ALERT_CLASS%}{% endif %}{% if site.ALERT_CLASS_fr %}{% assign class = site.ALERT_CLASS_fr%}{% endif %}
{% if site.ALERT %}{% assign alert = site.ALERT%}{% endif %}{% if site.ALERT_fr %}{% assign alert = site.ALERT_fr%}{% endif %}
<div class="alert-message {{ class }}">
<div><div>{{ alert }}</div></div>
</div>
{% endif %}
<div id="head"><div>
<select id="langselect" onchange="window.location=this.value;">
{% for lang in site.langs %}{% assign la = lang[0]%}{% if lang[0] == page.lang %}{% assign active = ' selected="selected"'%}{% else %}{% assign active = ''%}{% endif %}
<option value="/{{ lang[0] }}/{{ site.section[page.id][la] }}"{{ active }}>{{ lang[1] }}</option>
{% endfor %}
</select>
<ul id="lang">
<li><a href="#" onclick="return false;">{{ site.langs[page.lang] }}</a>
<ul>
{% for lang in site.langs %}{% if lang[0] != page.lang %}{% assign la = lang[0]%}
<li><a href="/{{ lang[0] }}/{{ site.section[page.id][la] }}">{{ lang[1] }}</a></li>
{% endif %}{% endfor %}
</ul>
</li>
</ul>
<a id="logo" href="/{{ page.lang }}/"><img src="/img/logotop.svg" alt="Bitcoin"></a>
<a href="#" id="menumobile" onclick="mobileshow(event);"></a>
<ul id="menufor">
{% for link in page.menufor %}{% assign id = link[0]%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link[1] }}</a></li>
{% endfor %}
</ul>
<ul id="menu">
{% for link in page.menu %}{% assign id = link[0]%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link[1] }}</a></li>
{% endfor %}
</ul>
</div></div>
<div id="body">
<div id="content"{% if page.mode == "wide" %} class="wide"{% endif %}>
{{ content }}
</div>
<div id="rightbox"{% if page.mode == "wide" %} class="wide"{% endif %}>
<div id="choose">
<a href="/{{page.lang}}/{{site.section.choose-your-wallet[page.lang]}}"><img src="/img/but_start.svg" alt="{{page.button.wallet}}">{{page.button.wallet}}</a>
</div>
<div id="before">
<a href="/{{page.lang}}/{{site.section.you-need-to-know[page.lang]}}"><img src="/img/but_warn.svg" alt="{{page.button.know}}">{{page.button.know}}</a>
</div>
<div id="support">
<a href="/{{page.lang}}/{{site.section.support-bitcoin[page.lang]}}"><img src="/img/but_involve.svg" alt="{{page.button.support}}">{{page.button.support}}</a>
</div>
</div>
<div id="footer"><div>{{page.footer}}</div></div>
</div>
<script type="text/javascript">svgfallback();</script>
</body>
</html>