Skip to content

A macOS-style dock, widget bar and desktop widgets for Windows (WPF, .NET 10)

67.7 KB
Raw Blame
using System.ComponentModel;
using System.Windows.Data;
using System.Windows.Markup;
using QiDock.Models;

namespace QiDock.Services;

public sealed class UiText : INotifyPropertyChanged
{
    private static readonly IReadOnlyDictionary<string, (string Turkish, string English)> Entries =
        new Dictionary<string, (string, string)>
        {
            ["Settings"] = ("Ayarlar", "Settings"),
            ["SettingsTitle"] = ("QiDock ayarları", "QiDock settings"),
            ["General"] = ("Genel", "General"),
            ["Appearance"] = ("Görünüm", "Appearance"),
            ["Widgets"] = ("Widget’lar", "Widgets"),
            ["Wallpaper"] = ("Duvar kâğıdı", "Wallpaper"),
            ["WallpaperDescription"] = ("Bir resme tıklayın, masaüstü hemen değişsin. İnternetteki resimler yalnızca seçildiğinde 4K olarak indirilir; QiDock son birkaçını saklar.", "Click a picture and the desktop changes at once. Online pictures are downloaded in 4K only when chosen; QiDock keeps the last few."),
            ["WallpaperDaily"] = ("Günün resimleri (Bing)", "Pictures of the day (Bing)"),
            ["WallpaperWindowsOwn"] = ("Windows'un duvar kâğıtları", "Windows wallpapers"),
            ["WallpaperMore"] = ("Daha fazla göster", "Show more"),
            ["WallpaperPick"] = ("Bilgisayardan seç…", "Choose a file…"),
            ["WallpaperFiles"] = ("Resimler", "Pictures"),
            ["WallpaperLoading"] = ("Resimler yükleniyor…", "Loading pictures…"),
            ["WallpaperDownloading"] = ("İndiriliyor…", "Downloading…"),
            ["WallpaperSet"] = ("Duvar kâğıdı değişti.", "Wallpaper changed."),
            ["WallpaperFailed"] = ("Windows bu resmi duvar kâğıdı yapamadı.", "Windows could not use this picture as the wallpaper."),
            ["WallpaperOffline"] = ("İnternetteki resimlere ulaşılamadı. Bağlantınızı kontrol edin.", "The online pictures could not be reached. Check your connection."),
            ["WidgetsDescription"] =("Üst çubukta gösterilecek widget’ları seçin ve sıralayın.", "Choose which widgets appear in the top bar and in what order."),
            ["Widget_profile"] = ("Profil", "Profile"),
            ["Widget_currency"] = ("Döviz çevirici", "Currency converter"),
            ["Widget_stopwatch"] = ("Kronometre ve sayaç", "Stopwatch and timer"),
            ["Widget_note"] = ("Hızlı not", "Quick note"),
            ["Widget_appgroup"] = ("Uygulama grubu", "App group"),
            ["Widget_progress"] = ("Ay / yıl ilerlemesi", "Month / year progress"),
            ["Widget_reminder"] = ("Su / mola hatırlatıcı", "Water / break reminder"),
            ["Widget_voicememo"] = ("Ses kaydı", "Voice memo"),
            ["Widget_tray"] = ("Arka planda çalışanlar", "Background apps"),
            ["WidgetDescription_tray"] = ("Saatin yanındaki gizli simgeler: arka planda açık kalan uygulamaları gösterir, açar ya da kapatır.", "The hidden icons by the clock: shows the apps left running in the background, opens or closes them."),
            ["TrayTitle"] = ("Arka planda çalışanlar", "Running in the background"),
            ["TrayEmpty"] = ("Arka planda simgesi olan uygulama yok.", "No apps with an icon are running in the background."),
            ["TrayCount"] = ("Arka planda {0} uygulama", "{0} apps in the background"),
            ["TrayHint"] = ("Tıkla: uygulamayı aç · Sağ tık: uygulamanın kendi menüsü · Çarpı: kapat", "Click: open the app · Right click: the app's own menu · Cross: close"),
            ["TrayClose"] = ("Kapat", "Close"),
            ["TrayForceClose"] = ("Zorla kapat", "Force close"),
            ["TrayClosing"] = ("Kapanması istendi…", "Asked to close…"),
            ["TrayStillRunning"] = ("Kapanmadı, hâlâ çalışıyor", "It did not close, still running"),
            ["TrayCannotClose"] = ("Bu uygulama buradan kapatılamıyor", "This app cannot be closed from here"),
            ["TrayClosed"] = ("{0} kapatıldı", "{0} closed"),
            ["ProfileCaption"] = ("Profil", "Profile"),
            ["ProfileTileHint"] = ("Profil değiştir, yeni profil ekle (İş, Kod…). Her profil hangi bileşenlerin görüneceğini ayrı saklar.", "Switch profile or add one (Work, Code…). Each profile keeps its own set of widgets."),
            ["ProfileCode"] = ("Kod", "Code"),
            ["ProfileNewMenu"] = ("Yeni profil", "New profile"),
            ["ProfilesTitle"] = ("Profiller", "Profiles"),
            ["ProfileCreated"] = ("\"{0}\" profili oluşturuldu", "Profile \"{0}\" created"),
            ["ProfileRemoveNamed"] = ("\"{0}\" profilini sil", "Delete profile \"{0}\""),
            ["ProfileEditWidgets"] = ("Bu profilin bileşenlerini düzenle", "Edit this profile's widgets"),
            ["MediaIdleTitle"] = ("Müzik", "Music"),
            ["MediaSeek"] = ("Şarkıda ilerle", "Move through the song"),
            ["MediaBack10"] = ("10 saniye geri", "10 seconds back"),
            ["MediaForward10"] = ("10 saniye ileri", "10 seconds forward"),
            ["MediaMute"] = ("Sesi kapat / aç", "Mute / unmute"),
            ["MediaAppVolume"] = ("{0} sesi", "{0} volume"),
            ["MediaSystemVolume"] = ("Bilgisayarın sesi", "Computer volume"),
            ["MediaRecent"] = ("Son çalınanlar", "Recently played"),
            ["MediaRecentEmpty"] = ("Çalınan şarkılar burada sıralanır.", "Songs you play are listed here."),
            ["MediaShowPlaying"] = ("Şimdi çalan", "Now playing"),
            ["MediaShowRecent"] = ("Çalma listesini göster", "Show the playlist"),
            ["MediaPlaylist"] = ("Çalma listesi", "Playlist"),
            ["MediaShowTab"] = ("Listeyi görmek için YouTube sekmesini öne getir", "Bring the YouTube tab forward to see its list"),
            ["MediaIdle"] = ("Çalan bir şey yok", "Nothing playing"),
            ["MediaIdleHint"] = ("Oynat düğmesi en son çalan uygulamayı (Spotify, tarayıcı…) sürdürür", "Play resumes the app that last played (Spotify, the browser…)"),
            ["CurrencyTitle"] = ("Döviz çevirici", "Currency converter"),
            ["CurrencyTileHint"] = ("Tıklayınca istediğin tutarı çevirirsin", "Click to convert any amount"),
            ["CurrencyLoading"] = ("Kurlar alınıyor…", "Getting rates…"),
            ["CurrencyOffline"] = ("Kurlar alınamadı; internet bağlantısını kontrol et", "Could not get rates; check the internet connection"),
            ["CurrencySource"] = ("Avrupa Merkez Bankası kuru · {0}", "European Central Bank rate · {0}"),
            ["CurrencySwap"] = ("Yer değiştir", "Swap"),
            ["CurrencyCycleHint"] = ("Para birimine tıklayınca sıradakine geçer (TRY, USD, EUR, GBP, CHF, JPY).", "Click a currency to step to the next (TRY, USD, EUR, GBP, CHF, JPY)."),
            ["StopwatchTitle"] = ("Kronometre ve sayaç", "Stopwatch and timer"),
            ["StopwatchLabel"] = ("Kronometre", "Stopwatch"),
            ["StopwatchCountdownLabel"] = ("Sayaç · {0} dk", "Timer · {0} min"),
            ["StopwatchStartPause"] = ("Başlat / duraklat", "Start / pause"),
            ["StopwatchReset"] = ("Sıfırla", "Reset"),
            ["StopwatchDone"] = ("Süre doldu", "Time is up"),
            ["StopwatchMode"] = ("Kronometre", "Stopwatch"),
            ["StopwatchCountdownHint"] = ("Geri sayım (seçince hemen başlar)", "Countdown (starts as soon as picked)"),
            ["NoteTitle"] = ("Hızlı not", "Quick note"),
            ["NoteSavedHint"] = ("Yazdıkların kendiliğinden kaydedilir.", "What you type is saved on its own."),
            ["NoteMoreLines"] = ("+{0} satır daha", "+{0} more lines"),
            ["NoteTapToEdit"] = ("Düzenlemek için tıkla", "Click to edit"),
            ["NoteEmpty"] = ("Not almak için tıkla", "Click to take a note"),
            ["NotePlaceholder"] = ("Aklındakini yaz…", "Write it down…"),
            ["AppGroupTitle"] = ("Uygulama grubu", "App group"),
            ["AppGroupAdd"] = ("Uygulama ekle", "Add an app"),
            ["AppGroupHint"] = ("Simgeye tıkla: aç · Sağ tık: düzenle", "Click an icon to open · Right-click to edit"),
            ["AppGroupEmpty"] = ("En fazla 4 uygulama seç; kutudaki simgelerine tıklayınca açılırlar.", "Pick up to 4 apps; click their icons in the tile to open them."),
            ["AppGroupRemove"] = ("Gruptan çıkar", "Remove from group"),
            ["AppGroupFull"] = ("Grup dolu (4 uygulama)", "Group is full (4 apps)"),
            ["AppGroupSearch"] = ("Uygulama ara…", "Search apps…"),
            ["AppGroupLoading"] = ("Uygulamalar yükleniyor…", "Loading apps…"),
            ["ProgressToday"] = ("Bugün", "Today"),
            ["ProgressHint"] = ("{0}: %{1} geçti · Tıkla: ay / yıl / gün", "{0}: {1}% gone · Click: month / year / day"),
            ["ReminderTitle"] = ("Hatırlatıcı", "Reminder"),
            ["ReminderShort_water"] = ("Su", "Water"),
            ["ReminderShort_break"] = ("Mola", "Break"),
            ["ReminderShort_eyes"] = ("Göz", "Eyes"),
            ["ReminderKind_water"] = ("Su iç", "Drink water"),
            ["ReminderKind_break"] = ("Mola ver", "Take a break"),
            ["ReminderKind_eyes"] = ("Gözünü dinlendir", "Rest your eyes"),
            ["ReminderNow_water"] = ("Bir bardak su içme zamanı", "Time for a glass of water"),
            ["ReminderNow_break"] = ("Kalk, biraz hareket et", "Stand up and move a little"),
            ["ReminderNow_eyes"] = ("20 saniye uzağa bak", "Look far away for 20 seconds"),
            ["ReminderOff"] = ("Kapalı", "Off"),
            ["ReminderOffShort"] = ("Kapalı", "Off"),
            ["ReminderOffHint"] = ("Hatırlatıcıyı açmak için tıkla", "Click to turn the reminder on"),
            ["ReminderNext"] = ("{0} dk sonra", "in {0} min"),
            ["ReminderNextGlasses"] = ("{0} dk sonra · {1} bardak", "in {0} min · {1} glasses"),
            ["ReminderEvery"] = ("Her {0} dakikada bir hatırlatır", "Reminds every {0} minutes"),
            ["ReminderInterval"] = ("Ne sıklıkla", "How often"),
            ["ReminderGlasses"] = ("Bugün {0} bardak", "{0} glasses today"),
            ["ReminderDrank"] = ("İçtim", "Drank one"),
            ["MemoTitle"] = ("Ses kaydı", "Voice memo"),
            ["MemoTapToRecord"] = ("Kırmızıya bas: kaydet", "Press red to record"),
            ["MemoRecording"] = ("Kaydediliyor · bitirmek için bas", "Recording · press to finish"),
            ["MemoRecordStop"] = ("Kaydı başlat / bitir", "Start / finish recording"),
            ["MemoHint"] = ("Kayıtlar Belgeler\\Ses Kayıtları klasörüne kaydedilir", "Recordings are saved in Documents\\Ses Kayıtları"),
            ["MemoNoMic"] = ("Mikrofon açılamadı", "Could not open the microphone"),
            ["MemoSaved"] = ("Kayıt kaydedildi ({0})", "Recording saved ({0})"),
            ["MemoOpenFolder"] = ("Klasörü aç", "Open folder"),
            ["MemoNone"] = ("Henüz kayıt yok. Kutudaki kırmızı düğmeye basınca kayıt başlar, tekrar basınca biter.", "No recordings yet. Press the red button in the tile to start, press it again to finish."),
            ["Widget_media"] = ("Müzik", "Music"),
            ["Widget_weather"] = ("Hava durumu", "Weather"),
            ["Widget_clock"] = ("Saat ve takvim", "Clock and calendar"),
            ["Widget_ai"] = ("Yapay zekâ limitleri", "AI limits"),
            ["Desktop"] = ("Temiz masaüstü", "Clean desktop"),
            ["DesktopFiles"] = ("Klasörlü masaüstü", "Desktop with files"),
            ["MenuWidgets"] = ("Widget’lar", "Widgets"),
            ["MenuProfile"] = ("Profil", "Profile"),
            ["MenuDockSize"] = ("Dock boyutu", "Dock size"),
            ["DockSizeNormal"] = ("Normal", "Normal"),
            ["DockSizeLarge"] = ("Büyük (%15)", "Large (15%)"),
            ["DockSizeLarger"] = ("Daha büyük (%30)", "Larger (30%)"),
            ["DockSizeHuge"] = ("En büyük (%45)", "Largest (45%)"),
            ["MenuEditDock"] = ("Widget’ları düzenle (taşı, kaldır, ekle)", "Edit widgets (move, remove, add)"),
            ["MenuEditDone"] = ("Düzenlemeyi bitir", "Finish editing"),
            ["MenuCity"] = ("Hava durumu şehri: {0}", "Weather city: {0}"),
            ["MenuCityOther"] = ("Başka şehir veya ilçe…", "Another city or district…"),
            ["MenuPosition"] = ("Dock konumu", "Dock position"),
            ["MenuAutoHide"] = ("Otomatik gizle", "Auto-hide"),
            ["MenuAutoHideOff"] = ("Kapalı", "Off"),
            ["MenuAutoHideSmart"] = ("Pencere üstüne gelince", "When a window overlaps"),
            ["MenuAutoHideAlways"] = ("Her zaman (alt kenara gelince çıkar)", "Always (shows at the bottom edge)"),
            ["MenuTheme"] = ("Tema", "Theme"),
            ["MenuHideDesktopIcons"] = ("Temiz masaüstü (simgeleri gizle)", "Clean desktop (hide icons)"),
            ["DockEdge"] = ("Dock'un kenarı", "Dock edge"),
            ["DockEdgeBottom"] = ("Alt", "Bottom"),
            ["DockEdgeTop"] = ("Üst", "Top"),
            ["DockEdgeLeft"] = ("Sol", "Left"),
            ["DockEdgeRight"] = ("Sağ", "Right"),
            ["DockEdgeHint"] = ("Sol ve sağ kenarda araçlar üst çubukta durur; üst kenarda dock'un içine geçer.", "On the left and right edges the widgets stay in the top bar; on the top edge they move into the dock."),
            ["WidgetPlacement"] = ("Dock düzeni", "Dock layout"),
            ["WidgetPlacementTop"] = ("Dock'ta yalnızca uygulamalar, araçlar üstte ayrı çubukta (eski düzen)", "Apps only in the dock, widgets in a separate top bar (classic)"),
            ["WidgetPlacementDockLeft"] = ("Araçlar dock'un içinde, uygulamaların solunda", "Widgets inside the dock, left of the apps"),
            ["WidgetPlacementDockRight"] = ("Araçlar dock'un içinde, uygulamaların sağında", "Widgets inside the dock, right of the apps"),
            ["MenuDockGlass"] = ("Dock'ta cam görünüm", "Glass dock"),
            ["MenuTopBarPeek"] = ("Üst kenara gelince widget çubuğunu göster", "Show the widget bar at the top edge"),
            ["EditAddWidget"] = ("Ekle", "Add"),
            ["EditDone"] = ("Bitti", "Done"),
            ["EditMoveLeft"] = ("Sola taşı", "Move left"),
            ["EditMoveRight"] = ("Sağa taşı", "Move right"),
            ["EditRemove"] = ("Kaldır", "Remove"),
            ["EditAllShown"] = ("Bütün widget’lar zaten görünüyor", "All widgets are already shown"),
            ["Widget_system"] = ("Sistem (CPU ve RAM)", "System (CPU and RAM)"),
            ["Widget_quick"] = ("Hızlı kontroller", "Quick controls"),
            ["WidgetDescription_profile"] = ("Etkin profil (İş, Kod…); tıklayınca profil değiştirir ya da yeni profil eklersin.", "The active profile (Work, Code…); click to switch or add one."),
            ["WidgetDescription_currency"] = ("1 dolar kaç lira; tıklayınca istediğin tutarı TRY, USD, EUR, GBP arasında çevirir.", "One unit in another currency; click to convert any amount."),
            ["WidgetDescription_stopwatch"] = ("Kronometre ya da geri sayan sayaç; süre dolunca ses ve ekranın üstünde uyarı.", "Stopwatch or countdown; a chime and a message when time is up."),
            ["WidgetDescription_note"] = ("Kısa not; yazdıkların kalır, kutuda ilk satırı görünür.", "A short note; it is kept and its first line shows in the tile."),
            ["WidgetDescription_appgroup"] = ("En fazla 4 favori uygulama küçük bir kutuda; simgeye tıklayınca açılır.", "Up to 4 favourite apps in a small square; click an icon to open it."),
            ["WidgetDescription_progress"] = ("Ayın, yılın ya da günün ne kadarı geçti; noktalar ve yüzde.", "How much of the month, year or day has gone, as dots and a percent."),
            ["WidgetDescription_reminder"] = ("Belirli aralıklarla su içmeyi, mola vermeyi ya da gözünü dinlendirmeyi hatırlatır.", "Reminds you to drink water, take a break or rest your eyes."),
            ["WidgetDescription_voicememo"] = ("Tek tıkla mikrofondan kayıt; Belgeler\\Ses Kayıtları klasörüne kaydeder.", "One-click microphone recording, saved in Documents\\Ses Kayıtları."),
            ["WidgetDescription_media"] = ("Çalan şarkı; önceki, durdur/oynat ve sonraki.", "What’s playing; previous, play/pause and next."),
            ["WidgetDescription_weather"] = ("Anlık durum; tıklayınca saatlik ve 7 günlük tahmin.", "Current conditions; click for hourly and 7-day forecast."),
            ["WidgetDescription_clock"] = ("Saat ve tarih; tıklayınca ay takvimi ve günün etkinlikleri.", "Time and date; click for the month and today’s events."),
            ["WidgetDescription_ai"] = ("Claude ve ChatGPT kullanım limitleri ve sıfırlanma zamanları.", "Claude and ChatGPT usage limits and reset times."),
            ["Widget_folder"] = ("Klasör", "Folder"),
            ["Widget_search"] = ("Ara", "Search"),
            ["Widget_colors"] = ("Renk seçici", "Color picker"),
            ["Widget_appvolume"] = ("Uygulama sesleri", "App volume"),
            ["Widget_focus"] = ("Odak sayacı", "Focus timer"),
            ["Widget_worldclock"] = ("Dünya saati", "World clock"),
            ["Widget_todo"] = ("Yapılacaklar", "To-do"),
            ["Widget_shelf"] = ("Raf", "Shelf"),
            ["Widget_tools"] = ("Araçlar", "Tools"),
            ["Widget_notifications"] = ("Bildirimler", "Notifications"),
            ["NotificationsTitle"] = ("Bildirimler", "Notifications"),
            ["NotificationsUnread"] = ("{0} yeni", "{0} new"),
            ["NotificationsCount"] = ("{0} bildirim", "{0} notifications"),
            ["NotificationsNone"] = ("Yeni bildirim yok", "No new notifications"),
            ["NotificationsEmptyQuiet"] = ("Bildirim yok.", "No notifications."),
            ["NotificationsEmpty"] = ("Bildirim yok. Yeni gelenler ekranın üstünde görünür.", "No notifications. New ones appear at the top of the screen."),
            ["NotificationsUnavailable"] = ("Windows bildirimleri okunamadı.", "Windows notifications could not be read."),
            ["NotificationsClear"] = ("Tümünü temizle", "Clear all"),
            ["NotificationDismiss"] = ("Kapat", "Dismiss"),
            ["NotificationsBanners"] = ("Üstte göster", "Show at top"),
            ["NotificationsSound"] = ("Ses çal", "Play sound"),
            ["NotificationsWindowsHint"] = ("Windows'un sağ alttaki balonlarını kapatmak için Windows ayarlarında \"Rahatsız etmeyin\"i açın; bildirimler yine burada ve üstte görünür.", "To stop Windows' own pop-ups at the bottom right, turn on \"Do not disturb\" in Windows settings; notifications still show here and at the top."),
            ["NotificationsWindowsSettings"] = ("Windows bildirim ayarlarını aç", "Open Windows notification settings"),
            ["NotificationsOptions"] = ("Bildirim seçenekleri", "Notification options"),
            ["NotificationsBannersHint"] = ("Yeni bildirimler ekranın üstünden kayar.", "New notifications slide in at the top."),
            ["NotificationsHideWindows"] = ("Windows balonlarını gizle", "Hide Windows pop-ups"),
            ["NotificationsHideWindowsHint"] = ("Sağ alttaki Windows balonu çıkmaz, bildirim yalnızca üstte görünür.", "Windows' bottom-right pop-up stays away; each notification shows once, at the top."),
            ["NotificationsSoundHint"] = ("Bildirim gelince kısa bir ses çalar.", "Plays a short sound when one arrives."),
            ["NotificationsMore"] = ("+{0} daha", "+{0} more"),
            ["NotificationsShowLess"] = ("Daha az göster", "Show less"),
            ["Widget_controlcenter"] = ("Denetim Merkezi", "Control Center"),
            ["Widget_battery"] = ("Pil", "Battery"),
            ["WidgetDescription_battery"] = ("Pil doluluğu bir halkada; şarj olurken şimşek.", "Battery charge in a ring, with a bolt while charging."),
            ["BatteryNone"] = ("Pil yok (fişe bağlı)", "No battery (plugged in)"),
            ["BatteryCharging"] = ("Şarj oluyor", "Charging"),
            ["BatteryLeft"] = ("{0} sa {1} dk kaldı", "{0} h {1} min left"),
            ["HoursMinutes"] = ("{0} sa {1} dk", "{0} h {1} min"),
            ["BatteryTitle"] = ("Pil", "Battery"),
            ["PreviewWindowTitle"] = ("Pencere önizlemesi", "Window preview"),
            ["PreviewHiddenHint"] = ("Gizli: fareyi kenara götürünce çıkar", "Hidden: comes up at the screen edge"),
            ["PreviewEdgeBottom"] = ("Dock altta", "Dock at the bottom"),
            ["PreviewEdgeTop"] = ("Dock üstte", "Dock at the top"),
            ["PreviewEdgeLeft"] = ("Dock solda", "Dock on the left"),
            ["PreviewEdgeRight"] = ("Dock sağda", "Dock on the right"),
            ["PreviewWidgetsTop"] = ("bileşenler üst şeritte", "widgets in the top strip"),
            ["PreviewWidgetsLeft"] = ("bileşenler dock'un solunda", "widgets left in the dock"),
            ["PreviewWidgetsRight"] = ("bileşenler dock'un sağında", "widgets right in the dock"),
            ["PreviewMagnifyOn"] = ("büyütme %{0}", "magnify {0}%"),
            ["PreviewMagnifyOff"] = ("büyütme kapalı", "no magnification"),
            ["PreviewHideNever"] = ("hep görünür", "always shown"),
            ["PreviewHideSmart"] = ("pencere üstüne gelince gizlenir", "hides when a window covers it"),
            ["PreviewHideAlways"] = ("her zaman gizli", "always hidden"),
            ["PreviewTryHint"] = ("Önizlemedeki simgelerin üzerinde gezinip deneyin. Değişiklikler yalnızca Uygula'ya basınca dock'a geçer.", "Point at the icons in the picture to try it. Changes reach the dock only when you press Apply."),
            ["Magnify"] = ("Simgeleri büyüt", "Magnify icons"),
            ["MagnifyDescription"] = ("Fare dock'ta gezerken altındaki simgeler büyür", "Icons under the pointer grow as it moves along the dock"),
            ["MagnifyScale"] = ("Büyütme oranı", "Magnification"),
            ["MagnifyNote"] = ("Bilgi: Büyütme, fare dock'ta her kıpırdadığında dock'u yeniden çizer; işlemciyi biraz daha çalıştırır. Bilgisayar yavaş gelirse kapatabilirsin.", "Note: magnification redraws the dock on every pointer move, so it uses a little more processor time. Turn it off if the computer feels slow."),
            ["MagnifyNoteLowMemory"] = ("Bilgi: Az bellek modu açıkken büyütme takılabilir, çünkü çizimi işlemci yapıyor. Akıcı olsun istersen Genel sekmesinden az bellek modunu kapatabilirsin; o zaman uygulama yaklaşık 300 MB daha fazla bellek kullanır.", "Note: with low-memory mode on, magnification can stutter because the processor does the drawing. For smooth motion, turn low-memory mode off on the General tab; the app then uses about 300 MB more memory."),
            ["BatteryFull"] = ("Tam dolu, prize takılı", "Fully charged, plugged in"),
            ["BatteryPlugged"] = ("Prize takılı", "Plugged in"),
            ["BatteryOnBattery"] = ("Pille çalışıyor", "On battery"),
            ["BatteryEstimating"] = ("Kalan süre hesaplanıyor…", "Estimating time left…"),
            ["BatterySaverOn"] = ("Enerji tasarrufu açık", "Energy saver is on"),
            ["BatterySettings"] = ("Pil ayarları", "Battery settings"),
            ["BatteryLevel"] = ("Doluluk", "Charge"),
            ["ControlCenterTitle"] = ("Denetim Merkezi", "Control Center"),
            ["ControlCenterStatus"] = ("Wi-Fi, ses, parlaklık", "Wi-Fi, sound, brightness"),
            ["CcNetwork"] = ("Ağ", "Network"),
            ["WifiShowNetworks"] = ("Ağları göster", "Show networks"),
            ["WifiNetworks"] = ("Wi-Fi ağları", "Wi-Fi networks"),
            ["WifiScanning"] = ("Aranıyor…", "Searching…"),
            ["WifiRescan"] = ("Yeniden ara", "Search again"),
            ["WifiNone"] = ("Yakında ağ bulunamadı", "No networks nearby"),
            ["WifiNoAdapter"] = ("Bu bilgisayarda Wi-Fi kartı bulunamadı", "No Wi-Fi adapter found"),
            ["WifiDenied"] = ("Windows ağları listelemeye izin vermiyor (Ayarlar › Gizlilik › Konum › masaüstü uygulamaları kapalı olabilir). Windows'un kendi listesinden bağlanabilirsiniz.", "Windows does not allow listing networks (location access for desktop apps may be off). You can join from Windows' own list."),
            ["WifiJoining"] = ("Bağlanıyor…", "Connecting…"),
            ["WifiConnectedHint"] = ("Bağlı", "Connected"),
            ["WifiPasswordFor"] = ("“{0}” için şifre", "Password for “{0}”"),
            ["WifiWrongPassword"] = ("Şifre yanlış, yeniden deneyin", "Wrong password, try again"),
            ["WifiNotInRange"] = ("Ağ artık görünmüyor", "The network is out of range"),
            ["WifiUnsupported"] = ("Bu ağa yalnızca Windows'un listesinden bağlanılabilir", "This network can only be joined from Windows' list"),
            ["WifiFailed"] = ("Bağlanılamadı", "Could not connect"),
            ["WifiJoin"] = ("Bağlan", "Join"),
            ["WifiCancel"] = ("Vazgeç", "Cancel"),
            ["WifiWindowsList"] = ("Windows ağ listesi", "Windows network list"),
            ["CcPowerMode"] = ("Güç modu", "Power mode"),
            ["CcModeEfficiency"] = ("Verimli", "Efficiency"),
            ["CcModeBalanced"] = ("Dengeli", "Balanced"),
            ["CcModePerformance"] = ("Performans", "Performance"),
            ["CcVolume"] = ("Ses", "Sound"),
            ["CcMute"] = ("Sesi kapat / aç", "Mute / unmute"),
            ["CcBrightness"] = ("Parlaklık", "Brightness"),
            ["CcBattery"] = ("Pil", "Battery"),
            ["CcCharging"] = ("Şarj oluyor", "Charging"),
            ["CcPlugged"] = ("Prize takılı", "Plugged in"),
            ["CcOnBattery"] = ("Pilde · {0} kaldı", "On battery · {0} left"),
            ["CcScreenshot"] = ("Ekran alıntısı", "Snip"),
            ["CcLock"] = ("Ekranı kilitle", "Lock screen"),
            ["CcDockSettings"] = ("Dock ayarları", "Dock settings"),
            ["CcWindowsSettingsTip"] = ("Windows Ayarları", "Windows Settings"),
            ["CcWindowsSettings"] = ("Windows", "Windows"),
            ["AppGridTitle"] = ("Tüm uygulamalar (Ctrl+Alt+↓)", "All apps (Ctrl+Alt+↓)"),
            ["AppGridSearch"] = ("Ara", "Search"),
            ["UpdateMenu"] = ("Güncellemeleri denetle (sürüm {0})", "Check for updates (version {0})"),
            ["UpdateChecking"] = ("Güncelleme denetleniyor…", "Checking for updates…"),
            ["UpdateCheckFailed"] = ("GitHub'a ulaşılamadı", "Couldn’t reach GitHub"),
            ["UpdateUpToDate"] = ("QiDock güncel (sürüm {0})", "QiDock is up to date ({0})"),
            ["UpdateAvailableHud"] = ("QiDock {0} çıktı · dock menüsünden güncelleyin", "QiDock {0} is out · update from the dock menu"),
            ["UpdatePrompt"] = ("QiDock {0} çıktı (sizdeki {1}).\n\nİndirip yeniden başlatayım mı? Yaklaşık {2} MB; ayarlarınız ve sabitledikleriniz olduğu gibi kalır.", "QiDock {0} is out (you have {1}).\n\nDownload it and restart? About {2} MB; your settings and pins stay as they are."),
            ["UpdateDownloading"] = ("Güncelleme indiriliyor… %{0}", "Downloading update… {0}%"),
            ["DockKeysHint"] = ("Oklarla seçin, Enter ile açın, Esc ile çıkın", "Arrows to move, Enter to open, Esc to leave"),
            ["AppGridLoading"] = ("Uygulamalar yükleniyor…", "Loading apps…"),
            ["AppGridFolder"] = ("Klasör", "Folder"),
            ["AppGridNoMatch"] = ("Sonuç yok", "No results"),
            ["AppGridFrequent"] = ("Sık kullanılanlar", "Most used"),
            ["AppGridOpen"] = ("Aç", "Open"),
            ["AppGridRunAsAdmin"] = ("Yönetici olarak çalıştır", "Run as administrator"),
            ["AppGridShowLocation"] = ("Dosya konumunu aç", "Open file location"),
            ["AppGridPin"] = ("Dock'a sabitle", "Pin to dock"),
            ["AppGridPinned"] = ("Dock'ta sabitli", "Pinned to dock"),
            ["AppGridOpenFolder"] = ("Klasörü aç", "Open folder"),
            ["AppGridUngroup"] = ("Klasörü dağıt", "Ungroup folder"),
            ["QuickSearchHint"] = ("Uygulama, dosya ara ya da hesapla", "Search apps and files, or calculate"),
            ["QuickSearchCopy"] = ("Enter ile kopyala", "Press Enter to copy"),
            ["QuickSearchWeb"] = ("Web'de ara: “{0}”", "Search the web for “{0}”"),
            ["WindowOverviewEmpty"] = ("Açık pencere yok", "No open windows"),
            ["DownloadsTitle"] = ("İndirilenler", "Downloads"),
            ["DownloadsOpenFolder"] = ("Klasörü aç", "Open folder"),
            ["DownloadsEmpty"] = ("İndirilenler klasörü boş.", "The Downloads folder is empty."),
            ["WidgetDescription_folder"] = ("Masaüstü ya da seçtiğiniz klasör; dosyalar ızgarada, sürükleyip bırakılabilir.", "The Desktop or a folder you pick; files in a grid you can open or drag out."),
            ["WidgetDescription_search"] = ("Uygulama ve dosyaları yazarak bulun.", "Type to find apps and files."),
            ["WidgetDescription_colors"] = ("Ekrandan renk seçin; renkler saklanır, tıklayınca kodu kopyalanır.", "Pick colors from the screen; they are kept and copied on click."),
            ["WidgetDescription_appvolume"] = ("Her uygulamanın sesi ayrı ayrı.", "Volume for each app separately."),
            ["WidgetDescription_focus"] = ("Pomodoro odak sayacı; süre bitince haber verir.", "Pomodoro focus timer; tells you when time is up."),
            ["WidgetDescription_worldclock"] = ("Üç şehrin saati ve farkı.", "Three cities’ time and difference."),
            ["WidgetDescription_todo"] = ("Kısa yapılacaklar listesi.", "A short to-do list."),
            ["WidgetDescription_shelf"] = ("Dosyaları geçici olarak bırakıp sonra sürükleyin.", "Drop files to keep them at hand, then drag them out."),
            ["WidgetDescription_tools"] = ("Ekran görüntüsü, pano geçmişi, emoji, hesap makinesi, kilit.", "Screenshot, clipboard history, emoji, calculator, lock."),
            ["FolderItems"] = ("{0} öğe", "{0} items"),
            ["FolderDesktop"] = ("Masaüstü", "Desktop"),
            ["FolderChoose"] = ("Klasör seç", "Choose folder"),
            ["FolderOpenExplorer"] = ("Dosya Gezgini’nde aç", "Open in File Explorer"),
            ["FolderBack"] = ("Geri", "Back"),
            ["FolderEmpty"] = ("Bu klasör boş.", "This folder is empty."),
            ["AgoNow"] = ("az önce", "just now"),
            ["AgoMinutes"] = ("{0} dk önce", "{0} min ago"),
            ["AgoHours"] = ("{0} sa önce", "{0} h ago"),
            ["AgoDays"] = ("{0} gün önce", "{0} days ago"),
            ["AgoMonths"] = ("{0} ay önce", "{0} mo ago"),
            ["AgoYears"] = ("{0} yıl önce", "{0} yr ago"),
            ["SearchHint"] = ("Ara", "Search"),
            ["SearchTileTip"] = ("Uygulama ve dosya ara (Alt+Shift+Boşluk)", "Search apps and files (Alt+Shift+Space)"),
            ["SearchIndexing"] = ("Dosyalar taranıyor…", "Scanning files…"),
            ["SearchApp"] = ("Uygulama", "App"),
            ["ColorsPick"] = ("Seç", "Pick"),
            ["ColorsTitle"] = ("Renkler", "Colors"),
            ["ColorsEmpty"] = ("“Seç” ile ekrandaki herhangi bir rengi alın; Esc ya da sağ tık vazgeçer.", "Use “Pick” to grab any color on screen; Esc or right-click cancels."),
            ["ColorsCopyHint"] = ("Tıkla: kodu kopyala · Sağ tık: sil", "Click: copy code · Right-click: remove"),
            ["ColorsClear"] = ("Tümünü temizle", "Clear all"),
            ["ColorsCopied"] = ("{0} kopyalandı", "{0} copied"),
            ["Refresh"] = ("Yenile", "Refresh"),
            ["AppVolumeTitle"] = ("Uygulama sesleri", "App volume"),
            ["AppVolumeEmpty"] = ("Şu an ses çıkaran ya da ses açmış bir uygulama yok.", "No app has sound open right now."),
            ["AppVolumePlaying"] = ("çalıyor", "playing"),
            ["AppVolumeMute"] = ("Sessize al", "Mute"),
            ["FocusLabel"] = ("Odak", "Focus"),
            ["FocusRunning"] = ("Odaklanıyor", "Focusing"),
            ["FocusFinished"] = ("Bitti", "Done"),
            ["FocusStartPause"] = ("Başlat / duraklat", "Start / pause"),
            ["FocusReset"] = ("Sıfırla", "Reset"),
            ["FocusDone"] = ("Odak süresi bitti, mola zamanı", "Focus time is up, take a break"),
            ["FocusTitle"] = ("Odak sayacı", "Focus timer"),
            ["FocusLength"] = ("Süre", "Length"),
            ["FocusMinutes"] = ("{0} dk", "{0} min"),
            ["FocusBreak"] = ("5 dakikalık mola başlat", "Start a 5-minute break"),
            ["FocusBreakDone"] = ("Mola bitti, yeni odak için hazır", "Break is over, ready to focus again"),
            ["FocusOnBreak"] = ("Mola", "Break"),
            ["FocusToday"] = ("Bugün tamamlanan: {0}", "Completed today: {0}"),
            ["WorldClockTitle"] = ("Dünya saati", "World clock"),
            ["WorldClockHint"] = ("En fazla {0} şehir seçin.", "Pick up to {0} cities."),
            ["TodoTitle"] = ("Yapılacaklar", "To-do"),
            ["TodoAllDone"] = ("Hepsi tamam", "All done"),
            ["TodoOpen"] = ("{0} görev", "{0} tasks"),
            ["TodoAddHint"] = ("Görev eklemek için tıklayın", "Click to add a task"),
            ["TodoClearDone"] = ("Tamamlananları temizle", "Clear completed"),
            ["TodoPlaceholder"] = ("Yeni görev yazıp Enter’a basın…", "Type a task and press Enter…"),
            ["TodoToggle"] = ("Tamamlandı", "Done"),
            ["TodoRemove"] = ("Sil", "Remove"),
            ["ShelfTitle"] = ("Raf", "Shelf"),
            ["ShelfDropHint"] = ("Dosya bırakın", "Drop files"),
            ["ShelfCount"] = ("{0} dosya", "{0} files"),
            ["ShelfEmpty"] = ("Dosyaları rafın üstüne sürükleyip bırakın; sonra buradan başka yere sürükleyin.", "Drag files onto the shelf, then drag them out from here."),
            ["ShelfDragHint"] = ("Tıkla: aç · Sürükle: başka yere bırak", "Click: open · Drag: drop elsewhere"),
            ["ShelfRemove"] = ("Raftan kaldır", "Remove from shelf"),
            ["ShelfClear"] = ("Rafı boşalt", "Clear shelf"),
            ["ToolScreenshot"] = ("Ekran alıntısı al", "Take a snip"),
            ["ToolClipboard"] = ("Pano geçmişi", "Clipboard history"),
            ["ToolEmoji"] = ("Emoji", "Emoji"),
            ["ToolCalculator"] = ("Hesap makinesi", "Calculator"),
            ["ToolLock"] = ("Ekranı kilitle", "Lock screen"),
            ["ProfileAdd"] = ("Profil ekle", "Add profile"),
            ["ProfileNew"] = ("Profil {0}", "Profile {0}"),
            ["ProfileDefault"] = ("Varsayılan", "Default"),
            ["ProfileWork"] = ("İş", "Work"),
            ["ProfileTools"] = ("Araçlar", "Tools"),
            ["ProfileHome"] = ("Ev", "Home"),
            ["ProfileFocus"] = ("Odak", "Focus"),
            ["ProfileGame"] = ("Oyun", "Gaming"),
            ["ProfileSchool"] = ("Okul", "School"),
            ["ProfileCreative"] = ("Tasarım", "Design"),
            ["ProfileRename"] = ("Adını değiştir", "Rename"),
            ["ProfileRemove"] = ("Profili sil", "Delete profile"),
            ["RecycleBin"] = ("Geri Dönüşüm Kutusu", "Recycle Bin"),
            ["RecycleBinOpen"] = ("Aç", "Open"),
            ["RecycleBinEmpty"] = ("Geri Dönüşüm Kutusunu boşalt", "Empty Recycle Bin"),
            ["ShortcutAdd"] = ("Kısayol ekle", "Add shortcut"),
            ["ShortcutAddFile"] = ("Uygulama ya da dosya…", "App or file…"),
            ["ShortcutAddFolder"] = ("Klasör…", "Folder…"),
            ["ShortcutDropHint"] = ("Dosya, klasör ya da bağlantıyı dock’a sürükleyip bırakabilirsiniz", "You can also drop files, folders or links on the dock"),
            ["ShortcutPickFile"] = ("Dock’a eklenecek uygulama ya da dosya", "App or file to add to the dock"),
            ["ShortcutPickFolder"] = ("Dock’a eklenecek klasör", "Folder to add to the dock"),
            ["ShortcutAdded"] = ("{0} kısayol dock’a eklendi", "{0} shortcut(s) added to the dock"),
            ["WidgetDescription_system"] = ("İşlemci ve bellek kullanımı; düşükse yeşil, arttıkça sarı, turuncu ve kırmızı.", "Processor and memory load, green when low turning yellow, orange and red as it rises."),
            ["SysTitle"] = ("Sistem", "System"),
            ["SysCpu"] = ("İşlemci (CPU)", "Processor (CPU)"),
            ["SysRam"] = ("Bellek (RAM)", "Memory (RAM)"),
            ["SysCores"] = ("{0} mantıksal çekirdek", "{0} logical cores"),
            ["SysRamDetail"] = ("{0} / {1} kullanımda", "{0} of {1} in use"),
            ["SysUptime"] = ("Açık kalma süresi: {0} gün {1} sa {2} dk", "Up for {0} d {1} h {2} min"),
            ["SysTaskManager"] = ("Görev Yöneticisi'ni aç", "Open Task Manager"),
            ["WidgetDescription_notifications"] = ("Okunmamış bildirim sayısı; tıklayınca Bildirim Merkezi açılır.", "Unread notifications; click to open the Notification Center."),
            ["WidgetDescription_controlcenter"] = ("Wi-Fi, Bluetooth, ses, parlaklık ve pil tek panelde.", "Wi-Fi, Bluetooth, volume, brightness and battery in one panel."),
            ["WidgetDescription_quick"] = ("Wi-Fi, Bluetooth, ses düzeyi ve pil.", "Wi-Fi, Bluetooth, volume and battery."),
            ["MoveUp"] = ("Yukarı taşı", "Move up"),
            ["MoveDown"] = ("Aşağı taşı", "Move down"),
            ["WeatherCity"] = ("Hava durumu şehri", "Weather city"),
            ["WeatherCityHelp"] = ("Örnek: İstanbul, Ankara, İzmir. Veriler Open-Meteo’dan alınır.", "For example: London, Berlin. Data comes from Open-Meteo."),
            ["CalendarFeed"] = ("Takvim adresi (iCal)", "Calendar address (iCal)"),
            ["CalendarFeedHelp"] = ("Google Takvim → Ayarlar → takviminiz → “Takvimi entegre et” → “iCal biçiminde gizli adres”. Outlook ve iCloud .ics bağlantıları da çalışır. Boş bırakılırsa yalnızca takvim gösterilir.", "Google Calendar → Settings → your calendar → “Integrate calendar” → “Secret address in iCal format”. Outlook and iCloud .ics links work too. Leave empty to show the calendar only."),
            ["ShowSeconds"] = ("Saatte saniyeyi göster", "Show seconds on the clock"),
            ["AiLimitsHelp"] = ("Yapay zekâ limitleri: Claude için bu bilgisayarda Claude Code ile oturum açılmış olmalıdır. ChatGPT limitleri Codex’in yerel kayıtlarından okunur ve Codex’i her kullandığınızda güncellenir.", "AI limits: Claude requires being signed in to Claude Code on this PC. ChatGPT limits are read from Codex’s local logs and update whenever you use Codex."),
            ["CultureName"] = ("tr-TR", "en-US"),
            ["ClockDateFormat"] = ("ddd d MMM", "ddd d MMM"),
            ["CalToday"] = ("Bugün", "Today"),
            ["CalPrevMonth"] = ("Önceki ay", "Previous month"),
            ["CalNextMonth"] = ("Sonraki ay", "Next month"),
            ["CalAllDay"] = ("Tüm gün", "All day"),
            ["CalEvents"] = ("Etkinlikler", "Events"),
            ["CalCalendars"] = ("Takvimler", "Calendars"),
            ["CalEventCount"] = ("{0} etkinlik", "{0} events"),
            ["CalNewEvent"] = ("Yeni etkinlik", "New event"),
            ["CalNewEventOn"] = ("Yeni etkinlik: {0}", "New event {0}"),
            ["CalEmpty"] = ("Etkinlik yok", "No events"),
            ["CalLoading"] = ("Takvim yükleniyor…", "Loading calendar…"),
            ["CalNoFeed"] = ("Etkinlikleri burada görmek için takvim adresinizi bağlayın.", "Connect your calendar address to see events here."),
            ["CalConnect"] = ("Takvim bağla…", "Connect calendar…"),
            ["CalendarFeedError"] = ("Takvim alınamadı; adresi denetleyin.", "Couldn’t load the calendar; check the address."),
            ["CalendarUntitled"] = ("(Başlıksız)", "(Untitled)"),
            ["Weather"] = ("Hava durumu", "Weather"),
            ["WxLoading"] = ("Hava durumu yükleniyor…", "Loading weather…"),
            ["WxUnavailable"] = ("Bağlantı yok", "Offline"),
            ["WxCityNotFound"] = ("Şehir bulunamadı", "City not found"),
            ["WxChangeCity"] = ("Değiştir", "Change"),
            ["WxNow"] = ("Şimdi", "Now"),
            ["WxToday"] = ("Bugün", "Today"),
            ["ClaudeThinking"] = ("Düşünüyor…", "Thinking…"),
            ["ClaudeWriting"] = ("Yazıyor…", "Writing…"),
            ["ClaudeDone"] = ("Bitti", "Done"),
            ["ClaudeEditingFile"] = ("{0} düzenleniyor…", "Editing {0}…"),
            ["ClaudeEditingFiles"] = ("{0} dosya düzenleniyor…", "Editing {0} files…"),
            ["ClaudeRunning"] = ("Komut çalışıyor…", "Running a command…"),
            ["ClaudeReading"] = ("Kod okunuyor…", "Reading code…"),
            ["ClaudeBrowsing"] = ("Web'de arıyor…", "Searching the web…"),
            ["ClaudeAgents"] = ("Alt ajanlar çalışıyor…", "Agents at work…"),
            ["ClaudeTools"] = ("Araç kullanıyor…", "Using a tool…"),
            ["ClaudeWorking"] = ("Çalışıyor…", "Working…"),
            ["ClaudeActivitySetting"] = ("Claude kartında Claude Code oturumları", "Claude Code sessions in the Claude card"),
            ["ClaudeActivitySettingHelp"] = ("Sağdaki Claude halkasına tıklayınca son oturumlar (proje, o anki iş, bitti mi) listelenir. Kendiliğinden hiçbir şey açılmaz; yalnızca bu bilgisayardaki kayıtlar, kart açıkken okunur.", "Clicking the Claude ring lists the recent sessions (project, current step, finished or not). Nothing opens by itself; only this PC's logs are read, while the card is open."),
            ["ClaudeSessionsTitle"] = ("Claude Code", "Claude Code"),
            ["LowMemory"] = ("Az bellek modu", "Low-memory mode"),
            ["LowMemoryHelp"] = ("Ekranı ekran kartı yerine işlemciyle çizer: yaklaşık 300 MB daha az bellek. Akıcı kalsın diye gölgeler kapanır, panellerin arkasındaki buzlu cam bulanıklığı da kapanır. Yeniden başlatınca geçerli olur.", "Draws on the processor instead of the graphics card: about 300 MB less memory. To keep motion smooth, shadows are left out and the frosted blur behind panels goes away. Takes effect after a restart."),
            ["LowMemoryRestart"] = ("Az bellek modu uygulama yeniden başlayınca geçerli olur. Şimdi yeniden başlatılsın mı?", "Low-memory mode takes effect when the app restarts. Restart now?"),
            ["ClaudeSessionsCaption"] = ("Son oturumlar", "Recent sessions"),
            ["ClaudeSessionsNone"] = ("Son 30 dakikada Claude Code oturumu yok.", "No Claude Code session in the last 30 minutes."),
            ["ClaudeIdle"] = ("Bekliyor", "Waiting"),
            ["ClaudeAgoNow"] = ("şimdi", "now"),
            ["ClaudeAgoMinutes"] = ("{0} dk önce", "{0} min ago"),
            ["ProfileCreate"] = ("Kendinizinkini oluşturun", "Create your own"),
            ["ProfileShortcut"] = ("Ctrl+Alt+Shift+{0}", "Ctrl+Alt+Shift+{0}"),
            ["HudVolume"] = ("Ses", "Volume"),
            ["HudBrightness"] = ("Parlaklık", "Brightness"),
            ["HudBrightnessPill"] = ("Parlaklık %{0}", "Brightness {0}%"),
            ["DockHudSetting"] = ("Ses ve parlaklık dock'tan çıksın", "Volume and brightness rise from the dock"),
            ["DockHudSettingHelp"] = ("Kapalıyken ekranın üstünde küçük bir hap görünür.", "When off, a small pill shows at the top of the screen."),
            ["LookStyle"] = ("Tema", "Look"),
            ["LookStyleHint"] = ("Cam, yukarıdaki koyu/açık seçimini izler; diğer temalar dock'a, araçlara ve panellere kendi renklerini getirir.", "Glass follows the dark/light choice; the other looks bring their own colours to the dock, widgets and panels."),
            ["WxHigh"] = ("En yüksek", "H"),
            ["WxLow"] = ("En düşük", "L"),
            ["WxUpdated"] = ("Güncelleme {0} · Open-Meteo", "Updated {0} · Open-Meteo"),
            ["WxClear"] = ("Açık", "Clear"),
            ["WxMostlyClear"] = ("Az bulutlu", "Mostly clear"),
            ["WxPartlyCloudy"] = ("Parçalı bulutlu", "Partly cloudy"),
            ["WxOvercast"] = ("Kapalı", "Overcast"),
            ["WxFog"] = ("Sisli", "Fog"),
            ["WxDrizzle"] = ("Çisenti", "Drizzle"),
            ["WxFreezingDrizzle"] = ("Donan çisenti", "Freezing drizzle"),
            ["WxLightRain"] = ("Hafif yağmur", "Light rain"),
            ["WxRain"] = ("Yağmurlu", "Rain"),
            ["WxHeavyRain"] = ("Şiddetli yağmur", "Heavy rain"),
            ["WxFreezingRain"] = ("Donan yağmur", "Freezing rain"),
            ["WxLightSnow"] = ("Hafif kar", "Light snow"),
            ["WxSnow"] = ("Karlı", "Snow"),
            ["WxHeavySnow"] = ("Yoğun kar", "Heavy snow"),
            ["WxSnowGrains"] = ("Kar taneleri", "Snow grains"),
            ["WxShowers"] = ("Sağanak", "Showers"),
            ["WxSnowShowers"] = ("Kar sağanağı", "Snow showers"),
            ["WxThunder"] = ("Gök gürültülü", "Thunderstorm"),
            ["WxHail"] = ("Dolu ve fırtına", "Thunderstorm with hail"),
            ["WxUnknown"] = ("Bilinmiyor", "Unknown"),
            ["MediaPrevious"] = ("Önceki", "Previous"),
            ["MediaPlayPause"] = ("Oynat / duraklat", "Play / pause"),
            ["MediaNext"] = ("Sonraki", "Next"),
            ["AiLimits"] = ("Yapay zekâ limitleri", "AI limits"),
            ["AiSession"] = ("Oturum", "Session"),
            ["AiWeekly"] = ("Haftalık", "Weekly"),
            ["AiMonthly"] = ("Aylık", "Monthly"),
            ["AiWeeklyOpus"] = ("Haftalık · Opus", "Weekly · Opus"),
            ["AiWeeklySonnet"] = ("Haftalık · Sonnet", "Weekly · Sonnet"),
            ["AiHoursWindow"] = ("{0} saat", "{0} hours"),
            ["AiDaysWindow"] = ("{0} gün", "{0} days"),
            ["AiNoData"] = ("Veri yok", "No data"),
            ["AiNoDataHelp"] = ("Claude için Claude Code’da oturum açın; ChatGPT için Codex’i bir kez kullanın. Limitler burada görünür.", "Sign in to Claude Code for Claude, or use Codex once for ChatGPT. Limits will appear here."),
            ["AiClaudeExpired"] = ("Giriş yenilenemedi; terminalde claude yazıp giriş yapın.", "Couldn’t renew the sign-in; run claude in a terminal and sign in."),
            ["AiRateLimited"] = ("Çok sık soruldu; birkaç dakika sonra yenilenecek.", "Asked too often; will refresh in a few minutes."),
            ["AiFetchError"] = ("Kullanım bilgisi alınamadı.", "Couldn’t read usage."),
            ["AiRefresh"] = ("Yenile", "Refresh"),
            ["AiResetsIn"] = ("{0} sonra sıfırlanır ({1})", "Resets in {0} ({1})"),
            ["AiIdle"] = ("Henüz kullanılmadı", "Not used yet"),
            ["AiNoReset"] = ("Sıfırlanma zamanı bilinmiyor", "Reset time unknown"),
            ["AiSoon"] = ("az", "a moment"),
            ["AiDaysHours"] = ("{0} g {1} sa", "{0}d {1}h"),
            ["AiHoursMinutes"] = ("{0} sa {1} dk", "{0}h {1}m"),
            ["AiMinutes"] = ("{0} dk", "{0}m"),
            ["AiUpdated"] = ("Güncelleme {0} · {1}", "Updated {0} · {1}"),
            ["AiSourceClaude"] = ("Claude Code oturumu", "Claude Code session"),
            ["AiSourceCodex"] = ("Codex kayıtları", "Codex logs"),
            ["AiSourceGemini"] = ("Antigravity girişi", "Antigravity sign-in"),
            ["AiSourceOpenCode"] = ("OpenCode konsolu", "OpenCode console"),
            ["AiGeminiOthers"] = ("Claude · GPT", "Claude · GPT"),
            ["AiGeminiExpired"] = ("Giriş yenilenemedi; terminalde agy yazıp giriş yapın.", "Couldn’t renew the sign-in; run agy in a terminal and sign in."),
            ["AiOpenCodeExpired"] = ("Giriş süresi doldu; OpenCode’u açıp yeniden giriş yapın.", "The sign-in expired; open OpenCode and sign in again."),
            ["AiShortHM"] = ("{0}sa {1}dk", "{0}h {1}m"),
            ["AiShortM"] = ("{0}dk", "{0}m"),
            ["AiResetsShort"] = ("{0} sonra sıfırlanır", "resets in {0}"),
            ["AiOutBy"] = ("bu hızla {0} biter", "out by {0} at this pace"),
            ["AiPaceOk"] = ("bu hızla sıfırlanmada ~%{0}", "~{0}% at reset at this pace"),
            ["AiUsageCaption"] = ("Kullanım", "Usage"),
            ["AiThisWeek"] = ("Bu hafta", "This week"),
            ["AiThisPeriod"] = ("Bu dönem", "This period"),
            ["AiFooterNote"] = ("Claude Code ve Codex oturumlarınızdan okunur. Grafik, bu bilgisayarda kaydedilen ölçümlerden çizilir.", "Read from your Claude Code and Codex sign-ins. The chart is drawn from readings saved on this PC."),
            ["QcSound"] = ("Ses", "Sound"),
            ["QcMute"] = ("Sesi kapat / aç", "Mute / unmute"),
            ["QcMuted"] = ("Kapalı", "Muted"),
            ["QcOpenSettings"] = ("Windows ayarlarını aç", "Open Windows settings"),
            ["QcWifiOn"] = ("Wi-Fi açık", "Wi-Fi on"),
            ["QcWifiOff"] = ("Wi-Fi kapalı · açmak için tıklayın", "Wi-Fi off · click to turn on"),
            ["QcBluetoothOn"] = ("Bluetooth açık · kapatmak için tıklayın", "Bluetooth on · click to turn off"),
            ["QcBluetoothOff"] = ("Bluetooth kapalı · açmak için tıklayın", "Bluetooth off · click to turn on"),
            ["QcWifiOffShort"] = ("Wi-Fi kapalı", "Wi-Fi off"),
            ["QcBluetoothOnShort"] = ("Bluetooth açık", "Bluetooth on"),
            ["QcBluetoothOffShort"] = ("Bluetooth kapalı", "Bluetooth off"),
            ["QcBatteryTitle"] = ("Pil ve güç", "Battery and power"),
            ["QcOnBattery"] = ("Pille çalışıyor", "On battery"),
            ["QcSaverIsOn"] = ("Enerji tasarrufu açık", "Energy saver is on"),
            ["QcSaverIsOff"] = ("Enerji tasarrufu kapalı", "Energy saver is off"),
            ["QcPowerMode"] = ("Güç modu", "Power mode"),
            ["QcModeSaver"] = ("Verimli", "Efficiency"),
            ["QcModeBalanced"] = ("Dengeli", "Balanced"),
            ["QcModePerformance"] = ("Performans", "Performance"),
            ["QcPowerModeUnavailable"] = ("Bu bilgisayar güç modu değiştirmeyi desteklemiyor.", "This PC doesn't support changing the power mode."),
            ["QcPowerModeDenied"] = ("Windows güç modunu değiştirmeye izin vermedi.", "Windows didn't allow changing the power mode."),
            ["QcEnergySaver"] = ("Enerji tasarrufu", "Energy saver"),
            ["QcEnergySaverHint"] = ("Windows enerji tasarrufunu yalnızca kendi Ayarlar sayfasından açtırıyor; tıklayınca o sayfa açılır.", "Windows only lets its own Settings page switch energy saver; click to open it."),
            ["QcPowerSettings"] = ("Güç ve pil ayarları", "Power and battery settings"),
            ["QcConnections"] = ("Bağlantılar", "Connections"),
            ["QcNotConnected"] = ("Bağlı değil", "Not connected"),
            ["QcOn"] = ("Açık", "On"),
            ["QcOff"] = ("Kapalı", "Off"),
            ["QcTurnOn"] = ("Aç", "Turn on"),
            ["QcTurnOff"] = ("Kapat", "Turn off"),
            ["QcNoRadios"] = ("Bu bilgisayarda Wi-Fi veya Bluetooth bulunamadı.", "No Wi-Fi or Bluetooth found on this PC."),
            ["QcRadioDenied"] = ("Windows bu değişikliğe izin vermedi. Ayarlar › Gizlilik ve güvenlik › Radyolar bölümünden uygulamaların radyoları denetlemesine izin verin.", "Windows didn't allow this change. Allow apps to control radios in Settings › Privacy & security › Radios."),
            ["QcBattery"] = ("Pil %{0}", "Battery {0}%"),
            ["QcCharging"] = ("şarj oluyor", "charging"),
            ["QcPluggedIn"] = ("prize takılı", "plugged in"),
            ["QcRemaining"] = ("{0} sa {1} dk kaldı", "{0}h {1}m left"),
            ["Startup"] = ("Windows ile başlat", "Start with Windows"),
            ["StartupDescription"] = ("Oturum açtığında QiDock otomatik başlasın.", "Launch QiDock when you sign in."),
            ["Animations"] = ("Animasyonlar", "Animations"),
            ["AnimationsDescription"] = ("Simge büyütme, açılış ve geçiş hareketleri.", "Icon magnification, launch, and transition motion."),
            ["GenieEffect"] = ("Cin efekti", "Genie effect"),
            ["GenieEffectDescription"] = ("Pencere açılırken simgeden çıkar, küçültülürken simgeye akar.", "Windows pour out of and back into their dock icon."),
            ["Previews"] = ("Pencere önizlemeleri", "Window previews"),
            ["DockGlassSetting"] = ("Cam görünüm", "Glass look"),
            ["DockGlassSettingHelp"] = ("Dock, arkasındaki duvar kâğıdını buzlu cam gibi gösterir.", "The dock shows the wallpaper behind it as frosted glass."),
            ["PreviewsDescription"] = ("Simgenin üzerine geldiğinde açık pencereleri göster.", "Show open windows when you hover over an icon."),
            ["Badges"] = ("Bildirim göstergeleri", "Notification indicators"),
            ["BadgesDescription"] = ("Windows’un bildirdiği uyarıları simgelerde göster.", "Show alerts reported by Windows on application icons."),
            ["Theme"] = ("Açık / koyu", "Light / dark"),
            ["SurfaceOpacity"] = ("Yüzey opaklığı", "Surface opacity"),
            ["SurfaceOpacityHelp"] = ("Ayarlar, dock ve menülerin arka plan opaklığı.", "Background opacity for settings, the dock, and menus."),
            ["Percent"] = ("%{0}", "{0}%"),
            ["Minimize"] = ("Küçült", "Minimize"),
            ["Maximize"] = ("Büyüt", "Maximize"),
            ["Restore"] = ("Önceki boyut", "Restore"),
            ["ThemeDescription"] = ("Dock, menüler ve ayarların renkleri.", "Colors for the dock, menus, and settings."),
            ["Dark"] = ("Koyu", "Dark"),
            ["Light"] = ("Açık", "Light"),
            ["Language"] = ("Dil", "Language"),
            ["LanguageDescription"] = ("QiDock arayüzünün dili.", "Language used by the QiDock interface."),
            ["Position"] = ("Dock konumu", "Dock position"),
            ["PositionDescription"] = ("Simgelerin ekranın alt kenarındaki hizası.", "Align icons along the bottom of your screen."),
            ["Left"] = ("Sol", "Left"), ["Center"] = ("Orta", "Center"), ["Right"] = ("Sağ", "Right"),
            ["AutoHide"] = ("Otomatik gizle", "Auto-hide"),
            ["AutoHideDescription"] = ("Pencereler dock’un üzerine geldiğinde veya fare ayrıldığında dock’u gizle.", "Hide the dock when windows overlap or when the mouse leaves."),
            ["AutoHideDisabled"] = ("Kapalı", "Off"),
            ["AutoHideSmart"] = ("Pencere üstüne gelince", "When a window overlaps"),
            ["AutoHideAlways"] = ("Her zaman (alt kenara gelince çıkar)", "Always (shows at the bottom edge)"),
            ["Apply"] = ("Uygula", "Apply"),
            ["SettingsSaved"] = ("Ayarlar kaydedildi.", "Settings saved."),
            ["Close"] = ("Kapat", "Close"),
            ["Exit"] = ("QiDock’dan çık", "Quit QiDock"),
            ["OpenItem"] = ("Aç", "Open"),
            ["OpenApplication"] = ("Uygulamayı aç", "Open application"),
            ["ApplicationCommands"] = ("Uygulama komutları", "Application commands"),
            ["WindowCommands"] = ("Pencere komutları", "Window commands"),
            ["Pin"] = ("Dock’ta tut", "Keep in dock"),
            ["Unpin"] = ("Dock’tan kaldır", "Remove from dock"),
            ["CloseApplication"] = ("Uygulamayı kapat", "Close application"),
            ["Terminate"] = ("Süreci sonlandır…", "End process…"),
            ["Start"] = ("Başlat", "Start"),
            ["ActivateWindow"] = ("Pencereyi öne getir", "Bring window to front"),
            ["MinimizeWindow"] = ("Pencereyi küçült", "Minimize window"),
            ["Tasks"] = ("Görevler", "Tasks"),
            ["PinnedDestinations"] = ("Sabitlenenler", "Pinned"),
            ["Recent"] = ("Son kullanılanlar", "Recent"),
            ["Frequent"] = ("Sık kullanılanlar", "Frequent"),
            ["StartupReadError"] = ("Windows başlangıç tercihi okunamadı. Erişim izinlerini denetleyin.", "Cannot read the Windows startup preference. Check access permissions."),
            ["StartupWriteError"] = ("Windows başlangıç tercihi kaydedilemedi. Erişim izinlerini denetleyin.", "Cannot save the Windows startup preference. Check access permissions."),
            ["StartupPathError"] = ("Başlangıç kaydı için geçerli bir QiDock.exe yolu gerekiyor.", "A valid QiDock.exe path is required for startup registration."),
            ["DiscardTitle"] = ("Kaydedilmemiş değişiklikler", "Unsaved changes"),
            ["DiscardChanges"] = ("Uygulanmamış değişiklikler var. Kaydetmeden kapatılsın mı?", "You have unapplied changes. Close without saving?"),
            ["StartupRestoreError"] = ("Başlangıç tercihi de geri alınamadı. Windows başlangıç ayarlarını denetleyin.", "The startup preference could not be restored either. Check Windows startup settings."),
            ["AlreadyRunning"] = ("QiDock zaten çalışıyor.", "QiDock is already running."),
            ["CloseWindow"] = ("Pencereyi kapat", "Close window"),
            ["PreviewUnavailable"] = ("Önizleme kullanılamıyor", "Preview unavailable"),
            ["TasksLoading"] = ("Görevler yükleniyor…", "Loading tasks…"),
            ["TasksEmpty"] = ("Bu uygulama görev listesi sunmuyor", "This application has no task list"),
            ["TasksIdentityUnavailable"] = ("Uygulamanın görev listesi eşleştirilemedi", "Cannot match this application's task list"),
            ["TasksUnsupported"] = ("Görev listesi bu Windows sürümünde desteklenmiyor", "Task lists are not supported on this Windows version"),
            ["TasksReadError"] = ("Görev listesi okunamadı; menüyü yeniden açın", "Cannot read the task list; reopen the menu"),
            ["TasksTimeout"] = ("Görev listesi zamanında yanıt vermedi", "The task list did not respond in time"),
            ["TasksServiceError"] = ("Windows görev hizmeti başlatılamadı", "Cannot start the Windows task service"),
            ["SkippedPins"] = ("Windows görev çubuğundaki {0} kısayol desteklenmedi veya okunamadı; diğerleri içe aktarıldı.", "{0} Windows taskbar shortcuts were unsupported or unreadable; the others were imported."),
            ["TerminateTitle"] = ("QiDock · Süreci sonlandır", "QiDock · End process"),
            ["TerminatePrompt"] = ("{0} uygulamasına ait {1} süreç zorla sonlandırılacak. Kaydedilmemiş çalışmalar kaybolabilir. Devam edilsin?", "Force quit {1} processes belonging to {0}? Unsaved work may be lost. Continue?")
        };

