]> source.dussan.org Git - archiva.git/commitdiff
add missing i18n
authorOlivier Lamy <olamy@apache.org>
Tue, 3 Apr 2012 12:19:58 +0000 (12:19 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 3 Apr 2012 12:19:58 +0000 (12:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308844 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js

index a2e6406042ac1d3af6388967307cafef2f534044..04ab075b3191d285a1d4840e15f95cc2f4f1f1fd 100644 (file)
@@ -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
index aeadf2c10aa5dbb5a19db43937d40fdfba7a2f16..804c26a4c25d99631ac6a5ec701093888085c54b 100644 (file)
@@ -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();