OSDN Git Service

[fix : Fixed SC2145
authorhayao <shun819.mail@gmail.com>
Sun, 20 Dec 2020 12:49:27 +0000 (21:49 +0900)
committerhayao <shun819.mail@gmail.com>
Sun, 20 Dec 2020 12:49:27 +0000 (21:49 +0900)
wfa

diff --git a/wfa b/wfa
index 91dc68c..f5032d6 100755 (executable)
--- a/wfa
+++ b/wfa
@@ -350,7 +350,7 @@ translate() {
 
         _get_text() {
             set +eu
-            local _translated_text="$(eval echo '$'{${_locale}["${@}"]})"
+            local _translated_text="$(eval echo '$'{${_locale}["${*}"]})"
             set -eu
             if [[ -z "${_translated_text}" ]]; then
                 echo "${*}"