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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ URL Parameter > Theme Default > System Fallback
| `hide_background` | `boolean` | No | `false` | Remove the background rect, letting the monolith float on the page |
| `hide_stats` | `boolean` | No | `false` | Hides the bottom row displaying Current Streak, Annual Sync Total, and Peak Streak stats when set to `true` or `1`. |
| `tz` | `string` | No | Omitted = UTC | IANA timezone (e.g. `Asia/Kolkata`, `America/New_York`) — aligns "today" with the user local midnight. Note: `?tz=UTC` is valid but cached separately from omitting `tz`. |
| `lang` | `string` | No | `en` | Language code for labels (`en`, `es`, `hi`, `fr`, `pt`, `ko`, `ja`) |
| `lang` | `string` | No | `en` | Language code for labels (`en`, `es`, `hi`, `fr`, `pt`, `ko`, `ja`, `de`) |
| `view` | `string` | No | `default` | Rendering mode: `default` (3D Monolith) or `monthly` (Compact monthly stats) |
| `delta_format` | `string` | No | `percent` | Format for month-over-month delta in monthly view: `percent` (e.g. +12%), `absolute` (e.g. +15 commits), or `both` |
| `width` | `number` | No | `300` | Custom width for the SVG canvas (currently only applies to `view=monthly`) |
Expand Down
7 changes: 7 additions & 0 deletions lib/i18n/badgeLabels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ export const labels: Record<string, BadgeLabels> = {
COMMITS_THIS_MONTH: '今月のコミット数',
VS_LAST_MONTH: '先月比',
},
de: {
CURRENT_STREAK: 'AKTUELLE_SERIE',
ANNUAL_SYNC_TOTAL: 'JAHRES_GESAMT',
PEAK_STREAK: 'SPITZEN_SERIE',
COMMITS_THIS_MONTH: 'COMMITS DIESEN MONAT',
VS_LAST_MONTH: 'im Vgl. zum Vormonat',
},
};

export function getLabels(lang: string = 'en'): BadgeLabels {
Expand Down
Loading