Skip to content

Commit

Permalink
added TODOs and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
TCA166 committed Dec 21, 2024
1 parent 74da7f3 commit 5e5c6e5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
24 changes: 16 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ readme = "./README.md"
homepage = "https://github.com/TCA166/CK3-history-extractor"
repository = "https://github.com/TCA166/CK3-history-extractor"
license = "MIT"
keywords = ["Crusader Kings 3", "CK3", "Paradox", "History", "Save", "Extractor", "Encyclopedia"]
keywords = [
"Crusader Kings 3",
"CK3",
"Paradox",
"History",
"Save",
"Extractor",
"Encyclopedia",
]
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -18,24 +26,24 @@ publish = false
internal = []

[dependencies]
minijinja = {version="2.5.0", features=["loader"]}
serde = {version="1.0.215" , features=["rc", "derive"] }
minijinja = { version = "2.5.0", features = ["loader"] }
serde = { version = "1.0.216", features = ["rc", "derive"] }
syn = "2.0.87"
quote = "1.0.37"
proc-macro2 = "1.0.88"
zip = "2.2.0"
zip = "2.2.2"
image = "0.25.5"
csv = "1.3.1"
plotters = "0.3.7"
tidy-tree = "0.1.0"
serde_json = "1.0.129"
dialoguer = {version="0.11.0", features=["completion", "history"]}
open = "5.1.4"
serde_json = "1.0.134"
dialoguer = { version = "0.11.0", features = ["completion", "history"] }
open = "5.3.1"
rand = "0.8.5"
indicatif = "0.17.9"
keyvalues-parser = "0.2.0"
human-panic = "=2.0.2"
clap = "4.5.21"
clap = "4.5.23"
clap_derive = "4.5.18"

[dev-dependencies]
Expand Down
5 changes: 4 additions & 1 deletion src/display/localizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ fn handle_stack(
result.replace_range(start..*end, replace);
*end = start;
}
}
} // TODO add a catch for the CHARACTER.Custom('FR_E') and other stuff
// MAYBE json input for easy customisation?
}

/// A function that resolves the special localisation invocations.
Expand Down Expand Up @@ -143,6 +144,8 @@ fn resolve_stack(str: &GameString) -> GameString {
return GameString::wrap(value);
}

// TODO add common phrase localization

/// An object that localizes strings.
/// It reads localization data from a directory and provides localized strings.
/// If the localization data is not found, it will demangle the key using an algorithm that tries to approximate the intended text
Expand Down
1 change: 1 addition & 0 deletions templates/charTemplate.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<html>
<!--TODO common phrase localization-->
<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
Expand Down

0 comments on commit 5e5c6e5

Please sign in to comment.