summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-03-06 18:33:04 +0000
committerOlivier Lamy <olamy@apache.org>2012-03-06 18:33:04 +0000
commit1238f94c440097f3d2540fe56f583e7322b40b7a (patch)
tree749376fffd73409d3e641f1260fb3bc1199432da
parent7e377a16bfafcd723166a09e1ccfb1cc721b4ee9 (diff)
downloadarchiva-1238f94c440097f3d2540fe56f583e7322b40b7a.tar.gz
archiva-1238f94c440097f3d2540fe56f583e7322b40b7a.zip
[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
-rw-r--r--archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties13
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js2
2 files changed, 14 insertions, 1 deletions
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",