Skip to content

feat(i18n): Fix aria-labels, backend Dutch strings, add 17 keys (194→382)#171

Open
rubenvdlinde wants to merge 5 commits into
developmentfrom
feature/i18n-complete-translations
Open

feat(i18n): Fix aria-labels, backend Dutch strings, add 17 keys (194→382)#171
rubenvdlinde wants to merge 5 commits into
developmentfrom
feature/i18n-complete-translations

Conversation

@rubenvdlinde
Copy link
Copy Markdown
Contributor

Summary

  • Wrap all user-facing strings in t() / $this->l10n->t() translation calls
  • Ensure English is the primary language for all translation keys (per ADR-007)
  • Convert any hardcoded Dutch strings to English keys with Dutch in nl.json
  • Complete l10n/en.json (identity-mapped) and l10n/nl.json (Dutch translations)
  • Fix <script setup> components missing direct t import from @nextcloud/l10n

Test plan

  • Verify app loads without JavaScript errors
  • Switch Nextcloud language to Dutch and verify translations display correctly
  • Switch back to English and verify English strings display correctly
  • Spot-check key pages (dashboard, settings, detail views) in both languages

🤖 Generated with Claude Code

…terns

- Update webpack config to extend base config instead of replacing it
- Add CnObjectSidebar + objectSidebarState for proper sidebar positioning
- Replace custom StatusTimeline with shared CnTimelineStages component
- Replace manual case form with CnObjectDataWidget (schema-driven)
- Implement CSS grid layout for case detail page
- Move action controls to header-actions slots (ADR-018 compliance)
- Remove B&W Voorstellen widget (see #121) and Activity widget
- Fix dashboard template bugs and duplicate layout entries
- Fix MainMenu broken template tag
- Remove inner card styling from dashboard widgets
- Add widget-level header-actions via new #widget-{id}-actions slots
- Update dependencies to match OpenCatalogi versions
Settings link in gear foldout now opens NcAppSettingsDialog modal
instead of routing to /settings page. Matches ADR-004 pattern:
- Admin config: /settings/admin/{appid} (NC admin panel)
- In-app settings: NcAppSettingsDialog modal from gear menu
- Fix bare aria-labels in DocumentChecklist.vue
- Add IL10N to PublicAppointmentController and PublicShareController
- Convert hardcoded Dutch backend strings to English t() keys
- Wrap bare strings in ZrcController, DrcController, AcController
- Expand l10n files from 194 to 382 keys
@github-actions
Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/procest @ 824044c

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-04-16 11:58 UTC

Download the full PDF report from the workflow artifacts.

Standardize on #actions across all components per the updated
slot naming convention in @conduction/nextcloud-vue.
@github-actions
Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/procest @ c87bc82

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-04-16 18:06 UTC

Download the full PDF report from the workflow artifacts.

Update all translation keys to use sentence case (only first letter capitalized)
instead of title case. Keys changed:
- "Add Groups" → "Add groups"
- "Active Collections" → "Active collections"
- "API Key" → "API key"
- And 400+ similar keys across all apps

Sentence case for keys improves consistency and readability while preserving
proper English grammar in translated values.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant