From 69a9edb4c49e7f2a6bf21c3ea810aba3d0533205 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 22 Oct 2012 14:49:42 +0000 Subject: [PATCH] improve i18n git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400902 13f79535-47bb-0310-9956-ffa450edef68 --- .../resources/org/apache/archiva/i18n/default.properties | 6 ++++++ .../archiva-webapp-js/src/main/webapp/js/archiva/search.js | 2 +- 2 files changed, 7 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 103a9e678..bdf72b627 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 @@ -326,6 +326,12 @@ groupId.delete.confirm.title=GroupId deletion groupId.delete.confirm.save=Are you sure to delete groupId: {0} ? groupdId.deleted=groupId {0} deleted. groupId.delete.missing.repoId= You must select a repository to delete a groupId. + +projectId.delete.confirm.title=Project Deletion +projectId.delete.confirm.save=Are you sure to delete project {0}:{1} ? +projectId.deleted=Project {0}:{1} deleted +projectId.delete.missing.repoId= You must select a repository to delete a project. + browse.artifact.version=Version browse.artifact.pom.snippet=POM Snippet browse.artifact.parent=Parent diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js index b98474b57..552a698fd 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js @@ -131,7 +131,7 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","choosen","knockout","kno }, $.i18n.prop('ok'), $.i18n.prop('cancel'), $.i18n.prop('projectId.delete.confirm.title'), - $.i18n.prop('projectId.delete.confirm.save',groupId)); + $.i18n.prop('projectId.delete.confirm.save',groupId,projectId)); } }