What are the two meanings of "hope" in Du Fu's poem "Spring Hope"?

The first four sentences of the poem "Wang" refer to the poet looking at the scenery and seeing the capital city fall and the city broken. Although the mountains and rivers are still there, the grass is everywhere, the trees are gray, the flowers in bloom are falling, and the birds are screaming; The hope of the last four sentences is caused by the scene. Because of the constant war, I miss my loved ones and am eager to hear from my loved ones at home.

Original works:

Chang' an fell, the country was broken, and only the mountains and rivers remained; Spring has come, and the sparsely populated Chang' an city is densely forested.

Sad state, can not help but burst into tears, amazing birds, leaving sorrow and hate.

The war lasted for more than half a year, and letters from home were rare, with a hundred thousand gold.

Twisting with melancholy, scratching my head and thinking, the more I scratch my white hair, I can hardly insert a hairpin.

Poetry translation: Chang 'an fell and the country was broken, leaving only mountains and rivers; Spring has come, and Chang 'an, which is sparsely populated, has dense vegetation. Sentimental state affairs, tears can't help splashing, birds are heart-pounding, which only increases sadness but not hatred. The continuous war has lasted for more than half a year, and there are few letters from home. A letter is worth twelve thousand gold. Worried, scratching my head, my white hair is getting shorter and shorter, and I can't insert it.

Creation background: In November of Tianbao 14th year (755), An Lushan rebelled against the Tang Dynasty. In June of the following year, the rebels captured Tongguan, and Tang Xuanzong fled to Sichuan in a hurry. In July, Prince Hengli was located in Lingwu (present-day Ningxia), known as Su Zong in the world, and was renamed as De. When Du Fu heard the news, he settled down in Duzhou and went to Suzong Court alone. Unfortunately, he was captured by the rebels on the way and sent to Chang 'an, but he was not imprisoned because of his humble position. In the spring of the second year of Zhide, Du Fu, who was in the occupied area, witnessed the scene of depression in Chang 'an, and he had mixed feelings, so he wrote this masterpiece that will be told for generations.