INSERT INTO authority.thesaurus (code, name, control_set) VALUES
('a', oils_i18n_gettext('a','Library of Congress Subject Headings','at','name'), 1),
- ('b', oils_i18n_gettext('b',$$LC subject headings for children's literature$$,'at','name'), 1), -- silly vim '
+ ('b', oils_i18n_gettext('b','LC subject headings for children''s literature','at','name'), 1),
('c', oils_i18n_gettext('c','Medical Subject Headings','at','name'), 1),
('d', oils_i18n_gettext('d','National Agricultural Library subject authority file','at','name'), 1),
('k', oils_i18n_gettext('k','Canadian Subject Headings','at','name'), 1),
for key, value in bundle.iteritems():
if value in msgids:
- msgids[str(value)].occurrences.append((os.path.basename(source), str(key)))
+ msgids[unicode(value)].occurrences.append((os.path.basename(source), str(key)))
else:
poe = polib.POEntry()
poe.occurrences = [(os.path.basename(source), str(key))]
- poe.msgid = str(value)
- msgids[str(value)] = poe
+ poe.msgid = unicode(value)
+ msgids[unicode(value)] = poe
# Now add the POEntries to our POFile
for poe in msgids.values():