Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

feat(i18n): Add 21 missing translation keys and fix bare t() calls#178

Merged
rubenvdlinde merged 5 commits into
developmentfrom
feature/i18n-complete-translations
May 19, 2026
Merged

feat(i18n): Add 21 missing translation keys and fix bare t() calls#178
rubenvdlinde merged 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

- Extend base webpack config instead of replacing resolve/module
- Add NodePolyfillPlugin for process polyfill compatibility
- Add CnObjectSidebar + objectSidebarState for proper sidebar positioning
- Follows ADR-017 (component composition) and ADR-018 (header actions)
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 t() to this.t() in Settings.vue methods
- Add 21 missing keys to en.json and nl.json (108→129 keys)
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/planix @ 0515947

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

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

Download the full PDF report from the workflow artifacts.

- "Default Project Configuration" → "Default project configuration"
- "Register Setup" → "Register setup"
- "Version Information" → "Version information"
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/planix @ 3aabec4

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

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

Download the full PDF report from the workflow artifacts.

@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/planix @ 232a283

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

Coverage: 0% (0/3 statements)


Quality workflow — 2026-05-19 03:35 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde rubenvdlinde merged commit 8e6a751 into development May 19, 2026
50 checks passed
@rubenvdlinde rubenvdlinde deleted the feature/i18n-complete-translations branch May 19, 2026 05:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant