]> source.dussan.org Git - archiva.git/commitdiff
add missing i18n
authorOlivier Lamy <olamy@apache.org>
Mon, 13 Feb 2012 15:57:21 +0000 (15:57 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 13 Feb 2012 15:57:21 +0000 (15:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1243569 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/user.js

index d8b7bceda2c71b8554c3a5f51798f1a75e4a7b3b..d342ff8e6dcf65c5cf1be91b94735d3536fda7d1 100644 (file)
@@ -124,6 +124,9 @@ users.sort.byname=Sort by Name
 effective.roles.edit=Edit Roles
 locked=Locked
 validated=Validated
+user.locked=User {0} locked.
+user.unlocked=User {0} unlocked.
+user.passwordChangeRequired.updated=Password change required updated for user {0} to {1}
 
 #roles management
 roles.management.header=Roles Management
index 41e7c453d9f487a8d069d34e95c0ce60d36a2fbb..8cf73765b108743739f9c36366db5176a2376487 100644 (file)
@@ -264,7 +264,7 @@ $(function() {
       $.ajax(url, {
           type: "GET",
           success: function(result) {
-            displaySuccessMessage($.i18n.prop("user.passwordChangeRequired.updated",curUser.username()));
+            displaySuccessMessage($.i18n.prop("user.passwordChangeRequired.updated",curUser.username(),value));
           },
           error: function(result) {
             var obj = jQuery.parseJSON(result.responseText);