Class: SiSU_Translate::Spanish

Inherits:
Object
  • Object
show all
Defined in:
lib/sisu/prog_text_translation.rb

Instance Method Summary collapse

Constructor Details

#initialize(md, doc_lang, trans_str) ⇒ Spanish

Returns a new instance of Spanish.



956
957
958
# File 'lib/sisu/prog_text_translation.rb', line 956

def initialize(md,doc_lang,trans_str)
  @md,@doc_lang,@trans_str=md,doc_lang,trans_str
end

Instance Method Details

#abstractObject

dc



1010
1011
1012
# File 'lib/sisu/prog_text_translation.rb', line 1010

def abstract #dc
  'Resumen'
end

#authorObject

dc



980
981
982
# File 'lib/sisu/prog_text_translation.rb', line 980

def author #dc
  'Creador'
end

#cls_deweyObject



1067
1068
1069
# File 'lib/sisu/prog_text_translation.rb', line 1067

def cls_dewey
  'Clasificación Dewey'
end

#cls_gutenbergObject



1073
1074
1075
# File 'lib/sisu/prog_text_translation.rb', line 1073

def cls_gutenberg
  'Clasificación Proyecto Gutenberg'
end

#cls_isbnObject



1076
1077
1078
# File 'lib/sisu/prog_text_translation.rb', line 1076

def cls_isbn
  'Clasificación ISBN'
end

#cls_locObject



1064
1065
1066
# File 'lib/sisu/prog_text_translation.rb', line 1064

def cls_loc
  'Clasificación Biblioteca del Congreso'
end

#cls_oclcObject

fix



1070
1071
1072
# File 'lib/sisu/prog_text_translation.rb', line 1070

def cls_oclc # fix
  'Classify OCLC number'
end

#commentsObject



1061
1062
1063
# File 'lib/sisu/prog_text_translation.rb', line 1061

def comments
  'Comentarios'
end

#contentsObject



1001
1002
1003
# File 'lib/sisu/prog_text_translation.rb', line 1001

def contents
  'Contents' #translate
end

#contributorObject

dc



983
984
985
# File 'lib/sisu/prog_text_translation.rb', line 983

def contributor #dc
  'Contribuidor'
end

#coverageObject

dc



1055
1056
1057
# File 'lib/sisu/prog_text_translation.rb', line 1055

def coverage #dc
  'Cobertura'
end

#dateObject

dc



1019
1020
1021
# File 'lib/sisu/prog_text_translation.rb', line 1019

def date #dc
  'Fecha'
end

#date_availableObject

dc



1028
1029
1030
# File 'lib/sisu/prog_text_translation.rb', line 1028

def date_available #dc
  'Fecha de disponibilidad'
end

#date_createdObject

dc



1022
1023
1024
# File 'lib/sisu/prog_text_translation.rb', line 1022

def date_created #dc
  'Fecha de creación'
end

#date_issuedObject

dc



1025
1026
1027
# File 'lib/sisu/prog_text_translation.rb', line 1025

def date_issued #dc
  'Fecha de publicación'
end

#date_modifiedObject

dc



1031
1032
1033
# File 'lib/sisu/prog_text_translation.rb', line 1031

def date_modified #dc
  'Fecha de modificación'
end

#date_validObject

dc



1034
1035
1036
# File 'lib/sisu/prog_text_translation.rb', line 1034

def date_valid #dc
  'Fecha de valided'
end

#descriptionObject

dc (watch)



1007
1008
1009
# File 'lib/sisu/prog_text_translation.rb', line 1007

def description #dc (watch)
  'Descripción'
end

#digest_md5Object



1097
1098
1099
# File 'lib/sisu/prog_text_translation.rb', line 1097

def digest_md5
  'Resumen del fichero fuente (md5)'
end

#digest_sha256Object



1100
1101
1102
# File 'lib/sisu/prog_text_translation.rb', line 1100

