# fix sources that produced by pyuic
import sys
import re
text = sys.stdin.read()
# this strings must not be translated
text = re.sub(r'\b_\("~(.*?)"\)', r'"\1"', text);
# import '_' function
text = "from chestnut_dialer import _\n" + text
sys.stdout.write(text)