Making WordPress.org

Changeset 11421


Ignore:
Timestamp:
01/08/2022 03:26:32 PM (5 years ago)
Author:
ocean90
Message:

Translate, Consistency: Link project to the project in the selected locale.

Fixes #5908.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/consistency.php

    r10333 r11421  
    151151                                        sprintf(
    152152                                                '<div class="string">%s%s</div>
    153                                                 <div class="meta">Project: <a href="/projects/%s">%s</a></div>',
     153                                                <div class="meta">Project: <a href="/projects/%s/%s/">%s</a></div>',
    154154                                                esc_translation( $result->original_singular ),
    155155                                                $original_context,
    156156                                                $result->project_path,
     157                                                $set,
    157158                                                $project_name
    158159                                        ),
     
    160161                                                '<div class="string%s">%s</div>
    161162                                                <div class="meta">
    162                                                         <a href="/projects/%s/%s?filters[status]=either&filters[original_id]=%d&filters[translation_id]=%d">Source</a> |
     163                                                        <a href="/projects/%s/%s/?filters[status]=either&filters[original_id]=%d&filters[translation_id]=%d">Source</a> |
    163164                                                        Added: %s
    164165                                                </div>',
Note: See TracChangeset for help on using the changeset viewer.