aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-08-09 00:00:00 -0400
committerRalph Amissah <ralph@amissah.com>2011-08-09 00:00:00 -0400
commita588b8f587a3af9ddfc06c1f0e71b51eb86890ba (patch)
tree8b99ad08d29119d3592f1ca56324853aba4ffa62
parentv3: po4a, make use of base directory (default) language setting (diff)
v3: prog_text_translation, add contents, remove some repetition
-rw-r--r--data/doc/sisu/CHANGELOG_v32
-rw-r--r--lib/sisu/v3/prog_text_translation.rb49
2 files changed, 26 insertions, 25 deletions
diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3
index dbe0bc2a..fc04744d 100644
--- a/data/doc/sisu/CHANGELOG_v3
+++ b/data/doc/sisu/CHANGELOG_v3
@@ -27,6 +27,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.15.orig.tar.gz
* po4a, make use of base directory (default) language setting
(for setting original language, (instead of assuming English))
+ * prog_text_translation, add contents, remove some repetition
+
* objects.txt, removed, cleaning
%% 3.0.14.orig.tar.gz (2011-07-26:30/2)
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