Skip to content

Commit

Permalink
Updated french a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
neauoire committed May 27, 2017
1 parent 0bee0b2 commit e0fce39
Show file tree
Hide file tree
Showing 9 changed files with 107 additions and 85 deletions.
73 changes: 3 additions & 70 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,72 +1,5 @@
## Characters
# Build

- Owl, wise
- Fox, cunning
- Cat, predator
- Bat, patient
Simply replace en, with ru, jp or li to build other languages.

## Per Character

CAT(ROOM)
1 Look at room(awaken) "Cat awakens"
2 Claw on walls "Cat cannot break out"
3 Destroy pen, paper "Cat destroys the pen and paper"
4 Destroy desk "Cat destroys the desk"
5 Enter desk "Cat enters the desk"

OWL(PAPER)
1 Looks at paper "Owl finds a piece of paper"
2 Begins to write a manuscript "Owl leaves a drawing in the desk"
3 Writes on the walls "Owl write on walls"
4 Reads long manuscripts in desk "Owl finds notes in the desk"
5 Attempt translation, mathematics ""

BAT(PEN)
1 Looks at pen "Bat finds the pen"
2 Places pen in desk, gets 2 pens "Bat finds another pen in the desk"
3 Bat opens desk with multiple pens in it.
4 Leaves desk open, lives for a long time(Constructions?)
5 Draw clone friend drawing(Origami habitat)

FOX(DESK)
1 open desk "Fox opens the desk"
2 dismantle desk "Fox dismantle desk"
3 build desk inside-out "Fox build desk inside-out"
4 someone spawns from desk Friend "Fox watches as someone emerges from the desk"
5 someone spawns from desk Foe "Fox watches as Cat emerges from the desk with a pen"

## Preface:

You wake up in a room, a wooden bedside table with a piece of blank paper and pencil lies in front of you. The walls of the room are white of an unbreakable matter, the room is about 4 square meters. Inside the furniture, pages with notes written with your handwritting, you have no recollection.

You wake up in a room, a wooden bedside table, a blank page and a pencil. You write something.

You wake up, documents found in the desk warns you about the room. You hide inside.

You don't fall asleep, when you open the door, you are also standing outside. You exchange sights, you both realize that only one can fit inside the desk. You should have a brought the pencil with you, you failed to defend yourself.

Manuscripts tells of the persistance of the inside of the desk, you are wise, you build it inside out. You don't fall asleep, another you eventually emerge from the desk with a pencil and a piece of paper.

You wake up, you find a limb inside the furniture.

You have been awake for days, sitting on the furniture, you await the moment when the door will open again and you can add a stroke to your page, a corpse to the floor.

## Extra

### Ultimate death

Leave desk open, kill yourself.

### Kübler-Ross model

Denial – The first reaction is denial. In this stage individuals believe the diagnosis is somehow mistaken, and cling to a false, preferable reality.

Anger – When the individual recognizes that denial cannot continue, they become frustrated, especially at proximate individuals. Certain psychological responses of a person undergoing this phase would be: "Why me? It's not fair!"; "How can this happen to me?"; "Who is to blame?"; "Why would this happen?".

Bargaining – The third stage involves the hope that the individual can avoid a cause of grief. Usually, the negotiation for an extended life is made in exchange for a reformed lifestyle. People facing less serious trauma can bargain or seek compromise. For instance: "I'd give anything to have him back." Or: "If only he'd come back to life, I'd promise to be a better person!"

Depression – "I'm so sad, why bother with anything?"; "I'm going to die soon, so what's the point?"; "I miss my loved one, why go on?"
During the fourth stage, the individual despairs at the recognition of their mortality. In this state, the individual may become silent, refuse visitors and spend much of the time mournful and sullen.

Acceptance – "It's going to be okay."; "I can't fight it; I may as well prepare for it."
In this last stage, individuals embrace mortality or inevitable future, or that of a loved one, or other tragic event. People dying may precede the survivors in this state, which typically comes with a calm, retrospective view for the individual, and a stable condition of emotions.
```ruby main.rb en```
Binary file added assets/azuki.ttf
Binary file not shown.
4 changes: 4 additions & 0 deletions core/pages/chapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ def initialize chapter, loc_text
@style = {}
@style["h1"] = "position:absolute; top:40%; display:block; text-align:center; margin-top:-13px;font-size:40px; width:100%; font-weight: normal"
@style["img"] = "width: 300px;height: 300px;position: absolute;top: calc(50%);left: calc(50% - 150px)"
@style["h1 grave"] = "display: inline;background-image: url(assets/accent.grave.svg);background-position: 2px 5px !important"
@style["h1 aigue"] = "display:inline; background-image:url(assets/accent.aigue.svg); background-position:center 0px"
@style["h1 cedil"] = "display:inline; background-image:url(assets/accent.cedil.svg); background-position:3px 13px"


