* src/Relationship.py: internationalization of a string

2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9239
This commit is contained in:
Benny Malengier 2007-10-23 21:22:33 +00:00
parent 0bc1336c51
commit 1b70943814
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/Relationship.py: internationalization of a string
2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/RelCalc.py: better comment, issue #1181

View File

@ -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!