Making WordPress.org

Changeset 6328


Ignore:
Timestamp:
01/09/2018 05:27:04 PM (7 years ago)
Author:
obenland
Message:

Themes: Don't translate trac ticket prefix

This will always be used in an English context, no need to translate this.

Props Mirucon.
Fixes #3206.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php

    r6153 r6328  
    551551        $this->trac_ticket->diff_line = '';
    552552        if ( ! empty( $this->theme_post->max_version ) ) {
    553             $this->trac_ticket->diff_line = "\n" . sprintf( __( 'Diff with previous version: %s', 'wporg-themes' ), "https://themes.trac.wordpress.org/changeset?old_path={$this->theme_slug}/{$this->theme_post->max_version}&new_path={$this->theme_slug}/{$this->theme->display( 'Version' )}\n" );
     553            $this->trac_ticket->diff_line = "\nDiff with previous version: https://themes.trac.wordpress.org/changeset?old_path={$this->theme_slug}/{$this->theme_post->max_version}&new_path={$this->theme_slug}/{$this->theme->display( 'Version' )}\n";
    554554        }
    555555
Note: See TracChangeset for help on using the changeset viewer.