Skip to:
Content

BuddyPress.org

Changeset 8779


Ignore:
Timestamp:
08/10/2014 04:16:35 PM (12 years ago)
Author:
djpaul
Message:

Welcome screen: add strings for maintenance/security release notes

These have been copied from WordPress core, which uses them to update
their welcome screen for minor releases without causing string changes
(or tries to).

Since the layout of our welcome screen is not that dissimilar from what
WordPress’, we should see if we are able to make use of these in any
future 2.1.x minor releases.

If we can, this will help our welcome screen be more relevant and
informative.

See #5805

File:
1 edited

Legend:

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

    r8778 r8779  
    782782 */
    783783function bp_admin() {
    784        buddypress()->admin = new BP_Admin();
     784        buddypress()->admin = new BP_Admin();
     785        return;
     786
     787
     788        // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
     789
     790        _n_noop( 'Maintenance Release', 'Maintenance Releases', 'buddypress' );
     791        _n_noop( 'Security Release', 'Security Releases', 'buddypress' );
     792        _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases', 'buddypress' );
     793
     794        /* translators: 1: WordPress version number. */
     795        _n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
     796                 '<strong>Version %1$s</strong> addressed some security issues.',
     797                 'buddypress' );
     798
     799        /* translators: 1: WordPress version number, 2: plural number of bugs. */
     800        _n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
     801                 '<strong>Version %1$s</strong> addressed %2$s bugs.',
     802                 'buddypress' );
     803
     804        /* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
     805        _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
     806                 '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',
     807                 'buddypress' );
     808
     809        /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
     810        _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
     811                 '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
     812                 'buddypress' );
     813
     814        __( 'For more information, see <a href="%s">the release notes</a>.', 'buddypress' );
    785815}
Note: See TracChangeset for help on using the changeset viewer.