diff options
author | alaaosh <alaaosh@54714841-351b-0410-a198-e36a94b762f5> | 2009-12-29 20:16:38 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2010-01-09 09:12:02 (GMT) |
commit | db79b8fd02cae6708390e9cf943b17d761e8519f (patch) | |
tree | d112d27e1a7dcefce7adf5c84edea5463c5270cc | |
parent | 9e4d86be5151d91bb7e4b84ce7f574609bc047e2 (diff) |
make obsolete handling into a common api
git-svn-id: https://translate.svn.sourceforge.net/svnroot/translate/src/trunk/translate@13568 54714841-351b-0410-a198-e36a94b762f5
-rw-r--r-- | translate-toolkit-1.5.1/translate/storage/base.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/translate-toolkit-1.5.1/translate/storage/base.py b/translate-toolkit-1.5.1/translate/storage/base.py index 54f5708..db5d010 100644 --- a/translate-toolkit-1.5.1/translate/storage/base.py +++ b/translate-toolkit-1.5.1/translate/storage/base.py @@ -310,6 +310,14 @@ class TranslationUnit(object): """Marks the unit as fuzzy or not.""" pass + def isobsolete(self): + """indicate whether a unit is obsolete""" + return False + + def makeobsolete(self): + """Make a unit obsolete""" + pass + def isheader(self): """Indicates whether this unit is a header.""" return False |