From c11ed8c181b56dbf2a3130c651e8e1ae46f1617e Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 23 May 2011 17:09:19 -0400 Subject: v3: i18n, added language translation table column to hash/table * changelog, version dates touched as well --- data/doc/sisu/CHANGELOG_v3 | 4 +- data/sisu/v3/v/version.yml | 4 +- lib/sisu/v3/i18n.rb | 118 ++++++++++++++++++++++----------------------- 3 files changed, 64 insertions(+), 62 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index 62ed8f67..0092be6c 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -13,7 +13,7 @@ Reverse Chronological: %% Development branch UNSTABLE v3 branch once stable will supersede & replace current stable v2 branch -%% 3.0.10.orig.tar.gz (2011-05-17:20/2) +%% 3.0.10.orig.tar.gz (2011-05-23:21/1) http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/debian/3.0.10-1 http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.10.orig.tar.gz sisu_3.0.10.orig.tar.gz @@ -26,6 +26,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.10.orig.tar.gz Dir.pwd), prevent attempt to change directory unless different directory requested + * i18n, add language name translation column to hash/table + %% 3.0.9.orig.tar.gz (2011-05-17:20/2) http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/debian/3.0.9-1 http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.9.orig.tar.gz diff --git a/data/sisu/v3/v/version.yml b/data/sisu/v3/v/version.yml index 3735730b..e6c9bcaa 100644 --- a/data/sisu/v3/v/version.yml +++ b/data/sisu/v3/v/version.yml @@ -1,5 +1,5 @@ --- :version: 3.0.10-beta-rb1.9.2p180 -:date_stamp: 2011w20/2 -:date: "2011-05-17" +:date_stamp: 2011w21/1 +:date: "2011-05-23" :project: SiSU diff --git a/lib/sisu/v3/i18n.rb b/lib/sisu/v3/i18n.rb index 1001b6fb..85030697 100644 --- a/lib/sisu/v3/i18n.rb +++ b/lib/sisu/v3/i18n.rb @@ -62,65 +62,65 @@ module SiSU_i18n def language def table @@language_table ||= { - am: { c: 'am', n: 'Amharic', xlp: 'amharic'}, - bg: { c: 'bg', n: 'Bulgarian', xlp: 'bulgarian'}, - bn: { c: 'bn', n: 'Bengali', xlp: 'bengali'}, - br: { c: 'br', n: 'Breton', xlp: 'breton'}, - ca: { c: 'ca', n: 'Catalan', xlp: 'catalan'}, - cs: { c: 'cs', n: 'Czech', xlp: 'czech'}, - cy: { c: 'cy', n: 'Welsh', xlp: 'welsh'}, - da: { c: 'da', n: 'Danish', xlp: 'danish'}, - de: { c: 'de', n: 'German', xlp: 'german'}, - el: { c: 'el', n: 'Greek', xlp: 'greek'}, - en: { c: 'en', n: 'English', xlp: 'english'}, - eo: { c: 'eo', n: 'Esperanto', xlp: 'esperanto'}, - es: { c: 'es', n: 'Spanish', xlp: 'spanish'}, - et: { c: 'et', n: 'Estonian', xlp: 'estonian'}, - eu: { c: 'eu', n: 'Basque', xlp: 'basque'}, - fi: { c: 'fi', n: 'Finnish', xlp: 'finnish'}, - fr: { c: 'fr', n: 'French', xlp: 'french'}, - ga: { c: 'ga', n: 'Irish', xlp: 'irish'}, - gl: { c: 'gl', n: 'Galician', xlp: 'galician'}, - he: { c: 'he', n: 'Hebrew', xlp: 'hebrew'}, - hi: { c: 'hi', n: 'Hindi', xlp: 'hindi'}, - hr: { c: 'hr', n: 'Croatian', xlp: 'croatian'}, - hy: { c: 'hy', n: 'Armenian', xlp: 'armenian'}, - ia: { c: 'ia', n: 'Interlingua', xlp: 'interlingua'}, - is: { c: 'is', n: 'Icelandic', xlp: 'icelandic'}, - it: { c: 'it', n: 'Italian', xlp: 'italian'}, - la: { c: 'la', n: 'Latin', xlp: 'latin'}, - lo: { c: 'lo', n: 'Lao', xlp: 'lao'}, - lt: { c: 'lt', n: 'Lithuanian', xlp: 'lithuanian'}, - lv: { c: 'lv', n: 'Latvian', xlp: 'latvian'}, - ml: { c: 'ml', n: 'Malayalam', xlp: 'malayalam'}, - mr: { c: 'mr', n: 'Marathi', xlp: 'marathi'}, - nl: { c: 'nl', n: 'Dutch', xlp: 'dutch'}, - no: { c: 'no', n: 'Norwegian', xlp: 'norsk'}, - nn: { c: 'nn', n: 'Norwegian Nynorsk', xlp: 'nynorsk'}, - oc: { c: 'oc', n: 'Occitan', xlp: 'occitan'}, - pl: { c: 'pl', n: 'Polish', xlp: 'polish'}, - pt: { c: 'pt', n: 'Portuguese', xlp: 'portuges'}, - pt_BR: { c: 'pt_BR', n: 'Portuguese Brazil', xlp: 'brazilian'}, - ro: { c: 'ro', n: 'Romanian', xlp: 'romanian'}, - ru: { c: 'ru', n: 'Russian', xlp: 'russian'}, - sa: { c: 'sa', n: 'Sanskrit', xlp: 'sanskrit'}, - se: { c: 'se', n: 'Sami', xlp: 'samin'}, - sk: { c: 'sk', n: 'Slovak', xlp: 'slovak'}, - sl: { c: 'sl', n: 'Slovenian', xlp: 'slovenian'}, - sq: { c: 'sq', n: 'Albanian', xlp: 'albanian'}, - sr: { c: 'sr', n: 'Serbian', xlp: 'serbian'}, - sv: { c: 'sv', n: 'Swedish', xlp: 'swedish'}, - ta: { c: 'ta', n: 'Tamil', xlp: 'tamil'}, - te: { c: 'te', n: 'Telugu', xlp: 'telugu'}, - th: { c: 'th', n: 'Thai', xlp: 'thai'}, - tk: { c: 'tk', n: 'Turkmen', xlp: 'turkmen'}, - tr: { c: 'tr', n: 'Turkish', xlp: 'turkish'}, - uk: { c: 'uk', n: 'Ukranian', xlp: 'ukrainian'}, - ur: { c: 'ur', n: 'Urdu', xlp: 'urdu'}, - us: { c: 'en', n: 'English (American)',xlp: 'english'}, - vi: { c: 'vi', n: 'Vietnamese', xlp: 'vietnamese'}, - en: { c: 'en', n: 'English', xlp: 'english'}, - xx: { c: 'xx', n: 'Default', xlp: 'english'}, + am: { c: 'am', n: 'Amharic', t: 'Amharic', xlp: 'amharic' }, + bg: { c: 'bg', n: 'Bulgarian', t: 'Български (Bəlgarski)', xlp: 'bulgarian' }, + bn: { c: 'bn', n: 'Bengali', t: 'Bengali', xlp: 'bengali' }, + br: { c: 'br', n: 'Breton', t: 'Breton', xlp: 'breton' }, + ca: { c: 'ca', n: 'Catalan', t: 'catalan', xlp: 'catalan' }, + cs: { c: 'cs', n: 'Czech', t: 'česky', xlp: 'czech' }, + cy: { c: 'cy', n: 'Welsh', t: 'Welsh', xlp: 'welsh' }, + da: { c: 'da', n: 'Danish', t: 'dansk', xlp: 'danish' }, + de: { c: 'de', n: 'German', t: 'Deutsch', xlp: 'german' }, + el: { c: 'el', n: 'Greek', t: 'Ελληνικά (Ellinika)', xlp: 'greek' }, + en: { c: 'en', n: 'English', t: 'English', xlp: 'english' }, + eo: { c: 'eo', n: 'Esperanto', t: 'Esperanto', xlp: 'esperanto' }, + es: { c: 'es', n: 'Spanish', t: 'español', xlp: 'spanish' }, + et: { c: 'et', n: 'Estonian', t: 'Estonian', xlp: 'estonian' }, + eu: { c: 'eu', n: 'Basque', t: 'basque', xlp: 'basque' }, + fi: { c: 'fi', n: 'Finnish', t: 'suomi', xlp: 'finnish' }, + fr: { c: 'fr', n: 'French', t: 'français', xlp: 'french' }, + ga: { c: 'ga', n: 'Irish', t: 'Irish', xlp: 'irish' }, + gl: { c: 'gl', n: 'Galician', t: 'Galician', xlp: 'galician' }, + he: { c: 'he', n: 'Hebrew', t: 'Hebrew', xlp: 'hebrew' }, + hi: { c: 'hi', n: 'Hindi', t: 'Hindi', xlp: 'hindi' }, + hr: { c: 'hr', n: 'Croatian', t: 'Croatian', xlp: 'croatian' }, + hy: { c: 'hy', n: 'Armenian', t: 'Armenian', xlp: 'armenian' }, + ia: { c: 'ia', n: 'Interlingua', t: 'Interlingua', xlp: 'interlingua' }, + is: { c: 'is', n: 'Icelandic', t: 'Icelandic', xlp: 'icelandic' }, + it: { c: 'it', n: 'Italian', t: 'Italiano', xlp: 'italian' }, + la: { c: 'la', n: 'Latin', t: 'Latin', xlp: 'latin' }, + lo: { c: 'lo', n: 'Lao', t: 'Lao', xlp: 'lao' }, + lt: { c: 'lt', n: 'Lithuanian', t: 'Lithuanian', xlp: 'lithuanian' }, + lv: { c: 'lv', n: 'Latvian', t: 'Latvian', xlp: 'latvian' }, + ml: { c: 'ml', n: 'Malayalam', t: 'Malayalam', xlp: 'malayalam' }, + mr: { c: 'mr', n: 'Marathi', t: 'Marathi', xlp: 'marathi' }, + nl: { c: 'nl', n: 'Dutch', t: 'Nederlands', xlp: 'dutch' }, + no: { c: 'no', n: 'Norwegian', t: 'norsk', xlp: 'norsk' }, + nn: { c: 'nn', n: 'Norwegian Nynorsk', t: 'nynorsk', xlp: 'nynorsk' }, + oc: { c: 'oc', n: 'Occitan', t: 'Occitan', xlp: 'occitan' }, + pl: { c: 'pl', n: 'Polish', t: 'polski', xlp: 'polish' }, + pt: { c: 'pt', n: 'Portuguese', t: 'Português', xlp: 'portuges' }, + pt_BR: { c: 'pt_BR', n: 'Portuguese Brazil', t: 'Brazilian Português', xlp: 'brazilian' }, + ro: { c: 'ro', n: 'Romanian', t: 'română', xlp: 'romanian' }, + ru: { c: 'ru', n: 'Russian', t: 'Русский (Russkij)', xlp: 'russian' }, + sa: { c: 'sa', n: 'Sanskrit', t: 'Sanskrit', xlp: 'sanskrit' }, + se: { c: 'se', n: 'Sami', t: 'Samin', xlp: 'samin' }, + sk: { c: 'sk', n: 'Slovak', t: 'slovensky', xlp: 'slovak' }, + sl: { c: 'sl', n: 'Slovenian', t: 'Slovenian', xlp: 'slovenian' }, + sq: { c: 'sq', n: 'Albanian', t: 'Albanian', xlp: 'albanian' }, + sr: { c: 'sr', n: 'Serbian', t: 'Serbian', xlp: 'serbian' }, + sv: { c: 'sv', n: 'Swedish', t: 'svenska', xlp: 'swedish' }, + ta: { c: 'ta', n: 'Tamil', t: 'Tamil', xlp: 'tamil' }, + te: { c: 'te', n: 'Telugu', t: 'Telugu', xlp: 'telugu' }, + th: { c: 'th', n: 'Thai', t: 'Thai', xlp: 'thai' }, + tk: { c: 'tk', n: 'Turkmen', t: 'Turkmen', xlp: 'turkmen' }, + tr: { c: 'tr', n: 'Turkish', t: 'Türkçe', xlp: 'turkish' }, + uk: { c: 'uk', n: 'Ukranian', t: 'українська (ukrajins\'ka)', xlp: 'ukrainian' }, + ur: { c: 'ur', n: 'Urdu', t: 'Urdu', xlp: 'urdu' }, + us: { c: 'en', n: 'English (American)',t: 'English', xlp: 'english' }, + vi: { c: 'vi', n: 'Vietnamese', t: 'Vietnamese', xlp: 'vietnamese' }, + en: { c: 'en', n: 'English', t: 'English', xlp: 'english' }, + xx: { c: 'xx', n: 'Default', t: 'English', xlp: 'english' }, } end def list -- cgit v1.2.3