Closed (fixed)
Project:
Webauthn Framework
Version:
1.0.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 May 2024 at 07:24 UTC
Updated:
30 May 2024 at 07:39 UTC
Jump to comment: Most recent
As pointed out by apaderno here:
$form['relying_party']['name'] = [
'#type' => 'textfield',
'#title' => $this->t('Name', [], ['context' => 'WebAuthn']),
'#description' => $this->t('The name for the site under WebAuthn context. Defaults to Drupal site name.', [], ['context' => 'WebAuthn']),
'#required' => TRUE,
'#default_value' => $config->get('relying_party.name') ?? $this->config('system.site')
->get('name'),
];
The translation of the string does not change because the provided context. If I were to translate it in Italian, I would use the same translation, with or without that context.
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
Comment #4
ptmkenny commentedComment #6
ptmkenny commented