mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
remove $rootScope.translations, it should not be necessary, update readme
This commit is contained in:
parent
ddb73f806a
commit
c75bfaa4d9
2 changed files with 0 additions and 9 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue