Fixed a typo letter>ltr.

svn: r12838
This commit is contained in:
Peter Landgren 2009-07-27 18:47:00 +00:00
parent 1a60fad3fc
commit 55a98c40ce

View File

@ -5036,7 +5036,7 @@ def alphabet_navigation(db, handle_list, key):
while (cols <= 35 and index < num_ltrs): while (cols <= 35 and index < num_ltrs):
ltr = sorted_alpha_index[index] ltr = sorted_alpha_index[index]
title_str = _('Surnames') if key == 0 else _('Places') title_str = _('Surnames') if key == 0 else _('Places')
if lang_country == "sv_SE" and letter == u'V': if lang_country == "sv_SE" and ltr == u'V':
title_str += _(' starting with %s') % "V,W" title_str += _(' starting with %s') % "V,W"
unordered += (Html('li', class_='letters', inline=True) + unordered += (Html('li', class_='letters', inline=True) +
Html('a', "V,W", href="#V,W", title=title_str) Html('a', "V,W", href="#V,W", title=title_str)