Skip to content

Commit

Permalink
The confirmation message was moved to mesg[544].
Browse files Browse the repository at this point in the history
  • Loading branch information
katono committed Sep 10, 2014
1 parent 4fe7bb1 commit b404fcf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions autoload/rogue/mesg
Original file line number Diff line number Diff line change
Expand Up @@ -721,3 +721,7 @@ md_gln()
file: init.c
do_args()
543 "再開できませんでした。" "Cannot resume"

file: rogue.vim
rogue#rogue#main
544 "ゲームが中断されています。再開しますか?" "The game is suspended. Resume it?"
4 changes: 4 additions & 0 deletions autoload/rogue/mesg_E
Original file line number Diff line number Diff line change
Expand Up @@ -720,3 +720,7 @@ md_gln()
file: init.c
do_args()
543 "Cannot resume" "再開できませんでした。"

file: rogue.vim
rogue#rogue#main
544 "The game is suspended. Resume it?" "ゲームが中断されています。再開しますか?"
2 changes: 1 addition & 1 deletion autoload/rogue/rogue.vim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function! rogue#rogue#main(args)
if a:args ==# '--resume'
let resume = 1
else
let c = confirm("The game is suspended. Resume it?",
let c = confirm(luaeval('Rogue.mesg[544]'),
\ "&Yes\n&No\n&Cancel", 1)
if c == 1
let resume = 1
Expand Down

0 comments on commit b404fcf

Please sign in to comment.