Replace translatable="1" by translatable="yes" so xgettext stays happy and extracts the strings.
More or less copied from the spin button example in testgtk.