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.
At core/modules/taxonomy/src/VocabularyForm.php, "Terms language" should be "Term's language". Edit: "Term language" would be consistent with "Vocabulary language" on the same form.
Comment | File | Size | Author |
---|---|---|---|
#13 | terms-language-2956067-13.patch | 652 bytes | nkoporec |
#11 | 2956067-11.patch | 652 bytes | bhanuprakashnani |
#6 | terms-language-2956067-6.patch | 654 bytes | neeraprajapati |
add_vocabulary_terms_language.png | 17.18 KB | kari.kaariainen |
Comments
Comment #2
neeraprajapati CreditAttribution: neeraprajapati at Valuebound commentedI am working on that, will update it soon.
Comment #3
neeraprajapati CreditAttribution: neeraprajapati at Valuebound commentedPatch applied.
Comment #4
swels CreditAttribution: swels as a volunteer commentedafter analyzing the core code via regex,
it seems that its more common to use wrapping double quotes - instead to escaping single quotes
e.g.
->t("The Drupal term IDs of the term's parents.")
Comment #5
kari.kaariainen CreditAttribution: kari.kaariainen commentedTrue. According to coding standards, in this case it should be
->t("Term's language")
https://www.drupal.org/docs/develop/standards/coding-standards#quotes
Comment #6
neeraprajapati CreditAttribution: neeraprajapati at Valuebound commentedThanks for sharing coding standards link, I have applied a new patch.
Comment #7
neeraprajapati CreditAttribution: neeraprajapati at Valuebound commentedComment #8
nkoporecHi, tested the patch and I think it looks good.Great job!
Comment #9
kari.kaariainen CreditAttribution: kari.kaariainen commentedComment #10
alexpottYep this is wrong but I think
Term language
would be more consistent. We haveVocabulary language
just above. I don't think the possessive is necessary.Comment #11
bhanuprakashnani CreditAttribution: bhanuprakashnani at Google Summer of Code commentedIf it should be Term language, I have made the change and uploaded the patch.
Comment #12
alexpott@bhanuprakashnani can be single quotes again now.
Comment #13
nkoporecCreated a new patch with single quotes.
Comment #14
kari.kaariainen CreditAttribution: kari.kaariainen commentedComment #15
mcgovernm CreditAttribution: mcgovernm as a volunteer commentedComment #16
plachSaving credits
Comment #18
plachCommitted and pushed, thanks!