feat: move hardcoded UI strings to strings.xml

Replaces hardcoded string literals in composables with string resource
references for proper i18n support. Adds 20 new strings to strings.xml.

Files updated:
- NewUserMetadataScreen: "Social proof" section title
- NoteCompose: "Approve" community post button
- Badge: " and N others" badge awardees text
- Chess: "Decline"/"Accept" challenge buttons
- InteractiveStory: "Restart" story button
- Poll: "Submit" poll button
- ChessGameScreen: "Back", "Relay Settings", "Loading game...",
  "Game Not Found", "This game may have ended...", "Game ID: ...",
  "Go Back"
- ChessLobbyScreen: "Back", "Relay Settings", "New Game",
  "Dismiss", "Connected"
- chess/NewChessGameButton: "New Chess Game" content description
- home/NewChessGameButton: "New Chess Game" content description
- UserSettingsScreen: "Remove <language>" content description

https://claude.ai/code/session_0151CDmy5k2pEWnxhRxet41h
This commit is contained in:
Claude
2026-03-01 20:44:43 +00:00
parent 16088be597
commit ba1d61d8d9
12 changed files with 56 additions and 23 deletions
+20
View File
@@ -1525,4 +1525,24 @@
<string name="confirm">Confirm</string>
<string name="next">Next</string>
<string name="add_poll_option_button">Add poll option button</string>
<string name="back">Back</string>
<string name="go_back">Go Back</string>
<string name="dismiss">Dismiss</string>
<string name="approve">Approve</string>
<string name="connected">Connected</string>
<string name="relay_settings">Relay Settings</string>
<string name="social_proof">Social proof</string>
<string name="poll_submit">Submit</string>
<string name="restart">Restart</string>
<string name="chess_accept">Accept</string>
<string name="chess_decline">Decline</string>
<string name="chess_new_game">New Game</string>
<string name="new_chess_game">New Chess Game</string>
<string name="chess_loading_game">Loading game\u2026</string>
<string name="chess_game_not_found">Game Not Found</string>
<string name="chess_game_waiting">This game may have ended or is waiting for opponent.</string>
<string name="chess_game_id">Game ID: %1$s\u2026</string>
<string name="badge_and_n_others"> and %1$d others</string>
<string name="remove_language">Remove %1$s</string>
</resources>