Skip to content

Fix German separator note - #945

Open
harshita-jangra wants to merge 3 commits into
eizedev:mainfrom
harshita-jangra:fix-german-separator-name-clean
Open

harshita-jangra wants to merge 3 commits into
eizedev:mainfrom
harshita-jangra:fix-german-separator-name-clean

Conversation

@harshita-jangra

Copy link
Copy Markdown
Contributor

Summary

Fixes #940

  • Pass only the separator character in the SEPARATOR note parameters.
  • Add language-specific separator names for English and German.
  • Display German separator names correctly: Kommas, Semikolons, Tabs, and senkrechte Striche.
  • Add tests covering all four separators in both languages.

Checklist

  • Linked issue.
  • New tests cover the changed behavior.
  • Docs, upgrading notes and CHANGELOG.md describe the new state.
  • Reviewed by someone who did not write it.

Test plan

  • npm test -w pivotkit-react — 364 tests passed.
  • npm test -w pivotkit-core — 632 tests passed.
  • npm run lint
  • npm run types
  • npm run build -w pivotkit-react
  • npm run coverage -w pivotkit-react — 364 tests passed.
  • git diff --check

@eizedev

eizedev commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Hi @harshita-jangra ,

thanks a lot for this one too! Also the tests for all four separators in both languages are great.

A few notes:

  1. Docs: docs/reference/import.md lists the params of each note, and the SEPARATOR row still says separator, name. Could you change it to just separator? Dropping name changes the public API, so I'll add the Breaking entry to the changelog and the upgrading page myself.
  2. Optional: in import-table.js the names map now sits inside the switch and is created on every call. A module-level constant, like the old SEPARATOR_NAMES, would read a bit clearer.
  3. Optional: the new checks sit in an existing test about plural forms. A test of their own would be easier to find, and you could cover an unknown separator there too (it should show up in quotes).

Thanks again!
René

This branch has not been deployed

No deployments
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.

import: the German separator note names the separator in English

2 participants