Author: cfinck
Date: Thu Sep 11 15:15:20 2008
New Revision: 36145
URL:
http://svn.reactos.org/svn/reactos?rev=36145&view=rev
Log:
- Import some language files from the Web server (they were just copied from the english
ones to enable the translation)
- Add Hebrew to the list of supported languages.
It's already selectable in the online language list for quite some time now, but due
to this bug, it always switched back to English :-/
This is all still a big mess....
Added:
trunk/web/reactos.org/htdocs/roscms/inc/lang/cz.php
- copied unchanged from r34825,
trunk/web/reactos.org/htdocs/roscms/inc/lang/en.php
trunk/web/reactos.org/htdocs/roscms/inc/lang/he.php
- copied unchanged from r34825,
trunk/web/reactos.org/htdocs/roscms/inc/lang/en.php
trunk/web/reactos.org/htdocs/roscms/inc/lang/sk.php
- copied unchanged from r34825,
trunk/web/reactos.org/htdocs/roscms/inc/lang/en.php
trunk/web/reactos.org/htdocs/roscms/inc/lang/tw.php
- copied unchanged from r34825,
trunk/web/reactos.org/htdocs/roscms/inc/lang/en.php
trunk/web/reactos.org/htdocs/roscms/inc/lang/uk.php
- copied unchanged from r34825,
trunk/web/reactos.org/htdocs/roscms/inc/lang/en.php
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/lang/bg.php
trunk/web/reactos.org/htdocs/roscms/lang.php
Modified:
trunk/web/reactos.org/htdocs/roscms/inc/lang/bg.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
==============================================================================
---
trunk/web/reactos.org/htdocs/roscms/inc/lang/bg.php [iso-8859-1] (original)
+++
trunk/web/reactos.org/htdocs/roscms/inc/lang/bg.php [iso-8859-1] Thu Sep 11 15:15:20
2008
@@ -26,163 +26,163 @@
// Language settings
$roscms_langres['charset'] = 'utf-8';
-//$roscms_langres['charset'] = 'cp1251';
-$roscms_langres['lang_code'] = 'BG';
+//$roscms_langres['charset'] = 'iso-8859-1';
+$roscms_langres['lang_code'] = 'EN';
// main menu
-$roscms_langres['Navigation'] = 'ÐаÑока';
-$roscms_langres['Home'] = 'ÐаÑало';
-$roscms_langres['Dev'] = 'РазÑабоÑка';
-$roscms_langres['Community'] = 'ÐбÑеÑÑво';
-$roscms_langres['Support'] = 'ÐодÑÑжка';
-$roscms_langres['myReactOS'] = 'ÐоÑÑ Ð ÐµÐ°ÐºÑÐС';
-$roscms_langres['Info'] = 'СведениÑ';
+$roscms_langres['Navigation'] = 'Navigation';
+$roscms_langres['Home'] = 'Home';
+$roscms_langres['Dev'] = 'Development';
+$roscms_langres['Community'] = 'Community';
+$roscms_langres['Support'] = 'Support';
+$roscms_langres['myReactOS'] = 'myReactOS';
+$roscms_langres['Info'] = 'Info';
// Login bar:
-$roscms_langres['Account'] = 'СмеÑка';
-$roscms_langres['Login'] = 'ÐÑ
од';
-$roscms_langres['Logout'] = 'ÐзÑ
од';
-$roscms_langres['Global_Login_System'] = 'ÐÑеобÑа вÑ
одна ÑÑедба';
-$roscms_langres['Register_Account'] = 'СÑздаване на
ÑмеÑка';
-$roscms_langres['Login_Nick'] = ' ÐÑозвиÑе: ';
-$roscms_langres['LoginPwd'] = ' ÐаÑола: ';
+$roscms_langres['Account'] = 'Account';
+$roscms_langres['Login'] = 'Login';
+$roscms_langres['Logout'] = 'Logout';
+$roscms_langres['Global_Login_System'] = 'Global Login System';
+$roscms_langres['Register_Account'] = 'Register Account';
+$roscms_langres['Login_Nick'] = ' Nick: ';
+$roscms_langres['LoginPwd'] = ' Pwd: ';
// myReactOS menu
-$roscms_langres['User_Profil_Overview'] = 'ÐÐ±Ð·Ð¾Ñ Ð½Ð° оÑеÑка на
поÑÑебиÑелÑ';
-$roscms_langres['User_Profil'] = 'ÐÑеÑк на
поÑÑебиÑелÑ';
-$roscms_langres['Overview'] = 'ÐбзоÑ';
-$roscms_langres['Login_System'] = 'ÐÑ
одна ÑÑедба';
-$roscms_langres['Messages'] = 'СÑобÑениÑ';
-$roscms_langres['Contacts'] = 'УказаÑел';
-$roscms_langres['Favorites'] = 'ÐÑбимки';
-$roscms_langres['Documentation'] = 'ÐокÑменÑаÑиÑ';
-$roscms_langres['Account_Edit'] = 'ÐаÑÑÑойки';
-$roscms_langres['Accountlist'] = 'СпиÑÑк на
поÑÑебиÑелиÑе';
+$roscms_langres['User_Profil_Overview'] = 'User Profile Overview';
+$roscms_langres['User_Profil'] = 'User Profile';
+$roscms_langres['Overview'] = 'Overview';
+$roscms_langres['Login_System'] = 'Login System';
+$roscms_langres['Messages'] = 'Messages';
+$roscms_langres['Contacts'] = 'Contacts';
+$roscms_langres['Favorites'] = 'Favorites';
+$roscms_langres['Documentation'] = 'Documentation';
+$roscms_langres['Account_Edit'] = 'Settings';
+$roscms_langres['Accountlist'] = 'User List';
// myReactOS Content
-$roscms_langres['myReactOS_description'] = 'ÐоÑен и Ñдобен
инÑеÑÑÐµÐ¹Ñ Ð·Ð° ÑпÑавление на ÑмеÑкаÑа ви за
мÑÑÑоÑо на РеакÑÐС.';
-$roscms_langres['Account_Information'] = 'Ð¡Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ð·Ð°
ÑмеÑкаÑа';
-$roscms_langres['Account_Information_description'] = 'ÐбобÑение на
данниÑе за поÑÑебиÑелÑ... <placeholder>';
+$roscms_langres['myReactOS_description'] = 'A powerful and easy to use
interface to manage your ReactOS homepage account.';
+$roscms_langres['Account_Information'] = 'Account Information';
+$roscms_langres['Account_Information_description'] = 'A sum up of the account
data ... <placeholder>';
// Right side bar:
-$roscms_langres['Latest_Release'] = 'ÐоÑледно издание';
-$roscms_langres['myReactOS_Developer_Quotes'] = 'ÐÑми на
ÑазÑабоÑÑиÑиÑе';
+$roscms_langres['Latest_Release'] = 'Latest Release';
+$roscms_langres['myReactOS_Developer_Quotes'] = 'Developer Quotes';
// Error 404
-$roscms_langres['Page_not_found'] = 'СÑÑаниÑаÑа не е
оÑкÑиÑа';
+$roscms_langres['Page_not_found'] = 'Page not found';
// Admin/Dev/Translator Interface
-$roscms_langres['Dev_Interface'] = 'ÐнÑеÑÑÐµÐ¹Ñ Ð·Ð°
ÑазÑабоÑÑиÑи';
-$roscms_langres['Dev_Overview'] = 'ÐбзоÑ';
-$roscms_langres['Dev_Pages'] = 'СÑÑаниÑи';
-$roscms_langres['Dev_Contents'] = 'СÑдÑÑжание';
-$roscms_langres['Dev_Help'] = 'ÐомоÑ';
+$roscms_langres['Dev_Interface'] = 'Dev Interface';
+$roscms_langres['Dev_Overview'] = 'Overview';
+$roscms_langres['Dev_Pages'] = 'Pages';
+$roscms_langres['Dev_Contents'] = 'Contents';
+$roscms_langres['Dev_Help'] = 'Help';
-$roscms_langres['Dev_DeveloperInterfaceOverview'] = 'ÐнÑеÑÑÐµÐ¹Ñ Ð·Ð°
ÑазÑабоÑÑиÑи- обзоÑ';
+$roscms_langres['Dev_DeveloperInterfaceOverview'] = 'Developer Interface -
Overview';
-$roscms_langres['ContTrans_generalinfo'] = 'ÐÑновниÑе
ÑÑÑаниÑи на РеакÑÐС Ñе обновÑÐ²Ð°Ñ Ð²ÐµÐ´Ð½Ñж дневно.
ÐожеÑе да видиÑе пÑеглед на пÑомениÑе, коиÑо ÑÑе
напÑавили, Ñлед каÑо наÑиÑнеÑе "ÐапиÑ".';
+$roscms_langres['ContTrans_generalinfo'] = 'The ReactOS main website pages
get updated once a day. You will see a preview of your changes after clicking on
"Save".';
-$roscms_langres['ContTrans_Interface_Content'] = 'ÐнÑеÑÑÐµÐ¹Ñ Ð·Ð°
ÑазÑабоÑÑиÑи- ÑÑдÑÑжание';
-$roscms_langres['ContTrans_Contents'] = 'СÑдÑÑжание';
-$roscms_langres['ContTrans_Interface_Pages'] = 'ÐнÑеÑÑÐµÐ¹Ñ Ð·Ð°
ÑазÑабоÑÑиÑи- ÑÑÑаниÑи';
-$roscms_langres['ContTrans_Pages'] = 'СÑÑаниÑи';
+$roscms_langres['ContTrans_Interface_Content'] = 'Dev Interface -
Content';
+$roscms_langres['ContTrans_Contents'] = 'Content';
+$roscms_langres['ContTrans_Interface_Pages'] = 'Dev Interface - Pages';
+$roscms_langres['ContTrans_Pages'] = 'Pages';
-$roscms_langres['ContTrans_Profile'] = 'ÐÑеÑк';
+$roscms_langres['ContTrans_Profile'] = 'Profile';
-$roscms_langres['ContTrans_Action'] = 'ÐейÑÑвие';
-$roscms_langres['ContTrans_NewContent'] = 'Ðово
ÑÑдÑÑжание';
-$roscms_langres['ContTrans_NewPage'] = 'Ðова ÑÑÑаниÑа';
+$roscms_langres['ContTrans_Action'] = 'Action';
+$roscms_langres['ContTrans_NewContent'] = 'New Content';
+$roscms_langres['ContTrans_NewPage'] = 'New Page';
-$roscms_langres['ContTrans_resetfilters'] = 'пÑеÑÑÑановÑване
на пÑеÑÑваниеÑо и подÑежданеÑо';
-$roscms_langres['ContTrans_Info'] = 'СведениÑ';
-$roscms_langres['ContTrans_ContentID'] = 'ÐпознаваÑел (id) на
ÑÑдÑÑжаниеÑо';
-$roscms_langres['ContTrans_PageID'] = 'ÐпознаваÑел (id) на
ÑÑÑаниÑаÑа';
-$roscms_langres['ContTrans_Content'] = 'СÑдÑÑжание';
-$roscms_langres['ContTrans_Rev'] = 'Ðзд.';
-$roscms_langres['ContTrans_Date'] = 'ÐаÑа';
-$roscms_langres['ContTrans_Time'] = 'ÐÑеме';
-$roscms_langres['ContTrans_User'] = 'ÐоÑÑебиÑел';
-$roscms_langres['ContTrans_Language'] = 'Ðзик';
-$roscms_langres['ContTrans_International'] = 'ÐзÑ
оден (ÐнглийÑки)';
-$roscms_langres['ContTrans_All'] = 'ÐÑиÑко';
-$roscms_langres['ContTrans_Filter'] = 'ÐÑеÑÑване';
+$roscms_langres['ContTrans_resetfilters'] = 'reset filters & sort';
+$roscms_langres['ContTrans_Info'] = 'Info';
+$roscms_langres['ContTrans_ContentID'] = 'Content ID';
+$roscms_langres['ContTrans_PageID'] = 'Page ID';
+$roscms_langres['ContTrans_Content'] = 'Content';
+$roscms_langres['ContTrans_Rev'] = 'Rev.';
+$roscms_langres['ContTrans_Date'] = 'Date';
+$roscms_langres['ContTrans_Time'] = 'Time';
+$roscms_langres['ContTrans_User'] = 'User';
+$roscms_langres['ContTrans_Language'] = 'Language';
+$roscms_langres['ContTrans_International'] = 'Original (English)';
+$roscms_langres['ContTrans_All'] = 'All';
+$roscms_langres['ContTrans_Filter'] = 'Filter';
$roscms_langres['ContTrans_activecontent'] = 'active content';
$roscms_langres['ContTrans_activepages'] = 'active pages';
-$roscms_langres['ContTrans_allcontent'] = 'пÑлно
ÑÑдÑÑжание';
-$roscms_langres['ContTrans_allpages'] = 'ÐÑиÑки ÑÑÑаниÑи';
-$roscms_langres['ContTrans_activeandvisiblecontent'] = 'дейно и
видимо ÑÑдÑÑжание';
-$roscms_langres['ContTrans_currentuser'] = 'ÑекÑÑ
поÑÑебиÑел';
+$roscms_langres['ContTrans_allcontent'] = 'all content';
+$roscms_langres['ContTrans_allpages'] = 'all pages';
+$roscms_langres['ContTrans_activeandvisiblecontent'] = 'active and visible
content';
+$roscms_langres['ContTrans_currentuser'] = 'current user';
-$roscms_langres['ContTrans_normalpages'] = 'обикновени
ÑÑÑаниÑи';
-$roscms_langres['ContTrans_dynamicpages'] = 'динамиÑни
ÑÑÑаниÑи';
+$roscms_langres['ContTrans_normalpages'] = 'normal pages';
+$roscms_langres['ContTrans_dynamicpages'] = 'dynamic pages';
-$roscms_langres['ContTrans_history'] = 'дневник';
-$roscms_langres['ContTrans_Sortedby'] = 'ÐодÑеждане по';
-$roscms_langres['ContTrans_contentid'] = 'опознаваÑел (id) на
ÑÑдÑÑжаниеÑо';
-$roscms_langres['ContTrans_pageid'] = 'опознаваÑел (id) на
ÑÑÑаниÑаÑа';
-$roscms_langres['ContTrans_date'] = 'даÑа';
-$roscms_langres['ContTrans_user'] = 'поÑÑебиÑел';
-$roscms_langres['ContTrans_active'] = 'деен';
-$roscms_langres['ContTrans_Active'] = 'Ðеен';
-$roscms_langres['ContTrans_visible'] = 'видим';
-$roscms_langres['ContTrans_Visible'] = 'Ðидим';
-$roscms_langres['ContTrans_version'] = 'веÑÑиÑ';
-$roscms_langres['ContTrans_extra'] = 'оÑе';
-$roscms_langres['ContTrans_Extra'] = 'ÐÑе';
-$roscms_langres['ContTrans_language'] = 'език';
-$roscms_langres['ContTrans_editor'] = 'обÑабоÑил';
-$roscms_langres['ContTrans_Editor'] = 'ÐбÑабоÑил';
-$roscms_langres['ContTrans_Translate'] = 'ÐÑевод';
-$roscms_langres['ContTrans_Edit'] = 'ÐÑеглед/
ÐбÑабоÑка';
-$roscms_langres['ContTrans_Delete'] = 'ÐзÑÑиване';
-$roscms_langres['ContTrans_filter_history'] = 'ÐÑеÑÑване:
дневник';
+$roscms_langres['ContTrans_history'] = 'history';
+$roscms_langres['ContTrans_Sortedby'] = 'Sorted by';
+$roscms_langres['ContTrans_contentid'] = 'content id';
+$roscms_langres['ContTrans_pageid'] = 'page id';
+$roscms_langres['ContTrans_date'] = 'date';
+$roscms_langres['ContTrans_user'] = 'user';
+$roscms_langres['ContTrans_active'] = 'active';
+$roscms_langres['ContTrans_Active'] = 'Active';
+$roscms_langres['ContTrans_visible'] = 'visible';
+$roscms_langres['ContTrans_Visible'] = 'Visible';
+$roscms_langres['ContTrans_version'] = 'version';
+$roscms_langres['ContTrans_extra'] = 'extra';
+$roscms_langres['ContTrans_Extra'] = 'Extra';
+$roscms_langres['ContTrans_language'] = 'language';
+$roscms_langres['ContTrans_editor'] = 'editor';
+$roscms_langres['ContTrans_Editor'] = 'Editor';
+$roscms_langres['ContTrans_Translate'] = 'Translate';
+$roscms_langres['ContTrans_Edit'] = 'View / Edit';
+$roscms_langres['ContTrans_Delete'] = 'Delete';
+$roscms_langres['ContTrans_filter_history'] = 'Filter: history';
-$roscms_langres['ContTrans_ViewEditContent'] = 'ÐÑеглед/
ÐбÑабоÑка на ÑÑдÑÑжаниеÑо';
-$roscms_langres['ContTrans_ViewEditpage'] = 'ÐÑеглед/
ÐбÑабоÑка на ÑÑÑаниÑаÑа';
-$roscms_langres['ContTrans_SaveContent'] = 'ÐÐ°Ð¿Ð¸Ñ Ð½Ð°
ÑÑдÑÑжаниеÑо';
-$roscms_langres['ContTrans_Type'] = 'Ðид';
-$roscms_langres['ContTrans_Description'] = 'ÐпиÑание';
-$roscms_langres['ContTrans_Username'] = 'ÐоÑÑебиÑелÑко
име';
-$roscms_langres['ContTrans_egAbout'] = 'напÑимеÑ
"за"';
-$roscms_langres['ContTrans_checklang'] = 'ÐолÑ, пÑовеÑеÑе
дали ÑÑе избÑали пÑÐ°Ð²Ð¸Ð»Ð½Ð¸Ñ ÐµÐ·Ð¸Ðº, пÑеди да
наÑиÑнеÑе "Ðодаване"!';
-$roscms_langres['ContTrans_SAVE'] = '<b>ÐапиÑ</b> (ново
ÑÑдÑÑжание и ново попÑлнение в базаÑа оÑ
данни)';
-$roscms_langres['ContTrans_UPDATE'] =
'<b>ÐбновÑване</b> (замеÑÑване на
ÑегаÑноÑо попÑлнение)';
-$roscms_langres['ContTrans_Save1'] = 'ÐапиÑана е нова
веÑÑиÑ';
-$roscms_langres['ContTrans_Save2'] = 'на ÑÑдÑÑжаниеÑо!';
-$roscms_langres['ContTrans_Save3'] = 'ÐÑиване на ÑÑÑаниÑа
\'content edit\' ';
-$roscms_langres['ContTrans_Save4'] = 'ÐбÑаÑно до ÑÑÑаниÑа
\'content edit\' ';
-$roscms_langres['ContTrans_Save5'] = 'СÑÑаниÑаÑа';
-$roscms_langres['ContTrans_Save6'] = 'ÐÑеглед на
ÑÑÑаниÑаÑа (динамиÑна веÑÑиÑ; нов пÑозоÑеÑ)';
-$roscms_langres['ContTrans_Save7'] = 'ÐбÑаÑно до ÑÑÑаниÑа
\'page edit\' ';
+$roscms_langres['ContTrans_ViewEditContent'] = 'View / Edit content';
+$roscms_langres['ContTrans_ViewEditpage'] = 'View / Edit page';
+$roscms_langres['ContTrans_SaveContent'] = 'Save content';
+$roscms_langres['ContTrans_Type'] = 'Type';
+$roscms_langres['ContTrans_Description'] = 'Description';
+$roscms_langres['ContTrans_Username'] = 'Username';
+$roscms_langres['ContTrans_egAbout'] = 'e.g. "about"';
+$roscms_langres['ContTrans_checklang'] = 'Please check, if you have selected
the right language, before you click "submit"!';
+$roscms_langres['ContTrans_SAVE'] = '<b>Save</b> (new version and
new db entry)';
+$roscms_langres['ContTrans_UPDATE'] = '<b>Update</b> (overwrite
the current entry)';
+$roscms_langres['ContTrans_Save1'] = 'A new version of content';
+$roscms_langres['ContTrans_Save2'] = 'has been saved!';
+$roscms_langres['ContTrans_Save3'] = 'Go to the \'content edit\'
page';
+$roscms_langres['ContTrans_Save4'] = 'Back to the \'content edit\'
page';
+$roscms_langres['ContTrans_Save5'] = 'The page';
+$roscms_langres['ContTrans_Save6'] = 'View the page (dynamic version; new
window)';
+$roscms_langres['ContTrans_Save7'] = 'Back to the \'page edit\'
page';
-$roscms_langres['ContTrans_Preview'] = 'ÐÑеглед';
-$roscms_langres['ContTrans_PageTitle'] = 'Ðаглавие на
ÑÑÑаниÑаÑа';
-$roscms_langres['ContTrans_Extention'] = 'РазÑиÑение';
+$roscms_langres['ContTrans_Preview'] = 'Preview';
+$roscms_langres['ContTrans_PageTitle'] = 'Page Title';
+$roscms_langres['ContTrans_Extention'] = 'Extention';
-$roscms_langres['ContTrans_DevPageGenerator'] = 'Развоен
инÑеÑÑÐµÐ¹Ñ - СÑздаÑел на ÑÑÑаниÑи';
-$roscms_langres['Dev_PageGenerator'] = 'СÑздаÑел на
ÑÑÑаниÑи';
-$roscms_langres['Dev_PageGeneratorOverview'] = 'ÐÐ±Ð·Ð¾Ñ Ð½Ð°
ÑÑздаÑÐµÐ»Ñ Ð½Ð° ÑÑÑаниÑи';
-$roscms_langres['ContTrans_Change'] = 'ÐÑомÑна';
-$roscms_langres['ContTrans_LatestGen'] = 'ÐоÑледно
ÑÑздаване';
-$roscms_langres['ContTrans_UserGen'] = 'ÐоÑÑебиÑел
(ÑÑздаÑел)';
+$roscms_langres['ContTrans_DevPageGenerator'] = 'Developer Interface - Page
Generator';
+$roscms_langres['Dev_PageGenerator'] = 'Page Generator';
+$roscms_langres['Dev_PageGeneratorOverview'] = 'Page Generator
Overview';
+$roscms_langres['ContTrans_Change'] = 'Change';
+$roscms_langres['ContTrans_LatestGen'] = 'Latest Gen.';
+$roscms_langres['ContTrans_UserGen'] = 'User (Generator)';
-$roscms_langres['ContTrans_Gen_desc'] = 'СÑздаÑелÑÑ Ð½Ð°
ÑÑаÑиÑни ÑÑÑаниÑи може да изведе ÑÑÑаниÑиÑе вÑв
Ñайлове или в обзоÑника.';
-$roscms_langres['ContTrans_Gen_menu1'] = 'СÑздаване на
вÑиÑки ÐÐÐÐÐÐÐÐ ÑÑаÑиÑни ÑÑÑаниÑи';
-$roscms_langres['ContTrans_Gen_menu2'] = 'СÑздаване на
вÑиÑки ÑÑаÑиÑни ÑÑÑаниÑи';
-$roscms_langres['ContTrans_Gen_menu3'] = 'СÑздаване/ пÑеглед
на опÑеделена ÑÑаÑиÑна ÑÑÑаниÑа';
-$roscms_langres['ContTrans_Gen_menu4'] = 'ÐÑеглед (динамиÑно
Ð¾Ñ Ð±Ð°Ð·Ð°Ñа Ð¾Ñ Ð´Ð°Ð½Ð½Ð¸)';
-$roscms_langres['ContTrans_Gen_menu3_desc'] = 'СÑздаване на
една ÑÑаÑиÑна ÑÑÑаниÑа; напÑимеÑ, ако иÑкаÑе да
обновеÑе опÑеделена ÑÑÑаниÑа';
-$roscms_langres['ContTrans_allactivepages'] = 'вÑиÑки (дейни)
ÑÑÑаниÑи';
+$roscms_langres['ContTrans_Gen_desc'] = 'The static page generator can output
the pages to files or to the browser.';
+$roscms_langres['ContTrans_Gen_menu1'] = 'Generate all UPDATED static
pages';
+$roscms_langres['ContTrans_Gen_menu2'] = 'Generate all static pages';
+$roscms_langres['ContTrans_Gen_menu3'] = 'Generate/view a specific static
page';
+$roscms_langres['ContTrans_Gen_menu4'] = 'View page (dynamic from
database)';
+$roscms_langres['ContTrans_Gen_menu3_desc'] = 'Generate one static page; e.g.
if you want to update one specific page';
+$roscms_langres['ContTrans_allactivepages'] = 'all (active) pages';
-$roscms_langres['ContTrans_yes'] = 'да';
-$roscms_langres['ContTrans_no'] = 'не';
+$roscms_langres['ContTrans_yes'] = 'yes';
+$roscms_langres['ContTrans_no'] = 'no';
?>
Modified:
trunk/web/reactos.org/htdocs/roscms/lang.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/lang…
==============================================================================
---
trunk/web/reactos.org/htdocs/roscms/lang.php [iso-8859-1] (original)
+++
trunk/web/reactos.org/htdocs/roscms/lang.php [iso-8859-1] Thu Sep 11 15:15:20 2008
@@ -6,24 +6,37 @@
if (preg_match('/^([a-zA-Z]+)(-[a-zA-Z]+)?$/', $lang, $matches)) {
$checked_lang = strtolower($matches[1]);
switch($checked_lang) {
- case 'de':
- case 'en':
- case 'fr':
- case 'ru':
- case 'es':
- case 'it':
- case 'hu':
- case 'sv':
- case 'lt':
- case 'nl':
- case 'pl':
- case 'no':
- case 'da':
- case 'id':
- case 'zh':
- break;
- default:
- $checked_lang = '';
+ case 'ar':
+ case 'bg':
+ case 'ca':
+ case 'cz':
+ case 'da':
+ case 'de':
+ case 'el':
+ case 'en':
+ case 'es':
+ case 'fr':
+ case 'he':
+ case 'hu':
+ case 'id':
+ case 'it':
+ case 'ja':
+ case 'ko':
+ case 'lt':
+ case 'nl':
+ case 'no':
+ case 'pl':
+ case 'pt':
+ case 'ru':
+ case 'sv':
+ case 'uk':
+ case 'zh':
+ case 'ro':
+ case 'tw':
+ case 'sk':
+ break;
+ default:
+ $checked_lang = '';
}
}
else if ($lang == '*') {
@@ -48,7 +61,12 @@
/* After parameter and cookie processing, we still don't have a valid
language. So check whether the HTTP Accept-language header can
help us. */
- $accept_language = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
+ if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
+ $accept_language = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
+ }
+ else {
+ $accept_language = "en";
+ }
$best_q = 0;
while (preg_match('/^\s*([^,]+)((,(.*))|$)/',
$accept_language, $matches)) {
@@ -81,7 +99,6 @@
$roscms_page_lang = $rpm_lang . '/';
$rpm_lang_session = $rpm_lang . '/';
-
if (isset($_COOKIE['roscms_usrset_lang']) || isset($_REQUEST['lang'])) {
/* Delete an existing cookie (if any) which uses the full hostname */
setcookie('roscms_usrset_lang', '', -3600);
@@ -91,6 +108,7 @@
'/', cookie_domain());
}
+ //echo "<h1>".$rpm_lang."</h1>";
require("inc/lang/en.php"); // preload the english language text
require("inc/lang/".$rpm_lang.".php"); // load the and overwrite the
language text