diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-08-09 00:00:00 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-08-09 00:00:00 -0400 |
commit | a588b8f587a3af9ddfc06c1f0e71b51eb86890ba (patch) | |
tree | 8b99ad08d29119d3592f1ca56324853aba4ffa62 /lib | |
parent | v3: po4a, make use of base directory (default) language setting (diff) |
v3: prog_text_translation, add contents, remove some repetition
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v3/prog_text_translation.rb | 49 |
1 files changed, 24 insertions, 25 deletions
diff --git a/lib/sisu/v3/prog_text_translation.rb b/lib/sisu/v3/prog_text_translation.rb index fca06e71..61fed18f 100644 --- a/lib/sisu/v3/prog_text_translation.rb +++ b/lib/sisu/v3/prog_text_translation.rb @@ -94,13 +94,9 @@ module SiSU_Translate else English.new(md,doc_lang,trans_str) end end - def filename @lang_class.filename end - def description - @lang_class.description - end def metadata @lang_class.metadata end @@ -146,6 +142,9 @@ module SiSU_Translate def digitized_by @lang_class.digitized_by end + def contents + @lang_class.contents + end def subject @lang_class.subject end @@ -161,9 +160,6 @@ module SiSU_Translate def rights @lang_class.rights end - def digitized_by - @lang_class.digitized_by - end def date @lang_class.date end @@ -323,9 +319,6 @@ module SiSU_Translate def filename 'filename' end - def description - 'description' - end def filetype_description 'filetype description' end @@ -368,6 +361,9 @@ module SiSU_Translate def digitized_by 'Digitized by' end + def contents + 'Contents' + end def subject #dc 'Subject' end @@ -538,9 +534,6 @@ module SiSU_Translate def filename 'nom de fichier' end - def description - 'description' - end def filetype_description description end @@ -583,6 +576,9 @@ module SiSU_Translate def digitized_by 'Numérisé par' end + def contents + 'Contents' #translate + end def subject #dc 'Sujet' end @@ -753,9 +749,6 @@ module SiSU_Translate def filename 'Dateiname' end - def description - 'Beschreibung' - end def filetype_description description end @@ -795,6 +788,9 @@ module SiSU_Translate def digitized_by 'digitalisiert von' end + def contents + 'Contents' #translate + end def subject 'Titel' end @@ -965,9 +961,6 @@ module SiSU_Translate def filename 'nombre del fichero' end - def description - 'descripción' - end def filetype_description description end @@ -1007,6 +1000,9 @@ module SiSU_Translate def digitized_by 'Digitalizado por' end + def contents + 'Contents' #translate + end def subject #dc 'Asunto' end @@ -1177,9 +1173,6 @@ module SiSU_Translate def filename 'nome del file' end - def description - 'descrizione' - end def filetype_description description end @@ -1219,6 +1212,9 @@ module SiSU_Translate def digitized_by 'Convertito in digitale da' end + def contents + 'Contents' #translate + end def subject #dc 'Oggetto' end @@ -1389,9 +1385,6 @@ module SiSU_Translate def filename 'tiedostonimi' end - def description - 'kuvaus' - end def filetype_description description end @@ -1431,6 +1424,9 @@ module SiSU_Translate def digitized_by 'Digitalisoinut' end + def contents + 'Contents' #translate + end def subject #dc 'aihe' end @@ -1597,6 +1593,9 @@ module SiSU_Translate class Portuguese < English end class Swedish < English + def contents + 'Innehåll' + end end class Danish < English end |