lib/ruby-debug/commands/tmate.rb in debugger-1.4.0 vs lib/ruby-debug/commands/tmate.rb in debugger-1.5.0
- old
+ new
@@ -7,10 +7,10 @@
def execute
if @match[1]
frm_n = @match[1].to_i
if frm_n > @state.context.stack_size || frm_n == 0
- print "Wrong frame number\n"
+ print pr("tmate.errors.wrong_frame")
return
end
file, line = @state.context.frame_file(frm_n-1), @state.context.frame_line(frm_n-1)
else
file, line = @state.file, @state.line