context-sensitive publish button text

closes #19. thanks @thedod for the suggestion!