Fix missing } from bad rebase
Import gettext in textbook template