remove $rootScope.translations, it should not be necessary, update readme

This commit is contained in:
Matteo Pagliazzi 2013-11-14 14:16:46 +01:00
parent ddb73f806a
commit c75bfaa4d9
2 changed files with 0 additions and 9 deletions

View file

@ -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`.

View file

@ -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;