mirror of https://github.com/apache/archiva.git
[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:
parent
1d2e44487f
commit
2b9a8630f1
|
@ -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.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue