silverstripe-framework/javascript
Andreas Harrenberg 64539a051b Update i18n.js
When looking for a translation, the fallback solution (CurrentLocale -> defaultLocale -> fallbackString) does not work for cms/javascript/CMSMain.Tree.js as localization for this part was changed to short locale names (e.g. de_DE -> de). (Don't know why...)

The original fallback solution will not find a translation for e.g. "Tree.ShowAsList" in the de-language file. For this entry there is also no fallbackString defined, so the menu in the CMS (right click on a page) is broken for each language that does not have the translation included.

I added another fallback level where the short version of the default language (en_US -> us) is searched before falling back to the fallbackstring and then finally giving up...
2013-12-01 17:48:59 +01:00
..
jquery-ondemand Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
lang API JS i18n files with short locale names, generated by build task 2013-10-25 12:05:46 +02:00
tree Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
AssetUploadField.js NEW Show the allowed extensions as a toggle tip as per trac 7993 2012-12-19 17:00:39 +01:00
ConfirmedPasswordField.js FIX: Disable autocomplete on ConfirmedPasswordField instances. 2013-05-10 20:32:59 +12:00
DateField.js DateField.js event selector regression (fixes #1528) 2013-04-16 09:54:30 +02:00
GridField.js FIX gridfield delete alert selector specificity 2013-10-07 14:24:16 +03:00
HtmlEditorField.js Remove TinyMCE change detection on insert (breaks IE8) 2013-10-31 14:40:28 +01:00
i18n.js Update i18n.js 2013-12-01 17:48:59 +01:00
i18nx.js ENHANCEMENT: change those harded-coded 'sapphire' to 'framework' either in javascript code or inline document, or a <a> href propty. 2012-10-05 17:00:39 +13:00
InlineFormAction.js MINOR Fixed js accessor (thanks AngryPHPNerd) 2012-02-16 23:07:24 +01:00
PermissionCheckboxSetField.js BUGFIX: 2013-09-02 12:46:31 +12:00
SelectionGroup.js API Removed keyed arrays for title/value setting in SelectionGroup 2012-12-11 11:06:06 +01:00
TabSet.js API Allow ignoring persistent tab state through entwine property. 2012-12-13 17:43:25 +01:00
ToggleCompositeField.js Set 'active' correctly for accordion widget 2012-12-18 23:22:37 -08:00
ToggleField.js BUG Fixing ToggleField to work correctly with jQuery 2012-11-16 11:33:58 +13:00
TreeDropdownField.js FIX: Allow TreeDropdownField to open upwards (fixes #2188) 2013-10-23 13:32:01 +01:00
UploadField_downloadtemplate.js API UploadField functions on new records 2013-05-27 15:22:59 +12:00
UploadField_select.js BUGFIX: add missing onunmatches 2012-05-23 16:24:15 +12:00
UploadField_uploadtemplate.js API UploadField functions on new records 2013-05-27 15:22:59 +12:00
UploadField.js UploadField changeDetection optional (fixes #2638) 2013-11-06 23:34:29 +01:00