Refactoring: Extract a subroutine to write a variable to both internationalizedstrings.h and localizedstrings.cpp.
This keeps the type and name in-sync in both files.
It also make it easier to put special characters into string literals, since they can be put into a single-quoted Perl literal.