~ubuntu-branches/ubuntu/saucy/tdiary/saucy-proposed

« back to all changes in this revision

Viewing changes to plugin/zh/60sf.rb

  • Committer: Bazaar Package Importer
  • Author(s): Daigo Moriwaki
  • Date: 2011-04-11 21:53:16 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110411215316-ih4gt4q8p29d2wf8
Tags: 3.0.1-1
* New upstream release (Closes: #542801, #594947)
* debian/control:
 - Bumped up Standards-Version to 3.9.1.
 - Updated version dependency.
* debian/tdiary-setup.rb: Followed the upstream changes, incorporating js and
  index.fcgi

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8; -*-
 
2
# English resources of 60sf.rb
 
3
# Based on English resources of 50sp.rb Revision: 1.2
 
4
# Modified by KURODA Hiraku
 
5
 
 
6
=begin
 
7
= Select-spamfilter plugin
 
8
 
 
9
== Abstract
 
10
Selects which filter to be actually used.
 
11
 
 
12
== Usage
 
13
Put this file into the plugin/ directory.
 
14
 
 
15
Next, move the filterss you want to be optional into another directory.
 
16
In the example below, these filters are assumed to be in
 
17
filter/selectable directory.
 
18
 
 
19
Finally, edit the tdiary.conf file in the same directory as tdiary.rb
 
20
and add the following line:
 
21
  @options['sf.path'] = 'misc/filter'
 
22
to indicate the directory you have put the optional filters. It can be
 
23
an absolute path.
 
24
 
 
25
== Options
 
26
:@options['sf.path']
 
27
        Directory name where the optional filters are, relative from the
 
28
  directory where tdiary.rb is or absolute.
 
29
 
 
30
:@options['sf.usenew']
 
31
  Define true if you want to the users to try a newly installed filter.
 
32
        Newly installed filters are detected next time when the user configures
 
33
        this plugin.
 
34
 
 
35
== Copyright notice
 
36
Copyright (C) 2003 zunda <zunda at freeshell.org>
 
37
 
 
38
Permission is granted for use, copying, modification, distribution, and
 
39
distribution of modified versions of this work under the terms of GPL
 
40
version 2 or later.
 
41
 
 
42
Original version of these files is for selecting plugins.
 
43
Modifying for selecting filters is by KURODA Hiraku <hiraku at hinet.mydns.jp>
 
44
Feb. 2008
 
45
=end
 
46
 
 
47
@sf_label = 'Filter selection'
 
48
@sf_label_description = '<p>Selects which filters you want to use.</p>'
 
49
@sf_label_please_select = '<p>Please check the filters you want to use. Each filter filename is linked to its document. Please create or improve the document!</p>'
 
50
@sf_label_new = '<h3>New! Give it a try.</h3>'
 
51
@sf_label_used = '<h3>Being used</h3>'
 
52
@sf_label_notused = '<h3>Currently not used</h3>'
 
53
@sf_label_nofilter = '<p>There is no optional filters.</p>'
 
54
 
 
55
# Local Variables:
 
56
# mode: ruby
 
57
# indent-tabs-mode: t
 
58
# tab-width: 3
 
59
# ruby-indent-level: 3
 
60
# End: