cherry-studio/src/main/utils
Nicolae Fericitu 56cf347909
feat(i18n): add professional Romanian localization (ro-RO) (#12216)
* feat(i18n): add Romanian localization (ro-RO)

Added the ro-ro.json file to provide Romanian language support for the Cherry Studio interface.

This commit introduces a high-quality, professional translation for the Romanian language. The localization has been carefully reviewed to ensure linguistic accuracy and terminology consistency, so no further adjustments from other contributors are required at this stage. Thank you!

* chore: move ro-ro.json to translate folder and register in index.ts

Moved the Romanian translation file to the translate directory and updated the i18n index to support the automated workflow as requested.

* Delete src/renderer/src/i18n/locales/ro-ro.json

* chore: add ro-ro.json to translate folder

Finalized the relocation of the Romanian translation file to the translate directory to support the automated i18n workflow.

* chore(i18n): remove trailing comma in index.ts

Biome formatter removed trailing comma for consistency.

* feat(i18n): add Romanian (ro-RO) to language selector

Add Romanian language option in settings with Română label and 🇷🇴 flag.

* fix(i18n): add Romanian language support

- Add ro-RO to LanguageVarious type
- Add Romanian to language selector in settings
- Add emoji picker fallback to English (no Romanian CLDR data)

* feat: Add Romanian to auto-translation language map

* fix: Add Romanian language support in main

* fix: Add Romanian (ro-RO) locale support for AntdProvider

* fix: Add Romanian language support to smooth stream segmenter

* fix: Add Romanian translations for assistant preset groups

---------

Co-authored-by: George·Dong <GeorgeDong32@qq.com>
Co-authored-by: icarus <eurfelux@gmail.com>
2026-01-03 21:22:19 +08:00
..
__tests__ refactor: simplify buildFunctionCallToolName to use mcp__{server}__{tool} format (#12186) 2025-12-29 18:52:58 +08:00
aes.ts feat: add aihubmix oauth 2025-02-07 22:27:28 +08:00
file.ts refactor(config): centralize home directory constant to shared config (#11158) 2025-11-07 22:24:05 +08:00
fileOperations.ts feat: add plugin management system for Claude Agent (agents, commands, skills) (#10854) 2025-10-29 13:33:11 +08:00
index.ts feat: use oxlint to speed up lint (#10168) 2025-09-15 19:42:13 +08:00
init.ts refactor(config): centralize home directory constant to shared config (#11158) 2025-11-07 22:24:05 +08:00
ipService.ts refactor: replace axios and node fetch with electron's net module (#9212) 2025-08-15 22:48:22 +08:00
knowledge.ts feat: refactor Knowledge Base (#8384) 2025-09-04 17:23:31 +08:00
locales.ts feat(i18n): add professional Romanian localization (ro-RO) (#12216) 2026-01-03 21:22:19 +08:00
markdownParser.ts feat: add plugin management system for Claude Agent (agents, commands, skills) (#10854) 2025-10-29 13:33:11 +08:00
mcp.ts refactor: simplify buildFunctionCallToolName to use mcp__{server}__{tool} format (#12186) 2025-12-29 18:52:58 +08:00
ocr.ts chore[lint]: add import type lint (#11091) 2025-11-01 10:40:02 +08:00
process.ts 🐛 fix(mcp): check system npx/uvx before falling back to bundled binaries (#12018) 2025-12-20 18:22:33 +08:00
shell-env.ts feat: refactor shell environment handling and move to utils 2025-09-23 22:36:14 +08:00
system.ts fix(ovms): add platform check to prevent errors on non-Windows systems (#12125) 2025-12-31 22:24:53 +08:00
systemInfo.ts feat(AppUpdater): integrate User-Agent generation for autoUpdater req… (#7751) 2025-07-02 16:18:44 +08:00
windowUtil.ts chore[lint]: add import type lint (#11091) 2025-11-01 10:40:02 +08:00
zip.ts refactor[Logger]: strict type check for Logger (#8363) 2025-07-23 13:24:03 +08:00
zoom.ts chore[lint]: add import type lint (#11091) 2025-11-01 10:40:02 +08:00