aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-05-24 22:00:30 +0000
committerOlivier Lamy <olamy@apache.org>2012-05-24 22:00:30 +0000
commit5ddb45fadcb18dfa873665b28b8d719cea1a9801 (patch)
treeefacb1dd71f95ab8dd4978326b5124166e3099eb /archiva-modules/archiva-web
parentc6f34d133f4ba7dc1f3911098f6943ed3af60bb4 (diff)
downloadarchiva-5ddb45fadcb18dfa873665b28b8d719cea1a9801.tar.gz
archiva-5ddb45fadcb18dfa873665b28b8d719cea1a9801.zip
fix i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1342459 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r--archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties5
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/menu.html4
2 files changed, 8 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 01acd40b1..a0f4a956d 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
@@ -140,6 +140,7 @@ menu.legacy-artifact-support=Legacy Support
menu.repository-scanning=Repository Scanning
menu.system-status=System Status
menu.appearance-configuration=Appearance
+menu.ui-configuration=UI Configuration
#user
user.change.password.required=Change password required
@@ -380,6 +381,10 @@ appearance-configuration.logoLocation-label=Logo Location
appearance-configuration.updated=Appearance has been updated
appearance-configuration.updating-error=Error during appearance setting
+#
+ui-configuration.header=UI Configuration
+ui-configuration.applicationUrl=Application Url
+
#file upload
fileupload.header=Upload Artifact
fileupload.file.choose=Choose File
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/menu.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/menu.html
index df70de7a8..527887795 100644
--- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/menu.html
+++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/menu.html
@@ -63,7 +63,9 @@
<li style="display:none" redback-permissions="{permissions: ['archiva-manage-configuration']}">
<a href="#" id="menu-appearance-list-a" onclick="displayAppearanceConfiguration()">${$.i18n.prop('menu.appearance-configuration')}</a>
</li>
-
+ <li style="display:none" redback-permissions="{permissions: ['archiva-manage-configuration']}">
+ <a href="#" id="menu-ui-configuration-list-a" onclick="displayUiConfiguration()">${$.i18n.prop('menu.ui-configuration')}</a>
+ </li>
</ul>