2007-10-18 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/BasicUtils/_NameDisplay.py: bug in making patterns with uppercase svn: r9210
This commit is contained in:
parent
0f2327429e
commit
addfde0e5f
@ -1,3 +1,6 @@
|
|||||||
|
2007-10-18 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
||||||
|
* src/BasicUtils/_NameDisplay.py: bug in making patterns with uppercase
|
||||||
|
|
||||||
2007-10-18 Benny Malengier <benny.malengier@gramps-project.org>
|
2007-10-18 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
* src/DisplayTabs/__init__.py: add note backref
|
* src/DisplayTabs/__init__.py: add note backref
|
||||||
* src/glade/gramps.glade: add notebook to note editor to show backref
|
* src/glade/gramps.glade: add notebook to note editor to show backref
|
||||||
|
@ -388,7 +388,7 @@ class NameDisplay:
|
|||||||
match_pattern = mat.group(0) # the matching pattern
|
match_pattern = mat.group(0) # the matching pattern
|
||||||
# prefix, code, suffix:
|
# prefix, code, suffix:
|
||||||
p, code, s = re.split("%(.)", match_pattern)
|
p, code, s = re.split("%(.)", match_pattern)
|
||||||
field = d[code][0]
|
field = d[code.lower()][0]
|
||||||
if code.isupper():
|
if code.isupper():
|
||||||
field += ".upper()"
|
field += ".upper()"
|
||||||
if p == '' and s == '':
|
if p == '' and s == '':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user