Replace string override example '@count min' => '@count minutes',

Created on 20 May 2023, over 2 years ago

Problem/Motivation

The example in https://api.drupal.org/api/drupal/sites!default!default.settings.php/10.1.x uses '@count min' => '@count minutes',:

# $settings['locale_custom_strings_en'][''] = [
#   'Home' => 'Front page',
#   '@count min' => '@count minutes',
# ];

This is not a great example, since the actual translation in the .po files is split in two lines:

msgid_plural "@count min"
msgstr[0] "1 Minute"
msgstr[1] "@count Minuten"

From https://ftp.drupal.org/files/translations/all/drupal/drupal-10.x.de.po

Steps to reproduce

Proposed resolution

Replace it with a simpler, and more easily accessible example, for example the login text under /user/login.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

10.1

Component
Documentation 

Last updated about 1 month ago

No maintainer
Created by

🇩🇰Denmark ressa Copenhagen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024