diff --git a/ChangeLog b/ChangeLog index 30903b416..aa0fb8e37 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-10-23 Benny Malengier + * src/Relationship.py: internationalization of a string + 2007-10-23 Benny Malengier * src/plugins/RelCalc.py: better comment, issue #1181 diff --git a/src/Relationship.py b/src/Relationship.py index 54a4fe6a8..4d7052ba9 100644 --- a/src/Relationship.py +++ b/src/Relationship.py @@ -807,7 +807,9 @@ class RelationshipCalculator: other_person.get_gender() ) if is_spouse: - return (is_spouse + ' and ' + rel_str, common) + return (_('%(spouse_relation)s and %(other_relation)s') % { + 'spouse_relation': is_spouse, + 'other_relation': rel_str} , common ) else: return (rel_str, common) ## #original programmer did a sick joke here, switching first with other!