Browse Source
Merge pull request #11113 from abpframework/liangshiwei/patch
Fixed sweetalert2 button l10n issue
pull/11114/head
maliming
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert2/abp-sweetalert2.js
|
|
@ -100,10 +100,10 @@ var abp = abp || {}; |
|
|
abp.event.on('abp.configurationInitialized', function () { |
|
|
abp.event.on('abp.configurationInitialized', function () { |
|
|
var l = abp.localization.getResource('AbpUi'); |
|
|
var l = abp.localization.getResource('AbpUi'); |
|
|
|
|
|
|
|
|
|
|
|
abp.libs.sweetAlert.config.default.confirmButtonText = l('Yes'); |
|
|
|
|
|
abp.libs.sweetAlert.config.default.denyButtonText = l('No'); |
|
|
|
|
|
abp.libs.sweetAlert.config.default.cancelButtonText = l('Cancel'); |
|
|
abp.libs.sweetAlert.config.confirm.title = l('AreYouSure'); |
|
|
abp.libs.sweetAlert.config.confirm.title = l('AreYouSure'); |
|
|
abp.libs.sweetAlert.config.confirm.confirmButtonText = l('Yes'); |
|
|
|
|
|
abp.libs.sweetAlert.config.confirm.denyButtonText = l('No'); |
|
|
|
|
|
abp.libs.sweetAlert.config.confirm.cancelButtonText = l('Cancel'); |
|
|
|
|
|
abp.libs.sweetAlert.config.confirm.showCancelButton = true; |
|
|
abp.libs.sweetAlert.config.confirm.showCancelButton = true; |
|
|
abp.libs.sweetAlert.config.confirm.reverseButtons = true; |
|
|
abp.libs.sweetAlert.config.confirm.reverseButtons = true; |
|
|
}); |
|
|
}); |
|
|
|