def get_translatable_segments(self, value):
    if (not value):
        return []
    return [StringSegmentValue('foo', '{} and some extra'.format(value))]
def get_translatable_segments(self, value):
    if (not value):
        return []
    return [StringSegmentValue('foo', '{} and some extra'.format(value))]