Skip to content
This repository
Browse code

updated README

  • Loading branch information...
commit a6baf5a9a561b11668e3809248c8c1a1080d2f5b 1 parent 66f7ee7
Brendan Forster shiftkey authored
2  build.cmd
@@ -8,7 +8,7 @@ if "%config%" == "" (
8 8 )
9 9 set version=%2
10 10 if "%version%" == "" (
11   - set version=0.1.11
  11 + set version=0.1.12
12 12 )
13 13
14 14 %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
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/
42 42
43 43 @using $rootnamespace$.Code52.i18n
44 44
45   - where $rootnamespace$ is the name of your project.
  45 + where $rootnamespace$ is the name of your application.
46 46
47 47
48   - Before the </head> tag of your page, add the following resources for styles:
49   -
50   - <link href="@Url.Content("~/Content/code52.i18n/Code52.i18n.css")" rel="stylesheet" type="text/css" />
51   - <script src="@Url.Content("~/Scripts/jquery.globalize/globalize.js")" type="text/javascript"></script>
52   - <script src="@Url.Content(string.Format("~/Scripts/jquery.globalize/cultures/globalize.culture.{0}.js", CultureHelper.GetCurrentCulture()))" type="text/javascript"></script>
53   -
54   -
55   - Before the </body> tag of your page, add the following scripts to set up the localisation and validation:
  48 + Before the closing </body> tag of your page, add the following scripts to set up the localisation and validation:
56 49
57 50 <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js"></script>
  51 + <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.globalize/globalize.js")"></script>
  52 + <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.cookie.js")"></script>
  53 + <script type="text/javascript" src="@Url.Content(string.Format("~/Scripts/jquery.globalize/cultures/globalize.culture.{0}.js", CultureHelper.GetCurrentCulture()))"></script>
58 54 @if (CultureHelper.GetCurrentNeutralCulture() != "en")
59 55 {
60   - <script type="text/javascript" src="@String.Format("http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_{0}.js", CultureHelper.GetCurrentNeutralCulture())"></script>
61   - }
  56 + <script type="text/javascript" src="@String.Format("http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_{0}.js", CultureHelper.GetCurrentNeutralCulture())"></script>
  57 + }
62 58 <script type="text/javascript" src="@Url.Content("~/Scripts/Code52.i18n.js")"></script>
63 59 <script type="text/javascript" src="@Url.Content("/i18n/Code52.i18n.language.js")"></script>
64 60 <script type="text/javascript">
65   - Code52.Language.Init('@CultureHelper.GetCurrentCulture()');
  61 + Code52.Language.Init('@CultureHelper.GetCurrentCulture()');
66 62 </script>
67 63
68 64

0 comments on commit a6baf5a

Please sign in to comment.
Something went wrong with that request. Please try again.