class SiSU_Translate::English

Public Class Methods

new(md,doc_lang,trans_str) click to toggle source
# File lib/sisu/prog_text_translation.rb, line 312
def initialize(md,doc_lang,trans_str)
  @md,@doc_lang,@trans_str=md,doc_lang,trans_str
end

Public Instance Methods

abstract() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 369
def abstract #dc
  'Abstract'
end
author() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 336
def author
  'Author'
end
cls_dewey() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 426
def cls_dewey
  'Classify Dewey'
end
cls_gutenberg() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 432
def cls_gutenberg
  'Classify Project Gutenberg'
end
cls_isbn() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 435
def cls_isbn
  'Classify ISBN'
end
cls_loc() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 423
def cls_loc
  'Classify Library of Congress'
end
cls_oclc() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 429
def cls_oclc
  'Classify OCLC number'
end
comments() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 420
def comments
  'Comments'
end
contents() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 360
def contents
  'Contents'
end
contributor() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 342
def contributor #dc
  'Contributor'
end
coverage() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 414
def coverage #dc
  'Coverage'
end
date() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 378
def date #dc
  'Date'
end
date_available() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 387
def date_available #dc
  'Date available'
end
date_created() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 381
def date_created #dc
  'Date created'
end
date_issued() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 384
def date_issued #dc
  'Date issued'
end
date_modified() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 390
def date_modified #dc
  'Date modified'
end
date_valid() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 393
def date_valid #dc
  'Date valid'
end
description() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 366
def description #dc (watch)
  'Description'
end
digest_md5() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 456
def digest_md5
  'Sourcefile Digest (md5)'
end
digest_sha256() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 459
def digest_sha256
  'Sourcefile Digest (sha256)'
end
digitized_by() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 357
def digitized_by
  'Digitized by'
end
file_size() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 324
def file_size
  'file size'
end
filename() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 315
def filename
  'filename'
end
filetype_description() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 318
def filetype_description
  'filetype description'
end
format() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 402
def format #dc
  'Format'
end
full_title() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 327
def full_title #dc
  'Title'
end
identifier() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 405
def identifier #dc
  'Identifier'
end
illustrator() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 348
def illustrator
  'Illustrator'
end
keywords() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 417
def keywords
  'Keywords'
end
language() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 396
def language #dc
  'Language'
end
language_list_translated() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 492
def language_list_translated
  case @trans_str
  when /American/i       then 'American English'                    # tag depreciated, see iso 639-2
  when /English/i        then 'English'
  when /French/i         then 'French'
  when /German/i         then 'German'
  when /Italian/i        then 'Italian'
  when /Spanish/i        then 'Spanish'
  when /Portuguese Brazil|Brazilian(?: Portuguese)?/i
                              'Brazilian Portuguese'                # tag depreciated, see iso 639-2
  when /Portuguese/i     then 'Portuguese'
  when /Swedish/i        then 'Swedish'
  when /Danish/i         then 'Danish'
  when /Finnish/i        then 'Finnish'
  when /Norwegian/i      then 'Norwegian'
  when /Icelandic/i      then 'Icelandic'
  when /Dutch/i          then 'Dutch'
  when /Estonian/i       then 'Estonian'
  when /Hungarian/i      then 'Hungarian'
  when /Polish/i         then 'Polish'
  when /Romanian/i       then 'Romanian'
  when /Russian/i        then 'Russian'
  when /Greek/i          then 'Greek'
  when /Ukranian/i       then 'Ukranian'
  when /Turkish/i        then 'Turkish'
  when /Slovenian/i      then 'Slovenian'
  when /Croatian/i       then 'Croatian'
  when /Slovak(?:ian)?/i then 'Slovakian'
  when /Czech/i          then 'Czech'
  when /Bulgarian/i      then 'Bulgarian'
  else @trans_str
  end
end
language_original() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 399
def language_original
  'Original Language'
end
language_version_list() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 480
def language_version_list
  'Document Language Versions, manifests'
end
last_generated() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 468
def last_generated
  'Document (ao) last generated'
end
manifest_description() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 483
def manifest_description
  'SiSU manifest of document filetypes and metadata'
end
manifest_description_metadata() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 489
def manifest_description_metadata
  'Document Metadata'
end
manifest_description_output() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 486
def manifest_description_output
  'Available document filetypes'
end
metadata() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 321
def metadata
  'metadata'
end
prefix_a() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 438
def prefix_a
  'Prefix (a)'
end
prefix_b() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 441
def prefix_b
  'Prefix (b)'
end
prepared_by() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 354
def prepared_by
  'Prepared by'
end
publisher() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 351
def publisher #dc
  'Publisher'
end
relation() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 411
def relation #dc
  'Relation'
end
rights() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 375
def rights #dc
  'Rights'
end
ruby_version() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 474
def ruby_version
  'Ruby version'
end
sc_date() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 465
def sc_date
  'Document (RCS/CVS) number'
end
sc_number() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 462
def sc_number
  'Document (RCS/CVS) number'
end
sisu_version() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 471
def sisu_version
  'Generated by'
end
source() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 408
def source #dc
  'Source'
end
sourcefile() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 447
def sourcefile
  'Sourcefile'
end
sourcefile_digest() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 453
def sourcefile_digest
  'Sourcefile Digest'
end
subject() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 363
def subject #dc
  'Subject'
end
subtitle() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 333
def subtitle
  'Subtitle'
end
title() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 330
def title
  'Title'
end
topic_register() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 444
def topic_register
  'Topics Registered'
end
translator() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 345
def translator
  'Translator'
end
type() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 372
def type #dc
  'Type'
end
word_count() click to toggle source
# File lib/sisu/prog_text_translation.rb, line 450
def word_count
  'Word Count approximate'
end