    private static readonly IReadOnlyDictionary<string, string> ErrorTranslations = new Dictionary<string, string>
    {
        ["Dock penceresi Windows'a bağlanamadı."] = "Cannot connect the dock window to Windows.",
        ["QiDock Alt+Tab listesinden çıkarılamadı."] = "Cannot exclude QiDock from Alt+Tab.",
        ["Windows uygulama bildirimlerini dinleyemedi; bildirim rozeti kullanılamıyor."] = "Cannot listen for Windows application alerts; notification indicators are unavailable.",
        ["Dock penceresi hazır olmadan görev çubuğu modu açılamaz."] = "The dock window must be ready before taskbar replacement can start.",
        ["Windows Başlat menüsüne açılma isteği gönderilemedi."] = "Cannot request the Windows Start menu.",
        ["Pencereyi öne getirme veya küçültme isteği tamamlanamadı. Windows odağı engellemiş olabilir."] = "Cannot activate or minimize the window. Windows may have blocked focus.",
        ["Uygulama dosyası bulunamadı. Windows görev çubuğundaki kısayolu güncelleyin."] = "Application file not found. Update its Windows taskbar shortcut.",
        ["Uygulama Windows tarafından başlatılamadı."] = "Windows could not start the application.",
        ["Uygulama başlatma isteği tamamlanamadı."] = "The application launch request could not be completed.",
        ["Uygulamayı başlatmak için erişim izni yok."] = "Permission to start the application was denied.",
        ["Uygulama dosyasına erişilemedi."] = "Cannot access the application file.",
        ["Önizleme penceresi etkinleştirilemedi. Windows odağı engellemiş olabilir."] = "Cannot activate the previewed window. Windows may have blocked focus.",
        ["Önizlenen pencereye kapatma isteği gönderilemedi."] = "Cannot send a close request to the previewed window.",
        ["Uygulama görevi çalıştırılamadı. Menüyü yeniden açıp deneyin."] = "Cannot run the application task. Reopen the menu and try again.",
        ["Uygulama komutu çalıştırılamadı; pencereyi veya menüyü yeniden açın."] = "Cannot run the application command; reopen the window or menu.",
        ["Uygulama sabitlenemedi."] = "Cannot pin the application.",
        ["Uygulamaya normal kapanma isteği gönderilemedi. Zorla kapatmak için süreç sonlandırma seçeneğini kullanın."] = "Cannot request a normal application close. Use End process to force quit.",
        ["Bazı uygulama süreçlerine normal kapanma isteği gönderilemedi."] = "Cannot send a normal close request to some application processes.",
        ["Uygulamanın çalışan süreci bulunamadı."] = "No running application process was found.",
        ["Uygulama süreçlerine erişilemiyor; uygulama yöneticisi iznini denetleyin."] = "Cannot access the application processes; check administrator permissions.",
        ["Uygulama süreçleri sonlandırılamadı. Yetkiyi ve uygulamanın tekrar başlamadığını denetleyin."] = "Cannot end the application processes. Check permissions and whether the application restarted.",
        ["Bazı uygulama süreçleri sonlandırılamadı."] = "Some application processes could not be ended.",
        ["Windows görev çubuğu geri yüklenemedi. Uygulama açık bırakıldı."] = "Cannot restore the Windows taskbar. QiDock remains open.",
        ["Dock ayarları geçersiz. Dosyayı düzeltin veya silip uygulamayı yeniden başlatın."] = "Dock settings are invalid. Correct or delete the settings file and restart.",
        ["Dock ayarları okunamadı. JSON biçimini düzeltin veya dosyayı silip yeniden başlatın."] = "Cannot read dock settings. Correct the JSON or delete the settings file and restart.",
        ["Dock ayarları diskten okunamadı."] = "Cannot read dock settings from disk.",
        ["Dock ayarlarına erişim izni yok."] = "Permission to read dock settings was denied.",
        ["Ayar değerleri geçersiz."] = "Settings contain invalid values.",
        ["Dock ayarları için kayıt yolu oluşturulamadı."] = "Cannot create a location for dock settings.",
        ["Dock ayarları diske kaydedilemedi."] = "Cannot save dock settings to disk.",
        ["Dock ayarlarına yazma izni yok."] = "Permission to write dock settings was denied.",
        ["Pencere başlığı değişiklikleri dinlenemedi."] = "Cannot listen for window title changes.",
        ["Görev çubuğu kurtarma kaydı bozuk. Windows ayarlarını elle denetleyin."] = "The taskbar recovery record is invalid. Check Windows taskbar settings manually.",
        ["Görev çubuğu kurtarma kaydı okunamadı."] = "Cannot read the taskbar recovery record.",
        ["Görev çubuğu kurtarma kaydına erişim izni yok."] = "Permission to access the taskbar recovery record was denied.",
        ["Görev çubuğu ayarı değiştirilmedi; kurtarma kaydı yazılamadı."] = "The Windows taskbar was left unchanged because its recovery record could not be saved.",
        ["Görev çubuğu ayarı değiştirilmedi; kurtarma kaydına yazma izni yok."] = "The Windows taskbar was left unchanged because permission to save its recovery record was denied.",
        ["Windows görev çubuğunun kenar tetiklemesi kapatılamadı."] = "Cannot disable the Windows taskbar edge trigger.",
        ["Windows görev çubuğu gizlenemedi."] = "Cannot hide the Windows taskbar.",
        ["Windows görev çubuğu geri yükleme işlemi devam ediyor."] = "The Windows taskbar is still being restored.",
        ["Windows görev çubuğu geri yüklenemedi. Kapatmayı yeniden deneyin veya Windows görev çubuğu ayarlarını denetleyin."] = "Cannot restore the Windows taskbar. Try closing again or check Windows taskbar settings.",
        ["Ekran boyutları alınamadı."] = "Cannot read display dimensions.",
        ["QiDock ekranın alt kenarına yerleştirilemedi."] = "Cannot position QiDock along the bottom of the screen.",
        ["Windows görev çubuğunun otomatik açılması yeniden etkinleşti."] = "Windows taskbar auto-hide activation was enabled again.",
        ["Windows görev çubuğu yeniden gizlenemedi."] = "Cannot hide the Windows taskbar again.",
        ["Görev çubuğu kurtarma kaydı için yol oluşturulamadı."] = "Cannot create a location for the taskbar recovery record.",
        ["Görev çubuğu kurtarma kaydı geçersiz."] = "The taskbar recovery record is invalid.",
        ["Görev çubuğu ayarı geri yüklendi ancak kurtarma kaydı silinemedi."] = "The Windows taskbar was restored, but its recovery record could not be removed.",
        ["Görev çubuğu ayarı geri yüklendi ancak kurtarma kaydını silme izni yok."] = "The Windows taskbar was restored, but permission to remove its recovery record was denied.",
        ["Windows görev çubuğu kısayol klasörü okunamadı."] = "Cannot read the Windows taskbar shortcut folder.",
        ["Windows görev çubuğu kısayol klasörüne erişim izni yok."] = "Permission to access the Windows taskbar shortcut folder was denied.",
        ["Windows kısayol hizmeti başlatılamadı; görev çubuğu uygulamaları içe aktarılamadı."] = "Cannot start the Windows shortcut service; taskbar applications could not be imported.",
        ["Windows kısayol hizmeti durdu; görev çubuğu uygulamalarının bir bölümü içe aktarılamadı."] = "The Windows shortcut service stopped; some taskbar applications could not be imported.",
        ["Windows görev çubuğu sabitleme klasörü oluşturulamadı."] = "Cannot create the Windows taskbar pin folder.",
        ["Windows kısayol hizmeti başlatılamadı; sabitleme oluşturulamadı."] = "Cannot start the Windows shortcut service; the pin could not be created.",
        ["Kısayol nesnesi oluşturulamadı."] = "Cannot create a shortcut object.",
        ["Uygulama Windows görev çubuğuna sabitlenemedi."] = "Cannot pin the application to the Windows taskbar.",
        ["Kısayol Windows görev çubuğu sabitleme klasöründe değil."] = "The shortcut is outside the Windows taskbar pin folder.",
        ["Uygulama Windows görev çubuğu sabitlerinden kaldırılamadı."] = "Cannot remove the application from Windows taskbar pins.",
        ["Görev çubuğu sabitini kaldırmak için erişim izni yok."] = "Permission to remove the taskbar pin was denied."
    };

