Translate the following English sentence to French:
"While we were there we promised that we would do our best to adopt a motion of this kind this week."
Nous y avons promis que nous entendions voter une telle résolution au cours de cette semaine.