Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(i18n): translate Turkish cloud sync errors

KeuqScc92d4534203
diff --git a/packages/i18n/src/locales/tr/index.ts b/packages/i18n/src/locales/tr/index.ts
index e9a9d9e1c..241bc9d31 100644
--- a/packages/i18n/src/locales/tr/index.ts
+++ b/packages/i18n/src/locales/tr/index.ts
@@ -805,28 +805,28 @@ sklm: {
title: "Bulut senkronizasyonu",
connectionTitle: "WebDAV bulut senkronizasyonu",
connectionDescription: "Şifreli bir WebDAV kasası üzerinden taşınabilir yapılandırmayı senkronize edin.",
- errorTitle: "Sync needs attention",
- errorDetails: "Technical details",
- backupPasswordOptional: "Leave this blank to keep the current vault password.",
- passwordTooShort: "The backup password must be at least 8 characters.",
- previewPending: "Pending activation: {{count}}",
- previewConflicts: "Conflicts: {{count}}",
+ errorTitle: "Senkronizasyon dikkat gerektiriyor",
+ errorDetails: "Teknik ayrıntılar",
+ backupPasswordOptional: "Geçerli kasa parolasını korumak için bunu boş bırakın.",
+ passwordTooShort: "Yedekleme parolası en az 8 karakter olmalıdır.",
+ previewPending: "Etkinleştirme bekleniyor: {{count}}",
+ previewConflicts: "Çakışmalar: {{count}}",
errors: {
- auth: "Check the WebDAV username and app password, then test the connection again.",
- permission: "This account cannot read and write the selected WebDAV directory.",
- notFound: "Check the WebDAV URL and directory. Use the WebDAV endpoint, not the website home page.",
- conflict: "Another device updated this backup. Sync again to merge, then review anything waiting for approval.",
- quota: "The remote storage is full. Free space or raise the quota, then retry.",
- rateLimit: "The server is rate limiting requests. Retry the sync in a moment.",
- server: "The WebDAV server is temporarily unavailable.",
- network: "Check the network, address, and certificate, then retry.",
- redirect: "The server redirected the request. Use the direct WebDAV URL.",
- unsupported: "This server does not support the required WebDAV operations. Try compatibility mode.",
- locked: "Enter the backup password to unlock sync.",
- invalid: "Check the server URL, directory, and required passwords.",
- password: "Use the backup password created for this vault, not the WebDAV password.",
- limit: "The backup is larger than the supported size. Sync fewer categories and retry.",
- unknown: "Sync did not finish. Check the connection and retry. Open the technical details if it keeps failing.",
+ auth: "WebDAV kullanıcı adını ve uygulama parolasını kontrol edip bağlantıyı yeniden test edin.",
+ permission: "Bu hesap seçilen WebDAV dizinini okuyup yazamıyor.",
+ notFound: "WebDAV URL'sini ve dizini kontrol edin. Web sitesinin ana sayfası yerine WebDAV uç noktasını kullanın.",
+ conflict: "Başka bir cihaz bu yedeği güncelledi. Birleştirmek için yeniden senkronize edin, ardından onay bekleyenleri inceleyin.",
+ quota: "Uzak depolama alanı dolu. Yer açın veya kotayı artırın, ardından yeniden deneyin.",
+ rateLimit: "Sunucu istekleri hız sınırlıyor. Senkronizasyonu biraz sonra yeniden deneyin.",
+ server: "WebDAV sunucusu geçici olarak kullanılamıyor.",
+ network: "Ağı, adresi ve sertifikayı kontrol edip yeniden deneyin.",
+ redirect: "Sunucu isteği yeniden yönlendirdi. Doğrudan WebDAV URL'sini kullanın.",
+ unsupported: "Bu sunucu gerekli WebDAV işlemlerini desteklemiyor. Uyumluluk modunu deneyin.",
+ locked: "Senkronizasyonun kilidini açmak için yedekleme parolasını girin.",
+ invalid: "Sunucu URL'sini, dizini ve gerekli parolaları kontrol edin.",
+ password: "WebDAV parolası yerine bu kasa için oluşturulan yedekleme parolasını kullanın.",
+ limit: "Yedek, desteklenen boyuttan büyük. Daha az kategoriyi senkronize edip yeniden deneyin.",
+ unknown: "Senkronizasyon tamamlanmadı. Bağlantıyı kontrol edip yeniden deneyin. Sorun sürerse teknik ayrıntıları açın.",
},
endpoint: "WebDAV URL'si",
endpointPlaceholder: "https://dav.example.com/",
diff --git a/packages/i18n/test/user-facing-copy.test.mjs b/packages/i18n/test/user-facing-copy.test.mjs
index b48631448..88af761d1 100644
--- a/packages/i18n/test/user-facing-copy.test.mjs
+++ b/packages/i18n/test/user-facing-copy.test.mjs
@@ -1,11 +1,12 @@
import assert from "node:assert/strict";
import { test } from "vitest";
-import { catalogs, en, flattenCatalog, ko, zhCN, zhTW } from "../src/index.ts";
+import { catalogs, en, flattenCatalog, ko, tr, zhCN, zhTW } from "../src/index.ts";
const english = flattenCatalog(en);
const chinese = flattenCatalog(zhCN);
const traditional = flattenCatalog(zhTW);
const korean = flattenCatalog(ko);
+const turkish = flattenCatalog(tr);
test("shell status and crash copy stay user-facing", () => {
assert.equal(english["app.tagline"], "Local AI coding partner");
@@ -67,6 +68,36 @@ test("common setup and marketplace copy avoid developer jargon", () => {
assert.equal(korean["nav.temporarySessions"], "임시 대화");
});
+test("Turkish cloud sync recovery copy stays localized", () => {
+ const keys = [
+ "settings.configSync.errorTitle",
+ "settings.configSync.errorDetails",
+ "settings.configSync.backupPasswordOptional",
+ "settings.configSync.passwordTooShort",
+ "settings.configSync.previewPending",
+ "settings.configSync.previewConflicts",
+ "settings.configSync.errors.auth",
+ "settings.configSync.errors.permission",
+ "settings.configSync.errors.notFound",
+ "settings.configSync.errors.conflict",
+ "settings.configSync.errors.quota",
+ "settings.configSync.errors.rateLimit",
+ "settings.configSync.errors.server",
+ "settings.configSync.errors.network",
+ "settings.configSync.errors.redirect",
+ "settings.configSync.errors.unsupported",
+ "settings.configSync.errors.locked",
+ "settings.configSync.errors.invalid",
+ "settings.configSync.errors.password",
+ "settings.configSync.errors.limit",
+ "settings.configSync.errors.unknown",
+ ];
+
+ for (const key of keys) {
+ assert.notEqual(turkish[key], english[key], `${key} must not fall back to English`);
+ }
+});
+
test("Plan mode and Auto permission copy stay explicit in both locales", () => {
assert.equal(english["settings.modePlan"], "Plan");
assert.equal(chinese["settings.modePlan"], "规划");