# figures/labels.yml -- every string that appears inside a figure. # # Keyed by the file name in figures/src/, then by the {{placeholder}} used # there. build-figures.py substitutes these and writes one svg + pdf per # language. The geometry lives in the src svg and is written once; only the # words are repeated, which is the same split as ::: {.fr} / ::: {.de} in the # chapters. # # `alt` is the figure's accessible description (the svg ); it is read by # a screen reader, so it says what the picture shows, not that it is a picture. # # Identifiers from the tutorial (consoleIn.outbox, rot13/inbox, SensorService, # Mediator.java, .msg, WatchService, put, take) are never translated: they are # names in the code, and the tutorial's terminology is kept exactly. # # German runs long. Where a label would overflow its box, give it a size: # key: {en: "Primary key", de: {text: "Primärschlüssel", size: 10}} direct-calls: alt: en: "The procedural version: inside one main(), IO.readln() is called, its result is passed to rot13(), and that result is passed to IO.println(). One thread, one process, three direct calls." fr: "La version procédurale : dans un seul main(), IO.readln() est appelé, son résultat est passé à rot13(), et ce résultat est passé à IO.println(). Un seul fil d'exécution, un seul processus, trois appels directs." de: "Die prozedurale Fassung: in einem einzigen main() wird IO.readln() aufgerufen, dessen Ergebnis an rot13() übergeben und dieses Ergebnis an IO.println(). Ein Thread, ein Prozess, drei direkte Aufrufe." frame: en: "one process · one thread · one main()" fr: "un processus · un fil · un seul main()" de: "ein Prozess · ein Thread · ein main()" read: {en: "IO.readln()", fr: "IO.readln()", de: "IO.readln()"} rot: {en: "rot13(text)", fr: "rot13(text)", de: "rot13(text)"} print: {en: "IO.println(…)", fr: "IO.println(…)", de: "IO.println(…)"} call1: {en: "call", fr: "appel", de: "Aufruf"} call2: {en: "call", fr: "appel", de: "Aufruf"} knows: en: "main() knows all three: their names, argument and result types, and that they are available right now." fr: "main() les connaît tous les trois : leurs noms, les types d'arguments et de résultats, et le fait qu'ils sont disponibles immédiatement." de: "main() kennt alle drei: ihre Namen, Argument- und Ergebnistypen und dass sie sofort verfügbar sind." cost: en: "The wiring is written into the code itself — step 1 of the tutorial." fr: "Le câblage est écrit dans le code lui-même — étape 1 du tutoriel." de: "Die Verdrahtung steht im Code selbst — Schritt 1 des Tutorials." mailboxes-jvm: alt: en: "The mediated version inside one JVM: ConsoleIn puts a message into consoleIn.outbox, a mediator takes it and puts it into rot13.inbox, ROT13 takes it and puts its result into rot13.outbox, a second mediator moves that into consoleOut.inbox, and ConsoleOut takes it and prints it." fr: "La version médiatisée dans une seule JVM : ConsoleIn dépose un message dans consoleIn.outbox, un médiateur le retire et le dépose dans rot13.inbox, ROT13 le retire et dépose son résultat dans rot13.outbox, un second médiateur le déplace vers consoleOut.inbox, et ConsoleOut le retire et l'affiche." de: "Die vermittelte Fassung in einer JVM: ConsoleIn legt eine Nachricht in consoleIn.outbox, ein Vermittler nimmt sie und legt sie in rot13.inbox, ROT13 nimmt sie und legt sein Ergebnis in rot13.outbox, ein zweiter Vermittler verschiebt es nach consoleOut.inbox, und ConsoleOut nimmt es und gibt es aus." frame: en: "one JVM · five virtual threads · BlockingQueue mailboxes" fr: "une JVM · cinq threads virtuels · boîtes BlockingQueue" de: "eine JVM · fünf virtuelle Threads · BlockingQueue-Postfächer" consolein: {en: "ConsoleIn — “I read”", fr: "ConsoleIn — « je lis »", de: "ConsoleIn — „ich lese“"} rot13: {en: "ROT13 — “I rotate”", fr: "ROT13 — « je transforme »", de: "ROT13 — „ich rotiere“"} consoleout: {en: "ConsoleOut — “I print”", fr: "ConsoleOut — « j'affiche »", de: "ConsoleOut — „ich gebe aus“"} mediator1: {en: "Mediator", fr: "Médiateur", de: "Vermittler"} mediator2: {en: "Mediator", fr: "Médiateur", de: "Vermittler"} route1: {en: "consoleIn.outbox → rot13.inbox", fr: "consoleIn.outbox → rot13.inbox", de: "consoleIn.outbox → rot13.inbox"} route2: {en: "rot13.outbox → consoleOut.inbox", fr: "rot13.outbox → consoleOut.inbox", de: "rot13.outbox → consoleOut.inbox"} put1: {en: "put", fr: "put", de: "put"} put2: {en: "put", fr: "put", de: "put"} put3: {en: "put", fr: "put", de: "put"} put4: {en: "put", fr: "put", de: "put"} take1: {en: "take", fr: "take", de: "take"} take2: {en: "take", fr: "take", de: "take"} take3: {en: "take", fr: "take", de: "take"} take4: {en: "take", fr: "take", de: "take"} topology: en: "No capability names another one. The topology lives only in the two mediators, started in main()." fr: "Aucune capacité ne nomme une autre. La topologie ne vit que dans les deux médiateurs, démarrés dans main()." de: "Keine Fähigkeit nennt eine andere. Die Topologie steckt nur in den zwei Vermittlern, gestartet in main()." filesystem-processes: alt: en: "The same chain as five separate processes on one computer: SensorService publishes a .msg file into consoleIn/outbox, a Mediator process watches that directory and publishes a copy into rot13/inbox, ProcessorService publishes its result into rot13/outbox, a second Mediator process moves it into consoleOut/inbox, and ActuatorService prints it. The four directories form the message board on one local filesystem." fr: "La même chaîne sous forme de cinq processus distincts sur un seul ordinateur : SensorService publie un fichier .msg dans consoleIn/outbox, un processus Mediator surveille ce répertoire et publie une copie dans rot13/inbox, ProcessorService publie son résultat dans rot13/outbox, un second processus Mediator le déplace vers consoleOut/inbox, et ActuatorService l'affiche. Les quatre répertoires forment le tableau de messages sur un seul système de fichiers local." de: "Dieselbe Kette als fünf getrennte Prozesse auf einem Rechner: SensorService veröffentlicht eine .msg-Datei in consoleIn/outbox, ein Mediator-Prozess beobachtet dieses Verzeichnis und veröffentlicht eine Kopie in rot13/inbox, ProcessorService veröffentlicht sein Ergebnis in rot13/outbox, ein zweiter Mediator-Prozess verschiebt es nach consoleOut/inbox, und ActuatorService gibt es aus. Die vier Verzeichnisse bilden das Nachrichtenbrett auf einem lokalen Dateisystem." sensor: {en: "SensorService — ConsoleIn", fr: "SensorService — ConsoleIn", de: "SensorService — ConsoleIn"} processor: {en: "ProcessorService — ROT13", fr: "ProcessorService — ROT13", de: "ProcessorService — ROT13"} actuator: {en: "ActuatorService — ConsoleOut", fr: "ActuatorService — ConsoleOut", de: "ActuatorService — ConsoleOut"} mediator1: {en: "Mediator.java consoleIn/outbox rot13/inbox", fr: "Mediator.java consoleIn/outbox rot13/inbox", de: {text: "Mediator.java consoleIn/outbox rot13/inbox", size: 11}} mediator2: {en: "Mediator.java rot13/outbox consoleOut/inbox", fr: "Mediator.java rot13/outbox consoleOut/inbox", de: {text: "Mediator.java rot13/outbox consoleOut/inbox", size: 11}} t1: {en: "terminal 1", fr: "terminal 1", de: "Terminal 1"} t2: {en: "terminal 2", fr: "terminal 2", de: "Terminal 2"} t3: {en: "terminal 3", fr: "terminal 3", de: "Terminal 3"} t4: {en: "terminal 4", fr: "terminal 4", de: "Terminal 4"} t5: {en: "terminal 5", fr: "terminal 5", de: "Terminal 5"} publish1: {en: "publish (.tmp → .msg)", fr: "publier (.tmp → .msg)", de: "veröffentlichen (.tmp → .msg)"} publish2: {en: "publish", fr: "publier", de: "veröffentlichen"} publish3: {en: "publish", fr: "publier", de: "veröffentlichen"} publish4: {en: "publish", fr: "publier", de: "veröffentlichen"} watch1: {en: "WatchService", fr: "WatchService", de: "WatchService"} watch2: {en: "WatchService", fr: "WatchService", de: "WatchService"} watch3: {en: "WatchService", fr: "WatchService", de: "WatchService"} watch4: {en: "WatchService", fr: "WatchService", de: "WatchService"} board: en: "directory = mailbox, file = message" fr: "répertoire = boîte, fichier = message" de: "Verzeichnis = Postfach, Datei = Nachricht" topology: en: "Five processes started by hand. The topology now lives in the two Mediator command lines — in whoever typed them." fr: "Cinq processus lancés à la main. La topologie vit désormais dans les deux lignes de commande Mediator — chez celui qui les a tapées." de: "Fünf von Hand gestartete Prozesse. Die Topologie steckt nun in den zwei Mediator-Befehlszeilen — bei dem, der sie getippt hat."