Closed (fixed)
Project:
Login Security
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2019 at 09:44 UTC
Updated:
30 Dec 2022 at 18:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
siegristI created a patch changing the field types in the schema file and adding some task links to let the translate tab show up in the form.
Comment #3
siegristComment #4
anybodyJust ran into this. We'll provide a MR. "
text" should only be used for texts, not for (<=255 chars) strings. Uselabelinstead.Having a look at the configuration page
admin/config/people/login_securitynot all of these values are long texts.Comment #5
anybodyComment #7
grevil commentedComment #9
grevil commentedWIP.
Comment #10
anybody@Grevil: I just changed the both
texttolabelwhich are one-liners.The last part should be to add this:
Unsure why you especially removed
login_security.config_translation.ymlwhich I thought was needed for grouping the translations for this page:admin/config/regional/config-translationbut I might be wrong.login_security.links.task.ymlalso makes sense in my eyes to add the translate link on top of the configuration page.See this: https://github.com/VITObelgium/drupal-boilerplate/tree/master/config_tra...
Which I guess is correct.
Let's talk if you're unsure here.
Comment #11
grevil commentedYea my bad, never seen it before, so I wanted to test it without the yml first and commited the yml removal, sry!
Comment #12
grevil commentedAll done!
Comment #13
anybodySuper nice @Grevil and @Siegrist!
RTBC!
Comment #14
grevil commentedJust checked the translation page and I get the following notice:
But this is generally a problem of this module, as it rarely uses fallbacks and empty checks for passed variables, leading to a bunch of deprecation errors with php > 8
Everything else works as expected, so RTBC +1!
Comment #16
anybodyMerged! Will be part of 2.1.0!