Skip to content

Add four translitterations#4

Open
xaltsc wants to merge 4 commits into
fcitx:masterfrom
xaltsc:additions
Open

Add four translitterations#4
xaltsc wants to merge 4 commits into
fcitx:masterfrom
xaltsc:additions

Conversation

@xaltsc

@xaltsc xaltsc commented Jun 29, 2026

Copy link
Copy Markdown

As a "fun" evening project, I've written these four new transliteration tables. I've tried to be conservative and follow the Unicode docs, especially for Hebrew and Tifinagh (which goes beyond Neo-Tifinagh and includes Tuareg letters).

There's probably an issue with the LangCodes as I didn't know what to put, given that, except for hebrew, they don't have two-letter ISO-something-obsolete codes.

I've been told to push this as well to m17n, which I'll probably do once I get my head around Savannah and sending emails.

Also, I'm a speaker of exactly none of these languages.

Summary by CodeRabbit

  • New Features
    • Added new table-based input methods: Etruscan (Table), Hebrew (Table), Phoenician (Table), and Tifinagh (Table).
    • Included the associated transliteration/mapping tables and input-method configuration so these options are available after install.
    • Enabled consistent paging and selection controls, including Page Up/Page Down for navigation and F1–F10 for quick candidate/entry selection.

@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 4496e830-2d02-498e-8069-45365e48b287

📥 Commits

Reviewing files that changed from the base of the PR and between 7b52b5d and 5ef0260.

⛔ Files ignored due to path filters (12)
  • icons/16x16/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/16x16/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/22x22/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/22x22/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/24x24/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/24x24/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/32x32/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/32x32/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/48x48/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/48x48/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/64x64/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/64x64/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
📒 Files selected for processing (3)
  • tables/CMakeLists.txt
  • tables/he/hebrew.conf.in
  • tables/he/hebrew.txt
🚧 Files skipped from review as they are similar to previous changes (2)
  • tables/he/hebrew.conf.in
  • tables/CMakeLists.txt

📝 Walkthrough

Walkthrough

Adds four new table-based input methods—Etruscan, Tifinagh, Phoenician, and Hebrew—each with a .txt data table and a .conf.in configuration template. All four are registered in tables/CMakeLists.txt so the build loop generates and installs them.

Changes

New Table Input Methods

