mirror of
https://github.com/harness/drone.git
synced 2025-05-31 11:43:15 +00:00
strings cleanup
This commit is contained in:
parent
927086e5d5
commit
9bbea0fab2
@ -37,16 +37,6 @@ interface PluginCategoryInterface {
|
||||
icon: IconName
|
||||
}
|
||||
|
||||
const PluginCategories: PluginCategoryInterface[] = [
|
||||
{
|
||||
category: PluginCategory.Harness,
|
||||
name: 'Run',
|
||||
description: 'Run a script on macOS, Linux, or Windows',
|
||||
icon: 'run-step'
|
||||
},
|
||||
{ category: PluginCategory.Drone, name: 'Drone', description: 'Run Drone plugins', icon: 'ci-infra' }
|
||||
]
|
||||
|
||||
const RunStep: TypesPlugin = {
|
||||
uid: 'run',
|
||||
description: 'Run a script',
|
||||
@ -89,6 +79,21 @@ export const PluginsPanel = ({ onPluginAddUpdate }: PluginsPanelInterface): JSX.
|
||||
const [panelView, setPanelView] = useState<PluginPanelView>(PluginPanelView.Category)
|
||||
const [plugin, setPlugin] = useState<TypesPlugin>()
|
||||
|
||||
const PluginCategories: PluginCategoryInterface[] = [
|
||||
{
|
||||
category: PluginCategory.Harness,
|
||||
name: 'Run',
|
||||
description: getString('pluginsPanel.run.helptext'),
|
||||
icon: 'run-step'
|
||||
},
|
||||
{
|
||||
category: PluginCategory.Drone,
|
||||
name: 'Plugin',
|
||||
description: getString('pluginsPanel.plugins.helptext'),
|
||||
icon: 'ci-infra'
|
||||
}
|
||||
]
|
||||
|
||||
const {
|
||||
data: plugins,
|
||||
refetch: fetchPlugins,
|
||||
|
@ -427,6 +427,8 @@ export interface StringsMap {
|
||||
'pipelines.yamlPath': string
|
||||
'plugins.stepLabel': string
|
||||
'plugins.title': string
|
||||
'pluginsPanel.plugins.helptext': string
|
||||
'pluginsPanel.run.helptext': string
|
||||
poweredByAI: string
|
||||
'pr.ableToMerge': string
|
||||
'pr.addDescription': string
|
||||
|
@ -712,6 +712,11 @@ run: Run
|
||||
plugins:
|
||||
title: Plugins
|
||||
stepLabel: step
|
||||
pluginsPanel:
|
||||
plugins:
|
||||
helptext: Run a plugin step
|
||||
run:
|
||||
helptext: Run a container or a shell command
|
||||
createNewRepo: Create New repository
|
||||
importGitRepo: Import Repository
|
||||
importRepo:
|
||||
|
Loading…
x
Reference in New Issue
Block a user