Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/22/2013 11:24:01 PM (13 years ago)
Author:
djpaul
Message:

Introduces automatic download of BuddyPress translations from translate.wordpress.org. Fixes #4857

BuddyPress now uses cron to periodically check if the version of the current locale's translation on translate.wordpress.org is more recent than the installed version.
If an update is available, the "Updates" badge's count in the WordPress admin menu is incremented, and a new button on the Updates screen allows a site admin to update the translation to that latest version.
This improves user experience for everyone who wants to use BuddyPress in their native language.

Thanks to markoheijnen for help making changes to GlotPress to enable this functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-admin.php

    r6935 r7097  
    9494         */
    9595        private function includes() {
    96                 require( $this->admin_dir . 'bp-core-actions.php'    );
    97                 require( $this->admin_dir . 'bp-core-settings.php'   );
    98                 require( $this->admin_dir . 'bp-core-functions.php'  );
    99                 require( $this->admin_dir . 'bp-core-components.php' );
    100                 require( $this->admin_dir . 'bp-core-slugs.php'      );
     96                require( $this->admin_dir . 'bp-core-actions.php'      );
     97                require( $this->admin_dir . 'bp-core-settings.php'     );
     98                require( $this->admin_dir . 'bp-core-functions.php'    );
     99                require( $this->admin_dir . 'bp-core-components.php'   );
     100                require( $this->admin_dir . 'bp-core-slugs.php'        );
     101                require( $this->admin_dir . 'bp-core-translations.php' );
    101102        }
    102103
Note: See TracChangeset for help on using the changeset viewer.