Skip to content

Reorganize English strings#203

Open
prem-k-r wants to merge 2 commits into
mainfrom
rearrange-en.js
Open

Reorganize English strings#203
prem-k-r wants to merge 2 commits into
mainfrom
rearrange-en.js

Conversation

@prem-k-r

@prem-k-r prem-k-r commented May 3, 2026

Copy link
Copy Markdown
Owner

Summary

Reorganized and expanded the English locale file (locales/en.js) into a comprehensive, sectioned structure for UI strings. The file is 266 lines and exports a single en locale object containing strings for the full application interface.

Changes

  • Expanded coverage across many areas: shortcuts, bookmarks, AI tools, personalization, weather/location/GPS, proxy settings, appearance (theme and wallpaper), backup/restore/settings, tips, clock, to-do list, Google Apps, search controls, quotes, and search suggestions.
  • Added detailed UI strings for:
    • Shortcuts: placeholders, edit UI, icon validation, reset prompts, storage/quota messages, adaptive icons.
    • Bookmarks: sidebar controls (sorting, view modes), search, modal edit/delete prompts, unsupported-browser message.
    • AI Tools: provider names (ChatGPT, Gemini, Copilot, Claude, Grok, Qwen, Perplexity, DeepSeek, Meta AI, Adobe Firefly), settings UI, reset button.
    • Weather/location: GPS toggle and disclaimer, WeatherAPI key entry, temperature display options, Fahrenheit toggle.
    • Proxy: CORS bypass proxy settings and privacy disclaimer with default proxy URL.
    • Appearance: theme labels (Light/Dark/System), color picker, wallpaper upload/opacity controls and confirmations.
    • Settings/Backup/Restore: backup/restore labels and confirmation/error messages.
    • Tips: search mode switching, zoom adjustments, browser-specific theme instructions, Firefox homepage instructions.
  • Grouped and reorganized existing keys into logical sections (greeting, calendar, prompts/alerts, menu items, etc.) for clarity and maintainability.

Export/API changes

  • None. The module still exports a single en locale object; no public API or exported declarations were altered.

Lines changed

  • +169 / -128 (net file length: 266 lines)

Review effort

  • Low

@prem-k-r prem-k-r added refactor Code improvement without changing behavior i18n/l10n Related to Internationalization or Localization labels May 3, 2026
@coderabbitai

coderabbitai Bot commented May 3, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e306e497-1dfc-4d07-82fb-b5f5de349280

📥 Commits

Reviewing files that changed from the base of the PR and between 2d2158e and abb03b6.

📒 Files selected for processing (1)
  • locales/en.js
✅ Files skipped from review due to trivial changes (1)
  • locales/en.js

📝 Walkthrough

Walkthrough

The English locale object (locales/en.js) was reorganized and expanded: many new localization keys were added across shortcuts, bookmarks, AI tools, personalization/search, proxy/weather, appearance/wallpaper, backup/restore, and tips. Net change: +169 / -128 lines; the export remains a single en object.

Changes

Locale String Expansion — English

Layer / File(s) Summary
Top-level reorg & core labels
locales/en.js
Reorganized the top-level en object: moved section titles and retained core footer/toast/dialog/menu labels.
Shortcuts & Validation
locales/en.js
Added shortcut default/input labels, reset/continue prompts, icon/file validation, storage/quota error messages.
Bookmarks UI
locales/en.js
Added sidebar controls, sorting and view mode labels, search label, edit/delete modal strings, and unsupported-browser message.
AI Tools
locales/en.js
Added AI provider names, settings/reset UI labels for AI tools.
Personalization & Search
locales/en.js
Added custom user text labels, search controls (microphone toggle, hide search engines), motivational/daily-quote strings, and greeting/clock adjacent entries.
Proxy & Search Suggestions
locales/en.js
Added search-suggestions toggle and proxy configuration labels (CORS proxy, host-your-own prompt).
Weather & Location
locales/en.js
Added ProxyDisclaimer multiline string, weather labels (Fahrenheit toggle), location/GPS/WeatherAPI fields and helper text.
Appearance & Wallpaper
locales/en.js
Added theme option labels, wallpaper upload/opacity controls, confirmation/clear alerts.
Settings, Backup & Restore
locales/en.js
Added settings section strings, backup/restore success/failure/undo messages, invalid-confirmation alerts.
Tips & Guidance
locales/en.js
Added general tips (search-mode, zoom), browser-specific theme/homepage instructions, and dontShowTips flag.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning No pull request description was provided, but the template requires multiple mandatory sections including description, visual changes, related issues, and a comprehensive checklist. Add a complete pull request description following the template: include purpose of reorganization, visual changes if applicable, related issues, and complete the checklist confirming testing and guideline compliance.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Reorganize English strings' accurately describes the main change: reorganizing keys in the English locale file.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 6/8 reviews remaining, refill in 12 minutes and 50 seconds.

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

@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: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@locales/en.js`:
- Around line 190-191: Update the localized helper copy so it matches the
displayed label: change the value of minMaxTempSubText to reference "Feels" (the
actual UI label used by minMaxTempText) instead of "Feels Like". Locate the
minMaxTempText and minMaxTempSubText entries and make the subtext wording
consistent with the label.
- Line 258: Update the user-facing string for the localization key
"edgeThemeInfo" to correct the typo: replace "Goto Settings" with "Go to
Settings" so the value reads "Go to Settings > Appearance, then choose a color
that matches the extension theme."; locate the "edgeThemeInfo" entry in
locales/en.js and edit only the displayed text accordingly.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 325d7b4d-a11f-4fdb-967b-f460456f8d8a

📥 Commits

Reviewing files that changed from the base of the PR and between 8f430dd and 2d2158e.

📒 Files selected for processing (1)
  • locales/en.js

Comment thread locales/en.js
Comment thread locales/en.js Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n/l10n Related to Internationalization or Localization refactor Code improvement without changing behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant