better string expanding

This commit is contained in:
unek
2014-02-22 12:36:58 +01:00
parent f9754f4332
commit 65f38beeae
2 changed files with 43 additions and 33 deletions
+12 -5
View File
@@ -8,7 +8,7 @@ development:
username: 'nodetip'
realname: node.js dogecoin tipping bot
channels:
- '##tipbot'
- '##tipbots'
rpc:
host: localhost
port: 22555
@@ -19,9 +19,16 @@ development:
min_withdraw: 5
min_confirmations: 3
short_name: ' DOGE'
fullname: dogecoin
full_name: dogecoin
messages:
error: 'Sorry %name%, something went wrong.'
nofunds: "Sorry %name%, you don't have enough funds (you're %short% DOGE short)"
notidentified: '%name%: You need to be identified with NickServ to tip.'
tipped: 'Wow! %from% tipped %to% %amount% DOGE! "/msg %nick% help" to claim.'
no_funds: "Sorry %name%, you don't have enough funds (you're %short% %short_name% short)"
not_identified: '%name%: You need to be identified with NickServ to tip.'
tipped: 'Wow! %from% tipped %to% %amount%%shortn_ame%! "/msg %nick% help" to claim.'
balance: '%name% has %balance%%short_name%.'
balance_unconfirmed: '%name% has %balance%%short_name% (unconfirmed: %unconfirmed%%short_name%)'
deposit_address: "%name%'s deposit address is %address%"
withdraw_too_small: 'Sorry %name%, you need to withdraw at least %min_withdraw%%short_name% (you have %balance%%short_name%)'
invalid_address: 'Sorry %name%, the address you specified is invalid (%address%).'
withdraw_success: '%name%: %amount%%short_name% has been withdrawn from your account to %address%'
withdraw_success2: 'You have been charged %withdrawal_fee%%short_name% withdrawal fee. Transaction id: %transaction%.'