diff --git a/po/arch-update.pot b/po/arch-update.pot index 32e5996..0b9eef1 100644 --- a/po/arch-update.pot +++ b/po/arch-update.pot @@ -16,6 +16,16 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: src/script/arch-update.sh:120 +#, sh-format +msgid "WARNING" +msgstr "" + +#: src/script/arch-update.sh:126 +#, sh-format +msgid "ERROR" +msgstr "" + #: src/script/arch-update.sh:131 #, sh-format msgid "Press \"enter\" to continue " diff --git a/po/fr.po b/po/fr.po index ee946ab..6c6c645 100644 --- a/po/fr.po +++ b/po/fr.po @@ -16,6 +16,16 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +#: src/script/arch-update.sh:120 +#, sh-format +msgid "WARNING" +msgstr "AVERTISSEMENT" + +#: src/script/arch-update.sh:126 +#, sh-format +msgid "ERROR" +msgstr "ERREUR" + #: src/script/arch-update.sh:131 #, sh-format msgid "Press \"enter\" to continue " diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index 1f25e12..d79fe2a 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -117,13 +117,13 @@ ask_msg() { # Definition of the warning_msg function: Display a message as a warning message warning_msg() { msg="${1}" - echo -e "${yellow}==> WARNING:${color_off}${bold} ${msg}${color_off}" + echo -e "${yellow}==> $(eval_gettext "WARNING"):${color_off}${bold} ${msg}${color_off}" } # Definition of the error_msg function: Display a message as an error message error_msg() { msg="${1}" - echo -e >&2 "${red}==> ERROR:${color_off}${bold} ${msg}${color_off}" + echo -e >&2 "${red}==> $(eval_gettext "ERROR"):${color_off}${bold} ${msg}${color_off}" } # Definition of the continue_msg function: Display the continue message