mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-23 08:00:56 -04:00
Fixes
This commit is contained in:
@@ -61,6 +61,27 @@ public class ScanStoreAction implements ActionProvider {
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public BatchDataStoreCallSite<?> getBatchDataStoreCallSite() {
|
||||
return new BatchDataStoreCallSite<ShellStore>() {
|
||||
|
||||
@Override
|
||||
public ObservableValue<String> getName() {
|
||||
return AppI18n.observable("scanConnections");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getIcon() {
|
||||
return "mdi2l-layers-plus";
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getApplicableClass() {
|
||||
return ShellStore.class;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Value
|
||||
static class Action implements ActionProvider.Action {
|
||||
|
||||
|
||||
@@ -47,6 +47,37 @@ public class ServiceRefreshAction implements ActionProvider {
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public BatchDataStoreCallSite<?> getBatchDataStoreCallSite() {
|
||||
return new BatchDataStoreCallSite<FixedServiceCreatorStore>() {
|
||||
|
||||
@Override
|
||||
public boolean isApplicable(DataStoreEntryRef<FixedServiceCreatorStore> o) {
|
||||
return o.getStore().allowManualServicesRefresh();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ObservableValue<String> getName() {
|
||||
return AppI18n.observable("refreshServices");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getIcon() {
|
||||
return "mdi2w-web";
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<?> getApplicableClass() {
|
||||
return FixedServiceCreatorStore.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActionProvider.Action createAction(DataStoreEntryRef<FixedServiceCreatorStore> store) {
|
||||
return new Action(store);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Value
|
||||
static class Action implements ActionProvider.Action {
|
||||
|
||||
|
||||
17
lang/strings/translations_en.properties
generated
17
lang/strings/translations_en.properties
generated
@@ -858,9 +858,11 @@ sshConfig=SSH config files
|
||||
autostart=Automatically connect on XPipe startup
|
||||
acceptHostKey=Accept host key
|
||||
modifyHostKeyPermissions=Modify host key permissions
|
||||
attachContainer=Attach to container
|
||||
#force
|
||||
attachContainer=Attach
|
||||
openInVsCode=Open in VSCode
|
||||
containerLogs=Show container logs
|
||||
#force
|
||||
containerLogs=Show logs
|
||||
openSftpClient=Open in external SFTP client
|
||||
openTermius=Open in Termius
|
||||
showInternalInstances=Show internal instances
|
||||
@@ -945,10 +947,10 @@ k8sCmd.displayName=kubectl client
|
||||
k8sCmd.displayDescription=Access Kubernetes clusters via kubectl
|
||||
k8sClusters=Kubernetes clusters
|
||||
shells=Available shells
|
||||
startContainer=Start container
|
||||
stopContainer=Stop container
|
||||
inspectContainer=Inspect container
|
||||
inspectContext=Inspect context
|
||||
#force
|
||||
inspectContainer=Inspect
|
||||
#force
|
||||
inspectContext=Inspect
|
||||
k8sClusterNameDescription=The name of the context the cluster is in.
|
||||
#context: kubernetes
|
||||
pod=Pod
|
||||
@@ -960,7 +962,8 @@ k8sClusterNamespaceDescription=The custom namespace or the default one if empty
|
||||
k8sConfigLocation=Config file
|
||||
k8sConfigLocationDescription=The custom kubeconfig file or the default one if left empty
|
||||
#context: kubernetes
|
||||
inspectPod=Inspect pod
|
||||
#force
|
||||
inspectPod=Inspect
|
||||
showAllContainers=Show non-running containers
|
||||
showAllPods=Show non-running pods
|
||||
k8sPodHostDescription=The host on which the pod is located
|
||||
|
||||
Reference in New Issue
Block a user