Apple Inc. has reopened all stores in its Chinese market, but said Friday it would close those everywhere else for two weeks. A Chinese soccer-league team from Wuhan, where the virus was discovered, planned to leave its temporary base in Spain because of worsening conditions there to return to China. Jack Ma, billionaire founder of Chinese online-retail giant Alibaba, recently pledged to donate 1 million masks and 500,000 virus test kits—to the U.S.

Previously focused on people within the country as potential virus carriers, China’s National Health Commission said Monday that preventing imported cases is now a priority. Beijing’s municipal government said Sunday that people coming into the city from abroad must quarantine at designated hotels and sites for 14 days, its latest step to protect the capital.

While life in China remains far from normal, people here feel the situation is under control. Many credit the Chinese public for its willingness to follow draconian government measures, such as business shutdowns, home quarantines, mask-wearing requirements and ubiquitous temperature checks. They also wonder: How could other countries be unprepared after observing what unfolded in the Asian nation for the past two months?