From 1238f94c440097f3d2540fe56f583e7322b40b7a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 6 Mar 2012 18:33:04 +0000 Subject: [PATCH] [MRM-1577] rewrite legacy path admin page add missing i18n. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297643 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/archiva/i18n/default.properties | 13 +++++++++++++ .../src/main/webapp/js/archiva/general-admin.js | 2 +- 2 files changed, 14 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 119a47755..b10ab1e18 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 @@ -245,3 +245,16 @@ login.username.placehoder=Username login.password.placehoder=Password #legacy artifact path support +legacy-artifact-paths.artifact=Artifact +legacy-artifact-paths.path=Path +legacy-artifact-paths.groupId=Group ID +legacy-artifact-paths.artifactId=Artifact ID +legacy-artifact-paths.classifier=Classifier +legacy-artifact-paths.version=Version +legacy-artifact-paths.calculatePath=Calculate Path +legacy-artifact-paths.type=Type +legacy-artifact-paths.list=Legacy Artifact Path Resolution +legacy-artifact-paths.grid.tab.title=Path Mappings +legacy-artifact-path.added=Path Mapping for path {0} +legacy-artifact-path.delete.confirm=Are you sure to delete Path Mapping {0} ? +legacy-artifact-path.removed=Path Mapping deleted {0} deleted. diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js index 1160a0bea..0b72d7ac2 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js @@ -240,7 +240,7 @@ $(function() { clearUserMessages(); var mainContent=$("#main-content"); - mainContent.html($("#legacy-artifact-path-main" ).html()); + mainContent.html($("#legacy-artifact-path-main").tmpl()); $.ajax("restServices/archivaServices/archivaAdministrationService/getLegacyArtifactPaths", { type: "GET", -- 2.39.5