summaryrefslogtreecommitdiff
path: root/games-strategy/tornado/tornado-1.4-r3.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-11-03 06:47:15 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-11-03 06:47:15 +0000
commitfc2f1018fc323ef2c6572734a9b130427cba76a6 (patch)
treef834bdc9a67923ce75297c09d00d1e7b90791d26 /games-strategy/tornado/tornado-1.4-r3.ebuild
parent162945d2a91899b637bbb9e163b406350de12906 (diff)
gentoo resync : 03.11.2021
Diffstat (limited to 'games-strategy/tornado/tornado-1.4-r3.ebuild')
-rw-r--r--games-strategy/tornado/tornado-1.4-r3.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/games-strategy/tornado/tornado-1.4-r3.ebuild b/games-strategy/tornado/tornado-1.4-r3.ebuild
index 290d8ba78256..1fc5666fe720 100644
--- a/games-strategy/tornado/tornado-1.4-r3.ebuild
+++ b/games-strategy/tornado/tornado-1.4-r3.ebuild
@@ -50,12 +50,10 @@ src_install() {
local PLOCALES="de fr it nl no ru"
plocale_for_each_locale tornado_man
- tornado_loc() {
- insinto /usr/share/locale/${1}/LC_MESSAGES
- newins po/${1}.mo ${PN}.mo
- }
PLOCALES+=" es pt"
- plocale_for_each_locale tornado_loc
+ local mo=($(plocale_get_locales))
+ mo=("${mo[@]/%/.mo}")
+ (( ${#mo[@]} )) && domo "${mo[@]/#/po/}"
insinto /var/games
doins ${PN}.scores