Chinese: 我上中学的时候有写日记的习惯。
English: I used to keep a diary when I was at high school.