[MRM-1580] system status page add i18n.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299634 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-03-12 11:35:48 +00:00
parent 1d2e44487f
commit 2b9a8630f1
2 changed files with 15 additions and 1 deletions

View File

@ -129,6 +129,7 @@ menu.artifacts.browse=Browse
menu.topbar.quicksearch=Quick Search
menu.legacy-artifact-support=Legacy Support
menu.repository-scanning=Repository Scanning
menu.system-status=System Status
#user
user.change.password.required=Change password required
@ -284,4 +285,16 @@ network-configuration.maxTotalPerHost=Max Total Http Connections per host
network-configuration.usePooling=Use http connection pooling
network-configuration.updated=Network Configuration updated.
# system status
system-status.header.memory=Server Memory Usage
system-status.header.current.time=Current Time
system-status.header.caches=Caches
system-status.header.version.buildNumber=Build number
system-status.header.queues=Queues
system-status.header.version.info=Version Information
system-status.header.version.timestampStr=Build Timestamp
system-status.header.scanning=Repository Scans Currently in Progress
system-status.header.scanning.inprogress.none=No scans in progress.

View File

@ -585,7 +585,8 @@ $(function() {
}
});
var versionInfo="Build number: "+window.archivaRuntimeInfo.buildNumber+" - Build Timestamp: "+window.archivaRuntimeInfo.timestampStr;
var versionInfo=$.i18n.prop('system-status.header.version.buildNumber')+": "+window.archivaRuntimeInfo.buildNumber
+" - "+$.i18n.prop('system-status.header.version.timestampStr')+": "+window.archivaRuntimeInfo.timestampStr;
mainContent.find("#status_version_info").html(versionInfo);
}