From 9767e4169cd392a33417728b189b7cae9551e9e4 Mon Sep 17 00:00:00 2001 From: Alexandre Veyrenc Date: Tue, 8 Oct 2024 02:52:36 +0200 Subject: [PATCH] Fix typo in exit_status (#934) fix: typo in exit_status --- locales/app.yml | 10 +++++----- src/error.rs | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/locales/app.yml b/locales/app.yml index c7916439..5b16b41b 100644 --- a/locales/app.yml +++ b/locales/app.yml @@ -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': @@ -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" \ No newline at end of file + en: "Windows Update" diff --git a/src/error.rs b/src/error.rs index 584c6da7..ba6a321b 100644 --- a/src/error.rs +++ b/src/error.rs @@ -27,7 +27,7 @@ impl Display for TopgradeError { f, "{}", t!( - "`{process}` failed: {exit_satus}", + "`{process}` failed: {exit_status}", process = process, exit_status = exit_status ) @@ -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