Problem/Motivation

Users aren't able to translate days of the week via User Interface translation page.
issue

Steps to reproduce

Setup steps:

Add a new language: /admin/config/regional/language (take FR as example)
Enable content translation for Branch CT /admin/config/regional/content-language
Create a new Branch and add a translation.

Proposed resolution

Add t() function to the days of the week in the BranchHoursHelper

CommentFileSizeAuthor
Screenshot 2024-04-03 at 10.35.29.png50.79 KBandre.bonon

Issue fork y_branch-3437872

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

andre.bonon created an issue. See original summary.

andre.bonon’s picture

Status: Active » Needs review

Fixed. Please check the MR.

podarok’s picture

Version: 1.0.20 » 1.0.x-dev
Assigned: andre.bonon » Unassigned
Status: Needs review » Fixed
podarok’s picture

Version: 1.0.x-dev » 1.0.21

  • 08bb648b committed on 1.0.x
    fix: [#3437872] Enable translation for the days of the week.
    

  • a94aafe5 committed on 1.0.x
    fix: [#3437872] Enable translation for the days of the week.
    

Status: Fixed » Closed (fixed)

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