Skip to content

Prepare for l10n#16

Merged
snipsnipsnip merged 6 commits intoexteditor:mainfrom
snipsnipsnip:l10n-toml
Sep 21, 2025
Merged

Prepare for l10n#16
snipsnipsnip merged 6 commits intoexteditor:mainfrom
snipsnipsnip:l10n-toml

Conversation

@snipsnipsnip
Copy link
Copy Markdown
Member

@snipsnipsnip snipsnipsnip commented Sep 21, 2025

I've started working on #4. Most labels in the add‑on will likely be on the options page, so I don't close it yet. We'll see if this simplistic format works out.

Add a build step to generate `messages.json` from `locales.toml`.
Also, change command ids from kebab-case to snake_case.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n/Locale-Specific_Message_reference
Assigning the same shortcut key to two or more commands makes Thunderbird
unhappy and results in warning, which will likely be confusing to users.
Define a shortcut key to toggle separately.
Also, change the default shortcut key configuration to replicate
Original GhostText.
One of the test case that collected dependency names had enough
information to detect missing class registrations, but it didn't warn
about it. Detect them and make the test fail.
Also, `startup.ts` now have a factory functionality which gives
non-singleton registrations meaning, although that's not used yet.
As of v0.1.1, `compose.js` used to sent both plain text and HTML and
`background.js` dropped unused one. Make `background.js` indicate
which format it needs upfront.
@github-project-automation github-project-automation Bot moved this to 📥️Inbox in Ghostbird Issues Sep 21, 2025
@snipsnipsnip snipsnipsnip added this pull request to the merge queue Sep 21, 2025
Merged via the queue into exteditor:main with commit 3f89647 Sep 21, 2025
1 check passed
@snipsnipsnip snipsnipsnip deleted the l10n-toml branch September 21, 2025 16:33
@github-project-automation github-project-automation Bot moved this from 📥️Inbox to 🪺Experimental in Ghostbird Issues Sep 21, 2025
@snipsnipsnip snipsnipsnip moved this from 🪺Experimental to ✅Closed in Ghostbird Issues Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant