aboutsummaryrefslogtreecommitdiff
path: root/js/lib/languages.js
AgeCommit message (Collapse)Author
2013-02-23Fixes #4971 serving languages from ajax page handler rather than simplecache ↵cash
(which cannot handle languages)
2013-01-26Fixes #4956 language unit tests pass againcash
2012-05-31Respect site default language from javascript elgg_echoMiguel Rodríguez Pérez
The current implementation hardcoded 'en' as the site default language. This patch uses the site's configure default language as the default one.
2011-12-08Fixes #3181 caching language js on server side with proper headerscash
2011-09-13Fixes #3539 two conditions for triggering init,system now - dom is ready and ↵Cash Costello
languages loaded
2011-04-10Fixes #3182: No attempt to go through simplecache at all, but any language ↵ewinslow
can be exported to js now without any extra effort on the part of language pack authors git-svn-id: http://code.elgg.org/elgg/trunk@8977 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-04-10Refs #3182: Feeding language loading through /ajax/view to keep thing ↵ewinslow
simpler for now. Reorganized boot process so that we can ajax load the languages asap git-svn-id: http://code.elgg.org/elgg/trunk@8976 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-15JS elgg.echo() returns the key if the string isn't found. This is consistent ↵brettp
with the PHP version. git-svn-id: http://code.elgg.org/elgg/trunk@8718 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-15Refs #2538: Added documentation to most of the JS methods missing it.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8717 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-12Fixes #3065, #3089. Merged JS events and hooks to a single system. Updated ↵brettp
plugins and core to use it. Added elgg.getURLFragment() and using it elgg.ui.popsUp(). git-svn-id: http://code.elgg.org/elgg/trunk@8671 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-10Fixes #2228: Major cleanup of urls -- remove leading pg/ and trailing / from ↵ewinslow
most urls in core and plugins git-svn-id: http://code.elgg.org/elgg/trunk@8653 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-14No need for double-namespacing of javascript functionsewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8235 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Refs #2543: Updated trunk mods and views to use the new functions from ↵brettp
previous 2 commits. git-svn-id: http://code.elgg.org/elgg/trunk@8079 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-04Refs #2771: Removing CRLFs from javascript files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7826 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-16Fixes #2725 - js page handler now handles javascript views with slashes in ↵cash
their names git-svn-id: http://code.elgg.org/elgg/trunk@7647 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-20Commented elgg.add_translationewinslow
Utilizing elgg.extend instead of $.extend git-svn-id: http://code.elgg.org/elgg/trunk@7362 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14Refs #2538: Added vsprintf support to elgg.echo. Added unit tests for ↵ewinslow
normalize_url, added prototype definitions for Array#forEach for compatibility with IE. git-svn-id: http://code.elgg.org/elgg/trunk@7313 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-09jslinted languages.jsewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7258 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2538: Moved js directory to elgg root.ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7189 36083f99-b078-4883-b0ff-0f9b5a30f544