Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pkg/harvester-manager/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ export default function(plugin: IPlugin) {

plugin.addProduct(require('./config/harvester-manager'));

if (plugin.environment.isPrime) {
plugin.register('l10n-global', 'Harvester', 'SUSE Virtualization');
plugin.register('l10n', 'en-us', () => {
return { product: { harvesterManager: 'SUSE Virtualization' } };
});
}

plugin.addTab(
TabLocation.RESOURCE_CREATE_PAGE,
{
Expand Down
38 changes: 19 additions & 19 deletions pkg/harvester-manager/l10n/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,45 @@ harvesterManager:
manage: Manage
tableHeaders:
kubernetesVersion: Kubernetes Version
harvesterVersion: Harvester Version
harvesterVersion: '[[Harvester]] Version'
cluster:
label: Harvester Clusters
none: There are no Harvester Clusters
learnMore: Learn more about Harvester from the <a target="_blank" href="https://harvesterhci.io/" rel="noopener noreferrer nofollow">Harvester Web Site</a> or read the <a target="_blank" href="https://docs.harvesterhci.io/" rel="noopener noreferrer nofollow">Harvester Docs</a>
description: Harvester is a modern Hyperconverged infrastructure (HCI) solution built for bare metal servers using enterprise-grade open source technologies including Kubernetes, Kubevirt and Longhorn.
supportMessage: The Harvester UI Extension only supports Harvester v1.3.0 and later versions
label: '[[Harvester]] Clusters'
none: There are no [[Harvester]] Clusters
learnMore: Learn more about [[Harvester]] from the <a target="_blank" href="https://harvesterhci.io/" rel="noopener noreferrer nofollow">[[Harvester]] Web Site</a> or read the <a target="_blank" href="https://docs.harvesterhci.io/" rel="noopener noreferrer nofollow">[[Harvester]] Docs</a>
description: '[[Harvester]] is a modern Hyperconverged infrastructure (HCI) solution built for bare metal servers using enterprise-grade open source technologies including Kubernetes, Kubevirt and Longhorn.'
supportMessage: The [[Harvester]] UI Extension only supports [[Harvester]] v1.3.0 and later versions
plugins:
loadError: Error loading harvester plugin
extension:
install:
warning: "The Harvester UI Extension is not installed"
prompt: "UI Integration for Harvester is now provided via the new Harvester UI Extension, which needs to be installed."
warning: "The [[Harvester]] UI Extension is not installed"
prompt: "UI Integration for [[Harvester]] is now provided via the new [[Harvester]] UI Extension, which needs to be installed."
prompt-standard-user: Please contact your system administrator
steps:
repo:
1: Go to the
2: Apps Repositories
3: page and add the <a target="_blank" href="https://github.com/harvester/harvester-ui-extension" rel="noopener noreferrer nofollow">Harvester repository</a>
3: page and add the <a target="_blank" href="https://github.com/harvester/harvester-ui-extension" rel="noopener noreferrer nofollow">[[Harvester]] repository</a>
ui:
1: Go to the
2: Extensions
3: page and install the Harvester Extension
3: page and install the [[Harvester]] Extension
update:
warning: "Your current Harvester UI Extension ({currentVersion}) is not the latest."
prompt: "A new version ({ newVersion }) is available, please click on Update button to install the latest Harvester UI Extension"
warning: "Your current [[Harvester]] UI Extension ({currentVersion}) is not the latest."
prompt: "A new version ({ newVersion }) is available, please click on Update button to install the latest [[Harvester]] UI Extension"
prompt-standard-user: Please contact your system administrator to install the latest version
missingRepo:
warning: "The Harvester UI Extension repository is missing"
prompt: "Please click on Update button to add the Harvester repository and install the latest Harvester UI Extension"
prompt-standard-user: Please contact your system administrator to install the latest Harvester UI Extension
warning: "The [[Harvester]] UI Extension repository is missing"
prompt: "Please click on Update button to add the [[Harvester]] repository and install the latest [[Harvester]] UI Extension"
prompt-standard-user: Please contact your system administrator to install the latest [[Harvester]] UI Extension
missingVersion:
warning: "Could not find a compatible version"
prompt: "Please update Rancher to get the latest compatible version of the Harvester UI extension or try to install it manually"
prompt: "Please update Rancher to get the latest compatible version of the [[Harvester]] UI extension or try to install it manually"
prompt-standard-user: Please contact your system administrator
error:
warning: "Warning, Harvester UI extension automatic installation failed"
prompt: "Please refresh the page and try again or install the Harvester UI extension manually"
prompt-standard-user: Please contact your system administrator to install or update the Harvester extension
warning: "Warning, [[Harvester]] UI extension automatic installation failed"
prompt: "Please refresh the page and try again or install the [[Harvester]] UI extension manually"
prompt-standard-user: Please contact your system administrator to install or update the [[Harvester]] extension
rke:
templateError: Incorrect template format
affinity:
Expand Down
10 changes: 5 additions & 5 deletions pkg/harvester-manager/l10n/zh-hans.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
harvesterManager:
manage: 管理
cluster:
label: Harvester 集群
none: 不存在 Harvester 集群
learnMore: 访问 <a target="_blank" href="https://harvesterhci.io/" rel="noopener noreferrer nofollow">Harvester 网站</a> 或阅读 <a target="_blank" href="https://docs.harvesterhci.io/" rel="noopener noreferrer nofollow">Harvester 官方文档</a>,以了解更多关于 Harvester 的信息。
description: Harvester 是一个采用企业级开源技术,包括Kubernetes、Kubevirt和Longhorn,为裸金属服务器打造的现代超融合基础设施(HCI)解决方案。
label: '[[Harvester]] 集群'
none: 不存在 [[Harvester]] 集群
learnMore: 访问 <a target="_blank" href="https://harvesterhci.io/" rel="noopener noreferrer nofollow">[[Harvester]] 网站</a> 或阅读 <a target="_blank" href="https://docs.harvesterhci.io/" rel="noopener noreferrer nofollow">[[Harvester]] 官方文档</a>,以了解更多关于 [[Harvester]] 的信息。
description: '[[Harvester]] 是一个采用企业级开源技术,包括Kubernetes、Kubevirt和Longhorn,为裸金属服务器打造的现代超融合基础设施(HCI)解决方案。'
plugins:
loadError: 加载 Harvester 插件时出错
loadError: 加载 [[Harvester]] 插件时出错
rke:
templateError: 模版格式不正确
cpuModel:
Expand Down
52 changes: 26 additions & 26 deletions shell/assets/translations/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ nav:
sideNav: Secondary menu
homePage: Home page navigation menu
cluster: Cluster menu item
harvesterCluster: Harvester cluster menu item
harvesterCluster: '[[Harvester]] cluster menu item'
seeAll: See all clusters menu item
multiClusterApps: Main menu multi cluster app menu item
configurationApps: Main menu configuration app menu item
Expand All @@ -213,7 +213,7 @@ nav:
mainMenuRancherLogo: Main menu Rancher logo
userAvatar: User avatar image
expandCollapseAppBar: Expand/Collapse the Application Bar
harvesterDashboard: Harvester Dashboard
harvesterDashboard: '[[Harvester]] Dashboard'
backToRancher: Cluster Manager
tools: Tools
clusterTools: Cluster Tools
Expand Down Expand Up @@ -1640,7 +1640,7 @@ cluster:
label: vSphere
note: '<b>Important:</b> Configure the vSphere Cloud Provider and Storage Provider options in the Add-on Configuration tab.'
harvester:
label: Harvester
label: '[[Harvester]]'
copyConfig: Copy KubeConfig to Clipboard
copiedConfig: Copied KubeConfig to Clipboard
custom:
Expand Down Expand Up @@ -1819,33 +1819,33 @@ cluster:
kubeconfigContent:
label: KubeconfigContent
placeholder: 'Namespace/Name'
cluster: Imported Harvester Cluster
cluster: Imported [[Harvester]] Cluster
enableTpm: Enable TPM
enableCpuPinning: Enable CPU Pinning
cpuPinningTooltip: Enable CPU Pinning brings better performance and reduce latency for the harvester virtual machine
cpuManagerWarning: You must enable CPU Manager for at least one node in harvester host page to enable CPU Pinning for VM
secureBoot: Secure Boot
enableEfi: Booting in EFI mode
installGuestAgent: Install guest agent
tokenExpirationWarning: 'Warning: Harvester Cloud Credentials use an underlying authentication token that may have an expiry time - please see the following <a href="https://harvesterhci.io/kb/renew_harvester_cloud_credentials" target="_blank" rel="noopener nofollow">knowledge base article</a> for possible implications on management operations.'
tokenExpirationWarning: 'Warning: [[Harvester]] Cloud Credentials use an underlying authentication token that may have an expiry time - please see the following <a href="https://harvesterhci.io/kb/renew_harvester_cloud_credentials" target="_blank" rel="noopener nofollow">knowledge base article</a> for possible implications on management operations.'
description:
label: Cluster Description
placeholder: Any text you want that better describes this cluster
harvester:
importNotice: Import Harvester Clusters via
importNotice: Import [[Harvester]] Clusters via
warning:
label: This is a Harvester Cluster - enable the Harvester feature flag to manage it
label: This is a [[Harvester]] Cluster - enable the [[Harvester]] feature flag to manage it
state: Warning
cloudProvider:
incompatible:
You cannot select the Harvester cloud provider as the current Harvester version is not compatible with the selected RKE2 Kubernetes version, click <a target="_blank" rel="noopener noreferrer nofollow" href="https://www.suse.com/suse-harvester/support-matrix/all-supported-versions">here</a> to see which Kubernetes versions are supported.
You cannot select the [[Harvester]] cloud provider as the current [[Harvester]] version is not compatible with the selected RKE2 Kubernetes version, click <a target="_blank" rel="noopener noreferrer nofollow" href="https://www.suse.com/suse-harvester/support-matrix/all-supported-versions">here</a> to see which Kubernetes versions are supported.
clusterWarning: |-
There {count, plural,
=1 {is 1 Harvester cluster that is not shown}
other {are # Harvester clusters that are not shown}
=1 {is 1 [[Harvester]] cluster that is not shown}
other {are # [[Harvester]] clusters that are not shown}
}
registration:
step1: "1. Go to the <code>Advanced / Settings</code> page of the target Harvester's UI."
step1: "1. Go to the <code>Advanced / Settings</code> page of the target [[Harvester]]'s UI."
step2: '2. Find the <code>cluster-registration-url</code> setting and click the <code><i class="icon icon-actions" ></i></code> -> <code>Edit Setting</code> button.'
step3: "3. Input the following registration URL and click the <code>Save</code> button."
step4: "Registration URL"
Expand All @@ -1869,7 +1869,7 @@ cluster:
toolTip: SSH user to login with the selected OS image.
kubeconfigSecret:
nameRequired: Cluster name is required.
error: 'Error generating Harvester kubeconfig secret: {err}'
error: 'Error generating [[Harvester]] kubeconfig secret: {err}'
haveOneOwner: There must be at least one member with the Owner role.
import:
warningBanner: 'You should not import a cluster which has already been connected to another instance of Rancher as it will lead to data corruption.'
Expand Down Expand Up @@ -2475,7 +2475,7 @@ cluster:
googlegke: Google GKE
gke: GKE
googlekubernetesengine: Google GKE (Unsupported Kev1)
harvester: Harvester
harvester: '[[Harvester]]'
huaweicce: Huawei CCE
import: Generic
imported: Imported
Expand Down Expand Up @@ -3146,21 +3146,21 @@ fleet:
clusters:
harvester: |-
There {count, plural,
=1 {is 1 Harvester cluster that is hidden as this can not be used with Continuous Delivery}
other {are # Harvester clusters that are hidden as they can not be used with Continuous Delivery}
=1 {is 1 [[Harvester]] cluster that is hidden as this can not be used with Continuous Delivery}
other {are # [[Harvester]] clusters that are hidden as they can not be used with Continuous Delivery}
}
tokens:
harvester: |-
{count, plural,
=1 {1 token is hidden as it belongs to a Harvester cluster that can not be used with Continuous Delivery}
other {# tokens are hidden as they belong to Harvester clusters that can not be used with Continuous Delivery}
=1 {1 token is hidden as it belongs to a [[Harvester]] cluster that can not be used with Continuous Delivery}
other {# tokens are hidden as they belong to [[Harvester]] clusters that can not be used with Continuous Delivery}
}
bundles:
resources: Resources
harvester: |-
{count, plural,
=1 {1 bundle is hidden as it belongs to a Harvester cluster that can not be used with Continuous Delivery}
other {# bundles are hidden as they belong to Harvester clusters that can not be used with Continuous Delivery}
=1 {1 bundle is hidden as it belongs to a [[Harvester]] cluster that can not be used with Continuous Delivery}
other {# bundles are hidden as they belong to [[Harvester]] clusters that can not be used with Continuous Delivery}
}
fleetSummary:
noClusters:
Expand Down Expand Up @@ -5296,7 +5296,7 @@ persistentVolume:
disk-csi-azure-com: Azure Disk (CSI)
file-csi-azure-com: Azure File (CSI)
driver-longhorn-io: Longhorn (CSI)
driver-harvesterhci-io: Harvester (CSI)
driver-harvesterhci-io: '[[Harvester]] (CSI)'
lvm-driver-harvesterhci-io: LVM
nfs-csi-k8s-io: NFS (CSI)
ebs-csi-aws-com: AWS Elastic Block Store (CSI)
Expand Down Expand Up @@ -7004,13 +7004,13 @@ storageClass:
title: (Deprecated)
warning: 'The {provisioner} in-tree plugin is deprecated: Find a CSI driver <a target="_blank" rel="noopener noreferrer nofollow" href="https://kubernetes-csi.github.io/docs/drivers.html">here.</a>'
harvesterhci:
title: Harvester (CSI)
title: '[[Harvester]] (CSI)'
warning:
unSatisfiesVersion: Please upgrade your Harvester CSI driver version to use this feature. (csi-driver >= v0.1.15)
unSatisfiesVersion: Please upgrade your [[Harvester]] CSI driver version to use this feature. (csi-driver >= v0.1.15)
hostStorageClass:
label: Host Storage Class
placeholder: Storage class name on the host Harvester cluster
tooltip: By default the default storage class on the host Harvester cluster is used.
placeholder: Storage class name on the host [[Harvester]] cluster
tooltip: By default the default storage class on the host [[Harvester]] cluster is used.

tableHeaders:
assuredConcurrencyShares: Assured Concurrency Shares
Expand Down Expand Up @@ -8634,8 +8634,8 @@ typeLabel:
}
harvesterhci.io.management.cluster: |-
{count, plural,
one { Harvester Cluster }
other { Harvester Clusters }
one { [[Harvester]] Cluster }
other { [[Harvester]] Clusters }
}
harvesterhci.io.cloudtemplate: |-
{count, plural,
Expand Down
Loading
Loading