OSDN Git Service
(root)
/
bashutil
/
bashutil.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd55d8b
)
Modify test key.
author
iga
<tosiki@iga-pc3>
Wed, 29 Jan 2014 14:09:59 +0000
(23:09 +0900)
committer
iga
<tosiki@iga-pc3>
Wed, 29 Jan 2014 14:09:59 +0000
(23:09 +0900)
main/bumsg.fnc
patch
|
blob
|
history
template/message.msg
patch
|
blob
|
history
diff --git
a/main/bumsg.fnc
b/main/bumsg.fnc
index
a037179
..
73d3a84
100644
(file)
--- a/
main/bumsg.fnc
+++ b/
main/bumsg.fnc
@@
-10,7
+10,7
@@
bumsg() {
local arg6=$7
local arg7=$8
local arg8=$9
- local msgtextkey='${MSG_'${msgid}'
_text
}'
+ local msgtextkey='${MSG_'${msgid}'}'
local msgtextkeyString="`eval \"echo ${msgtextkey}\"`"
local printfString="[${msgid}] ${msgtextkeyString}"
local outMessage="`printf \"${printfString}\" ${arg1} ${arg2} ${arg3} ${arg4} ${arg5} ${arg6} ${arg7} ${arg8}`"
diff --git
a/template/message.msg
b/template/message.msg
index
aeef6cf
..
cc5676e
100644
(file)
--- a/
template/message.msg
+++ b/
template/message.msg
@@
-1,6
+1,6
@@
-MSG_M001
_text
='Hello [%s] world!'
+MSG_M001='Hello [%s] world!'
MSG_M001_sysout=false
MSG_M001_syserr=true
MSG_M001_logger=true