Skip to content

Commit

Permalink
#129: Fix Fluent reference for redirected paths on CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Sep 29, 2022
1 parent 299cf06 commit f42c436
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## Unreleased

* Fixed:
* An extra console window appeared in GUI mode on Windows.
* In GUI mode on windows, an extra console window appeared.
* In CLI mode, when restoring with redirected paths, the original paths were not shown correctly.

## v0.13.0 (2022-09-28)

Expand Down
2 changes: 1 addition & 1 deletion src/lang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ impl Translator {
pub fn cli_game_line_item_redirected(&self, item: &str) -> String {
let mut args = FluentArgs::new();
args.set(PATH, item);
translate_args("cli-game-line-redirected-from", &args)
format!(" - {}", translate_args("cli-game-line-item-redirected", &args),)
}

pub fn cli_summary(&self, status: &OperationStatus, location: &StrictPath) -> String {
Expand Down

0 comments on commit f42c436

Please sign in to comment.