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.
The latest cvs version does not allow to edit and delete locale strings. The attached patch fixes locale.module and locale.inc
Comment | File | Size | Author |
---|---|---|---|
#2 | locale_edit_strings.patch | 1.86 KB | asimmonds |
locale.patch_4.txt | 1.6 KB | stefano73 |
Comments
Comment #1
chx CreditAttribution: chx commentedthis should read
array(arg(5))
. Also, I do not find it a particularly good idea to set #base to something that starts with an underscore, that can lead to functions liketheme__
Comment #2
asimmonds CreditAttribution: asimmonds commentedUpdated the patch for chx's comments. Added a helper function locale_admin_string_edit_submit() instead of inserting a '#base' tag into the form.
Comment #3
chx CreditAttribution: chx commentedGood job, this one.
Comment #4
drummCommitted to HEAD.
Comment #5
(not verified) CreditAttribution: commented