Changed references of "photo" to "image", allowed family and personal event names to be translated.

svn: r217
This commit is contained in:
Don Allingham
2001-07-03 16:53:10 +00:00
parent 9deaabe5ea
commit a9e0c83491
16 changed files with 146 additions and 45 deletions

View File

@@ -26,7 +26,6 @@ import intl
_ = intl.gettext
class EventType(Filter.Filter):
"People who have photos"
def match(self,person):
for event in person.getEventList():

View File

@@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
"People who have photos"
"People who have images"
import Filter
import string
@@ -27,7 +27,7 @@ import intl
_ = intl.gettext
class HavePhotos(Filter.Filter):
"People who have photos"
"People who have images"
def match(self,person):
return len(person.getPhotoList()) > 0
@@ -39,4 +39,4 @@ def need_qualifier():
return 0
def get_name():
return _("People who have photos")
return _("People who have images")