From 0f4ce4791b0d55f54e3e386e303435bff6c9c530 Mon Sep 17 00:00:00 2001 From: Ventricule Date: Tue, 20 Mar 2018 17:50:21 +0100 Subject: [PATCH] New translations --- libreto/assets/style-index.css | 4 +++ libreto/assets/style.css | 19 ++++++-------- views/languages/home.en.yml | 2 +- views/languages/home.fr.yml | 2 +- views/languages/libreto.en.yml | 46 ++++++++++++++++----------------- views/languages/libreto.fr.yml | 11 ++++---- views/snippets/introduction.php | 2 +- views/snippets/nav.php | 2 +- 8 files changed, 44 insertions(+), 44 deletions(-) diff --git a/libreto/assets/style-index.css b/libreto/assets/style-index.css index fbcee7d..9ecac6b 100644 --- a/libreto/assets/style-index.css +++ b/libreto/assets/style-index.css @@ -147,6 +147,10 @@ img { width: 15rem; } +.small p { + margin: 0; +} + .small { font-size: .8rem; } diff --git a/libreto/assets/style.css b/libreto/assets/style.css index 7e0638d..4b7fe94 100644 --- a/libreto/assets/style.css +++ b/libreto/assets/style.css @@ -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 */ -body > pre { - z-index: 999; - position: absolute; - background: wheat; -} - * { box-sizing: border-box; } +html { + font-size: 16px; +} + body { font-family: "HKGrotesk"; - font-size: 1.4rem; + font-size: 1rem; } p { @@ -137,7 +135,6 @@ header { z-index: 2; border-right: 1px solid #ddd; position: relative; - font-size: 1rem; } nav { @@ -145,6 +142,8 @@ nav { border-right: 1px solid #ddd; flex-direction: column; display: flex; + font-family: 'spungold'; + font-size: 1.2rem; } article { @@ -168,8 +167,6 @@ nav ul { } nav li { - font-family: 'spungold'; - font-size: 1.2rem; padding: 1rem; border-bottom: 1px solid #ddd; } @@ -222,7 +219,7 @@ iframe { header .full { margin-bottom: 3rem; - font-size: .9rem; + max-width: 30rem; } header .colophon { diff --git a/views/languages/home.en.yml b/views/languages/home.en.yml index 718caf3..5d61bf9 100644 --- a/views/languages/home.en.yml +++ b/views/languages/home.en.yml @@ -9,7 +9,7 @@ introduction: | 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 diff --git a/views/languages/home.fr.yml b/views/languages/home.fr.yml index cb96050..99c672f 100644 --- a/views/languages/home.fr.yml +++ b/views/languages/home.fr.yml @@ -9,7 +9,7 @@ introduction: | 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 diff --git a/views/languages/libreto.en.yml b/views/languages/libreto.en.yml index 3872ee0..734db1a 100644 --- a/views/languages/libreto.en.yml +++ b/views/languages/libreto.en.yml @@ -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) Pads : [Etherpad](http://etherpad.org/), [Framapad](http://framapad.org), [Fairkom Board](https://board.net/) about: | - **About Libreto** - Un Libreto est un carnet de note collaboratif fondé sur framapad. Libreto est libre, gratuit, et minimaliste. [Plus d'infos](http://libreto.net) + **About** + Pads of this libreto are hosted by 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 :** - - Rédigez la liste de vos pads - - Rechargez la page - - Lancez-vous : écrivez sur vos pads ! + **Get started:** + - Write the list of your pads + - Reload the page + - Get started: write on your pads! - **Pour partager / collaborer :** - - Sélectionnez et copiez l'URL - - Partagez-là ! + **To share / collaborate:** + - Select and copy the URL + - Share it! - **Pour diffuser :** - - exportez sous forme de livre, de PDF ou de document ODT + **To spread:** + - export as a book, PDF or ODT document - **Pour personnaliser :** - - Créez une feuille de style en ajoutant un pad style.css à votre menu + **To customize:** + - Use a stylesheet by adding a style.css pad to your menu - ## Plus d'options : + ---- **Menu** - - *Exemple :* - Mon pad (url: http://url.pad) - *Options :* - **url** : adresse d'un pad existant - **color** : [nom d'une couleur](https://htmlcolorcodes.com/color-names) / [code hexadecimal](https://htmlcolorcodes.com/color-chart) + For each pad, you can add options in parentheses. Example : + `Mon pad (url: http://url.pad color: blue)` + **url** : address of an existing pad + **color** : [color name](https://htmlcolorcodes.com/color-names) / [hexadecimal code](https://htmlcolorcodes.com/color-chart) **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 diff --git a/views/languages/libreto.fr.yml b/views/languages/libreto.fr.yml index 9bc0014..81102d1 100644 --- a/views/languages/libreto.fr.yml +++ b/views/languages/libreto.fr.yml @@ -6,12 +6,12 @@ download: Télécharger update: Mettre à jour credits: | **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) - Pads : [Etherpad](http://etherpad.org/), [Framapad](http://framapad.org), [Fairkom Board](https://board.net/) about: | **À 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: | ## 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à ! **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 :** - - 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** Pour chaque pad, vous pouvez ajoutez des options entre parenthèses. Exemple : `Mon pad (url: http://url.pad color: blue)` - *Options disponibles* **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 diff --git a/views/snippets/introduction.php b/views/snippets/introduction.php index 91d4d46..1038e74 100644 --- a/views/snippets/introduction.php +++ b/views/snippets/introduction.php @@ -4,7 +4,7 @@
-
+
provider('name') ?>
diff --git a/views/snippets/nav.php b/views/snippets/nav.php index 48b15bb..d34a485 100644 --- a/views/snippets/nav.php +++ b/views/snippets/nav.php @@ -3,7 +3,6 @@