end

Expand Down
31 changes: 31 additions & 0 deletions core/pages/thank.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/env ruby
# encoding: utf-8

require_relative "../page.rb"

class ThankPage

include Page

def initialize loc_text = nil

@type = "thank"
@text = loc_text[$lang] ? loc_text[$lang] : loc_text[:en]
@is_increment = true

@style = {}
@style["p"] = "padding:40px; font-size:26px; line-height:36px"
@style["h1"] = "font-weight: normal;text-transform: uppercase;display: block;text-align: center;font-size: 36px;margin-top: 120px;margin-bottom: 40px"

@thanks = @text[0]
@names = @text[1]

end

def content

return "<h1>#{@thanks}</h1><p>#{@names}</p>"

end

end
1 change: 1 addition & 0 deletions core/pages/title.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def initialize loc_text
@style["h4"] = "display: block;text-align: center;font-size: 18px;margin-top: 40px;font-weight: normal;line-height: 40px;margin-bottom: 40px;text-transform: uppercase "
@style["img"] = "display: block;width: 200px;margin: 0px auto;margin-bottom: 40px"
@style["grave"] = "background-position: center -1px;line-height: 50px;display: inline-block"
@style[".cap"] = "background-position: center -1px;line-height: 50px;display: inline-block"
@style["trema:before"] = "display:none !important"

@text = loc_text[$lang] ? loc_text[$lang] : loc_text[:en]
Expand Down
18 changes: 15 additions & 3 deletions main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
require_relative 'core/pages/preface.rb'
require_relative 'core/pages/chapter.rb'
require_relative 'core/pages/cover.rb'
require_relative 'core/pages/thank.rb'

$lang = ARGV.first.to_sym ? ARGV.first.to_sym : :en

