New translations

This commit is contained in:
Ventricule 2018-03-20 17:50:21 +01:00
commit 0f4ce4791b
8 changed files with 44 additions and 44 deletions

View file

@ -147,6 +147,10 @@ img {
width: 15rem; width: 15rem;
} }
.small p {
margin: 0;
}
.small { .small {
font-size: .8rem; font-size: .8rem;
} }

View file

@ -56,19 +56,17 @@ The Jean-Luc typeface was designed and made by Atelier Carvalho Bernau on the oc
Jean-Luc typeface Copyright (c) 2010 Atelier Carvalho Bernau Jean-Luc typeface Copyright (c) 2010 Atelier Carvalho Bernau
*/ */
body > pre {
z-index: 999;
position: absolute;
background: wheat;
}
* { * {
box-sizing: border-box; box-sizing: border-box;
} }
html {
font-size: 16px;
}
body { body {
font-family: "HKGrotesk"; font-family: "HKGrotesk";
font-size: 1.4rem; font-size: 1rem;
} }
p { p {
@ -137,7 +135,6 @@ header {
z-index: 2; z-index: 2;
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
position: relative; position: relative;
font-size: 1rem;
} }
nav { nav {
@ -145,6 +142,8 @@ nav {
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
flex-direction: column; flex-direction: column;
display: flex; display: flex;
font-family: 'spungold';
font-size: 1.2rem;
} }
article { article {
@ -168,8 +167,6 @@ nav ul {
} }
nav li { nav li {
font-family: 'spungold';
font-size: 1.2rem;
padding: 1rem; padding: 1rem;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
} }
@ -222,7 +219,7 @@ iframe {
header .full { header .full {
margin-bottom: 3rem; margin-bottom: 3rem;
font-size: .9rem; max-width: 30rem;
} }
header .colophon { header .colophon {

View file

@ -9,7 +9,7 @@ introduction: |
No registration, no connection, anyone can use and modify a Libreto. No registration, no connection, anyone can use and modify a Libreto.
instance: Utiliser une instance personnalisé pour héberger les pads. instance: Use custom etherpad instance.
name: Libreto name name: Libreto name

View file

@ -9,7 +9,7 @@ introduction: |
Pas d'inscription, pas de connexion, tout le monde peut utiliser et modifier un Libreto. Pas d'inscription, pas de connexion, tout le monde peut utiliser et modifier un Libreto.
instance: Utiliser une instance personnalisé pour héberger les pads. instance: Utiliser une instance etherpad personnalisé.
name: Titre name: Titre

View file

@ -10,36 +10,36 @@ credits: |
Typographies : [HK Grotesk](https://hanken.co), [Spun Gold](http://www.co-bay.com/dasein), [Jean-Luc](http://www.carvalho-bernau.com) Typographies : [HK Grotesk](https://hanken.co), [Spun Gold](http://www.co-bay.com/dasein), [Jean-Luc](http://www.carvalho-bernau.com)
Pads : [Etherpad](http://etherpad.org/), [Framapad](http://framapad.org), [Fairkom Board](https://board.net/) Pads : [Etherpad](http://etherpad.org/), [Framapad](http://framapad.org), [Fairkom Board](https://board.net/)
about: | about: |
**About Libreto** **About**
Un Libreto est un carnet de note collaboratif fondé sur framapad. Libreto est libre, gratuit, et minimaliste. [Plus d'infos](http://libreto.net) Pads of this libreto are hosted by
help: | help: |
## Bienvenue ! — [Libreto](http://libreto.net) est un outil d'écriture et de publication collaboratif basé sur [etherpad](https://etherpad.org). ## Welcome ! — [Libreto](http://libreto.net) is a collaborative notebook based on [etherpad](http://etherpad.org/).
**Pour commencer :** **Get started:**
- Rédigez la liste de vos pads - Write the list of your pads
- Rechargez la page - Reload the page
- Lancez-vous : écrivez sur vos pads ! - Get started: write on your pads!
**Pour partager / collaborer :** **To share / collaborate:**
- Sélectionnez et copiez l'URL - Select and copy the URL
- Partagez-là ! - Share it!
**Pour diffuser :** **To spread:**
- exportez sous forme de livre, de PDF ou de document ODT - export as a book, PDF or ODT document
**Pour personnaliser :** **To customize:**
- Créez une feuille de style en ajoutant un pad style.css à votre menu - Use a stylesheet by adding a style.css pad to your menu
## Plus d'options : ----
**Menu** **Menu**
For each pad, you can add options in parentheses. Example :
*Exemple :* `Mon pad (url: http://url.pad color: blue)`
Mon pad (url: http://url.pad) **url** : address of an existing pad
*Options :* **color** : [color name](https://htmlcolorcodes.com/color-names) / [hexadecimal code](https://htmlcolorcodes.com/color-chart)
**url** : adresse d'un pad existant
**color** : [nom d'une couleur](https://htmlcolorcodes.com/color-names) / [code hexadecimal](https://htmlcolorcodes.com/color-chart)
**visibility** : visible / private / hidden **visibility** : visible / private / hidden
**Exporter un livre** ----
Créez une feuille de style pour le livre en ajoutant un pad book.css à votre menu
**Book export**
Use a stylesheet for your book by adding a book.css pad to your menu

View file

@ -6,12 +6,12 @@ download: Télécharger
update: Mettre à jour update: Mettre à jour
credits: | credits: |
**Crédits** **Crédits**
Graphisme & programmation : [Pierre Tandille](http://lecollecteur.fr) Libreto : [Pierre Tandille](http://lecollecteur.fr)
Pads : [Etherpad](http://etherpad.org/)
Typographies : [HK Grotesk](https://hanken.co), [Spun Gold](http://www.co-bay.com/dasein), [Jean-Luc](http://www.carvalho-bernau.com) Typographies : [HK Grotesk](https://hanken.co), [Spun Gold](http://www.co-bay.com/dasein), [Jean-Luc](http://www.carvalho-bernau.com)
Pads : [Etherpad](http://etherpad.org/), [Framapad](http://framapad.org), [Fairkom Board](https://board.net/)
about: | about: |
**À propos** **À propos**
Un Libreto est un carnet de note collaboratif fondé sur framapad. Libreto est libre, gratuit, et minimaliste. [Plus d'infos](http://libreto.net) Les pads de ce libreto sont hébergés par
help: | help: |
## Bienvenue ! — [Libreto](http://libreto.net) est un outil d'écriture et de publication collaboratif basé sur [etherpad](https://etherpad.org). ## Bienvenue ! — [Libreto](http://libreto.net) est un outil d'écriture et de publication collaboratif basé sur [etherpad](https://etherpad.org).
@ -25,17 +25,16 @@ help: |
- Partagez-là ! - Partagez-là !
**Pour diffuser :** **Pour diffuser :**
- exportez sous forme de livre, de PDF ou de document ODT - Exportez sous forme de livre, de PDF ou de document ODT
**Pour personnaliser :** **Pour personnaliser :**
- Créez une feuille de style en ajoutant un pad style.css à votre menu - Ajouter un pad style.css à votre menu pour personnaliser l'apparence du libreto.
---- ----
**Menu** **Menu**
Pour chaque pad, vous pouvez ajoutez des options entre parenthèses. Exemple : Pour chaque pad, vous pouvez ajoutez des options entre parenthèses. Exemple :
`Mon pad (url: http://url.pad color: blue)` `Mon pad (url: http://url.pad color: blue)`
*Options disponibles*
**url** : adresse d'un pad existant **url** : adresse d'un pad existant
**color** : [nom d'une couleur](https://htmlcolorcodes.com/color-names) / [code hexadecimal](https://htmlcolorcodes.com/color-chart) **color** : [nom d'une couleur](https://htmlcolorcodes.com/color-names) / [code hexadecimal](https://htmlcolorcodes.com/color-chart)
**visibility** : visible / private / hidden **visibility** : visible / private / hidden

View file

@ -4,7 +4,7 @@
<?= l("help") ?> <?= l("help") ?>
<hr> <hr>
<div class="colophon"> <div class="colophon">
<div><?= l('about') ?></div> <div><?= l('about') ?> <a href="<?= $libreto->provider('url') ?>" target="_blank"><?= $libreto->provider('name') ?></a></div>
<div><?= l('credits') ?></div> <div><?= l('credits') ?></div>
</div> </div>
<button class="switch">×</button> <button class="switch">×</button>

View file

@ -3,7 +3,6 @@
<ul class="helpers"> <ul class="helpers">
<li class='switcher_button <?= $_SESSION['mode'] == 'read' ? 'active' : ''; ?>'><a href="?mode=read"><?= l("read", false) ?></a></li> <li class='switcher_button <?= $_SESSION['mode'] == 'read' ? 'active' : ''; ?>'><a href="?mode=read"><?= l("read", false) ?></a></li>
<li class='switcher_button <?= $_SESSION['mode'] == 'write' ? 'active' : ''; ?>'><a href="?mode=write"><?= l("write", false) ?></a></li> <li class='switcher_button <?= $_SESSION['mode'] == 'write' ? 'active' : ''; ?>'><a href="?mode=write"><?= l("write", false) ?></a></li>
<li class='' style="flex: 0;"><a href='' class="refresh" data-name-encoded='' alt='<?= l("update", false) ?>'></a></li>
</ul> </ul>
<ul class="menu"> <ul class="menu">
@ -20,6 +19,7 @@
<ul class="helpers"> <ul class="helpers">
<li class=""><a href='/bindery/<?= $libreto->name() ?>' class="" data-name-encoded=''><?= l("export", false) ?></a></li> <li class=""><a href='/bindery/<?= $libreto->name() ?>' class="" data-name-encoded=''><?= l("export", false) ?></a></li>
<li class=""><a href='/export/<?= $libreto->name() ?>' class="" data-name-encoded='' download><?= l("download", false) ?></a></li> <li class=""><a href='/export/<?= $libreto->name() ?>' class="" data-name-encoded='' download><?= l("download", false) ?></a></li>
<li class='' style="flex: 0;"><a href='' class="refresh" data-name-encoded='' alt='<?= l("update", false) ?>'></a></li>
</ul> </ul>
<?php endif; ?> <?php endif; ?>
</nav> </nav>