$this->t() should be used instead of t()

Created on 10 August 2022, over 2 years ago
Updated 24 October 2024, 22 days ago

$this->t() should be used instead of t() as per coding standards.

📌 Task
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India Munavijayalakshmi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇭Switzerland das-peter
    1. ✓ Patch still applies
    2. ✓ Seems to follow best practice with using the trait.
    3. ✓ Can't find any leftover t() calls
    4. ✓ Code's clean
    5. ✓ No unrelated changes.
    6. ✓ No errors on brief test

    I'd say this is fine -> RTBC.

Production build 0.71.5 2024