title = {
:en => "Thousand Rooms",
:fr => "Milles Pi<grave>e</grave>ces",
:fr => "Mille Pi<grave>e</grave>ces",
:ru => "Тысяча Комнат",
:jp => "せんへや",
:li => "Lae'Doi"
Expand All @@ -29,7 +30,7 @@

book.add_page(TitlePage.new({
:en => [title[:en],"Cat, Owl, Bat & Fox","Illustrated by Rekka Bellum<br />Written by Devine Lu Linvega","First Edition"],
:fr => [title[:fr],"Chat, Hibou, Chauve-Souris & Renard","Illustr<aigue>e</aigue>e par Rekka Bellum<br /><aigue>E</aigue>crit par Devine Lu Linvega","Premi<grave>e</grave>re <aigue>E</aigue>dition"],
:fr => [title[:fr],"Chat, Hibou, Chauve-Souris & Renard","Illustr<aigue>e</aigue> par Rekka Bellum<br /><aigue class='cap'>E</aigue>crit par Devine Lu Linvega","Premi<grave>e</grave>re <aigue>E</aigue>dition"],
:ru => [title[:ru],"Кошка, Сова, Летучая мышь и Лисёнок","Художник Р. Беллум<br />Под редакцией Д.&#8201;Л. Линвеги","Издание первое"],
:jp => [title[:jp],"ネコ、アウル、バットとキツネ","レッカベラムのイラスト<br />デルリンちょ","しょはん"],
:li => [title[:li],"Es el K<trema>a</trema>t J<trema>o</trema>l V<trema>a</trema>t F<trema>o</trema>j ul","R. Bellum'Fita.<br />D. Lu Linvega'Fide","Lady'Al."]
Expand All @@ -39,7 +40,7 @@

book.add_page(PrefacePage.new({
:en => "You wake up in a room, surrounded by unbreakable walls. On a desk, lies a pencil and a sheet of blank paper.<br/> Inside the desk, notes bearing your handwriting, you have no recollection.",
:fr => "Vous vous r<aigue>e</aigue>veillez dans une pi<grave>e</grave>ce, entour<aigue>e</aigue> de murs incassables. Sur un pupitre se trouve un crayon et une feuille de papier. Dans le pupitre se trouve une note portant votre <aigue>e</aigue>criture, vous ne vous souvenez de rien",
:fr => "Vous vous r<aigue>e</aigue>veillez dans une pi<grave>e</grave>ce, entour<aigue>e</aigue> de murs incassables. Sur un pupitre se trouve un crayon et une feuille de papier. Dans le pupitre, une note portant votre <aigue>e</aigue>criture, vous ne vous souvenez de rien.",
:ru => "Вы проснулись в белой замкнутой комнате. На парте перед вами чистый лист и карандаш. Под крышкой — пачка исписанной вами бумаги, о которой вы ничего не помните.",
:jp => "へやにおきる、こわさないのかべでとりまいている。つくえのうえには、えんぴつとブランクのかみをいる。<br/> つくえのなかには、あたしのてがきのメモがいる。なにもおもいださない。",
:li => "Doki el lyfasi es jof<trema>i</trema>l ul'ok ev lari'fori j<trema>a</trema>f. Todeo'ik ev el tofitay es tofatay ul. Todeo'ok ev doety'tado el lari'tado ul. Lari'fadiro'dijo."
Expand Down Expand Up @@ -253,6 +254,9 @@
:ru => "Последней урок",
:jp => "さいしゅうか",
:li => "Doeti'Lydu"}))

book.add_page(BlankPage.new)

book.add_page(IllustrationPage.new("you.1",{
:en => "What would you do?",
:fr => "Que ferais-tu?",
Expand All @@ -261,6 +265,14 @@
:li => "Lari'if jado."}))

book.add_page(BlankPage.new)

book.add_page(ThankPage.new({
:en => ["Thanks","Ginger Leigh for her creative feedback, RA for his help with the Russian translation, and folks in Montreal for imparting their ideas."],
:fr => ["Merci","Ginger Leigh pour ses commentaires constructifs, RA pour la traduction Russe, et <grave>a</grave> nos amis de Montr<aigue>e</aigue>al pour leurs id<aigue>e</aigue>es."],
:ru => ["Thanks",""],
:jp => ["ありがとう",""],
:li => ["Favify!",""]}))

book.add_page(BlankPage.new)

book.build
10 changes: 10 additions & 0 deletions thousand.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
page.chapter img { width: 300px;height: 300px;position: absolute;top: calc(50%);left: calc(50% - 150px) }
page.illustration img { display: block; width:100%; position:absolute; bottom:0px }
page.illustration h1 { position:absolute; top:100px; display:block; text-align:center; width:calc(100% - 40px); padding:0px 20px; font-size:38px;font-weight: normal }
page.thank p { padding:40px; font-size:26px; line-height:36px }
page.thank h1 { font-weight: normal;text-transform: uppercase;display: block;text-align: center;font-size: 36px;margin-top: 120px;margin-bottom: 40px }
</style>

<page class='cover'>
Expand Down Expand Up @@ -231,6 +233,10 @@ <h1>Fox has too many visitors.</h1>
<h1>Last Lesson</h1><img src='assets/lesson.7.png'/>
</page>

<page class='blank'>

</page>

<page class='illustration'>
<img src='assets/you.1.png'/>
<h1>What would you do?</h1>
Expand All @@ -240,6 +246,10 @@ <h1>What would you do?</h1>

</page>

<page class='thank'>
<h1>Thanks</h1><p>Ginger Leigh for her creative feedback, RA for his help with the Russian translation, and folks in Montreal for imparting their ideas.</p>
</page>

<page class='blank'>

</page>
Expand Down
41 changes: 29 additions & 12 deletions thousand.fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
page grave { display:inline; background-image:url(assets/accent.grave.svg); background-position:center 0px}
page aigue { display:inline; background-image:url(assets/accent.aigue.svg); background-position:center 0px}
page cedil { display:inline; background-image:url(assets/accent.cedil.svg); background-position:center 0px}
page trema { display:inline; background-image:url(assets/accent.trema.svg); background-position:center 0px}
page trema { display: inline-block;background-position: center 0px;height: 15.5px;}
page trema:before { background-color:white; display: inline-block;width: 15px;height: 15px;content: ' ';position: absolute; background-image: url(assets/accent.trema.svg); }
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand All @@ -19,15 +20,23 @@
page.title h4 { display: block;text-align: center;font-size: 18px;margin-top: 40px;font-weight: normal;line-height: 40px;margin-bottom: 40px;text-transform: uppercase }
page.title img { display: block;width: 200px;margin: 0px auto;margin-bottom: 40px }
page.title grave { background-position: center -1px;line-height: 50px;display: inline-block }
page.title .cap { background-position: center -1px;line-height: 50px;display: inline-block }
page.title trema:before { display:none !important }
page.preface p { padding:40px; font-size:26px; line-height:36px }
page.preface trema { display:none !important }
page.chapter h1 { position:absolute; top:40%; display:block; text-align:center; margin-top:-13px;font-size:40px; width:100%; font-weight: normal }
page.chapter img { width: 300px;height: 300px;position: absolute;top: calc(50%);left: calc(50% - 150px) }
page.chapter h1 grave { display: inline;background-image: url(assets/accent.grave.svg);background-position: 2px 5px !important }
page.chapter h1 aigue { display:inline; background-image:url(assets/accent.aigue.svg); background-position:center 0px }
page.chapter h1 cedil { display:inline; background-image:url(assets/accent.cedil.svg); background-position:3px 13px }
page.illustration img { display: block; width:100%; position:absolute; bottom:0px }
page.illustration h1 { position:absolute; top:100px; display:block; text-align:center; width:calc(100% - 40px); padding:0px 20px; font-size:40px;font-weight: normal }
page.illustration h1 { position:absolute; top:100px; display:block; text-align:center; width:calc(100% - 40px); padding:0px 20px; font-size:38px;font-weight: normal }
page.thank p { padding:40px; font-size:26px; line-height:36px }
page.thank h1 { font-weight: normal;text-transform: uppercase;display: block;text-align: center;font-size: 36px;margin-top: 120px;margin-bottom: 40px }
</style>

<page class='cover'>
<img src='assets/cover.svg'/><h1>Milles Pi<grave>e</grave>ces</h1><img class='logo' src='assets/hundred.rabbits.logo.svg'/>
<img src='assets/cover.svg'/><h1>Mille Pi<grave>e</grave>ces</h1><img class='logo' src='assets/hundred.rabbits.logo.svg'/>
</page>

<page class='blank'>
Expand All @@ -36,11 +45,11 @@

<page class='title'>

<h1>Milles Pi<grave>e</grave>ces</h1>
<h1>Mille Pi<grave>e</grave>ces</h1>
<h2>Chat, Hibou, Chauve-Souris & Renard</h2>
<img src='assets/glyph.png'/>
<h3>Illustrated by Rekka Bellum<br />Written by Devine Lu Linvega</h3>
<h4>Premiere Edition</h4>
<h3>Illustr<aigue>e</aigue> par Rekka Bellum<br /><aigue class='cap'>E</aigue>crit par Devine Lu Linvega</h3>
<h4>Premi<grave>e</grave>re <aigue>E</aigue>dition</h4>

</page>

Expand All @@ -49,7 +58,7 @@ <h4>Premiere Edition</h4>
</page>

<page class='preface'>
<p>You wake up in a room, surrounded by white unbreakable walls. On a desk, lies a pencil and a sheet of blank paper.<br/> Inside the desk, notes bearing your handwritting, you have no recollection.</p>
<p>Vous vous r<aigue>e</aigue>veillez dans une pi<grave>e</grave>ce, entour<aigue>e</aigue> de murs incassables. Sur un pupitre se trouve un crayon et une feuille de papier. Dans le pupitre, une note portant votre <aigue>e</aigue>criture, vous ne vous souvenez de rien.</p>
</page>

<page class='blank'>
Expand All @@ -67,7 +76,7 @@ <h1>Chat se r<aigue>e</aigue>veille.</h1>

<page class='illustration'>
<img src='assets/owl.1.png'/>
<h1>Hibou trouve une feuille.</h1>
<h1>Hibou trouve une feuille de papier.</h1>
</page>

<page class='illustration'>
Expand All @@ -77,7 +86,7 @@ <h1>Chauve-souris trouve un crayon.</h1>

<page class='illustration'>
<img src='assets/fox.1.png'/>
<h1>Renard ouvre le pupitre.</h1>
<h1>Renard ouvre le pupitre</h1>
</page>

<page class='blank'>
Expand Down Expand Up @@ -118,7 +127,7 @@ <h1>Troisi<grave>e</grave>me Le<cedil>c</cedil>on</h1><img src='assets/lesson.3.

<page class='illustration'>
<img src='assets/cat.3.png'/>
<h1>Chat d<aigue>e</aigue>truit le crayon et le papier.</h1>
<h1>Chat d<aigue>e</aigue>truit le crayon et la feuille de papier.</h1>
</page>

<page class='illustration'>
Expand All @@ -128,7 +137,7 @@ <h1>Hibou trouve une note dans le pupitre.</h1>

<page class='illustration'>
<img src='assets/bat.3.png'/>
<h1>Chauve-souris trouve plusieur crayons.</h1>
<h1>Chauve-souris trouve plusieurs crayons.</h1>
</page>

<page class='illustration'>
Expand Down Expand Up @@ -207,7 +216,7 @@ <h1>Chat d<aigue>e</aigue>truit le pupitre.</h1>

<page class='illustration'>
<img src='assets/owl.6.png'/>
<h1>Hibou n'a rien compris.</h1>
<h1>Hibou trouve un gribouillage.</h1>
</page>

<page class='illustration'>
Expand All @@ -228,6 +237,10 @@ <h1>Renard a trop de visiteurs.</h1>
<h1>Derni<grave>e</grave>re Le<cedil>c</cedil>on</h1><img src='assets/lesson.7.png'/>
</page>

<page class='blank'>

</page>

<page class='illustration'>
<img src='assets/you.1.png'/>
<h1>Que ferais-tu?</h1>
Expand All @@ -237,6 +250,10 @@ <h1>Que ferais-tu?</h1>

</page>

<page class='thank'>
<h1>Merci</h1><p>Ginger Leigh pour ses commentaires constructifs, RA pour la traduction Russe, et <grave>a</grave> nos amis de Montr<aigue>e</aigue>al pour leurs id<aigue>e</aigue>es.</p>
</page>

<page class='blank'>

</page>
Expand Down
14 changes: 14 additions & 0 deletions thousand.li.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,19 @@
page.title h4 { display: block;text-align: center;font-size: 18px;margin-top: 40px;font-weight: normal;line-height: 40px;margin-bottom: 40px;text-transform: uppercase }
page.title img { display: block;width: 200px;margin: 0px auto;margin-bottom: 40px }
page.title grave { background-position: center -1px;line-height: 50px;display: inline-block }
page.title .cap { background-position: center -1px;line-height: 50px;display: inline-block }
page.title trema:before { display:none !important }
page.preface p { padding:40px; font-size:26px; line-height:36px }
page.preface trema { display:none !important }
page.chapter h1 { position:absolute; top:40%; display:block; text-align:center; margin-top:-13px;font-size:40px; width:100%; font-weight: normal }
page.chapter img { width: 300px;height: 300px;position: absolute;top: calc(50%);left: calc(50% - 150px) }
page.chapter h1 grave { display: inline;background-image: url(assets/accent.grave.svg);background-position: 2px 5px !important }
page.chapter h1 aigue { display:inline; background-image:url(assets/accent.aigue.svg); background-position:center 0px }
page.chapter h1 cedil { display:inline; background-image:url(assets/accent.cedil.svg); background-position:3px 13px }
page.illustration img { display: block; width:100%; position:absolute; bottom:0px }
page.illustration h1 { position:absolute; top:100px; display:block; text-align:center; width:calc(100% - 40px); padding:0px 20px; font-size:38px;font-weight: normal }
page.thank p { padding:40px; font-size:26px; line-height:36px }
page.thank h1 { font-weight: normal;text-transform: uppercase;display: block;text-align: center;font-size: 36px;margin-top: 120px;margin-bottom: 40px }
</style>

<page class='cover'>
Expand Down Expand Up @@ -231,6 +237,10 @@ <h1>F<trema>o</trema>j'of dulida.</h1>
<h1>Doeti'Lydu</h1><img src='assets/lesson.7.png'/>
</page>

<page class='blank'>

</page>

<page class='illustration'>
<img src='assets/you.1.png'/>
<h1>Lari'if jado.</h1>
Expand All @@ -240,6 +250,10 @@ <h1>Lari'if jado.</h1>

</page>

<page class='thank'>
<h1>Favify!</h1><p></p>
</page>

<page class='blank'>

</page>
Expand Down

0 comments on commit e0fce39

Please sign in to comment.