    private volatile AppLanguage _language;
    public static UiText Current { get; } = new();
    public AppLanguage Language => _language;
    public event PropertyChangedEventHandler? PropertyChanged;
    public string this[string key]
    {
        get
        {
            // A missing text must never take a window down with it: show the key and flag it in debug builds.
            if (!Entries.TryGetValue(key, out var entry))
            {
                System.Diagnostics.Debug.Fail("Missing UI text: " + key);
                return key;
            }
            return _language == AppLanguage.English ? entry.English : entry.Turkish;
        }
    }
    public static string Get(string key) => Current[key];
    // Turkish writes the sign first (%94), English after (94%); every percent label goes through here.
    public static string Percent(double value) => Format("Percent", Math.Round(value).ToString("0", System.Globalization.CultureInfo.InvariantCulture));
    public static string Format(string key, params object[] values) => string.Format(
        System.Globalization.CultureInfo.GetCultureInfo(Current._language == AppLanguage.English ? "en-US" : "tr-TR"), Get(key), values);

    // Preserve externally supplied errors when they are not one of our own localized messages.
    public static string LocalizeError(string message) => Current._language == AppLanguage.English
        && ErrorTranslations.TryGetValue(message, out var translated) ? translated : message;
    public void SetLanguage(AppLanguage language)
    {
        if (_language == language) return;
        _language = language;
        PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("Item[]"));
    }
}

[MarkupExtensionReturnType(typeof(string))]
public sealed class LocExtension(string key) : MarkupExtension
{
    public override object ProvideValue(IServiceProvider serviceProvider) =>
        new Binding($"[{key}]") { Source = UiText.Current, Mode = BindingMode.OneWay }.ProvideValue(serviceProvider);
}