EasyAbp / AbpHelper.CLI

Providing code generation and more features to help you develop applications and modules with the ABP framework.
MIT License
285 stars 95 forks source link

Get LocalizationResourceName from PaymentsResource class #59

Closed gdlcf88 closed 4 years ago

gdlcf88 commented 4 years ago
using Volo.Abp.Localization;

namespace EasyAbp.EShop.Payments.Localization
{
    [LocalizationResourceName("EasyAbpEShopPayments")]
    public class PaymentsResource
    {

    }
}

If a developer change the LocalizationResourceName, the generated index.js file is better to use the right resource name:

var l = abp.localization.getResource('EasyAbpEShopPayments');

wakuflair commented 4 years ago

This needs additional parsing process.

AbpHelper respects the ABP startup template content. If developers modify the ABP template content, they should also modify the AbpHelper template.