Translate app UI from Turkish to English

Translates string resources, hardcoded layout text and user-facing
strings in Java sources (toasts, dialogs, status labels, upload log).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-17 11:38:00 +02:00
co-authored by Claude Opus 5.5
parent 8f49871e6f
commit 864ac612da
12 changed files with 170 additions and 170 deletions
@@ -50,7 +50,7 @@ final class UpdateHook {
if (update != null && update.hashUrl != null)
new android.os.Handler(android.os.Looper.getMainLooper())
.post(() -> android.widget.Toast.makeText(app,
"Güncelleme hazır: " + update.versionName,
"Update available: " + update.versionName,
android.widget.Toast.LENGTH_LONG).show());
} catch (Throwable t) {
Log.w(TAG, "Startup update check failed", t);
@@ -69,7 +69,7 @@ final class UpdateHook {
Context app = context.getApplicationContext();
android.os.Handler main = new android.os.Handler(android.os.Looper.getMainLooper());
if (!checking.compareAndSet(false, true)) {
if (listener != null) main.post(() -> listener.onResult("Güncelleme kontrolü zaten sürüyor"));
if (listener != null) main.post(() -> listener.onResult("Update check already in progress"));
return;
}
new Thread(() -> {
@@ -78,7 +78,7 @@ final class UpdateHook {
message = runCheck(app, listener, main);
} catch (Throwable t) {
Log.w(TAG, "Update check threw", t);
message = "Güncelleme kontrolü başarısız";
message = "Update check failed";
} finally {
checking.set(false);
}
@@ -97,11 +97,11 @@ final class UpdateHook {
current = app.getPackageManager()
.getPackageInfo(app.getPackageName(), 0).versionName;
} catch (Exception e) {
return "Sürüm okunamadı";
return "Could not read version";
}
OtaUpdater.Update update = OtaUpdater.check(current);
if (update == null) return "Güncel (" + current + ")";
if (update == null) return "Up to date (" + current + ")";
Log.i(TAG, "Update available: " + update.versionName);
String expectedHash;
@@ -109,16 +109,16 @@ final class UpdateHook {
expectedHash = OtaUpdater.fetchExpectedSha256(update);
} catch (IOException e) {
Log.w(TAG, "OTA hash unavailable", e);
return "Güncelleme reddedildi: SHA-256 doğrulaması yok";
return "Update refused: no SHA-256 verification";
}
File apk = OtaUpdater.download(app, update, expectedHash, percent -> {
if (listener != null) main.post(() -> listener.onProgress(percent));
});
if (apk == null) return "İndirme veya SHA-256 doğrulaması başarısız ("
if (apk == null) return "Download or SHA-256 verification failed ("
+ update.versionName + ")";
if (!OtaUpdater.openDownloads(app))
return "APK Downloads'a indirildi; dosya yöneticisi açılamadı";
return update.versionName + ".apk Downloads'a indirildi — dosyaya dokunup kurun";
return "APK downloaded to Downloads; could not open the file manager";
return update.versionName + ".apk downloaded to Downloads — tap the file to install";
}
}