// $Id: CHANGELOG.txt,v 1.15 2008/09/12 17:01:11 smk Exp $ Translatable x.x-x.x, xxxx-xx-xx -------------------------------- Translatable 5.x-1.x, xxxx-xx-xx -------------------------------- #334057 by smk-ka: Code clean-up. #244780 by sun: Fixed switch by hostname and front page redirection support. #233403 by sun: Fixed fatal PHP error if i18n and Translatable are enabled concurrently. Minor code clean-up in language.inc. #244276 by Bodo Maass, sun: Fixed database table prefixing for translation objects. by smk-ka: Fixed source node id (tnid) is required to be present in all node forms. by smk-ka: Fixed Views support. by smk-ka: Correctly switch domain when starting to edit a translation if switch by hostname is enabled. by smk-ka: Don't rewrite SQL if Views handles translations on its own. by smk-ka: Fixed loading of include files. Translatable 5.x-1.3, 2008-04-10 -------------------------------- #244608 by smk-ka: Fixed non-working edit links on content admin page. #244598 by smk-ka: Fixed wrong access permissions, removed superflous 'administer translatable' permission. #224189 by sun: Fixed fatal error when deleting translation objects. Translatable 5.x-1.2, 2008-02-22 -------------------------------- Fixed fatal error due to missing Translatable module in menu.inc; updated Drupal core patches. Changed table alias in db_rewrite_sql() to 'translatable'. Fixed translation properties not stored for completely new nodes. Fixed menu items of node translations are not found in the menu upon form submit (required by modules like pathauto); needs another core patch now. Updated Drupal core patches. Fixed cached menu is not reset after creating/editing a menu item translation. Improved translatable_get_destination() to work with internal paths instead of aliases by default. Further code clean-up. Translatable 5.x-1.1, 2008-02-20 -------------------------------- Fixed untranslatable items are not synchronized. Fixed source content of selects, checkboxes, and radios is not displayed. Fixed _translatable_is_hideable_field() returns FALSE for fieldsets and markup. Fixed PHP warnings in translatable_get_form_values() and translatable_set_form_values(). Fixed node edit redirects to wrong source node. Fixed incomplete access check for node translation callback. Fixed wrong translatable_find() conditions to find an existing translation. Fixed translation language not properly set when editing a source node. Added hook_translatable_form_alter() to allow modules to alter the final node form. Fixed menu items for nodes are created in the wrong language. Changed theme_translatable_languages() to return structured arrays instead of rendered links. Added implementation of hook_admin_menu(). Updated README.txt. Changed order of database columns for translatable_object table. Fixed language block links always redirect to default language. Fixed source form item content of select fields not properly displayed. Translatable 5.x-1.0, 2008-02-17 -------------------------------- Initial release of Translatable. Localizer 5.x-2.x, 2007-04-04 - 2008-02-13 (never released) ------------------------------------------ - Changed _translatable_filter_form() to display source contents. - Added translatable_get/set_form_value() utility functions to retrieve or replace a form item. - Changed translatable_replace_form_values() to translatable_translate_form_values(). - Fixed some #translatable values for nodes and Drupal core. - Moved ex. localizernode into translatable.node.inc. - Moved ex. localizervariable into translatable.object.inc. - Renamed localizer.negotiation.inc to includes/language.inc. - Moved all language-related functions into includes/language.inc. - Moved all block/user-related functions into localizer.block.inc. - Renamed localizer.admin-translations.inc to localizer.page-translations.inc. - Minor code clean-up of localizernode.module and localizervariable.module. - Merged localizerblock, localizermenu, and localizertaxonomy into localizervariable.module. - Moved menu translating functions for Drupal 5 into includes/menu.inc. - Moved system/includes/ into includes/. - Removed obsolete hook_localizer_fields() implementations. - Migrated localizervariable to #translatable format. - Changed localizer_get_translatable_fields() to search forms for #translatable property. - Changed localizerblock to work using #translatable. - Changed localizermenu to work using #translatable. - Fixed localizernode must not allow to create a menu item and path alias if adminlocale doesn't equal default locale. - Fixed recursion bug in _localizer_filter_form(). - Fixed _localizer_replace_form_values() to work with filter-format (#parents) fields. - Fixed typo in local cache in localizer_find(), which made the cache not work at all. - Removed contentlocales block (multilingual content related). - Performance optimization for theme_localizer_languages(). - Removed localizer.module and re-implemented necessary features in localizer_user(). - Further code clean-up and E^ALL compliance. - Renamed node properties localizernode_pid to tnid and localizernode_locale to language for Drupal 6 compliance. - Fixed Views integration. - Changed translation block content to work without a global variable. - Removed multilingual content support. - Fixed select/remove translation feature. - Fixed 'any language' feature. - Changed layout of translations page to Drupal 6 style. - Moved block configuration into hook_block(). - Removed database updates. - Moved language negotiation functions into separate include file. - Moved localizer(node) administrative translation pages into separate include file. - Changed localizer_get_uilocale() to localizer_get_locale(). - Merged localizer_get_pathwithoutlocale() and localizer_get_pathwithlocale() into localizer_get_path(). - Added basic translation support for taxonomy terms. - Removed unused functions. - Simplified some illy functions. - Added #translatable FAPI property and form field filtering based on this property. - Added block title for translation language block. - Fixed destination URL for locale switching block. - Changed paths for translation of nodes. - Removed taxonomy switch hack. Ported some trivial changes from Roberto's 1.10 release: - theme_localizer_languages(): if the current page's url contains a destination, we use that as instead of the url itself. However, the destination needs to be wrapped in localizer_get_localizedpath(). - localizer_get_localizedpath() depends on localizernode.module. If that module isn't installed, just return the unchanged input url. - localizer_get_contentlocales(): Store contentlocales in session (needed in cache.inc). - Removed our (non-working) patched modules installation system. - Tried to workaround auto-enabling of the patched taxonomy modules. - Added enabled locales check in localizernode.module. - localizeruser.module: When a user gets saved, switching language only when the user initiated the save, and not an administrator. - Updated taxonomy_localizer.module to match Drupal 5.5. - Fixed "Create translation" creates content in front of submit. - Fixed Change language does not work without clean URLs. - Added option to default locale to 'any' for new translations. - Fixed coding style according to Drupal Coding Standards.