From 375dd9cad96d10980fc12895813869e8eda8c6f3 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 3 Apr 2012 12:19:58 +0000 Subject: [PATCH] add missing i18n git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308844 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/resources/org/apache/archiva/i18n/default.properties | 1 + .../archiva-webapp-js/src/main/webapp/js/redback/roles.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties index a2e640604..04ab075b3 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties @@ -166,6 +166,7 @@ roles.management.header=Roles Management roles.grid.tab.title=Roles role.edit.users.list=Users List role.updated=Role {0} updated. +role.users.updated=Users updated for role {0} #proxy connector proxy-connector.network-proxy.id=Network Proxy diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js index aeadf2c10..804c26a4c 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js @@ -88,7 +88,9 @@ define("redback.roles",["jquery","order!utils","i18n","jquery.validate","order!k data: ko.toJSON(self), success: function(data) { clearUserMessages(); - displaySuccessMessage($.i18n.prop("role.users.updated",this.name)); + displaySuccessMessage($.i18n.prop("role.users.updated",self.name())); + self.usersModified(false); + }, error: function(data){ clearUserMessages(); -- 2.39.5