Sha256: d03a57b588275a7f7d49082f94ee1ba8ceec51d09305d10f59563dcfd6f7839c

Contents?: true

Size: 1.79 KB

Versions: 39

Compression:

Stored size: 1.79 KB

Contents

#
# English resource of image plugin
#

#
# Image Diary -  Upload images and insert to diary.
#
# image( number, 'altword', thumbnail, size, place ) - show an image.
#    number - image ID as 0, 1, 2...
#    altword - alt strings of the img element.
#    thumbnail - image ID of thumbnail (optional)
#    size - array format of image size (optional), as [width, height]
#    place - class name of <img> tag (optional), "place" is default.
#
# image_left( number, 'altword', thumbnail, size ) - show an image with "class=left"
# image_right( number, 'altword', thumbnail, size ) - show an image with "class=right"
#
# image_link( number, 'desc' ) - make link to an image.
#    number - image ID as 0, 1, 2...
#    desc - description of the image.
#
# options in tdiary.conf:
#  @options['image.dir']
#     Directory of uploading images. Default is './images/'.
#     You have to set parmission to writable by web server.
#  @options['image.url']
#     URL of the image directory. Default is './images/'.
#  @options['image.maxwidth']
#     Max display width of image without specified 'size' parameter.
#
def image_error_num( max ); "You can add images upto #{h max} par a day."; end
def image_error_size( max ); "You can add images upto #{h max} bytes par an image."; end
def image_label_list_caption; 'Image Diary (List/Delete) - Click an image to insert'; end
def image_label_add_caption; 'Image Diary (Add)'; end
def image_label_description; 'Description of the image'; end
def image_label_add_plugin; 'Add to the article'; end
def image_label_delete; 'Delete checked images'; end
def image_label_only_jpeg; 'Only JPEG'; end
def image_label_add_image; 'Upload the image'; end
def image_label_drop_here; 'Drop files here'; end

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

Version data entries

39 entries across 29 versions & 1 rubygems

Version Path
tdiary-5.3.0 misc/plugin/en/image.rb
tdiary-5.2.4 misc/plugin/en/image.rb
tdiary-5.2.3 misc/plugin/en/image.rb
tdiary-5.2.2 misc/plugin/en/image.rb
tdiary-5.2.1 misc/plugin/en/image.rb
tdiary-5.2.0 misc/plugin/en/image.rb
tdiary-5.1.7 misc/plugin/en/image.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/misc/plugin/en/image.rb
tdiary-5.1.6 misc/plugin/en/image.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/misc/plugin/en/image.rb
tdiary-5.1.5 misc/plugin/en/image.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/misc/plugin/en/image.rb
tdiary-5.1.4 misc/plugin/en/image.rb
tdiary-5.1.3 misc/plugin/en/image.rb
tdiary-5.1.2 misc/plugin/en/image.rb
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/tdiary-5.0.14/misc/plugin/en/image.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/tdiary-5.0.14/misc/plugin/en/image.rb
tdiary-5.1.1 misc/plugin/en/image.rb
tdiary-5.1.0 misc/plugin/en/image.rb
tdiary-5.0.14 misc/plugin/en/image.rb