Skip to content

Commit

Permalink
Fix typo in exit_status (#934)
Browse files Browse the repository at this point in the history
fix: typo in exit_status
  • Loading branch information
aveyrenc authored Oct 8, 2024
1 parent 0854f9c commit 9767e41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions locales/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ _version: 2
en: "The Ultimate vimrc"
"vim binary might be actually nvim":
en: "vim binary might be actually nvim"
"`{process}` failed: {exit_satus}":
en: "`%{process}` failed: %{exit_satus}"
"`{process}` failed: {exit_satus} with {output}":
en: "`%{process}` failed: %{exit_satus} with %{output}"
"`{process}` failed: {exit_status}":
en: "`%{process}` failed: %{exit_status}"
"`{process}` failed: {exit_status} with {output}":
en: "`%{process}` failed: %{exit_status} with %{output}"
"Unknown Linux Distribution":
en: "Unknown Linux Distribution"
'File "/etc/os-release" does not exist or is empty':
Expand Down Expand Up @@ -304,4 +304,4 @@ _version: 2
"Could not find Topgrade in any WSL disribution":
en: "Could not find Topgrade in any WSL disribution"
"Windows Update":
en: "Windows Update"
en: "Windows Update"
4 changes: 2 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl Display for TopgradeError {
f,
"{}",
t!(
"`{process}` failed: {exit_satus}",
"`{process}` failed: {exit_status}",
process = process,
exit_status = exit_status
)
Expand All @@ -38,7 +38,7 @@ impl Display for TopgradeError {
f,
"{}",
t!(
"`{process}` failed: {exit_satus} with {output}",
"`{process}` failed: {exit_status} with {output}",
process = process,
exit_status = exit_status,
output = output
Expand Down

0 comments on commit 9767e41

Please sign in to comment.