Help understanding と in 問い合わせがくるんじゃないかと覚悟していたんだけど


Please explain the function of と (in bold) in this behemoth of a sentence:

>
> この偽書評を書いたときには、あとで誰かから「ろくでもない嘘をつくな」という苦情の手紙とか、「どこに行けばこの本が手にはいるのか」といった問い合わせがくるんじゃないか
> **と** 覚悟していたんだけど、。。。

If you can't find the bold it's the last と in the sentence.

I'll put my translation attempt in the order of the Japanese to aid following
the structure

> When I wrote this fake book review, afterwards, by somebody, such
> complaining letters as "You've told a worthless lie" or, enquiries such as
> "Where can I go to get this book", wouldn't they come? と prepared for,
> but...

I can't quite get the last part くるんじゃないか **と** 覚悟していたんだけど to make sense.

Also, could you please explain why it is という after the first quote but といった
after the second quote. I don't think I've seen という, when used like this,
expressed in the past tense.




と can be used to report speech, thought, or intention (it marks either direct
speech or indirect speech.)

"... to iimashita." = I said that ..."

"... to omoimashita. = "I thought that ..."

"... と覚悟していた" = "I was prepared for ..."

Your translation is something like: "When I wrote the fake book review,
although I was prepared for the possibility that complaining letters and
enquiries would come afterwards..."




と can be used to report speech, thought, or intention (it marks either direct
speech or indirect speech.)

"... to iimashita." = I said that ..."

"... to omoimashita. = "I thought that ..."

"... と覚悟していた" = "I was prepared for ..."

Your translation is something like: "When I wrote the fake book review,
although I was prepared for the possibility that complaining letters and
enquiries would come afterwards..."

