Sha256: 729109dc9933e83e18d54fa3b3a7cf3e0b93d51c9c31614901dee876d448283f

Contents?: true

Size: 1.73 KB

Versions: 9

Compression:

Stored size: 1.73 KB

Contents

# -*- coding: utf-8 -*-
#
# ja/my-sequel.rb
#
# show links to follow-up entries
#
# Copyright 2006 zunda <zunda at freeshell.org> and
#                NISHIMURA Takashi <nt at be.to>
#
# Permission is granted for use, copying, modification, distribution,
# and distribution of modified versions of this work under the terms
# of GPL2 or any later version.
#

@my_sequel_plugin_name ||= '後日談へのリンク'
@my_sequel_description ||= <<_END
<p>myプラグインで過去の日記に言及すると、その日記からのリンクを表示します。</p>
<p>設定が登録されるのは「OK」ボタンを押してからです。デフォルトの設定に戻す時でも、「OK」ボタンを押してください。</p>
_END
@my_sequel_restore_default_label ||= 'デフォルトに戻す'
@my_sequel_default_hash ||= {
	:label => {
		:title => 'ラベル',
		:default => 'つづき: ',
		:description => '後日談へのリンクの前に表示される文字列です。',
		:index => 1,
	},
	:date_format => {
		:title => 'リンク文字列',
		:default => @date_format,
		:description => '後日談へのリンクの文字列の書式です。%で始まる英字は次のように変換されます: 「%Y」(西暦年)、「%m」(月数値)、「%b」(短月名)、「%B」(長月名)、「%d」(日)、「%a」(短曜日名)、「%A」(長曜日名)。',
		:index => 2,
	},
	:inner_css => {
		:title => 'スタイル',
		:default => <<'_END',
font-size: 75%;
text-align: right;
margin: 0px;
_END
		:description => '後日談へのリンクに設定されるCSSです。div.sequelに適用されます。',
		:index => 3,
		:textarea => {rows: 5},
	},
}

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

Version data entries

9 entries across 8 versions & 1 rubygems

Version Path
tdiary-5.0.0 misc/plugin/ja/my-sequel.rb
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/tdiary-4.2.0/misc/plugin/ja/my-sequel.rb
tdiary-4.2.1 misc/plugin/ja/my-sequel.rb
tdiary-4.2.0 misc/plugin/ja/my-sequel.rb
tdiary-4.1.3 misc/plugin/ja/my-sequel.rb
tdiary-4.1.2 misc/plugin/ja/my-sequel.rb
tdiary-4.1.1 misc/plugin/ja/my-sequel.rb
tdiary-4.1.0 misc/plugin/ja/my-sequel.rb
tdiary-4.1.0.20141126 misc/plugin/ja/my-sequel.rb