Skip to content

luci-app-turboacc: fix Broadcom spelling#409

Merged
coolsnowwolf merged 1 commit into
coolsnowwolf:openwrt-25.12from
hokyouni:fix-broadcom-fullcone-spelling
Jul 25, 2026
Merged

luci-app-turboacc: fix Broadcom spelling#409
coolsnowwolf merged 1 commit into
coolsnowwolf:openwrt-25.12from
hokyouni:fix-broadcom-fullcone-spelling

Conversation

@hokyouni

@hokyouni hokyouni commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

The Broadcom fullcone implementation uses the BCM naming throughout the kernel and firewall integration. Correct the misspelled Boardcom user-facing labels and status strings to Broadcom.

The underlying UCI option values and fullcone detection logic are unchanged.

Update the TurboACC translation template and Simplified Chinese catalog to keep the corrected msgid translated. Remove two stale duplicate Boardcom fullcone entries that caused msgfmt validation to fail.

Tested:

  • npx eslint applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js applications/luci-app-turboacc/htdocs/luci-static/resources/view/turboacc.js
  • node --check on both changed JavaScript files
  • msgfmt --check --check-compatibility on the Simplified Chinese catalog
  • ./build/i18n-scan.pl for both affected applications
  • git diff --check
  • Verified no Boardcom references remain in either affected application

Copilot AI review requested due to automatic review settings July 21, 2026 12:20

Copilot AI 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.

Pull request overview

This PR corrects the user-facing spelling of the Broadcom fullcone NAT mode label from Boardcom to Broadcom across LuCI TurboACC and Firewall UIs, and aligns the TurboACC RPC status string accordingly (without changing the underlying UCI values or detection logic).

Changes:

  • Update the TurboACC RPCD backend to report Broadcom Fullcone NAT1 in the fullcone type string.
  • Update the TurboACC UI list value label for fullcone mode 2 to Broadcom Fullcone NAT1.
  • Update the Firewall zones UI list value label for fullcone mode 2 to Broadcom Fullcone NAT1.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
applications/luci-app-turboacc/root/usr/libexec/rpcd/luci.turboacc Fix misspelling in reported fullcone type string for status output.
applications/luci-app-turboacc/htdocs/luci-static/resources/view/turboacc.js Fix misspelling in the TurboACC UI list option label.
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js Fix misspelling in the Firewall UI list option label.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 195 to 198
if (features.hasXTFULLCONENAT || features.hasNFTFULLCONENAT) {
o.value('1', _('FULLCONENAT'));
o.value('2', _('Boardcom Fullcone NAT1'));
o.value('2', _('Broadcom Fullcone NAT1'));
}
Comment on lines 68 to 72
o = s.option(form.ListValue, 'fullcone', _('Enable FullCone NAT'));
o.value('0', _('Disable'));
o.value('1', _('FULLCONENAT'));
o.value('2', _('Boardcom Fullcone NAT1'));
o.value('2', _('Broadcom Fullcone NAT1'));
addTCPCCAOption();
Signed-off-by: hokyouni <61335738+hokyouni@users.noreply.github.com>
@hokyouni
hokyouni force-pushed the fix-broadcom-fullcone-spelling branch from 0d21e97 to bdf3a02 Compare July 21, 2026 12:33
@hokyouni
hokyouni requested a review from Copilot July 21, 2026 12:41

Copilot AI 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.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@coolsnowwolf
coolsnowwolf merged commit 6d47b3d into coolsnowwolf:openwrt-25.12 Jul 25, 2026
1 check passed
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.

3 participants