Skip to content

Commit

Permalink
fix: change download action to run on sources file modified
Browse files Browse the repository at this point in the history
  • Loading branch information
VikaCep committed Aug 7, 2024
1 parent c4fd379 commit 4234833
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/i18n-crowdin-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: i18n - Crowdin Download Action

on:
workflow_dispatch:
#push:
# paths:
# - 'src/locales/en-US/grafana-synthetic-monitoring-app.json'
# branches:
# - hackathon/i18n-all-the-things
release:
types: [published]
push:
paths:
- 'src/locales/en-US/grafana-synthetic-monitoring-app.json'
branches:
- hackathon/i18n-all-the-things
#release:
#types: [published]

jobs:
download-sources-from-crowdin:
Expand Down
5 changes: 5 additions & 0 deletions src/locales/en-US/grafana-synthetic-monitoring-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@
"reachability": "Reachability",
"uptime": "Uptime"
},
"probes": {
"list": {
"description": "Probes are the agents responsible for emulating user interactions and collecting data from your specified targets across different global locations."
}
},
"welcome": {
"alerts": {
"content": "Click the {{buttonText}} button to initialize the plugin and see a list of default alerts or visit the Synthetic Monitoring <4>documentation</4> for more information",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@
"reachability": "Ŗęäčĥäþįľįŧy",
"uptime": "Ůpŧįmę"
},
"probes": {
"list": {
"description": "Přőþęş äřę ŧĥę äģęʼnŧş řęşpőʼnşįþľę ƒőř ęmūľäŧįʼnģ ūşęř įʼnŧęřäčŧįőʼnş äʼnđ čőľľęčŧįʼnģ đäŧä ƒřőm yőūř şpęčįƒįęđ ŧäřģęŧş äčřőşş đįƒƒęřęʼnŧ ģľőþäľ ľőčäŧįőʼnş."
}
},
"welcome": {
"alerts": {
"content": "Cľįčĸ ŧĥę {{buttonText}} þūŧŧőʼn ŧő įʼnįŧįäľįžę ŧĥę pľūģįʼn äʼnđ şęę ä ľįşŧ őƒ đęƒäūľŧ äľęřŧş őř vįşįŧ ŧĥę Ŝyʼnŧĥęŧįč Mőʼnįŧőřįʼnģ <4>đőčūmęʼnŧäŧįőʼn</4> ƒőř mőřę įʼnƒőřmäŧįőʼn",
Expand Down
5 changes: 3 additions & 2 deletions src/page/Probes/Probes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { useProbes } from 'data/useProbes';
import { useCanWriteSM } from 'hooks/useDSPermission';
import { CenteredSpinner } from 'components/CenteredSpinner';
import { DocsLink } from 'components/DocsLink';
import { Trans } from 'components/i18n';
import { PluginPage } from 'components/PluginPage';
import { ProbeList } from 'components/ProbeList';
import { QueryErrorBoundary } from 'components/QueryErrorBoundary';
Expand All @@ -20,8 +21,8 @@ export const Probes = () => {
<PluginPage actions={<Actions />}>
<div className={css({ maxWidth: `560px`, marginBottom: theme.spacing(4) })}>
<p>
Probes are the agents responsible for emulating user interactions and collecting data from your specified
targets across different global locations.
<Trans i18nKey={'probes.list.description'}>Probes are the agents responsible for emulating user interactions and collecting data from your specified
targets across different global locations.</Trans>
</p>
<DocsLink article="probes">Learn more about probes</DocsLink>
</div>
Expand Down

0 comments on commit 4234833

Please sign in to comment.