Making WordPress.org


Ignore:
Timestamp:
03/01/2016 08:30:09 PM (9 years ago)
Author:
ocean90
Message:

Translate: Follow-up to [2661], use the slug of the GP_Locale instead.

File:
1 edited

Legend:

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

    r2661 r2662  
    101101                                        }
    102102
    103                                         $link_url  = gp_url( gp_url_join( 'locale', $locale_slug, $project->path ) );
     103                                        $link_url  = gp_url( gp_url_join( 'locale', $gp_locale->slug, $set_slug, $project->path ) );
    104104                                        $link_text = number_format( $percent );
    105105                                    else :
    106106                                        $percent_class = (int) ( $percent / 10 ) * 10;
    107                                         $link_url  = gp_url_project( $project->path, gp_url_join( $subproject_slug, $locale_slug ) );
     107                                        $link_url  = gp_url_project( $project->path, gp_url_join( $subproject_slug, $gp_locale->slug, $set_slug ) );
    108108                                        $link_text = "$percent%";
    109109
Note: See TracChangeset for help on using the changeset viewer.