Layer / File(s) Summary
CMake registration of new tables
tables/CMakeLists.txt
Adds ett/etruscan, zgh/tifinagh, phn/phoenician, and he/hebrew to TABLE_NAMES so the build loop generates dictionary and config outputs for each.
Data tables and configuration templates
tables/ett/etruscan.txt, tables/ett/etruscan.conf.in, tables/zgh/tifinagh.txt, tables/zgh/tifinagh.conf.in, tables/phn/phoenician.txt, tables/phn/phoenician.conf.in, tables/he/hebrew.txt, tables/he/hebrew.conf.in
Each new input method provides a .txt file mapping key sequences to Unicode glyphs and a .conf.in template specifying the dictionary path, match/autoselect behavior, page navigation, and F1–F10 selection bindings.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐇 Four new scripts now hop into place,
Etruscan glyphs with ancient grace,
Tifinagh dots and Phoenician signs,
Hebrew letters in neat little lines.
The build loop loops, the tables grow—
What a warren of languages to know!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: four new transliteration tables were added.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tables/he/hebrew.txt`:
- Line 2: The Hebrew key table definition is missing uppercase C in the KeyCode
string, which prevents the existing C-to-ץ mapping from being reachable. Update
the KeyCode declaration in the hebrew table so it includes C alongside the other
allowed keys, and ensure the corresponding mapping symbol remains consistent
with the entry defined for that key.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 02a0ceb5-91ff-4ede-a279-6b7c02777ca6

📥 Commits

Reviewing files that changed from the base of the PR and between 705c8ec and ee0b751.

⛔ Files ignored due to path filters (48)
  • icons/16x16/apps/fcitx_etruscan.png is excluded by !**/*.png
  • icons/16x16/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/16x16/apps/fcitx_phoenician.png is excluded by !**/*.png
  • icons/16x16/apps/fcitx_tifinagh.png is excluded by !**/*.png
  • icons/16x16/apps/org.fcitx.Fcitx5.fcitx_etruscan.png is excluded by !**/*.png
  • icons/16x16/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/16x16/apps/org.fcitx.Fcitx5.fcitx_phoenician.png is excluded by !**/*.png
  • icons/16x16/apps/org.fcitx.Fcitx5.fcitx_tifinagh.png is excluded by !**/*.png
  • icons/22x22/apps/fcitx_etruscan.png is excluded by !**/*.png
  • icons/22x22/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/22x22/apps/fcitx_phoenician.png is excluded by !**/*.png
  • icons/22x22/apps/fcitx_tifinagh.png is excluded by !**/*.png
  • icons/22x22/apps/org.fcitx.Fcitx5.fcitx_etruscan.png is excluded by !**/*.png
  • icons/22x22/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/22x22/apps/org.fcitx.Fcitx5.fcitx_phoenician.png is excluded by !**/*.png
  • icons/22x22/apps/org.fcitx.Fcitx5.fcitx_tifinagh.png is excluded by !**/*.png
  • icons/24x24/apps/fcitx_etruscan.png is excluded by !**/*.png
  • icons/24x24/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/24x24/apps/fcitx_phoenician.png is excluded by !**/*.png
  • icons/24x24/apps/fcitx_tifinagh.png is excluded by !**/*.png
  • icons/24x24/apps/org.fcitx.Fcitx5.fcitx_etruscan.png is excluded by !**/*.png
  • icons/24x24/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/24x24/apps/org.fcitx.Fcitx5.fcitx_phoenician.png is excluded by !**/*.png
  • icons/24x24/apps/org.fcitx.Fcitx5.fcitx_tifinagh.png is excluded by !**/*.png
  • icons/32x32/apps/fcitx_etruscan.png is excluded by !**/*.png
  • icons/32x32/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/32x32/apps/fcitx_phoenician.png is excluded by !**/*.png
  • icons/32x32/apps/fcitx_tifinagh.png is excluded by !**/*.png
  • icons/32x32/apps/org.fcitx.Fcitx5.fcitx_etruscan.png is excluded by !**/*.png
  • icons/32x32/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/32x32/apps/org.fcitx.Fcitx5.fcitx_phoenician.png is excluded by !**/*.png
  • icons/32x32/apps/org.fcitx.Fcitx5.fcitx_tifinagh.png is excluded by !**/*.png
  • icons/48x48/apps/fcitx_etruscan.png is excluded by !**/*.png
  • icons/48x48/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/48x48/apps/fcitx_phoenician.png is excluded by !**/*.png
  • icons/48x48/apps/fcitx_tifinagh.png is excluded by !**/*.png
  • icons/48x48/apps/org.fcitx.Fcitx5.fcitx_etruscan.png is excluded by !**/*.png
  • icons/48x48/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/48x48/apps/org.fcitx.Fcitx5.fcitx_phoenician.png is excluded by !**/*.png
  • icons/48x48/apps/org.fcitx.Fcitx5.fcitx_tifinagh.png is excluded by !**/*.png
  • icons/64x64/apps/fcitx_etruscan.png is excluded by !**/*.png
  • icons/64x64/apps/fcitx_hebrew.png is excluded by !**/*.png
  • icons/64x64/apps/fcitx_phoenician.png is excluded by !**/*.png
  • icons/64x64/apps/fcitx_tifinagh.png is excluded by !**/*.png
  • icons/64x64/apps/org.fcitx.Fcitx5.fcitx_etruscan.png is excluded by !**/*.png
  • icons/64x64/apps/org.fcitx.Fcitx5.fcitx_hebrew.png is excluded by !**/*.png
  • icons/64x64/apps/org.fcitx.Fcitx5.fcitx_phoenician.png is excluded by !**/*.png
  • icons/64x64/apps/org.fcitx.Fcitx5.fcitx_tifinagh.png is excluded by !**/*.png
📒 Files selected for processing (9)
  • tables/CMakeLists.txt
  • tables/ett/etruscan.conf.in
  • tables/ett/etruscan.txt
  • tables/he/hebrew.conf.in
  • tables/he/hebrew.txt
  • tables/phn/phoenician.conf.in
  • tables/phn/phoenician.txt
  • tables/zgh/tifinagh.conf.in
  • tables/zgh/tifinagh.txt

Comment thread tables/he/hebrew.txt Outdated
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