making strings translatable

not translating the body keys though...
This commit is contained in:
Aaron Morris
2015-03-02 21:13:18 -05:00
parent ec15f239c6
commit d9b10a4373

View File

@@ -30,8 +30,8 @@ angular.module('habitrpg')
var user = {}; // this is stored as a reference accessible to all controllers, that way updates propagate var user = {}; // this is stored as a reference accessible to all controllers, that way updates propagate
var userNotifications = { var userNotifications = {
"party.order" : "Party order updated.", "party.order" : env.t("updatedParty"),
"party.orderAscending" : "Party order updated." "party.orderAscending" : env.t("updatedParty")
}; // this is a list of notifications to send to the user when changes are made, along with the message. }; // this is a list of notifications to send to the user when changes are made, along with the message.
//first we populate user with schema //first we populate user with schema