Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[bug fix] Typo `locals`->`locales`

  • Loading branch information...
commit ef4e42a375ba8541c950b8daaaef6d9ca499d33b 1 parent 1cec9ad
@ben-lin ben-lin authored
View
6 docs/command_line.md
@@ -29,8 +29,8 @@ To generate a new project
create awesomeapp/app/controllers/
create awesomeapp/app/helpers/
create awesomeapp/app/libs/
- create awesomeapp/app/locals/
- create awesomeapp/app/locals/en/
+ create awesomeapp/app/locales/
+ create awesomeapp/app/locales/en/
create awesomeapp/app/middlewares/
create awesomeapp/app/models/
create awesomeapp/app/views/
@@ -58,7 +58,7 @@ To generate a new project
create awesomeapp/app/controllers/welcome.js
create awesomeapp/app/helpers/application.js
create awesomeapp/app/libs/.gitkeep
- create awesomeapp/app/locals/en/welcome.js
+ create awesomeapp/app/locales/en/welcome.js
create awesomeapp/app/middlewares/csrf.js
create awesomeapp/app/middlewares/err404.js
create awesomeapp/app/middlewares/err500.js
View
0  ...li/generators/templates/locals/welcome.js → ...i/generators/templates/locales/welcome.js
File renamed without changes
View
2  lib/global.js
@@ -45,7 +45,7 @@ module.exports = function ( base_dir, callback ){
});
global.__defineGetter__( 'LANG_DIR', function (){
- return BASE_DIR + 'app/locals/';
+ return BASE_DIR + 'app/locales/';
});
global.__defineGetter__( 'PUB_DIR', function (){
Please sign in to comment.
Something went wrong with that request. Please try again.