diff --git a/play.it-2/src/00_header.sh b/play.it-2/src/00_header.sh index b177a389d8979650d43c0a0503af5389298fd9f1..a7811ee43c821b7c8886e48bf338e84e86b84c94 100644 --- a/play.it-2/src/00_header.sh +++ b/play.it-2/src/00_header.sh @@ -37,5 +37,5 @@ library_version=2.11.0~dev # shellcheck disable=SC2034 -library_revision=20190120.1 +library_revision=20190123.1 diff --git a/play.it-2/src/30_installation-instructions_gentoo.sh b/play.it-2/src/30_installation-instructions_gentoo.sh index 029ee1726f343bf00ccde68ab0b5c82e2f22f503..3375d2caeea31865b515ffb6899f7a7b770d76a7 100644 --- a/play.it-2/src/30_installation-instructions_gentoo.sh +++ b/play.it-2/src/30_installation-instructions_gentoo.sh @@ -3,6 +3,7 @@ print_instructions_gentoo() { local pkg_path local str_format + local str_comment printf 'quickunpkg --' for pkg in "$@"; do if [ "$OPTION_ARCHITECTURE" != all ] && [ -n "${PACKAGES_LIST##*$pkg*}" ]; then @@ -17,6 +18,14 @@ print_instructions_gentoo() { fi printf "$str_format" "$pkg_path" done - printf ' # %s\n' 'https://www.dotslashplay.it/ressources/gentoo/' + case "${LANG%_*}" in + ('fr') + str_comment='ou mettez les paquets dans un PKGDIR et emergez-les' + ;; + ('en'|*) + str_comment='or put the packages in a PKGDIR and emerge them' + ;; + esac + printf ' # %s %s\n' 'https://www.dotslashplay.it/ressources/gentoo/' "$str_comment" }