WordPress.org

Making WordPress.org

Opened 4 years ago

Last modified 3 years ago

#1352 closed task

Switch translate.wordpress.org to the plugin version of GlotPress — at Version 16

Reported by: ocean90 Owned by: ocean90
Milestone: Priority: highest omg bbq
Component: Translate Site & Plugins Keywords:
Cc:

Description (last modified by ocean90)

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
  • ⬜️ Update/remove nginx rules

Change History (16)

#1 @ocean90
4 years ago

  • Owner set to ocean90
  • Status changed from new to assigned

This ticket was mentioned in Slack in #meta-i18n by sam. View the logs.


4 years ago

#3 @ramiy
4 years ago

  • Cc r_a_m_i@… added

This ticket was mentioned in Slack in #meta-i18n by sam. View the logs.


4 years ago

#5 @ocean90
4 years ago

In 2104:

Translate: Copy "gp-templates" to "gp-templates-new".

"gp-templates-new" is temporary and will be used to apply changes for GlotPress as a plugin.

See #1352.

#6 @ocean90
4 years ago

In 2105:

Translate: Update 'header' and 'helper functions' templates for GlotPress as a plugin.

See #1352.

#7 @ocean90
4 years ago

In 2106:

Translate: Don't call gp_footer() in the new footer.php template.

See #1352.

#8 @ocean90
4 years ago

In 2108:

Translate: Move the wporg-stats-overview plugin into the wporg-routes plugin.

See #1352.

#9 @ocean90
4 years ago

In 2109:

Translate: Convert the GP plugin "wporg-routes" to a WP plugin.

See #1352.

#10 @ocean90
4 years ago

In 2110:

Translate: Convert the GP plugin "wporg-rosetta-roles" to a WP plugin.

See #1352.

#11 @ocean90
4 years ago

In 2111:

Translate: Update routes plugin to use the new rosetta roles WP plugin.

See #1352.

#12 @ocean90
4 years ago

In 2112:

Translate: Convert the GP plugin "wporg-help" to a WP plugin.

See #1352.

#13 @ocean90
4 years ago

In 2113:

Translate: Replace GP::$user->current()->id with is_user_logged_in() in new templates.

See #1352.

#14 @ocean90
4 years ago

In 2114:

Translate: Convert and merge the GP plugins "wporg-user-stats" and "wporg-project-stats" to a WP plugin.

See #1352.

#15 @ocean90
4 years ago

  • Description modified (diff)

#16 @ocean90
4 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.