Skip to content

Commit 0834fb8

Browse files
bunsenstraatAniket-Engg
authored andcommitted
locales
1 parent d7749c4 commit 0834fb8

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"desktopDownload.loading": "Loading desktop app info...",
3+
"desktopDownload.error": "Unable to load desktop app. Check the {link} for downloads.",
4+
"desktopDownload.title": "Remix Desktop",
5+
"desktopDownload.releaseDate": "Released {date}",
6+
"desktopDownload.downloadSpan": "Download Remix Desktop {platform} {version}",
7+
"desktopDownload.downloadSpanGeneric": "Download Remix Desktop {version}",
8+
"desktopDownload.downloadCompactFull": "Download Remix Desktop {platform} {version}",
9+
"desktopDownload.downloadCompactGeneric": "Download Remix Desktop {version}",
10+
"desktopDownload.downloadButton": "Download for {platform}",
11+
"desktopDownload.viewReleases": "View Downloads",
12+
"desktopDownload.otherVersions": "Other versions and platforms",
13+
"desktopDownload.noAutoDetect": "Available for Windows, macOS, and Linux"
14+
}

libs/remix-ui/desktop-download/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,26 @@ Release data is cached in localStorage for 30 minutes to reduce GitHub API calls
9292
- react-intl (for internationalization)
9393
- Bootstrap CSS classes (for styling)
9494
- FontAwesome icons (for platform icons)
95+
96+
## Internationalization
97+
98+
The component is fully internationalized using react-intl. Translation strings are located in:
99+
100+
- `apps/remix-ide/src/app/tabs/locales/en/desktopDownload.json` - All translation keys for the component
101+
102+
### Translation Keys
103+
104+
| Key | Default Message | Description |
105+
|-----|-----------------|-------------|
106+
| `desktopDownload.loading` | "Loading desktop app info..." | Loading state message |
107+
| `desktopDownload.error` | "Unable to load desktop app. Check the {link} for downloads." | Error fallback message |
108+
| `desktopDownload.title` | "Remix Desktop" | Main title in full layout |
109+
| `desktopDownload.releaseDate` | "Released {date}" | Release date display |
110+
| `desktopDownload.downloadSpan` | "Download Remix Desktop {platform} {version}" | Span variant with platform |
111+
| `desktopDownload.downloadSpanGeneric` | "Download Remix Desktop {version}" | Span variant without platform |
112+
| `desktopDownload.downloadCompactFull` | "Download Remix Desktop {platform} {version}" | Compact button with platform |
113+
| `desktopDownload.downloadCompactGeneric` | "Download Remix Desktop {version}" | Compact button without platform |
114+
| `desktopDownload.downloadButton` | "Download for {platform}" | Full layout button text |
115+
| `desktopDownload.viewReleases` | "View Downloads" | Fallback button text |
116+
| `desktopDownload.otherVersions` | "Other versions and platforms" | Link to releases page |
117+
| `desktopDownload.noAutoDetect` | "Available for Windows, macOS, and Linux" | Platform availability message |

0 commit comments

Comments
 (0)