Add a constructor to LicensesDialog

Add a constructor that takes all the resources as ids, which is more convenient for i18n.
Add zh-CN translation.
Merge pull request #23 from DreaminginCodeZH/patch-1

Add a constructor to LicensesDialog