Skip to content

locale/pt-br: add missing translations (batch 2/~10)#3598

Open
edsondecred wants to merge 1 commit into
decred:masterfrom
edsondecred:ptbr-locale-batch2
Open

locale/pt-br: add missing translations (batch 2/~10)#3598
edsondecred wants to merge 1 commit into
decred:masterfrom
edsondecred:ptbr-locale-batch2

Conversation

@edsondecred

@edsondecred edsondecred commented Jun 8, 2026

Copy link
Copy Markdown

Summary

Second in a series of small, focused PRs filling in the ~580 strings that are still missing from the pt-br (Brazilian Portuguese) locale (client/webserver/locales/pt-br.go). See #3597 for batch 1 (stale-translation fixes).

This batch adds 60 entries covering:

  • Bond reputation / tier management (bond_strength, target_tier*, Actual Tier, Penalties, Change Tier, Limit Bonus, Score, Confirm Bond Options, compensation_tooltip, ...)
  • Server connection status (Connection to server failed, Waiting to reconnect..., Visit settings to re-enable, Pick a server, ...)
  • Account creation / bonding prompts (create_account_to_trade, need_to_register_msg, Create Account, posting_bonds_shortly, bond_creation_pending_msg, action_required_to_trade, set_penalty_comps, acct_tier_post_bond, enable_bond_maintenance, update_penalty_comps, ...)
  • Order book / fill-rate messaging (Recent Matches, prevent_temporary_overlocking, Avg. Fill Rate, Worst Fill Rate, Estimated Slippage, avg_fill_rate_tooltip, slippage_ack_label, partial_fill_warning*, sweep_order(s), ...)
  • Browser / companion-app notifications (enable_browser_ntfn*, browser_ntfn_blocked, Companion App, companion_app_*, Pair/Unpair companion app, Download APK, Get it on F-Droid, ...)
  • Wallet send / receive / bridge actions (Send, Receive, Bridge, New Address, Authorize the transfer with your app password., ...)

A note on the diff size

One of the new keys, "Authorize the transfer with your app password.", is considerably longer (46 chars) than any existing key in its gofmt alignment block (previous max was 30). Adding it forces gofmt to realign that entire contiguous block of single-line entries to a wider column — hence the larger-than-expected diff (mostly whitespace-only changes to existing lines, no translation text was altered). This realignment only needs to happen once; subsequent batches will build on top of the new, wider column.

Test plan

  • Verified each new translation against the current English source text in client/webserver/locales/en-us.go
  • Verified the file still parses as a valid Go map literal and follows the existing gofmt alignment-group conventions (entries are aligned per contiguous single-line group; multi-line raw-string entries break the group as before)

Adds 60 previously missing pt-br entries covering bond reputation and
tier management, server connection status, account creation/bonding
prompts, order book / fill-rate messaging, browser and companion-app
notifications, and wallet send/receive/bridge actions.

Note: one of the new keys ("Authorize the transfer with your app
password.") is significantly longer than any existing key in its
gofmt alignment block, which forces realignment of that whole
contiguous block to a wider column. This is expected gofmt behavior
and stabilizes the column for subsequent translation batches.
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