mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Add i18n for sweetalert2 in admin panel
This commit is contained in:
parent
293cb0e457
commit
b0f29c5036
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* @Author: printempw
|
* @Author: printempw
|
||||||
* @Date: 2016-07-22 14:02:44
|
* @Date: 2016-07-22 14:02:44
|
||||||
* @Last Modified by: printempw
|
* @Last Modified by: g-plane
|
||||||
* @Last Modified time: 2017-01-21 10:58:50
|
* @Last Modified time: 2017-04-25 17:30:11
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
@ -11,6 +11,10 @@ $(document).ready(function() {
|
|||||||
$('input').iCheck({
|
$('input').iCheck({
|
||||||
checkboxClass: 'icheckbox_square-blue'
|
checkboxClass: 'icheckbox_square-blue'
|
||||||
});
|
});
|
||||||
|
swal.setDefaults({
|
||||||
|
confirmButtonText: trans('general.confirm'),
|
||||||
|
cancelButtonText: trans('general.cancel')
|
||||||
|
});
|
||||||
|
|
||||||
$.extend(true, $.fn.dataTable.defaults, {
|
$.extend(true, $.fn.dataTable.defaults, {
|
||||||
language: trans('vendor.datatables'),
|
language: trans('vendor.datatables'),
|
||||||
|
Loading…
Reference in New Issue
Block a user