silverstripe/sapphire — pull request #190 by smares (2012-02-11 22:15:51+00:00)
Title: Patch for create translation language dropdown

Copy values to keys in updateCMSFields' $alreadyTranslatedLocales since it's later used by LanguageDropdownField to exclude languages for which a translation already exists and LanguageDropdownField operates on array keys.
Also removed unused index/key variable $i from foreach loop that displays the existing translations.