forked from extern/egroupware
Fixed the languages table being in upper case while everything else was in lower case
This commit is contained in:
parent
1aba38fccf
commit
9b777ab06e
@ -103,7 +103,7 @@
|
||||
$phpgw->db->next_record();
|
||||
|
||||
if ($phpgw->db->f("preference_value") == "") {
|
||||
$phpgw_info["user"]["preferences"]["common"]["lang"] = "EN";
|
||||
$phpgw_info["user"]["preferences"]["common"]["lang"] = "en";
|
||||
}
|
||||
$lang_select[$phpgw_info["user"]["preferences"]["common"]["lang"]] = " selected";
|
||||
$strSql = "SELECT lang_id, lang_name FROM languages WHERE available = 'Yes'";
|
||||
@ -114,7 +114,7 @@
|
||||
if ($phpgw->db->f("lang_id") == $phpgw_info["user"]["preferences"]["common"]["lang"]) {
|
||||
echo " selected";
|
||||
}
|
||||
} elseif ($phpgw->db->f("lang_id") == "EN") {
|
||||
} elseif ($phpgw->db->f("lang_id") == "en") {
|
||||
echo " selected";
|
||||
}
|
||||
echo ">" . $phpgw->db->f("lang_name") . "</option>";
|
||||
@ -150,17 +150,29 @@
|
||||
. "</option>";
|
||||
}
|
||||
}
|
||||
?></select>
|
||||
</td>
|
||||
</tr>
|
||||
?></select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<input type="submit" name="submit" value="<?php echo lang("submit"); ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<tr>
|
||||
<td><?php echo lang("Currency"); ?></td>
|
||||
<td>
|
||||
<?php
|
||||
if (! isset($phpgw_info["user"]["preferences"]["common"]["currency"])) {
|
||||
$phpgw_info["user"]["preferences"]["common"]["currency"] = '$';
|
||||
}
|
||||
?>
|
||||
<input name="currency" value="<?php echo $phpgw_info["user"]["preferences"]["common"]["currency"]; ?>">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<input type="submit" name="submit" value="<?php echo lang("submit"); ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
} else {
|
||||
@ -174,6 +186,7 @@
|
||||
$phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"timeformat","common");
|
||||
$phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"lang","common");
|
||||
$phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"default_app","common");
|
||||
$phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"currency","common");
|
||||
|
||||
if ($navbar_text) {
|
||||
$phpgw->preferences->preferences_add($phpgw_info["user"]["account_id"],"navbar_text","common");
|
||||
|
@ -116,141 +116,141 @@
|
||||
$db->query("insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('1','calendar','workdayends','15')");
|
||||
$db->query("insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('1','calendar','weekdaystarts','Monday')");
|
||||
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('AA','Afar','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('AB','Abkhazian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('AF','Afrikaans','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('AM','Amharic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('AR','Arabic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('AS','Assamese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('AY','Aymara','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('AZ','Azerbaijani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('BA','Bashkir','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('BE','Byelorussian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('BG','Bulgarian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('BH','Bihari','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('BI','Bislama','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('BN','Bengali / Bangla','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('BO','Tibetan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('BR','Breton','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('CA','Catalan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('CO','Corsican','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('CS','Czech','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('CY','Welsh','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('DA','Danish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('DE','German','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('DZ','Bhutani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('EL','Greek','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('EN','English / American','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('EO','Esperanto','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ES','Spanish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ET','Estonian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('EU','Basque','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('FA','Persian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('FI','Finnish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('FJ','Fiji','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('FO','Faeroese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('FR','French','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('FY','Frisian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('GA','Irish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('GD','Gaelic / Scots Gaelic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('GL','Galician','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('GN','Guarani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('GU','Gujarati','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('HA','Hausa','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('HI','Hindi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('HR','Croatian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('HU','Hungarian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('HY','Armenian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('IA','Interlingua','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('IE','Interlingue','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('IK','Inupiak','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('IN','Indonesian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('IS','Icelandic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('IT','Italian','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('IW','Hebrew','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('JA','Japanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('JI','Yiddish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('JW','Javanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('KA','Georgian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('KK','Kazakh','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('KL','Greenlandic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('KM','Cambodian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('KN','Kannada','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('KO','Korean','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('KS','Kashmiri','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('KU','Kurdish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('KY','Kirghiz','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('LA','Latin','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('LN','Lingala','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('LO','Laothian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('LT','Lithuanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('LV','Latvian / Lettish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('MG','Malagasy','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('MI','Maori','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('MK','Macedonian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ML','Malayalam','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('MN','Mongolian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('MO','Moldavian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('MR','Marathi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('MS','Malay','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('MT','Maltese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('MY','Burmese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('NA','Nauru','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('NE','Nepali','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('NL','Dutch','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('NO','Norwegian','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('OC','Occitan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('OM','Oromo / Afan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('OR','Oriya','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('PA','Punjabi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('PL','Polish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('PS','Pashto / Pushto','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('PT','Portuguese','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('QU','Quechua','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('RM','Rhaeto-Romance','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('RN','Kirundi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('RO','Romanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('RU','Russian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('RW','Kinyarwanda','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SA','Sanskrit','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SD','Sindhi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SG','Sangro','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SH','Serbo-Croatian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SI','Singhalese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SK','Slovak','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SL','Slovenian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SM','Samoan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SN','Shona','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SO','Somali','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SQ','Albanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SR','Serbian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SS','Siswati','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ST','Sesotho','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SU','Sudanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SV','Swedish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('SW','Swahili','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TA','Tamil','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TE','Tegulu','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TG','Tajik','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TH','Thai','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TI','Tigrinya','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TK','Turkmen','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TL','Tagalog','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TN','Setswana','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TO','Tonga','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TR','Turkish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TS','Tsonga','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TT','Tatar','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('TW','Twi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('UK','Ukrainian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('UR','Urdu','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('UZ','Uzbek','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('VI','Vietnamese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('VO','Volapuk','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('WO','Wolof','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('XH','Xhosa','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('YO','Yoruba','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ZH','Chinese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ZU','Zulu','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('aa','Afar','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ab','Abkhazian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('af','Afrikaans','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('am','Amharic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ar','Arabic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('as','Assamese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ay','Aymara','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('az','Azerbaijani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ba','Bashkir','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('be','Byelorussian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bg','Bulgarian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bh','Bihari','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bi','Bislama','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bn','Bengali / Bangla','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bo','Tibetan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('br','Breton','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ca','Catalan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('co','Corsican','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('cs','Czech','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('cy','Welsh','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('da','Danish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('de','German','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('dz','Bhutani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('el','Greek','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('en','English / American','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('eo','Esperanto','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('es','Spanish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('et','Estonian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('eu','Basque','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fa','Persian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fi','Finnish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fj','Fiji','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fo','Faeroese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fr','French','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fy','Frisian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ga','Irish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gd','Gaelic / Scots Gaelic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gl','Galician','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gn','Guarani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gu','Gujarati','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ha','Hausa','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hi','Hindi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hr','Croatian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hu','Hungarian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hy','Armenian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ia','Interlingua','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ie','Interlingue','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ik','Inupiak','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('in','Indonesian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('is','Icelandic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('it','Italian','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('iw','Hebrew','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ja','Japanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ji','Yiddish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('jw','Javanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ka','Georgian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('kk','Kazakh','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('kl','Greenlandic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('km','Cambodian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('kn','Kannada','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ko','Korean','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ks','Kashmiri','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ku','Kurdish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ky','Kirghiz','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('la','Latin','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ln','Lingala','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('lo','Laothian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('lt','Lithuanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('lv','Latvian / Lettish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mg','Malagasy','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mi','Maori','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mk','Macedonian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ml','Malayalam','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mn','Mongolian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mo','Moldavian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mr','Marathi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ms','Malay','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mt','Maltese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('my','Burmese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('na','Nauru','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ne','Nepali','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('nl','Dutch','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('no','Norwegian','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('oc','Occitan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('om','Oromo / Afan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('or','Oriya','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('pa','Punjabi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('pl','Polish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ps','Pashto / Pushto','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('pt','Portuguese','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('qu','Quechua','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('rm','Rhaeto-Romance','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('rn','Kirundi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ro','Romanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ru','Russian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('rw','Kinyarwanda','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sa','Sanskrit','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sd','Sindhi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sg','Sangro','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sh','Serbo-Croatian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('si','Singhalese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sk','Slovak','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sl','Slovenian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sm','Samoan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sn','Shona','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('so','Somali','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sq','Albanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sr','Serbian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ss','Siswati','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('st','Sesotho','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('su','Sudanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sv','Swedish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sw','Swahili','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ta','Tamil','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('te','Tegulu','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tg','Tajik','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('th','Thai','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ti','Tigrinya','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tk','Turkmen','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tl','Tagalog','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tn','Setswana','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('to','Tonga','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tr','Turkish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ts','Tsonga','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tt','Tatar','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tw','Twi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('uk','Ukrainian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ur','Urdu','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('uz','Uzbek','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('vi','Vietnamese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('vo','Volapuk','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('wo','Wolof','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('xh','Xhosa','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('yo','Yoruba','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('zh','Chinese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('zu','Zulu','No')");
|
||||
|
||||
?>
|
||||
|
@ -358,11 +358,152 @@
|
||||
global $currentver, $phpgw_info, $db;
|
||||
|
||||
// The 0.9.4pre1 is only temp until release
|
||||
if ($currentver == "0.9.4" || ereg ("^0\.9\.5pre", $currentver)){
|
||||
//if ($currentver == "0.9.4" || ereg ("^0\.9\.5pre", $currentver)){
|
||||
if ($currentver == "0.9.4") {
|
||||
$currentver = "0.9.4pre1";
|
||||
|
||||
$db->query("delete from languages");
|
||||
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('aa','Afar','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ab','Abkhazian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('af','Afrikaans','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('am','Amharic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ar','Arabic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('as','Assamese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ay','Aymara','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('az','Azerbaijani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ba','Bashkir','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('be','Byelorussian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bg','Bulgarian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bh','Bihari','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bi','Bislama','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bn','Bengali / Bangla','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bo','Tibetan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('br','Breton','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ca','Catalan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('co','Corsican','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('cs','Czech','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('cy','Welsh','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('da','Danish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('de','German','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('dz','Bhutani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('el','Greek','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('en','English / American','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('eo','Esperanto','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('es','Spanish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('et','Estonian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('eu','Basque','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fa','Persian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fi','Finnish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fj','Fiji','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fo','Faeroese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fr','French','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fy','Frisian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ga','Irish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gd','Gaelic / Scots Gaelic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gl','Galician','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gn','Guarani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gu','Gujarati','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ha','Hausa','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hi','Hindi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hr','Croatian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hu','Hungarian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hy','Armenian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ia','Interlingua','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ie','Interlingue','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ik','Inupiak','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('in','Indonesian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('is','Icelandic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('it','Italian','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('iw','Hebrew','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ja','Japanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ji','Yiddish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('jw','Javanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ka','Georgian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('kk','Kazakh','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('kl','Greenlandic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('km','Cambodian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('kn','Kannada','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ko','Korean','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ks','Kashmiri','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ku','Kurdish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ky','Kirghiz','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('la','Latin','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ln','Lingala','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('lo','Laothian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('lt','Lithuanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('lv','Latvian / Lettish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mg','Malagasy','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mi','Maori','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mk','Macedonian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ml','Malayalam','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mn','Mongolian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mo','Moldavian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mr','Marathi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ms','Malay','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mt','Maltese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('my','Burmese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('na','Nauru','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ne','Nepali','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('nl','Dutch','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('no','Norwegian','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('oc','Occitan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('om','Oromo / Afan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('or','Oriya','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('pa','Punjabi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('pl','Polish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ps','Pashto / Pushto','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('pt','Portuguese','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('qu','Quechua','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('rm','Rhaeto-Romance','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('rn','Kirundi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ro','Romanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ru','Russian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('rw','Kinyarwanda','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sa','Sanskrit','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sd','Sindhi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sg','Sangro','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sh','Serbo-Croatian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('si','Singhalese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sk','Slovak','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sl','Slovenian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sm','Samoan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sn','Shona','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('so','Somali','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sq','Albanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sr','Serbian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ss','Siswati','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('st','Sesotho','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('su','Sudanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sv','Swedish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sw','Swahili','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ta','Tamil','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('te','Tegulu','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tg','Tajik','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('th','Thai','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ti','Tigrinya','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tk','Turkmen','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tl','Tagalog','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tn','Setswana','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('to','Tonga','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tr','Turkish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ts','Tsonga','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tt','Tatar','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tw','Twi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('uk','Ukrainian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ur','Urdu','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('uz','Uzbek','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('vi','Vietnamese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('vo','Volapuk','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('wo','Wolof','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('xh','Xhosa','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('yo','Yoruba','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('zh','Chinese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('zu','Zulu','No')");
|
||||
|
||||
|
||||
update_version_table();
|
||||
}
|
||||
//}
|
||||
echo " <tr bgcolor=\"e6e6e6\">\n";
|
||||
echo " <td>Upgrade from 0.9.4 to $currentver is completed.</td>\n";
|
||||
echo " </tr>\n";
|
||||
@ -372,6 +513,6 @@
|
||||
v0_9_1to0_9_2();
|
||||
v0_9_2to0_9_3();
|
||||
v0_9_3to0_9_4();
|
||||
// v0_9_4to0_9_5();
|
||||
v0_9_4to0_9_5();
|
||||
|
||||
?>
|
||||
|
@ -367,11 +367,151 @@
|
||||
global $currentver, $phpgw_info, $db;
|
||||
|
||||
// The 0.9.4pre1 is only temp until release
|
||||
if ($currentver == "0.9.4" || ereg ("^0\.9\.5pre", $currentver)){
|
||||
// if ($currentver == "0.9.4" || ereg ("^0\.9\.5pre", $currentver)){
|
||||
if ($currentver == "0.9.4") {
|
||||
$db->query("delete from languages");
|
||||
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('aa','Afar','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ab','Abkhazian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('af','Afrikaans','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('am','Amharic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ar','Arabic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('as','Assamese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ay','Aymara','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('az','Azerbaijani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ba','Bashkir','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('be','Byelorussian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bg','Bulgarian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bh','Bihari','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bi','Bislama','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bn','Bengali / Bangla','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('bo','Tibetan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('br','Breton','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ca','Catalan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('co','Corsican','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('cs','Czech','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('cy','Welsh','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('da','Danish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('de','German','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('dz','Bhutani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('el','Greek','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('en','English / American','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('eo','Esperanto','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('es','Spanish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('et','Estonian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('eu','Basque','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fa','Persian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fi','Finnish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fj','Fiji','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fo','Faeroese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fr','French','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('fy','Frisian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ga','Irish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gd','Gaelic / Scots Gaelic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gl','Galician','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gn','Guarani','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('gu','Gujarati','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ha','Hausa','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hi','Hindi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hr','Croatian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hu','Hungarian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('hy','Armenian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ia','Interlingua','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ie','Interlingue','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ik','Inupiak','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('in','Indonesian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('is','Icelandic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('it','Italian','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('iw','Hebrew','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ja','Japanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ji','Yiddish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('jw','Javanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ka','Georgian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('kk','Kazakh','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('kl','Greenlandic','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('km','Cambodian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('kn','Kannada','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ko','Korean','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ks','Kashmiri','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ku','Kurdish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ky','Kirghiz','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('la','Latin','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ln','Lingala','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('lo','Laothian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('lt','Lithuanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('lv','Latvian / Lettish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mg','Malagasy','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mi','Maori','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mk','Macedonian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ml','Malayalam','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mn','Mongolian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mo','Moldavian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mr','Marathi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ms','Malay','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('mt','Maltese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('my','Burmese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('na','Nauru','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ne','Nepali','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('nl','Dutch','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('no','Norwegian','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('oc','Occitan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('om','Oromo / Afan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('or','Oriya','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('pa','Punjabi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('pl','Polish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ps','Pashto / Pushto','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('pt','Portuguese','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('qu','Quechua','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('rm','Rhaeto-Romance','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('rn','Kirundi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ro','Romanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ru','Russian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('rw','Kinyarwanda','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sa','Sanskrit','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sd','Sindhi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sg','Sangro','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sh','Serbo-Croatian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('si','Singhalese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sk','Slovak','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sl','Slovenian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sm','Samoan','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sn','Shona','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('so','Somali','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sq','Albanian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sr','Serbian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ss','Siswati','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('st','Sesotho','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('su','Sudanese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sv','Swedish','Yes')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('sw','Swahili','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ta','Tamil','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('te','Tegulu','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tg','Tajik','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('th','Thai','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ti','Tigrinya','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tk','Turkmen','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tl','Tagalog','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tn','Setswana','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('to','Tonga','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tr','Turkish','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ts','Tsonga','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tt','Tatar','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('tw','Twi','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('uk','Ukrainian','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('ur','Urdu','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('uz','Uzbek','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('vi','Vietnamese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('vo','Volapuk','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('wo','Wolof','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('xh','Xhosa','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('yo','Yoruba','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('zh','Chinese','No')");
|
||||
@$db->query("INSERT INTO languages (lang_id, lang_name, available) values ('zu','Zulu','No')");
|
||||
|
||||
|
||||
$currentver = "0.9.4pre1";
|
||||
update_version_table();
|
||||
}
|
||||
// }
|
||||
echo " <tr bgcolor=\"e6e6e6\">\n";
|
||||
echo " <td>Upgrade from 0.9.4 to $currentver is completed.</td>\n";
|
||||
echo " </tr>\n";
|
||||
@ -381,6 +521,6 @@
|
||||
v0_9_1to0_9_2();
|
||||
v0_9_2to0_9_3();
|
||||
v0_9_3to0_9_4();
|
||||
// v0_9_4to0_9_5();
|
||||
v0_9_4to0_9_5();
|
||||
|
||||
?>
|
||||
|
@ -11,5 +11,5 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_info["server"]["version"] = "0.9.4";
|
||||
$phpgw_info["server"]["version"] = "0.9.4pre1";
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user