Problem/Motivation

In locale module, in localsettingform, the old procedural t() function is used.

Proposed resolution

Change them to $this->t().

Remaining tasks

User interface changes

API changes

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Task
Unfrozen changes Unfrozen because it only changes internal code to use the proper method for string translation

Comments

dawehner queued old-url-t-in-locale.patch for re-testing.

pcambra’s picture

StatusFileSize
new5.38 KB

Here's a re-roll

jhedstrom’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

Patch no longer applies.

joshi.rohit100’s picture

Status: Needs work » Needs review
StatusFileSize
new4.64 KB

Rerolled the patch

jhedstrom’s picture

Title: Old t() and url() method in locale localsettingform » Replace t() function with class method call in locale localsettingform
Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs reroll

This looks good to go.

I've added a beta phase evaluation to the issue summary.

alexpott’s picture

Component: lock system » locale.module
Status: Reviewed & tested by the community » Fixed
Issue tags: +SprintWeekend2015

Committed efbeab2 and pushed to 8.0.x. Thanks!

Thanks for adding the beta evaluation to the issue summary.

  • alexpott committed efbeab2 on 8.0.x
    Issue #2293813 by joshi.rohit100, pcambra: Replace t() function with...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.