remove clientSideStrings part, stringNotFound added to locales/en/app.json, should be added to other languages, readme updated, $rootscope.translations removed

This commit is contained in:
Matteo Pagliazzi
2013-11-14 14:41:42 +01:00
parent c75bfaa4d9
commit 0c40d44de7
22 changed files with 41 additions and 90 deletions

View File

@@ -1,5 +1,9 @@
"use strict";
window.env.t = function(string){
return (window.env.translations[string] || window.env.translations.stringNotFound);
}
window.habitrpg = angular.module('habitrpg',
['ngResource', 'ngSanitize', 'userServices', 'groupServices', 'memberServices', 'challengeServices',
'sharedServices', 'authServices', 'notificationServices', 'guideServices',