def digest_sha256
  'Resumen del fichero fuente (sha256)'
end

#digitized_byObject



998
999
1000
# File 'lib/sisu/prog_text_translation.rb', line 998

def digitized_by
  'Digitalizado por'
end

#file_sizeObject



968
969
970
# File 'lib/sisu/prog_text_translation.rb', line 968

def file_size
  'tamaño del fichero'
end

#filenameObject



959
960
961
# File 'lib/sisu/prog_text_translation.rb', line 959

def filename
 'nombre del fichero'
end

#filetype_descriptionObject



962
963
964
# File 'lib/sisu/prog_text_translation.rb', line 962

def filetype_description
  description
end

#formatObject

dc



1043
1044
1045
# File 'lib/sisu/prog_text_translation.rb', line 1043

def format #dc
  'Formato'
end

#full_titleObject

dc



971
972
973
# File 'lib/sisu/prog_text_translation.rb', line 971

def full_title #dc
  'Título'
end

#identifierObject

dc



1046
1047
1048
# File 'lib/sisu/prog_text_translation.rb', line 1046

def identifier #dc
  'Identificador'
end

#illustratorObject



989
990
991
# File 'lib/sisu/prog_text_translation.rb', line 989

def illustrator
  'Ilustrador'
end

#keywordsObject



1058
1059
1060
# File 'lib/sisu/prog_text_translation.rb', line 1058

def keywords
  'Palabras claves'
end

#languageObject

dc



1037
1038
1039
# File 'lib/sisu/prog_text_translation.rb', line 1037

def language #dc
  'Idioma'
end

#language_list_translatedObject



1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
# File 'lib/sisu/prog_text_translation.rb', line 1133

def language_list_translated
  case @trans_str
  when /American/i       then 'Inglés Americano'                     # tag depreciated, see iso 639-2
  when /English/i        then 'Inglés'
  when /French/i         then 'Francés'
  when /German/i         then 'Alemán'
  when /Italian/i        then 'Italiano'
  when /Spanish/i        then 'Español'
  when /Portuguese Brazil|Brazilian(?: Portuguese)?/i
                              'Portugués de Brasil'                  # tag depreciated, see iso 639-2
  when /Portuguese/i     then 'Portugués'
  when /Swedish/i        then 'Sueco'
  when /Danish/i         then 'Danés'
  when /Finnish/i        then 'Finés'
  when /Norwegian/i      then 'Noruego'
  when /Icelandic/i      then 'Islandés'
  when /Dutch/i          then 'Holandés'
  when /Estonian/i       then 'Estonio'
  when /Hungarian/i      then 'Húngaro'
  when /Polish/i         then 'Polaco'
  when /Romanian/i       then 'Rumano'
  when /Russian/i        then 'Ruso'
  when /Greek/i          then 'Griego'
  when /Ukranian/i       then 'Ucraniano'
  when /Turkish/i        then 'Turco'
  when /Slovenian/i      then 'Eslovaco'
  when /Croatian/i       then 'Croata'
  when /Slovak(?:ian)?/i then 'Eslovaco'
  when /Czech/i          then 'Checo'
  when /Bulgarian/i      then 'Búlgaro'
  else @trans_str
  end
end

#language_originalObject



1040
1041
1042
# File 'lib/sisu/prog_text_translation.rb', line 1040

def language_original
  'Lenguaje original'
end

#language_version_listObject



1121
1122
1123
# File 'lib/sisu/prog_text_translation.rb', line 1121

def language_version_list
  'Document Language Versions, manifests'
end

#last_generatedObject



1109
1110
1111
# File 'lib/sisu/prog_text_translation.rb', line 1109

def last_generated
  'Última generación (metaverse) del documento'
end

#manifest_descriptionObject



1124
1125
1126
# File 'lib/sisu/prog_text_translation.rb', line 1124

def manifest_description
  'SiSU manifest of document filetypes and metadata'
