[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm /publisher language.tab
www
lon-capa-cvs@mail.lon-capa.org
Sat, 04 Oct 2003 22:34:02 -0000
www Sat Oct 4 18:34:02 2003 EDT
Modified files:
/loncom/interface loncommon.pm
/loncom/publisher language.tab
Log:
Mark the languages which we support in the interface
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.123 loncom/interface/loncommon.pm:1.124
--- loncom/interface/loncommon.pm:1.123 Sun Sep 21 16:06:36 2003
+++ loncom/interface/loncommon.pm Sat Oct 4 18:34:02 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.123 2003/09/21 20:06:36 www Exp $
+# $Id: loncommon.pm,v 1.124 2003/10/04 22:34:02 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -80,6 +80,7 @@
# ----------------------------------------------- Filetypes/Languages/Copyright
my %language;
+my %supported_language;
my %cprtag;
my %fe; my %fd;
my %category_extensions;
@@ -146,8 +147,11 @@
while (<$fh>) {
next if /^\#/;
chomp;
- my ($key,$two,$country,$three,$enc,$val)=(split(/\t/,$_));
+ my ($key,$two,$country,$three,$enc,$val,$sup)=(split(/\t/,$_));
$language{$key}=$val.' - '.$enc;
+ if ($sup) {
+ $supported_language{$key}=$sup;
+ }
}
}
}
Index: loncom/publisher/language.tab
diff -u loncom/publisher/language.tab:1.3 loncom/publisher/language.tab:1.4
--- loncom/publisher/language.tab:1.3 Sun May 4 17:20:17 2003
+++ loncom/publisher/language.tab Sat Oct 4 18:34:02 2003
@@ -12,7 +12,7 @@
schmiso chm ISO Mari
skuaiso kua ISO Kuanyama
sinciso inc ISO Indic (Other)
-sptiso pt por ISO Portuguese
+sptiso pt por ISO Portuguese pt
scebiso ceb ISO Cebuano
shiniso hi hin ISO Hindi
sdiviso div ISO Divehi
@@ -306,7 +306,8 @@
sukriso uk ukr ISO Ukrainian
sniuiso niu ISO Niuean
sjasjis ja jpn SJIS Japanese
-sjaeuc ja jpn EUC Japanese
+sjaeuc ja jpn EUC Japanese
+sjautf ja jpn UTF Japanese ja
smaliso mal ISO Malayalam
salbiso sq alb/sqi ISO Albanian
sangiso ang ISO English, Old (ca. 450-1100)
@@ -399,7 +400,7 @@
suigiso ug uig ISO Uighur
srajiso raj ISO Rajasthani
sgaaiso Ga gaa ISO Ga
-sgeiso de deu/ger ISO German
+sgeiso de deu/ger ISO German de
sgeisoAT de AT deu/ger ISO Austrian
sgeisoCH de CH deu/ger ISO Swiss-German
steliso te tel ISO Telugu