# en/todo.rb # # English resources for todo.rb # # Copyright (c) 2001,2002,2003 Junichiro KITA # Distributed under the GPL # def todo_msg_today; "today"; end def todo_msg_in_time(days); "#{days} day(s) left to go"; end def todo_msg_late(days); "#{days} day(s) delay"; end def todo_config_label; "Edit ToDo"; end add_conf_proc('ToDo', 'ToDo plugin') do saveconf_todo todo_init <<-HTML

How to use

put '<%=todo%>' in the Header/Footer.

Edit ToDo

Each line has one ToDo entry, which is in the form of:

priority[deadline] what to do

'priority' and 'what to do' is separated by a apace character.

Priority is optional. If you specify priority, put an integer between 1 and 99, otherwise the entry is ignored.

Deadline is optional. If you specify deadline, put '[' and ']' around deadline. Deadline is parsed by ParseDate module

Title for ToDo

Max number of ToDo entries to be displayed

entries

HTML end # Local Variables: # mode: ruby # indent-tabs-mode: t # tab-width: 3 # ruby-indent-level: 3 # End: # vim: ts=3