Sha256: e74dc22d1d25e1b4e789ad2ca7d52eb2eb4fd59dcdba6bd776e1b039ed98edce

Contents?: true

Size: 1.93 KB

Versions: 22

Compression:

Stored size: 1.93 KB

Contents

# en/recent_comment.rb
#
# English resources for recent_comment.rb
#
# Copyright (c) 2005 Hiroshi SHIBATA <h-sbt@nifty.com>
# Distributed under the GPL
#

if @mode == 'conf' || @mode == 'saveconf'
   add_conf_proc( 'recent_comment', 'Recent TSUKKOMI', 'tsukkomi' ) do
      saveconf_recent_comment
      recent_comment_init
      <<-HTML
      <h3 class="subtitle">The number of display comment</h3>
      <p>Max <input name="recent_comment.max" value="#{h( @conf['recent_comment.max'] )}" size="3" /> item</p>
      <h3 class="subtitle">Date format</h3>
      <p>Refer to <a href="http://www.ruby-lang.org/ja/man/index.cgi?cmd=view;name=Time#strftime">Ruby's Manual</a>for the \'%\' character that can be used.</p>
      <p><input name="recent_comment.date_format" value="#{h( @conf['recent_comment.date_format'] )}" size="40" /></p>
      <h3 class="subtitle">Non display name in recent comment list</h3>
      <p>Specified The name not displayed in the list.</p>
      <p><input name="recent_comment.except_list" size="60" value="#{h( @conf['recent_comment.except_list'] )}" /></p>
      <h3 class="subtitle">HTML Template for generate</h3>
      <p>Specify how each comment is rendered.</p>
      <textarea name="recent_comment.format" cols="60" rows="3">#{h( @conf['recent_comment.format'] )}</textarea>
      <p><em>$digit</em> in the template is replaced as follows.</p>
      <dl>
      <dt>$2</dt><dd>comment's URL</dd>
      <dt>$3</dt><dd>comment's shortening display</dd>
      <dt>$4</dt><dd>name of comment's author</dd>
      <dt>$5</dt><dd>when the comment is received</dd>
      </dl>
      <h3 class="subtitle">Message for no comment</h3>
      <p>Specify the message to be shown when there is no comment entry.</p>
      <p><input name="recent_comment.notfound_msg" value="#{h( @conf['recent_comment.notfound_msg'] )}" size="40" /></p>
      HTML
   end
end

# Local Variables:
# mode: ruby
# indent-tabs-mode: t
# tab-width: 3
# ruby-indent-level: 3
# End:

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
tdiary-4.0.5.1 misc/plugin/en/recent_comment.rb
tdiary-4.0.5 misc/plugin/en/recent_comment.rb
tdiary-4.0.4 misc/plugin/en/recent_comment.rb
tdiary-4.0.3 misc/plugin/en/recent_comment.rb
tdiary-4.0.2.20140201 misc/plugin/en/recent_comment.rb
tdiary-4.0.2 misc/plugin/en/recent_comment.rb
tdiary-4.0.1.20131102 misc/plugin/en/recent_comment.rb
tdiary-4.0.1.20130929 misc/plugin/en/recent_comment.rb
tdiary-4.0.1.20130903 misc/plugin/en/recent_comment.rb
tdiary-4.0.1 misc/plugin/en/recent_comment.rb
tdiary-4.0.0.20130826 misc/plugin/en/recent_comment.rb
tdiary-4.0.0 misc/plugin/en/recent_comment.rb
tdiary-3.2.2.20130727 misc/plugin/en/recent_comment.rb
tdiary-3.2.2.20130722 misc/plugin/en/recent_comment.rb
tdiary-3.2.2.20130720 misc/plugin/en/recent_comment.rb
tdiary-3.2.2.20130617 misc/plugin/en/recent_comment.rb
tdiary-3.2.2.20130614 misc/plugin/en/recent_comment.rb
tdiary-3.2.2.20130604 misc/plugin/en/recent_comment.rb
tdiary-3.2.2.20130527 misc/plugin/en/recent_comment.rb
tdiary-3.2.2.20130518 misc/plugin/en/recent_comment.rb