use native word for the different languages

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2015-02-08 19:59:24 +01:00
parent 7b354eec0f
commit c3b45a62ca
2 changed files with 13 additions and 4 deletions

View File

@@ -2918,5 +2918,14 @@ if (isFroxlorVersion('0.9.33')) {
lastStepStatus(1, "not needed");
}
showUpdateStep("Updating language descriptions to be in the native language");
$upd_stmt = Database::prepare("UPDATE `".TABLE_PANEL_LANGUAGE."` SET `language` = :lang WHERE `iso` = :iso");
Database::pexecute($upd_stmt, array('lang' => 'Fran&ccedil;ais', 'iso' => 'fr'), false);
Database::pexecute($upd_stmt, array('lang' => 'Portugu&ecirc;s', 'iso' => 'pt'), false);
Database::pexecute($upd_stmt, array('lang' => 'Italiano', 'iso' => 'it'), false);
Database::pexecute($upd_stmt, array('lang' => 'Nederlands', 'iso' => 'nl'), false);
Database::pexecute($upd_stmt, array('lang' => 'Svenska', 'iso' => 'sv'), false);
lastStepStatus(0);
updateToVersion('0.9.34-dev1');
}