From 50268344c07603de64b90b7cad593d00e22370ea Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sat, 11 May 2013 15:54:22 +0200 Subject: [PATCH] * util/grub-install.in: Gettextize "Not found" message. --- ChangeLog | 4 ++++ util/grub-install.in | 16 ++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9b9630376..cd8213a1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-05-11 Vladimir Serbinenko + + * util/grub-install.in: Gettextize "Not found" message. + 2013-05-11 Vladimir Serbinenko Fix distfiles list. diff --git a/util/grub-install.in b/util/grub-install.in index 9fb0ee69b..3a33797cd 100644 --- a/util/grub-install.in +++ b/util/grub-install.in @@ -348,7 +348,9 @@ if [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-pc" ] || [ "$ if test -f "$1"; then : else - echo "$1: Not found." 1>&2 + # TRANSLATORS: This message is shown when required executable `%s' + # isn't found + gettext_printf "%s: Not found.\n" "$1" 1>&2 exit 1 fi fi @@ -357,7 +359,9 @@ set "$grub_mkimage" dummy if test -f "$1"; then : else - echo "$1: Not found." 1>&2 + # TRANSLATORS: This message is shown when required executable `%s' + # isn't found + gettext_printf "%s: Not found.\n" "$1" 1>&2 exit 1 fi @@ -697,14 +701,18 @@ elif [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-ieee1275" ] if test -f "$1"; then : else - echo "$1: Not found." 1>&2 + # TRANSLATORS: This message is shown when required executable `%s' + # isn't found + gettext_printf "%s: Not found.\n" "$1" 1>&2 exit 1 fi set "$nvsetenv" dummy if test -f "$1"; then : else - echo "$1: Not found." 1>&2 + # TRANSLATORS: This message is shown when required executable `%s' + # isn't found + gettext_printf "%s: Not found.\n" "$1" 1>&2 exit 1 fi if [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" != "powerpc-ieee1275" ] \