Updated to render correct ordinals in Download progress counts.
authorchangeling <cklarson@gmail.com>
Thu, 13 Dec 2018 18:04:49 +0000 (12:04 -0600)
committerchangeling <cklarson@gmail.com>
Thu, 13 Dec 2018 18:04:49 +0000 (12:04 -0600)
commitd4088a4a06823418769a32732c6e5f2a23a36b3e
tree78ef717ea22d9a12d7663b6a31614cafe94aa437
parent6f27d6951fcd07a7481303da39ca72efa0404580
Updated to render correct ordinals in Download progress counts.

fstogedcom.py:
Lines 34-45: Implemented ordinal() function.
Line 441: Yield correct ordinal for ancestor generations.
Line 450: Yield correct ordinal for descendant generations.

getmyancestors.py
Lines 107-118: Implemented ordinal() function.
Line: 960: Yield correct ordinal for ancestor generations.
Line 970: Yield correct ordinal for descendant generations.

translation.py
Lines 104-115: Translate ordinal suffixes.
Lines 116-120: Translate updated ancestor and descendant generation strings.

Fixed string slice in ordinal() to correctly handle 11, 12, 13.

Fixed string slice in ordinal() to correctly handle 11, 12, 13 in fstogedcom.py and getmyancestors.py.
fstogedcom.py
getmyancestors.py
translation.py