Investage translation with str_replace in TimeZoneFormHelper.php

Created on 21 June 2024, 3 months ago

Problem/Motivation

Investigate this code in TimeZoneFormHelper.php and either add a comment about why this is correct or do something different.

foreach ($zone_list as $zone) {$zones[$zone] = new TranslatableMarkup(str_replace('_', ' ', $zone));

Follow up from #3123067: Fix 'Drupal.Semantics.FunctionT.NotLiteralString' coding standard β†’

Steps to reproduce

Proposed resolution

TBD

Remaining tasks

Investigate and decide on a course of action
Update issue title based on the decision
Review

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated 22 minutes ago

Created by

πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

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

Comments & Activities

Production build 0.71.5 2024