Skip to content

Commit

Permalink
remove $rootScope.translations, it should not be necessary, update re…
Browse files Browse the repository at this point in the history
…adme
  • Loading branch information
paglias committed Nov 14, 2013
1 parent ddb73f8 commit c75bfaa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# Translations - WIP

Some files has been overwriteen after merging with develop, will revisit later:

- locales/nl/app.json
- locales/bg/app.json

-----------------

## How to add a new language
- All the old files in `/locales` has been moved to `/locales_old`.
- New files must have a `languageName` property (translated or not in english? Italian or Italiano?) and strings that have to be accessed in a `.js` file must be placed inside the `clientSideStrings` of `app.json`.
Expand Down
2 changes: 0 additions & 2 deletions public/js/controllers/rootCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
$rootScope.user = User.user;
$rootScope.settings = User.settings;

$rootScope.translations = window.env.translations;

// Angular UI Router
$rootScope.$state = $state;
$rootScope.$stateParams = $stateParams;
Expand Down

0 comments on commit c75bfaa

Please sign in to comment.