Repository navigation
feat(l10n): localize memory, history, watchdog and security screens - #15
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Localizes every user-visible hardcoded Turkish string in MemoryView, HistoryView, AutonomousGuardView, PrivacyAuditView (including the hardcoded subtitle), AutonomousAlert and SystemStats into the
dashboardtable.en/tr.lproj/dashboard.strings(existing lines untouched).Memory (RAM)reuses an existing key.dashboard.stringsdict(en + tr):%lld eventsand%lld data points (SQLite WAL).Raw-value handling
AutonomousAlert.AlertType: raw values unchanged. The model isCodable, but alerts are only held in memory (AppState.autonomousAlerts; onlyAutonomousConfigis written to UserDefaults). The raw values are never shown in the UI (onlyiconName/colorName are used), so no display property was added.MemoryStats.MemoryPressureLevel: not persisted. The raw value is also printed in CLI output (CLICommandRunner), so the raw values are kept. AddedlocalizedTitle, and MemoryView now uses it.CPUStats.ThermalState: not persisted. The raw value is used in CLI output, in theAutonomousGuardServicemessage and in a test, so the raw values are kept. AddedlocalizedTitleand moved the display call sites to it:MacOptimizerApp.swift(1 line) andDashboardView.swift(2 lines).BatteryStats.powerSource: the default"AC Gücü"becomesL10n.string("AC Power"). It is not persisted and SystemMonitorService overwrites it at runtime.condition == "Normal"is logic and stays unchanged.Test plan
swift build: passesswift test(full suite): 83 XCTest tests, 0 failures (includes localization completeness)🤖 Generated with Claude Code