Dili is the capital of the country East Timor . Dili was settled about 1520 by the Portuguese , who made it the capital of Portuguese Timor in 1769 . During World War II , Dili was occupied by the Japanese ( see Battle of Timor ) .