From 27b563df3fe46b01333ba01748fcd91e7a709abf Mon Sep 17 00:00:00 2001 From: Robin Candau Date: Mon, 8 Jul 2024 19:45:29 +0200 Subject: [PATCH] Fix: Fix syntax in translation files --- po/arch-update.pot | 4 ++-- po/fr.po | 6 +++--- src/script/arch-update.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/po/arch-update.pot b/po/arch-update.pot index 8dd9eae..f8a53a4 100644 --- a/po/arch-update.pot +++ b/po/arch-update.pot @@ -561,8 +561,8 @@ msgstr "" #: src/script/arch-update.sh:847 #, sh-format msgid "" -"Unable to determine the editor to use\\nThe $EDITOR environment variable is " -"not set and \"nano\" (fallback option) is not installed" +"Unable to determine the editor to use\\nThe \"EDITOR\" environment variable " +"is not set and \"nano\" (fallback option) is not installed" msgstr "" #: src/script/arch-update.sh:865 diff --git a/po/fr.po b/po/fr.po index 6f3615b..1f5f1c7 100644 --- a/po/fr.po +++ b/po/fr.po @@ -615,10 +615,10 @@ msgstr "" #: src/script/arch-update.sh:847 #, sh-format msgid "" -"Unable to determine the editor to use\\nThe $EDITOR environment variable is " -"not set and \"nano\" (fallback option) is not installed" +"Unable to determine the editor to use\\nThe \"EDITOR\" environment variable " +"is not set and \"nano\" (fallback option) is not installed" msgstr "" -"Impossible de déterminer l'éditeur à utiliser\\n La variable d'environnement $EDITOR " +"Impossible de déterminer l'éditeur à utiliser\\n La variable d'environnement \"EDITOR\" " "n'est pas paramétrée et \"nano\" (option de secours) n'est pas installé" #: src/script/arch-update.sh:865 diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index c208b00..768beae 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -844,7 +844,7 @@ case "${option}" in exit 13 else if ! "${EDITOR:-nano}" "${config_file}" 2> /dev/null; then - error_msg "$(eval_gettext "Unable to determine the editor to use\nThe \$EDITOR environment variable is not set and \"nano\" (fallback option) is not installed")" + error_msg "$(eval_gettext "Unable to determine the editor to use\nThe \"EDITOR\" environment variable is not set and \"nano\" (fallback option) is not installed")" exit 13 fi fi