Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 134 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
members = ["i18n-helpers", "i18n-report", "mdbook-tera-backend", "fuzz"]
default-members = ["i18n-helpers", "i18n-report", "mdbook-tera-backend"]
members = ["i18n-book-to-po", "i18n-helpers", "i18n-report", "mdbook-tera-backend", "fuzz"]
default-members = ["i18n-book-to-po", "i18n-helpers", "i18n-report", "mdbook-tera-backend"]
resolver = "2"

[workspace.lints.clippy]
Expand Down
20 changes: 20 additions & 0 deletions i18n-book-to-po/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[package]
name = "i18n-book-to-po"
version = "0.1.0"
edition = "2024"

[dependencies]
anyhow.workspace = true
clap = { version = "4.5.38", features = ["derive"] }
env_logger = "0.11.8"
lcs-diff = "0.1.1"
log = "0.4.27"
mdbook.workspace = true
mdbook-i18n-helpers = { version = "0.3.6", path = "../i18n-helpers" }
polib.workspace = true
pulldown-cmark = "0.13"
seal = "0.1.6"
slice-diff-patch = "1.2.4"

[lints]
workspace = true
88 changes: 88 additions & 0 deletions i18n-book-to-po/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@

msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: \n"
"Content-Type: \n"
"Content-Transfer-Encoding: \n"
"Language: \n"
"Plural-Forms: nplurals=1; plural=0;\n"

#: introduction.md:1
msgid "Chapter 1: Introduction to Markdown"
msgstr "Kapitel 1: Einführung in Markdown"

#: introduction.md:3
msgid ""
"This is the first chapter of our example book. It shows what this tool can "
"do."
msgstr ""
"Dies ist das erste Kapitel unseres Beispielbuchs. Es zeigt, was dieses Tool "
"kann."

#: introduction.md:5
msgid "Subchapter"
msgstr "Unterkapitel"

#: introduction.md:7
msgid ""
"All pages of this book are written in Markdown and can contain different "
"Markdown elements:"
msgstr ""
"Alle Seiten dieses Buches sind in Markdown geschrieben und kann verschiedene "
"Markdown Elemente enthalten:"

#: introduction.md:9
msgid "Item 1"
msgstr "Punkt 1"

#: introduction.md:10
msgid "Item 2"
msgstr "Punkt 2"

#: introduction.md:11
msgid "Sub-item 2.1"
msgstr "Unterpunkt 2.1"

#: introduction.md:12
msgid "Item 3"
msgstr "Punkt 3"

#: introduction.md:14
msgid ""
"You can also include links like \\[appendix\\]\\[appendix\\] to other "
"resources easily"
msgstr ""
"Sie können auch problemlos Links wie \\[Anhang\\]\\[appendix\\] zu anderen "
"Ressourcen einfügen."

#: introduction.md:16
msgid "Code Blocks"
msgstr "Codeblöcke"

#: introduction.md:18
msgid "Displaying code is straightforward. Here's an example in Rust:"
msgstr "Das Anzeigen von Code ist unkompliziert. Hier ist ein Beispiel in Rust:"

#: introduction.md:22
msgid "\"Hello, {}!\""
msgstr "\"Hallo, {}!\""

#: introduction.md:26
msgid "\"World\""
msgstr "\"Welt\""

#: introduction.md:30
msgid "Further Examples"
msgstr "Weitere Beispiele"

#: introduction.md:32
msgid "You can use **bold text**, _italic text_, or even `inline code blocks`."
msgstr ""
"Sie können **fettgedruckten Text**, _kursiven Text_ oder sogar `inline Code "
"Blöcke` verwenden."

Loading
Loading