Stirling-PDF/frontend/src/core/components/tools
Anthony Stirling fde449e738
Use frontend translations for OCR language picker (#5051)
## Summary
- revert OCR ui-data endpoint to only expose language codes without
backend labels
- translate OCR language options on the frontend using existing lang.*
keys with locale-aware fallbacks

## Testing
- Not run (not requested)


------
[Codex
Task](https://chatgpt.com/codex/tasks/task_b_6928ae7c85448328a0d2660a0c021b22)
2025-11-29 16:05:15 +00:00
..
addAttachments [V2] refactor(tooltips): add merge tooltips header for consistency, and update other tooltips (#4895) 2025-11-20 15:00:16 +00:00
addPageNumbers Improvement/V2/generic_obscure_component_wrapper (#4794) 2025-11-10 11:24:14 +00:00
addPassword Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
addStamp PDF Text editor (#4724) 2025-11-24 14:15:02 +00:00
addWatermark Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
adjustContrast Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
adjustPageScale Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
automate styling changes (#4894) 2025-11-14 14:52:32 +00:00
autoRename Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
bookletImposition [V2] refactor(ui): migrate compress/booklet/sign-up to Mantine Checkbox (#4886) 2025-11-13 11:59:11 +00:00
certSign Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
changeMetadata Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
changePermissions Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
compare Bug/v2/fix rtl (#4958) 2025-11-24 16:57:36 +00:00
compress [V2] refactor(ui): migrate compress/booklet/sign-up to Mantine Checkbox (#4886) 2025-11-13 11:59:11 +00:00
convert Differentiate unavailable tools by reason (#4916) 2025-11-21 13:19:53 +00:00
crop Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
editTableOfContents Various fixes for desktop (#4976) 2025-11-25 13:11:13 +00:00
extractImages Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
extractPages Feature/v2/extract pages (#4828) 2025-11-06 13:57:31 +00:00
flatten Remove ambiguous translations and fix invalid translations (#4841) 2025-11-10 11:03:18 +00:00
fullscreen PDF Text editor (#4724) 2025-11-24 14:15:02 +00:00
merge Remove ambiguous translations and fix invalid translations (#4841) 2025-11-10 11:03:18 +00:00
ocr Use frontend translations for OCR language picker (#5051) 2025-11-29 16:05:15 +00:00
overlayPdfs Feature/v2/selected pageeditor rework (#4756) 2025-11-13 12:53:57 +00:00
pageLayout Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
redact Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
removeAnnotations [V2] refactor(tooltips): add merge tooltips header for consistency, and update other tooltips (#4895) 2025-11-20 15:00:16 +00:00
removeBlanks Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
removeCertificateSign Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
removePages Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
removePassword Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
reorganizePages Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
repair Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
replaceColor [V2] feat(replaceColor): add CMYK color space conversion option (#4832) 2025-11-06 14:33:34 +00:00
rotate Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
sanitize Remove ambiguous translations and fix invalid translations (#4841) 2025-11-10 11:03:18 +00:00
scannerImageSplit Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
shared Various fixes for desktop (#4976) 2025-11-25 13:11:13 +00:00
showJS Various fixes for desktop (#4976) 2025-11-25 13:11:13 +00:00
sign Feature/v2/add text (#4951) 2025-11-24 13:37:35 +00:00
singleLargePage Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
split Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
toolPicker PDF Text editor (#4724) 2025-11-24 14:15:02 +00:00
unlockPdfForms Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
validateSignature Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
FullscreenToolList.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
FullscreenToolSurface.tsx UI/allow logo selection (#4982) 2025-11-25 15:22:14 +00:00
SearchResults.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
ToolLoadingFallback.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
ToolPanel.css Bug/v2/fix rtl (#4958) 2025-11-24 16:57:36 +00:00
ToolPanel.tsx Bug/v2/fix rtl (#4958) 2025-11-24 16:57:36 +00:00
ToolPanelModePrompt.css Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00
ToolPanelModePrompt.tsx Feature/onboarding slides (#4955) 2025-11-25 13:45:02 +00:00
ToolPicker.tsx styling changes (#4894) 2025-11-14 14:52:32 +00:00
ToolRenderer.tsx Restructure frontend code to allow for extensions (#4721) 2025-10-28 10:29:36 +00:00