File tree Expand file tree Collapse file tree 5 files changed +14
-6
lines changed
AbpCompanyName.AbpProjectName.WebMpa/Views/Shared
AbpCompanyName.AbpProjectName.WebSpaAngular
AbpCompanyName.AbpProjectName.WebSpaDurandal Expand file tree Collapse file tree 5 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 44
44
@Scripts.Render( "~/Bundles/js")
45
45
46
46
<script >
47
- // Localizing momentjs
48
- moment .locale (' @Thread.CurrentThread.CurrentUICulture.Name' );
47
+ abp . localization . defaultSourceName = ' @LocalizationSourceName ' ;
48
+ moment .locale (' @Thread.CurrentThread.CurrentUICulture.Name' ); // Localizing momentjs
49
49
</script >
50
50
51
51
<!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->
Original file line number Diff line number Diff line change 29
29
@Scripts.Render( "~/Bundles/App/vendor/js")
30
30
31
31
<script >
32
- // Localizing momentjs
33
- moment .locale (' @Thread.CurrentThread.CurrentUICulture.Name' );
32
+ abp . localization . defaultSourceName = ' @LocalizationSourceName ' ;
33
+ moment .locale (' @Thread.CurrentThread.CurrentUICulture.Name' ); // Localizing momentjs
34
34
</script >
35
35
36
36
<!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->
Original file line number Diff line number Diff line change 59
59
<script src =" ~/Abp/Framework/scripts/libs/abp.spin.js" ></script >
60
60
<script src =" ~/Abp/Framework/scripts/libs/abp.sweet-alert.js" ></script >
61
61
62
+ <script >
63
+ abp .localization .defaultSourceName = ' @LocalizationSourceName' ;
64
+ </script >
65
+
62
66
<!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->
63
67
<script src =" ~/api/AbpServiceProxies/GetAll" ></script >
64
68
<script src =" ~/AbpScripts/GetScripts" type =" text/javascript" ></script >
Original file line number Diff line number Diff line change 38
38
@Scripts.Render( "~/Bundles/vendor/js/bottom")
39
39
40
40
<script >
41
- // Localizing momentjs
42
- moment .locale (' @Thread.CurrentThread.CurrentUICulture.Name' );
41
+ abp . localization . defaultSourceName = ' @LocalizationSourceName ' ;
42
+ moment .locale (' @Thread.CurrentThread.CurrentUICulture.Name' ); // Localizing momentjs
43
43
</script >
44
44
45
45
<!-- Dynamic script for client side localization (It's created on runtime) -->
Original file line number Diff line number Diff line change 59
59
<script src =" ~/Abp/Framework/scripts/libs/abp.spin.js" ></script >
60
60
<script src =" ~/Abp/Framework/scripts/libs/abp.sweet-alert.js" ></script >
61
61
62
+ <script >
63
+ abp .localization .defaultSourceName = ' @LocalizationSourceName' ;
64
+ </script >
65
+
62
66
<!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->
63
67
<script src =" ~/api/AbpServiceProxies/GetAll" ></script >
64
68
<script src =" ~/AbpScripts/GetScripts" type =" text/javascript" ></script >
You can’t perform that action at this time.
0 commit comments