[wp-meta] [Making WordPress.org] #1352: Switch translate.wordpress.org to the plugin version of GlotPress

Making WordPress.org noreply at wordpress.org
Wed Mar 2 21:39:53 UTC 2016


#1352: Switch translate.wordpress.org to the plugin version of GlotPress
-------------------------------------+-----------------------
 Reporter:  ocean90                  |       Owner:  ocean90
     Type:  task                     |      Status:  assigned
 Priority:  highest omg bbq          |   Milestone:
Component:  translate.wordpress.org  |  Resolution:
 Keywords:                           |
-------------------------------------+-----------------------
Description changed by ocean90:

Old description:

> Current development: https://github.com/deliciousbrains/GlotPress
>
> '''ToDo'''
>
> * 🚫Update bootstrap of Rosetta
>    * 0-load.php: After the SSL include add
>      {{{
> if ( 351 === get_current_blog_id() ) {
>         return;
> }
> }}}
> * ✅Update global header/footer
>   * Move `gp_head();` on top, before `wp_head()`
>   * Don't call `wp_footer()` if `function_exists( 'gp_footer' )`
> * ✅Update templates
>   * helper-functions.php: `tmpl_load_locations` =>
> `gp_tmpl_load_locations`
>   * helper-functions.php:
>     {{{
> wp_enqueue_style( 'wporg', gp_url_ssl( gp_url_public_root() ) . 'gp-
> templates/style.css', array( 'base' ), '20151003' );
>      }}}
>      {{{
> // change to
> wp_register_style( 'wporg-translate', 'https://translate.wordpress.org
> /gp-templates/style.css', array( 'base' ), '20151003' );
> gp_enqueue_style( 'wporg-translate' );
>      }}}
> * ✅Add SVN external for GlotPress
> * ✅Update plugins
>    * 🚫common-permissions
>    * ✅wporg-help
>    * ✅wporg-js-warnings
>    * ✅wporg-log-discarded-warnings
>    * ✅wporg-log-warnings-to-slack.php
>    * 🚫wporg-non-persistent-users.php
>    * ✅wporg-plugins.php
>    * ✅wporg-project-stats.php
>    * ✅wporg-rosetta-roles
>    * ✅wporg-routes
>    * ✅wporg-specifics.php
>    * 🚫wporg-sso
>    * 🚫wporg-sso.php
>    * ✅wporg-user-stats.php
>    * ✅wporg-warnings.php
> * ✅Add SVN externals for !^ plugins
> * ✅Prepare import/export scripts
>    * ✅ Plugin Directory: Create/Update/Delete
>    * ✅ Plugin Directory: Import translations
>    * ✅ Theme Directory
>    * ✅ update-originals.sh
>    * ✅ Language packs
> * ✅Install wp-cli on sandbox for imports
> * ⬜️ Update/remove nginx rules
>

> '''Task for Go-Live'''
> * ✅Change URL of site to translate.wordpress.org
> * ✅Switch cronjob for update-originals.sh to update-originals-wp.sh
> * ⬜️ Switch language packs to use *-wp.sh
> * ✅Update `WPORGTRANSLATE_WPCLI` to use translate.wordpress.org
> * ⬜️ Switch theme directory to use WP-CLI
> * ⬜️ Switch plugin directory to use WP-CLI
> * ⬜️ Switch cronjob for cache updates to use WP-CLI
> * ⬜️ (Update `GLOTPRESS_LOCALES_PATH` to use locales.php from the plugin)

New description:

 Current development: https://github.com/deliciousbrains/GlotPress

 '''ToDo'''

 * 🚫Update bootstrap of Rosetta
    * 0-load.php: After the SSL include add
      {{{
 if ( 351 === get_current_blog_id() ) {
         return;
 }
 }}}
 * ✅Update global header/footer
   * Move `gp_head();` on top, before `wp_head()`
   * Don't call `wp_footer()` if `function_exists( 'gp_footer' )`
 * ✅Update templates
   * helper-functions.php: `tmpl_load_locations` =>
 `gp_tmpl_load_locations`
   * helper-functions.php:
     {{{
 wp_enqueue_style( 'wporg', gp_url_ssl( gp_url_public_root() ) . 'gp-
 templates/style.css', array( 'base' ), '20151003' );
      }}}
      {{{
 // change to
 wp_register_style( 'wporg-translate', 'https://translate.wordpress.org/gp-
 templates/style.css', array( 'base' ), '20151003' );
 gp_enqueue_style( 'wporg-translate' );
      }}}
 * ✅Add SVN external for GlotPress
 * ✅Update plugins
    * 🚫common-permissions
    * ✅wporg-help
    * ✅wporg-js-warnings
    * ✅wporg-log-discarded-warnings
    * ✅wporg-log-warnings-to-slack.php
    * 🚫wporg-non-persistent-users.php
    * ✅wporg-plugins.php
    * ✅wporg-project-stats.php
    * ✅wporg-rosetta-roles
    * ✅wporg-routes
    * ✅wporg-specifics.php
    * 🚫wporg-sso
    * 🚫wporg-sso.php
    * ✅wporg-user-stats.php
    * ✅wporg-warnings.php
 * ✅Add SVN externals for !^ plugins
 * ✅Prepare import/export scripts
    * ✅ Plugin Directory: Create/Update/Delete
    * ✅ Plugin Directory: Import translations
    * ✅ Theme Directory
    * ✅ update-originals.sh
    * ✅ Language packs
 * ✅Install wp-cli on sandbox for imports
 * ✅Update/remove nginx rules


 '''Task for Go-Live'''
 * ✅Change URL of site to translate.wordpress.org
 * ✅Switch cronjob for update-originals.sh to update-originals-wp.sh
 * ⬜️ Switch language packs to use *-wp.sh
 * ✅Update `WPORGTRANSLATE_WPCLI` to use translate.wordpress.org
 * ✅Switch theme directory to use WP-CLI
 * ✅Switch plugin directory to use WP-CLI
 * ✅Switch cronjob for cache updates to use WP-CLI
 * ⬜️ (Update `GLOTPRESS_LOCALES_PATH` to use locales.php from the plugin)

--

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1352#comment:56>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list