end

#manifest_description_metadataObject



1130
1131
1132
# File 'lib/sisu/prog_text_translation.rb', line 1130

def 
  'Manifiesto SiSU de metadatos de documento'
end

#manifest_description_outputObject



1127
1128
1129
# File 'lib/sisu/prog_text_translation.rb', line 1127

def manifest_description_output
  'Manifiesto SiSU de salida generada'
end

#metadataObject



965
966
967
# File 'lib/sisu/prog_text_translation.rb', line 965

def 
  'metadatos'
end

#prefix_aObject



1079
1080
1081
# File 'lib/sisu/prog_text_translation.rb', line 1079

def prefix_a
  'Prefijo (a)'
end

#prefix_bObject



1082
1083
1084
# File 'lib/sisu/prog_text_translation.rb', line 1082

def prefix_b
  'Prefijo (b)'
end

#prepared_byObject



995
996
997
# File 'lib/sisu/prog_text_translation.rb', line 995

def prepared_by
  'Preparado por'
end

#publisherObject

dc



992
993
994
# File 'lib/sisu/prog_text_translation.rb', line 992

def publisher #dc
  'Editor'
end

#relationObject

dc



1052
1053
1054
# File 'lib/sisu/prog_text_translation.rb', line 1052

def relation #dc
  'Relación'
end

#rightsObject

dc



1016
1017
1018
# File 'lib/sisu/prog_text_translation.rb', line 1016

def rights #dc
  'Derechos'
end

#ruby_versionObject



1115
1116
1117
# File 'lib/sisu/prog_text_translation.rb', line 1115

def ruby_version
  'Versión de Ruby'
end

#sc_dateObject



1106
1107
1108
# File 'lib/sisu/prog_text_translation.rb', line 1106

def sc_date
  'Versión (RCS/CVS) del documento'
end

#sc_numberObject



1103
1104
1105
# File 'lib/sisu/prog_text_translation.rb', line 1103

def sc_number
  'Versión (RCS/CVS) del documento'
end

#sisu_versionObject



1112
1113
1114
# File 'lib/sisu/prog_text_translation.rb', line 1112

def sisu_version
  'Generado por'
end

#sourceObject

dc



1049
1050
1051
# File 'lib/sisu/prog_text_translation.rb', line 1049

def source #dc
  'Fuente'
end

#sourcefileObject



1088
1089
1090
# File 'lib/sisu/prog_text_translation.rb', line 1088

def sourcefile
  'Fichero fuente'
end

#sourcefile_digestObject



1094
1095
1096
# File 'lib/sisu/prog_text_translation.rb', line 1094

def sourcefile_digest
  'Resumen del fichero fuente'
end

#subjectObject

dc



1004
1005
1006
# File 'lib/sisu/prog_text_translation.rb', line 1004

def subject #dc
  'Asunto'
end

#subtitleObject



977
978
979
# File 'lib/sisu/prog_text_translation.rb', line 977

def subtitle
  'Subtítulo'
end


1118
1119
1120
# File 'lib/sisu/prog_text_translation.rb', line 1118

def suggested_links
  'enlaces sugeridos de metadatos'
end

#titleObject



974
975
976
# File 'lib/sisu/prog_text_translation.rb', line 974

def title
  'Título'
end

#topic_registerObject



1085
1086
1087
# File 'lib/sisu/prog_text_translation.rb', line 1085

def topic_register
  'Topics Registered'
end

#translatorObject



986
987
988
# File 'lib/sisu/prog_text_translation.rb', line 986

def translator
  'Traductor'
end

#typeObject

dc



1013
1014
1015
# File 'lib/sisu/prog_text_translation.rb', line 1013

def type #dc
  'Tipo'
end

#word_countObject



1091
1092
1093
# File 'lib/sisu/prog_text_translation.rb', line 1091

def word_count
  'Número de palabras apróximado'
end