diff options
author | friedelwolff <friedelwolff@54714841-351b-0410-a198-e36a94b762f5> | 2009-11-27 13:18:09 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2010-01-09 09:11:57 (GMT) |
commit | 9e4d86be5151d91bb7e4b84ce7f574609bc047e2 (patch) | |
tree | 92309102c5e6b3dc80a2092524e3a8beaf34f2cc | |
parent | bd91ac69061f0e90e3347115204a6aa861f51351 (diff) |
Maark XMLTagPlaceable as editable to allow editing of XML attributes. This fixes bug 1287, but will probably be revisited.
git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/translate@13385 54714841-351b-0410-a198-e36a94b762f5
-rw-r--r-- | translate-toolkit-1.5.1/translate/storage/placeables/general.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate-toolkit-1.5.1/translate/storage/placeables/general.py b/translate-toolkit-1.5.1/translate/storage/placeables/general.py index 8717e51..9a232c1 100644 --- a/translate-toolkit-1.5.1/translate/storage/placeables/general.py +++ b/translate-toolkit-1.5.1/translate/storage/placeables/general.py @@ -273,7 +273,7 @@ class SpacesPlaceable(Ph): class XMLTagPlaceable(Ph): """Placeable handling XML tags.""" - iseditable = False + iseditable = True istranslatable = False regex = re.compile(r'<(\w+)(\s(\w*=".*?")?)*/?>|</(\w+)>') parse = classmethod(regex_parse) |