Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated README

  • Loading branch information...
commit a6baf5a9a561b11668e3809248c8c1a1080d2f5b 1 parent 66f7ee7
@shiftkey shiftkey authored
View
2  build.cmd
@@ -8,7 +8,7 @@ if "%config%" == "" (
)
set version=%2
if "%version%" == "" (
- set version=0.1.11
+ set version=0.1.12
)
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.proj /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
View
20 src/Code52.i18n.MVC/NuSpec/Content/App_Readme/Code52.i18n.MVC.readme.txt
@@ -42,27 +42,23 @@ Find out more about Code52 on their website http://code52.org/
@using $rootnamespace$.Code52.i18n
- where $rootnamespace$ is the name of your project.
+ where $rootnamespace$ is the name of your application.
- Before the </head> tag of your page, add the following resources for styles:
-
- <link href="@Url.Content("~/Content/code52.i18n/Code52.i18n.css")" rel="stylesheet" type="text/css" />
- <script src="@Url.Content("~/Scripts/jquery.globalize/globalize.js")" type="text/javascript"></script>
- <script src="@Url.Content(string.Format("~/Scripts/jquery.globalize/cultures/globalize.culture.{0}.js", CultureHelper.GetCurrentCulture()))" type="text/javascript"></script>
-
-
- Before the </body> tag of your page, add the following scripts to set up the localisation and validation:
+ Before the closing </body> tag of your page, add the following scripts to set up the localisation and validation:
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script>
+ <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.globalize/globalize.js")"></script>
+ <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.cookie.js")"></script>
+ <script type="text/javascript" src="@Url.Content(string.Format("~/Scripts/jquery.globalize/cultures/globalize.culture.{0}.js", CultureHelper.GetCurrentCulture()))"></script>
@if (CultureHelper.GetCurrentNeutralCulture() != "en")
{
- <script type="text/javascript" src="@String.Format("http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_{0}.js", CultureHelper.GetCurrentNeutralCulture())"></script>
- }
+ <script type="text/javascript" src="@String.Format("http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_{0}.js", CultureHelper.GetCurrentNeutralCulture())"></script>
+ }
<script type="text/javascript" src="@Url.Content("~/Scripts/Code52.i18n.js")"></script>
<script type="text/javascript" src="@Url.Content("/i18n/Code52.i18n.language.js")"></script>
<script type="text/javascript">
- Code52.Language.Init('@CultureHelper.GetCurrentCulture()');
+ Code52.Language.Init('@CultureHelper.GetCurrentCulture()');
</script>
Please sign in to comment.
Something went wrong with that request. Please try again.