Commit: bb8f85adb47395b5e026baa8c0f270ff670c0130 Author: Hannes Magnusson <[email protected]> Wed, 29 Dec 2010 19:05:39 +0000 Parents: 8786ac9fd61d2a34be3c9b5cd452e860970e5d0b Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=bb8f85adb47395b5e026baa8c0f270ff670c0130 Log: use the document language Changed paths: M js/common.js Diff: diff --git a/js/common.js b/js/common.js index 73905f2..a25a97c 100644 --- a/js/common.js +++ b/js/common.js @@ -113,10 +113,9 @@ function getDefaultSearchText() /** * Determine what language to present to the user. - * - * @todo make this detect the user's language. */ function getLanguage() { - return "en"; + return document.documentElement.lang; } + -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
