OSDN Git Service
(root)
/
alterlinux
/
wfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c7a89b
)
[fix] : Fixed translation at line break
author
hayao
<shun819.mail@gmail.com>
Mon, 21 Dec 2020 06:21:07 +0000
(15:21 +0900)
committer
hayao
<shun819.mail@gmail.com>
Mon, 21 Dec 2020 06:21:07 +0000
(15:21 +0900)
wfa
patch
|
blob
|
history
diff --git
a/wfa
b/wfa
index
0179d9f
..
eec58df
100755
(executable)
--- a/
wfa
+++ b/
wfa
@@
-357,7
+357,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 "${*}"