WordPress.org

Making WordPress.org


Ignore:
Timestamp:
06/06/2021 01:25:35 PM (6 months ago)
Author:
ocean90
Message:

Rosetta Roles: Include the username of who has granted access in the welcome email for translation editors.

Fixes #5739.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/rosetta-roles.php

    r9842 r11010  
    553553            // General Translation Editor.
    554554
    555             /* translators: Do not translate the placeholders USERNAME, LOCALENAME, LOCALEURL. */
     555            /* translators: Do not translate the placeholders USERNAME, LOCALENAME, LOCALEURL, CURRENTUSERNAME. */
    556556            $message = __(
    557557                'Howdy ###USERNAME###,
     
    571571The Polyglots team connects on Slack. Check out https://make.wordpress.org/meetings/#polyglots for upcoming team meetings. We’d love to have you there if you can make it. Register from https://chat.wordpress.org.
    572572If you have any questions about the processes or need any help, reach the team on Slack or on https://make.wordpress.org/polyglots/.
     573
     574The access has been granted by ###CURRENTUSERNAME###.
    573575
    574576Welcome to the WordPress Polyglots team and happy translating!',
     
    581583                    '###LOCALENAME###',
    582584                    '###LOCALEURL###',
     585                    '###CURRENTUSERNAME###',
    583586                ],
    584587                [
     
    586589                    '#' . $this->gp_locale->wp_locale . ' (' . $this->gp_locale->native_name . ')',
    587590                    'https://translate.wordpress.org/locale/' . $this->gp_locale->slug,
     591                    wp_get_current_user()->user_login,
    588592                ],
    589593                $message
     
    592596            // Project Translation Editor.
    593597
    594             /* translators: Do not translate the placeholders USERNAME, LOCALENAME, PROJECTLIST, RESOURCESLIST. */
     598            /* translators: Do not translate the placeholders USERNAME, LOCALENAME, PROJECTLIST, RESOURCESLIST, CURRENTUSERNAME. */
    595599            $message = __(
    596600                'Howdy ###USERNAME###,
     
    610614The Polyglots team connects on Slack. Check out https://make.wordpress.org/meetings/#polyglots for upcoming team meetings. We’d love to have you there if you can make it. Register from https://chat.wordpress.org/.
    611615If you have any questions about the processes or need any help, reach the team on Slack or on https://make.wordpress.org/polyglots/.
     616
     617The access has been granted by ###CURRENTUSERNAME###.
    612618
    613619Welcome to the WordPress Polyglots team and happy translating.',
     
    687693                    '###PROJECTLIST###',
    688694                    '###RESOURCESLIST###',
     695                    '###CURRENTUSERNAME###',
    689696                ],
    690697                [
     
    693700                    implode( "\n", $project_list ),
    694701                    $resources_list,
     702                    wp_get_current_user()->user_login,
    695703                ],
    696704                $message
Note: See TracChangeset for help on using the changeset viewer.