mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user