WordPress.org

Making WordPress.org


Ignore:
Timestamp:
09/18/2015 07:50:26 AM (5 years ago)
Author:
dd32
Message:

Translate: On the waiting tab, link to the project overview rather than directly to the waiting strings. Previously this worked due to the complex project selection, however now it's only listing 2nd-level projects (oops?) it's not working for the majority of projects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/public_html/gp-templates/locale-projects.php

    r1876 r1888  
    9090        // Link directly to the Waiting strings if we're in the Waiting view, otherwise link to the project overview
    9191        if ( 'waiting' == $project->slug ) {
    92             $project_url = gp_url_join( '/projects', $sub_project->path, $locale_slug, $set_slug ) . '?filters[status]=waiting_or_fuzzy';
     92            // TODO: Since we're matching parent projects, we can't link to them as they have no direct translation sets.
     93            //$project_url = gp_url_join( '/projects', $sub_project->path, $locale_slug, $set_slug ) . '?filters[status]=waiting_or_fuzzy';
     94            $project_url = gp_url_join( '/locale', $locale_slug, $set_slug, $sub_project->path );
    9395
    9496            $project_name = $sub_project->name;
Note: See TracChangeset for help on using the changeset viewer.