feat: add MirrorOUC frontend preview
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
export default {
|
||||
"title": "Announcements",
|
||||
"more": "All announcements",
|
||||
"moreLabel": "All",
|
||||
"downloads": "Downloads",
|
||||
"downloadMenu": "Choose download",
|
||||
"links": "Useful links",
|
||||
"linkHelp": "Mirror configuration help",
|
||||
"linkStudio": "IT Studio, Ocean University of China",
|
||||
"linkUniversity": "Ocean University of China",
|
||||
"pinned": "Pinned",
|
||||
"newsIntro": "These announcements describe the interface preview.",
|
||||
"downloadsTitle": "Get installation images",
|
||||
"downloadsIntro": "Local download directories are not connected yet. These links open official project websites.",
|
||||
"entries": {
|
||||
"preview": {
|
||||
"title": "A first look at the MirrorOUC interface",
|
||||
"body": "Welcome to the MirrorOUC homepage prototype. The mirror list and sync jobs use demo data. Try search, themes and language switching. The mirror server is not connected yet."
|
||||
},
|
||||
"help": {
|
||||
"title": "Finding mirror configuration help",
|
||||
"body": "Select a mirror name or its help icon to view the introduction and a sample configuration. Examples use a reserved domain for preview purposes. Working configurations will be provided once the service is live."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
export default {
|
||||
"brand": "MirrorOUC",
|
||||
"university": "Ocean University of China",
|
||||
"siteName": "Ocean University of China Software Mirrors",
|
||||
"pageTitle": "MirrorOUC · Ocean University of China Software Mirrors",
|
||||
"skip": "Skip to mirror list",
|
||||
"skipStatus": "Skip to site status",
|
||||
"nav": {
|
||||
"mirrors": "Mirrors",
|
||||
"news": "News",
|
||||
"status": "Status",
|
||||
"feedback": "ISSUE"
|
||||
},
|
||||
"language": "Choose language",
|
||||
"languageName": "English",
|
||||
"theme": "Choose theme",
|
||||
"themes": {
|
||||
"light": "Light",
|
||||
"dark": "Dark",
|
||||
"system": "System"
|
||||
},
|
||||
"menu": "Open navigation menu",
|
||||
"close": "Close",
|
||||
"copy": "Copy configuration",
|
||||
"copied": "Copied",
|
||||
"copyFailed": "Unable to copy. Please select and copy the configuration.",
|
||||
"external": "Open in a new window",
|
||||
"preview": "Interface preview · Demo data",
|
||||
"footer": "MirrorOUC is built by IT Studio, Ocean University of China.",
|
||||
"studio": "IT Studio",
|
||||
"source": "Sync engine",
|
||||
"aboutTitle": "About MirrorOUC",
|
||||
"aboutBody": "Built by IT Studio at Ocean University of China, MirrorOUC aims to make open-source software accessible to users on and beyond campus.",
|
||||
"previewBody": "This is an interface prototype. Mirrors and sync jobs use demo data and are not connected to the mirror server. Mirror directories, configuration addresses and downloads will be available after integration.",
|
||||
"emptyValue": "—",
|
||||
"footerLinks": "Related sites",
|
||||
"faculty": "Faculty of Information Science and Engineering",
|
||||
"studioHonors": "IT Studio honors",
|
||||
"gitPlatform": "GitOUC",
|
||||
"studioBlog": "IT Studio blog",
|
||||
"footerContact": "Contact",
|
||||
"contactEmail": "contact{'@'}itstudio.club",
|
||||
"studioAddress": "58 Innovation Workshop, Information South Building, West Coast Campus, Ocean University of China, Qingdao, Shandong"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
export const datetimeFormats = {
|
||||
monitorTick: { hour: '2-digit', minute: '2-digit', hourCycle: 'h23', timeZone: 'Asia/Shanghai' },
|
||||
monitorSample: { month: 'short', day: 'numeric', hour: '2-digit', minute: '2-digit', second: '2-digit', hourCycle: 'h23', timeZone: 'Asia/Shanghai' },
|
||||
timestamp: { dateStyle: 'medium', timeStyle: 'short', timeZone: 'Asia/Shanghai' },
|
||||
article: { dateStyle: 'long', timeZone: 'Asia/Shanghai' },
|
||||
announcement: {
|
||||
year: 'numeric', month: '2-digit', day: '2-digit',
|
||||
timeZone: 'Asia/Shanghai', numberingSystem: 'latn', calendar: 'gregory',
|
||||
},
|
||||
} satisfies Record<string, Intl.DateTimeFormatOptions>
|
||||
|
||||
export const numberFormats = {
|
||||
size: { maximumFractionDigits: 1 },
|
||||
integer: { maximumFractionDigits: 0, useGrouping: false },
|
||||
} satisfies Record<string, Intl.NumberFormatOptions>
|
||||
@@ -0,0 +1,87 @@
|
||||
export default {
|
||||
"heroTitle": "Ocean University of China",
|
||||
"heroAccent": "Software Mirrors",
|
||||
"heroDescription": "Open-source software, within reach.",
|
||||
"title": "Mirror directory",
|
||||
"total": "{count} mirrors",
|
||||
"results": "{count} results",
|
||||
"search": "Search mirrors or descriptions…",
|
||||
"clear": "Clear search",
|
||||
"searchShortcut": "Focus search",
|
||||
"columns": {
|
||||
"name": "Mirror",
|
||||
"last": "Last sync",
|
||||
"size": "Size",
|
||||
"tableStatus": "Status",
|
||||
"status": "Status",
|
||||
"updated": "Last successful sync",
|
||||
"next": "Next sync",
|
||||
"help": "Help"
|
||||
},
|
||||
"status": {
|
||||
"success": "Synced",
|
||||
"syncing": "Syncing",
|
||||
"waiting": "Queued",
|
||||
"failed": "Failed",
|
||||
"paused": "Paused",
|
||||
"unknown": "Unknown"
|
||||
},
|
||||
"helpFor": "Help for {name}",
|
||||
"browse": "View {name} mirror",
|
||||
"empty": "No mirrors found",
|
||||
"emptyHint": "Try another mirror name or keyword.",
|
||||
"reset": "Clear search",
|
||||
"justNow": "Just now",
|
||||
"continuous": "Continuous",
|
||||
"soon": "Starting soon",
|
||||
"tableSoon": "Soon",
|
||||
"unavailable": "Not scheduled",
|
||||
"relativeTime": {
|
||||
"past": {
|
||||
"minute": "{count} min. ago",
|
||||
"hour": "{count} hr. ago",
|
||||
"day": "{count} day ago | {count} days ago"
|
||||
},
|
||||
"future": {
|
||||
"minute": "in {count} min.",
|
||||
"hour": "in {count} hr.",
|
||||
"day": "in {count} day | in {count} days"
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"gigabyte": "{value} GB",
|
||||
"terabyte": "{value} TB"
|
||||
},
|
||||
"datePatterns": {
|
||||
"announcement": "{year}/{month}/{day}"
|
||||
},
|
||||
"detailTitle": "Mirror information",
|
||||
"directory": "Mirror directory",
|
||||
"directoryPending": "Directory not connected yet",
|
||||
"directoryHint": "The mirror directory and download address will appear here.",
|
||||
"exampleConfig": "Configuration example",
|
||||
"exampleHint": "This layout example uses the reserved example.invalid domain and cannot be used as a software repository.",
|
||||
"official": "Official project website",
|
||||
"helpTitle": "Using the mirrors",
|
||||
"helpIntro": "Choose a mirror to view its introduction and configuration example.",
|
||||
"statusTitle": "Sync jobs",
|
||||
"statusIntro": "Demo jobs change status periodically. The last successful sync is tracked separately from the current status.",
|
||||
"allMirrors": "View all mirrors",
|
||||
"descriptions": {
|
||||
"alpine": "Lightweight Linux distribution",
|
||||
"anaconda": "Python packages for scientific computing",
|
||||
"archlinux": "A simple, flexible rolling distribution",
|
||||
"debian": "Debian package archive",
|
||||
"debian-cd": "Debian installation images",
|
||||
"docker-ce": "Docker Community Edition packages",
|
||||
"fedora": "Fedora packages and installation images",
|
||||
"homebrew": "Package manager for macOS and Linux",
|
||||
"linuxmint": "Linux Mint installation images",
|
||||
"npm": "JavaScript package registry",
|
||||
"pypi": "Python Package Index",
|
||||
"rustup": "Rust toolchains and compilers",
|
||||
"ubuntu": "Ubuntu package archive",
|
||||
"ubuntu-releases": "Ubuntu release installation images",
|
||||
"vim": "Vim source code and releases"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
export default {
|
||||
title: 'Server monitoring',
|
||||
demo: 'Demo data',
|
||||
range: 'Monitoring time range',
|
||||
ranges: { one: '1 hour', six: '6 hours', day: '24 hours' },
|
||||
pauseRefresh: 'Pause refresh',
|
||||
resumeRefresh: 'Resume refresh',
|
||||
network: 'Network traffic',
|
||||
disk: 'Disk status',
|
||||
resources: 'CPU / Memory',
|
||||
sync: 'Sync status',
|
||||
charts: {
|
||||
ipv4: 'IPv4 service traffic', ipv6: 'IPv6 service traffic',
|
||||
iops: 'Disk IOPS', throughput: 'Disk throughput',
|
||||
cpu: 'CPU usage', memory: 'Memory usage',
|
||||
},
|
||||
series: {
|
||||
https: 'HTTPS', rsync: 'rsync',
|
||||
read: 'Read', write: 'Write',
|
||||
user: 'User', system: 'System', wait: 'I/O wait', idle: 'Idle',
|
||||
used: 'Used', cached: 'Cached', buffers: 'Buffers', free: 'Free',
|
||||
},
|
||||
legend: { name: 'Metric', mean: 'Mean', latest: 'Last', max: 'Max' },
|
||||
units: {
|
||||
gigabits: '{value} Gb/s', gigabytes: '{value} GB/s',
|
||||
megabits: '{value} Mb/s', megabytes: '{value} MB/s',
|
||||
operations: '{value}k IOPS', percent: '{value}%',
|
||||
memory: '{value} GiB', capacity: '{value} TB',
|
||||
},
|
||||
capacity: 'Disk usage',
|
||||
diskUsage: '{used} / {total}',
|
||||
diskDescription: '{name}, {used} used of {total}',
|
||||
chartHelp: '{title}. Use Left / Right to inspect samples, Home / End to jump to the endpoints, and Esc to dismiss the tooltip.',
|
||||
toggleSeries: 'Show or hide {name}',
|
||||
search: 'Search mirrors or upstream URLs…',
|
||||
columns: { name: 'Mirror', update: 'Sync time', upstream: 'Upstream', status: 'Status', size: 'Size' },
|
||||
syncTime: { success: 'Last successful sync', attempt: 'Last attempted sync', started: 'Sync started', next: 'Next scheduled sync' },
|
||||
}
|
||||
Reference in New Issue
Block a user