Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
https://localize.drupal.org/translate/languages/uk/translate?sid=2422038
https://localize.drupal.org/translate/languages/uk/translate?sid=2422042
etc.
Coming from permission files like:
administer taxonomy:
title: 'Administer vocabularies and terms'
permission_callbacks:
- Drupal\taxonomy\TaxonomyPermissions::permissions
Comment | File | Size | Author |
---|---|---|---|
#9 | 2601824-9.patch | 2.69 KB | herom |
#9 | interdiff-2601824-6-9.txt | 723 bytes | herom |
#6 | interdiff-2601824-2-6.txt | 1.67 KB | herom |
#6 | 2601824-6.patch | 2.46 KB | herom |
#2 | 2601824.patch | 807 bytes | Gábor Hojtsy |
Comments
Comment #2
Gábor HojtsyThis should fail based on strings found above.
Comment #3
Gábor HojtsyComment #4
Gábor Hojtsy(Stopping for today).
Comment #6
herom CreditAttribution: herom commentedNice catch!
The "
top_level_translatables
" key was meant to extract value from "key: value
"s at the top level, except it was recursively carried on to every level.This patch should fix that.
Comment #7
herom CreditAttribution: herom commentedComment #8
Gábor HojtsyYay, makes sense :)
Let's document the undocumented params. :) The file name and save callback can be copy pasted.
Comment #9
herom CreditAttribution: herom commentedAdded documentation for params.
Comment #10
Gábor HojtsyLooks good now :) Thanks!
Comment #12
herom CreditAttribution: herom commentedCommitted.