Android: the engine's download through the system, four more languages, a themed icon
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / android (push) Has been cancelled
Release / publish (push) Has been cancelled

The network is downloaded by DownloadManager: it goes on with the app closed, waits for
the network and shows a notification; the app picks the finished download up, checks its
SHA-256 and moves it in. German, French, Spanish and Italian, as on the site. A monochrome
layer for themed icons. UniFFI's Android mode picks the cleaner by the API level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-22 08:16:36 +03:00
parent 403880c03d
commit 3cb6730692
22 changed files with 782 additions and 144 deletions

View file

@ -9,7 +9,8 @@ All notable changes are listed here. Versions follow [Semantic Versioning](https
games with a search, the game with the notation under the board (variations, comments, NAG,
comment arrows), paging games, and Stockfish 19 with its evaluation, lines and a preview of
a line on the board. Two APKs: Stockfish built in, or Stockfish downloaded in the app.
Files are only read, never changed.
Files are only read, never changed. The engine's download goes on in the background, with
the app closed too. In English, Russian, German, French, Spanish and Italian.
## [0.9.0] — 2026-10-22

View file

@ -54,6 +54,7 @@ val uniffiBindings = tasks.register<Exec>("uniffiBindings") {
"--out-dir", bindings.get().asFile.path,
)
inputs.dir(rustLibs)
inputs.file(repo.resolve("crates/mobile-api/uniffi.toml"))
outputs.dir(bindings)
}
@ -145,7 +146,7 @@ android {
}
// The languages of the interface; the libraries' other translations stay out.
androidResources {
localeFilters += listOf("en", "ru")
localeFilters += listOf("en", "ru", "de", "fr", "es", "it")
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17

View file

@ -1,26 +1,26 @@
package io.github.vrubelroman.chesspenguin.data
import android.app.DownloadManager
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkCapabilities
import android.net.Uri
import io.github.vrubelroman.chesspenguin.BuildConfig
import io.github.vrubelroman.chesspenguin.R
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coroutines.cancelAndJoin
import kotlinx.coroutines.isActive
import kotlinx.coroutines.delay
import kotlinx.coroutines.ensureActive
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.isActive
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import java.io.File
import java.io.FileOutputStream
import java.io.IOException
import java.io.InputStream
import java.net.HttpURLConnection
import java.net.URL
import java.security.MessageDigest
/// Why the network of the engine is not there.
@ -36,18 +36,33 @@ sealed interface NetState {
/// Stockfish and its network (android-ui.md §8). The executable is a "library" of the
/// APK; the network is a file in the app's storage: copied from the APK in the "full"
/// build, downloaded on request in the "light" one, checked by its SHA-256 either way.
///
/// The download is the system's (DownloadManager): it goes on with the app closed,
/// waits for the network and resumes, and shows its progress in a notification. Its
/// id is kept, so the app picks the download up again when it starts.
class EngineFiles(private val context: Context, private val scope: CoroutineScope) {
private val dir = File(context.filesDir, "engine")
val net = File(dir, BuildConfig.NET_NAME)
private val part = File(dir, BuildConfig.NET_NAME + ".part")
private val prefs = context.getSharedPreferences("engine", Context.MODE_PRIVATE)
private val downloads get() = context.getSystemService(DownloadManager::class.java)
/// The executable, unpacked by the installer (useLegacyPackaging).
val executable: String get() = context.applicationInfo.nativeLibraryDir + "/libstockfish.so"
private val _state = MutableStateFlow(if (installed()) NetState.Ready else NetState.Missing)
private val _state = MutableStateFlow<NetState>(NetState.Missing)
val state: StateFlow<NetState> = _state.asStateFlow()
private var job: Job? = null
@Volatile private var connection: HttpURLConnection? = null
init {
when {
installed() -> _state.value = NetState.Ready
download() != NO_DOWNLOAD -> {
_state.value = NetState.Loading(0, BuildConfig.NET_SIZE)
watch(download())
}
}
}
/// A network checked when it was written: the right size is enough later.
private fun installed() = net.length() == BuildConfig.NET_SIZE
@ -61,132 +76,159 @@ class EngineFiles(private val context: Context, private val scope: CoroutineScop
return !caps.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED)
}
/// Gets the network ready: from the APK, or from the internet. Runs on in the app's
/// scope when the screen that asked goes away.
/// Gets the network ready: from the APK, or from the internet.
fun prepare() {
if (_state.value == NetState.Ready || _state.value is NetState.Loading) return
// At once: the sheet shows the progress (and "Cancel") from the first moment.
_state.value = NetState.Loading(part.length().coerceAtMost(BuildConfig.NET_SIZE), BuildConfig.NET_SIZE)
val previous = job
job = scope.launch(Dispatchers.IO) {
// A cancelled download may still be leaving: one writer of the file at a time.
previous?.cancelAndJoin()
val result = try {
dir.mkdirs()
if (builtIn) copyFromApk() else download()
NetState.Ready
} catch (e: NetFailure) {
NetState.Failed(e.problem)
} catch (e: IOException) {
NetState.Failed(if (dir.usableSpace < BuildConfig.NET_SIZE) NetProblem.NoSpace else NetProblem.Interrupted)
if (builtIn) {
_state.value = NetState.Loading(0, BuildConfig.NET_SIZE)
job = scope.launch(Dispatchers.IO) {
val result = try {
dir.mkdirs()
context.assets.open(BuildConfig.NET_NAME).use { install(it) }
NetState.Ready
} catch (e: NetFailure) {
NetState.Failed(e.problem)
} catch (e: IOException) {
NetState.Failed(if (dir.usableSpace < BuildConfig.NET_SIZE) NetProblem.NoSpace else NetProblem.Interrupted)
}
if (isActive) _state.value = result
}
// After "Cancel" the state is already "missing"; the broken connection is no failure.
if (isActive) _state.value = result
return
}
if (!online()) {
_state.value = NetState.Failed(NetProblem.NoInternet)
return
}
// The file is downloaded next to the app's files, then checked and moved in.
if (dir.usableSpace < 2 * BuildConfig.NET_SIZE) {
_state.value = NetState.Failed(NetProblem.NoSpace)
return
}
target()?.delete()
val request = DownloadManager.Request(Uri.parse(BuildConfig.NET_URL))
.setTitle(context.getString(R.string.download_title))
.setDestinationInExternalFilesDir(context, null, BuildConfig.NET_NAME)
.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE)
.setAllowedOverMetered(true)
val id = try {
downloads.enqueue(request)
} catch (e: IllegalArgumentException) {
// No shared storage for the download (or the download service is off).
_state.value = NetState.Failed(NetProblem.Interrupted)
return
}
prefs.edit().putLong(KEY, id).apply()
_state.value = NetState.Loading(0, BuildConfig.NET_SIZE)
watch(id)
}
/// Stops a download; what came is kept for the next one.
/// Stops a download and throws away what came.
fun cancel() {
job?.cancel()
// A read waiting for the network returns at once.
connection?.disconnect()
_state.value = NetState.Missing
val id = download()
if (id != NO_DOWNLOAD) downloads.remove(id)
forget()
part.delete()
if (!installed()) _state.value = NetState.Missing
}
/// Removes a downloaded network (Settings → "Delete the engine").
fun delete() {
cancel()
net.delete()
part.delete()
_state.value = NetState.Missing
}
private class NetFailure(val problem: NetProblem) : Exception()
private suspend fun copyFromApk() {
part.delete()
context.assets.open(BuildConfig.NET_NAME).use { write(it, append = false, start = 0) }
finish()
private fun download(): Long = prefs.getLong(KEY, NO_DOWNLOAD)
private fun forget() = prefs.edit().remove(KEY).apply()
/// Where the system puts the downloaded file (the app's own external folder).
private fun target(): File? = context.getExternalFilesDir(null)?.let { File(it, BuildConfig.NET_NAME) }
/// Follows a download of the system until it ends. The state is set on the main
/// thread, as "Cancel" sets it: after a cancel the watcher sets nothing more.
private fun watch(id: Long) {
job = scope.launch(Dispatchers.Main.immediate) {
while (isActive) {
val row = withContext(Dispatchers.IO) { progress(id) }
if (row == null) {
// Removed in the system's list of downloads.
forget()
_state.value = NetState.Missing
return@launch
}
when (row.status) {
DownloadManager.STATUS_SUCCESSFUL -> {
val result = withContext(Dispatchers.IO) {
try {
dir.mkdirs()
val file = target() ?: throw IOException("no external folder")
file.inputStream().use { install(it) }
NetState.Ready
} catch (e: NetFailure) {
NetState.Failed(e.problem)
} catch (e: IOException) {
NetState.Failed(if (dir.usableSpace < BuildConfig.NET_SIZE) NetProblem.NoSpace else NetProblem.Interrupted)
}
}
downloads.remove(id)
forget()
_state.value = result
return@launch
}
DownloadManager.STATUS_FAILED -> {
downloads.remove(id)
forget()
_state.value = NetState.Failed(
if (row.reason == DownloadManager.ERROR_INSUFFICIENT_SPACE) NetProblem.NoSpace else NetProblem.Interrupted,
)
return@launch
}
else -> _state.value = NetState.Loading(row.done.coerceAtLeast(0), BuildConfig.NET_SIZE)
}
delay(500)
}
}
}
private suspend fun download() {
if (!online()) throw NetFailure(NetProblem.NoInternet)
if (dir.usableSpace + part.length() < BuildConfig.NET_SIZE) throw NetFailure(NetProblem.NoSpace)
var have = part.length().takeIf { it < BuildConfig.NET_SIZE } ?: 0L
var url = URL(BuildConfig.NET_URL)
// GitHub answers with a redirect to its file host; follow it by hand to keep
// the Range header (resume after an interruption).
var conn: HttpURLConnection
var hops = 0
while (true) {
conn = url.openConnection() as HttpURLConnection
connection = conn
conn.instanceFollowRedirects = false
conn.connectTimeout = 15_000
conn.readTimeout = 30_000
if (have > 0) conn.setRequestProperty("Range", "bytes=$have-")
val code = try {
conn.responseCode
} catch (e: IOException) {
throw NetFailure(if (online()) NetProblem.Interrupted else NetProblem.NoInternet)
}
if (code in 300..399 && hops++ < 5) {
url = URL(url, conn.getHeaderField("Location"))
conn.disconnect()
continue
}
if (code == 416) {
// The part is already whole (or longer): check it.
conn.disconnect()
finish()
return
}
if (code != 200 && code != 206) throw NetFailure(NetProblem.Interrupted)
if (code == 200) have = 0
break
}
try {
conn.inputStream.use { write(it, append = have > 0, start = have) }
} catch (e: IOException) {
throw NetFailure(if (dir.usableSpace < 1_000_000) NetProblem.NoSpace else NetProblem.Interrupted)
} finally {
conn.disconnect()
}
finish()
}
private class Row(val status: Int, val reason: Int, val done: Long)
private suspend fun write(input: InputStream, append: Boolean, start: Long) = withContext(Dispatchers.IO) {
val total = BuildConfig.NET_SIZE
var done = start
FileOutputStream(part, append).use { out ->
private fun progress(id: Long): Row? =
downloads.query(DownloadManager.Query().setFilterById(id))?.use { c ->
if (!c.moveToFirst()) return null
Row(
c.getInt(c.getColumnIndexOrThrow(DownloadManager.COLUMN_STATUS)),
c.getInt(c.getColumnIndexOrThrow(DownloadManager.COLUMN_REASON)),
c.getLong(c.getColumnIndexOrThrow(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR)),
)
}
/// Writes the network into place, checking its SHA-256 on the way; a wrong file is
/// thrown away.
private suspend fun install(input: InputStream) {
val digest = MessageDigest.getInstance("SHA-256")
var done = 0L
part.outputStream().use { out ->
val buf = ByteArray(256 * 1024)
var last = 0L
while (true) {
ensureActive()
kotlin.coroutines.coroutineContext.ensureActive()
val n = input.read(buf)
if (n < 0) break
out.write(buf, 0, n)
digest.update(buf, 0, n)
done += n
if (done - last > 512 * 1024 && isActive) {
if (builtIn && done - last > 512 * 1024) {
last = done
_state.value = NetState.Loading(done, total)
_state.value = NetState.Loading(done, BuildConfig.NET_SIZE)
}
}
}
}
/// Checks the whole file and puts it in place, or throws it away.
private fun finish() {
val digest = MessageDigest.getInstance("SHA-256")
part.inputStream().use { input ->
val buf = ByteArray(1024 * 1024)
while (true) {
val n = input.read(buf)
if (n < 0) break
digest.update(buf, 0, n)
}
}
val sum = digest.digest().joinToString("") { "%02x".format(it) }
if (sum != BuildConfig.NET_SHA256) {
if (sum != BuildConfig.NET_SHA256 || done != BuildConfig.NET_SIZE) {
part.delete()
throw NetFailure(NetProblem.Corrupt)
}
@ -198,4 +240,9 @@ class EngineFiles(private val context: Context, private val scope: CoroutineScop
val caps = cm.getNetworkCapabilities(cm.activeNetwork) ?: return false
return caps.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)
}
private companion object {
const val KEY = "download"
const val NO_DOWNLOAD = -1L
}
}

View file

@ -7,7 +7,7 @@ import android.os.Build
import android.os.LocaleList
/// The interface languages; "" follows the system (android-ui.md §9).
val LANGUAGES = listOf("", "en", "ru")
val LANGUAGES = listOf("", "en", "ru", "de", "fr", "es", "it")
/// The language chosen in the app. Android 13+ keeps it itself (and shows it in the
/// system settings of the app); on Android 12 the app keeps it and applies it to its

View file

@ -275,8 +275,7 @@ fun EngineSheet(state: NetState, metered: Boolean, onDownload: () -> Unit, onCan
if (state.problem != NetProblem.NoSpace) TextButton(onClick = onDismiss) { Text(stringResource(R.string.not_now)) }
when (state.problem) {
NetProblem.NoSpace -> Button(onClick = onDismiss) { Text(stringResource(R.string.ok)) }
NetProblem.NoInternet -> Button(onClick = onDownload) { Text(stringResource(R.string.retry)) }
NetProblem.Interrupted -> Button(onClick = onDownload) { Text(stringResource(R.string.resume)) }
NetProblem.NoInternet, NetProblem.Interrupted -> Button(onClick = onDownload) { Text(stringResource(R.string.retry)) }
NetProblem.Corrupt -> Button(onClick = onDownload) { Text(stringResource(R.string.download_again)) }
}
}

View file

@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background" />
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
<monochrome android:drawable="@mipmap/ic_launcher_monochrome" />
</adaptive-icon>

View file

@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background" />
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
<monochrome android:drawable="@mipmap/ic_launcher_monochrome" />
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View file

@ -0,0 +1,153 @@
<resources>
<string name="sample_classics">Klassische Partien</string>
<string name="sample_alekhine">Aljechin</string>
<string name="empty_title">Hier erscheinen Ihre Datenbanken</string>
<string name="empty_text">Fügen Sie eine PGN-Datei oder ein .zip/.7z-Archiv hinzu — vom Telefon oder aus der Cloud.</string>
<string name="add_database">Datenbank hinzufügen</string>
<string name="open_samples">Beispielpartien öffnen</string>
<string name="not_opened">noch nicht geöffnet · %1$s</string>
<plurals name="games_count">
<item quantity="one">%1$s Partie</item>
<item quantity="other">%1$s Partien</item>
</plurals>
<string name="games_with_format">%1$s · %2$s</string>
<string name="menu">Menü</string>
<string name="rename">Umbenennen</string>
<string name="remove">Aus der Liste entfernen</string>
<string name="rename_hint">Der Name in der Liste. Die Datei wird nicht geändert.</string>
<string name="cancel">Abbrechen</string>
<string name="save">Speichern</string>
<string name="removed">Datenbank aus der Liste entfernt</string>
<string name="undo">Rückgängig</string>
<string name="back">Zurück</string>
<string name="reading">Wird gelesen…</string>
<string name="open_failed">Datenbank konnte nicht geöffnet werden</string>
<string name="search">Suchen</string>
<string name="search_hint">Spieler, Turnier, Jahr</string>
<string name="nothing_found">Nichts gefunden</string>
<string name="clear">Leeren</string>
<string name="game_of">%1$d von %2$d</string>
<string name="previous_game">Vorherige Partie</string>
<string name="next_game">Nächste Partie</string>
<string name="flip">Brett drehen</string>
<string name="to_start">Zum Anfang</string>
<string name="move_back">Zug zurück</string>
<string name="move_forward">Zug vor</string>
<string name="to_end">Zum Ende der Variante</string>
<string name="next_moves">Weiter:</string>
<string name="board_hint">Dies ist ein Partiebetrachter. Blättern Sie mit ◀ ▶ unten durch die Züge.</string>
<string name="board_description">Brett, Stellung nach %1$s</string>
<string name="board_start">Brett, Ausgangsstellung</string>
<string name="white_won">Weiß hat gewonnen</string>
<string name="black_won">Schwarz hat gewonnen</string>
<string name="draw">Remis</string>
<string name="game_failed">Partie konnte nicht gelesen werden</string>
<string name="engine">Engine</string>
<string name="thinking">Rechnet…</string>
<string name="depth">Tiefe %1$d</string>
<string name="paused">pausiert</string>
<string name="deeper">Tiefer</string>
<string name="more_lines">Mehr Varianten</string>
<string name="fewer_lines">Weniger Varianten</string>
<string name="engine_not_answering">Die Engine antwortet nicht</string>
<string name="engine_not_starting">Die Engine startet auf diesem Telefon nicht</string>
<string name="restart">Neu starten</string>
<string name="engine_line_preview">Engine-Variante · Zug %1$d von %2$d</string>
<string name="close">Schließen</string>
<string name="engine_sheet_title">Stockfish-Engine</string>
<string name="engine_sheet_text">Bewertet die Stellung und zeigt die besten Züge. Funktioniert offline — sie muss nur einmal heruntergeladen werden.</string>
<string name="engine_size">Größe: %1$d MB</string>
<string name="engine_metered">Gerade kein WLAN: Der Download nutzt mobile Daten.</string>
<string name="not_now">Nicht jetzt</string>
<string name="download">Herunterladen</string>
<string name="downloaded_of">%1$d von %2$d MB heruntergeladen</string>
<string name="cancel_download">Abbrechen</string>
<string name="download_cancelled">Download abgebrochen</string>
<string name="engine_ready">Die Engine ist bereit</string>
<string name="no_internet">Kein Internet. Verbinden Sie sich mit einem Netzwerk und versuchen Sie es erneut.</string>
<string name="download_title">ChessPenguin: Stockfish-Engine</string>
<string name="interrupted">Der Download wurde unterbrochen. Bitte versuchen Sie es erneut.</string>
<string name="no_space">Nicht genug Speicherplatz: %1$d MB nötig.</string>
<string name="corrupt">Die Engine-Datei wurde beim Download beschädigt. Laden Sie sie erneut herunter.</string>
<string name="retry">Erneut versuchen</string>
<string name="download_again">Erneut herunterladen</string>
<string name="ok">OK</string>
<string name="preparing_engine">Engine wird vorbereitet…</string>
<string name="settings">Einstellungen</string>
<string name="group_look">Darstellung</string>
<string name="group_engine">Engine</string>
<string name="theme">Design</string>
<string name="theme_system">Systemstandard</string>
<string name="theme_light">Hell</string>
<string name="theme_dark">Dunkel</string>
<string name="notation">Zugnotation</string>
<string name="notation_latin">Englische Buchstaben (K Q R B N)</string>
<string name="notation_figurines">Figurinen</string>
<string name="notation_local">Deutsche Buchstaben (K D T L S)</string>
<string name="notation_hint">Nur zur Anzeige. PGN verwendet immer K Q R B N.</string>
<string name="animation">Figurenanimation</string>
<string name="best_arrow">Pfeil für den besten Zug</string>
<string name="vibration">Vibration</string>
<string name="engine_built_in">Stockfish 19 · eingebaut</string>
<string name="engine_downloaded">Stockfish 19 · heruntergeladen</string>
<string name="engine_missing">Nicht geladen · Herunterladen (%1$d MB)</string>
<string name="engine_downloading">Wird heruntergeladen… %1$d von %2$d MB</string>
<string name="engine_delete">Engine löschen (gibt %1$d MB frei)</string>
<string name="engine_delete_question">Engine löschen? Sie können sie erneut herunterladen.</string>
<string name="delete">Löschen</string>
<string name="lines">Varianten</string>
<string name="time_per_position">Zeit pro Stellung</string>
<string name="seconds">%1$d s</string>
<string name="one_minute">1 min</string>
<string name="no_limit">Unbegrenzt</string>
<string name="threads">Threads</string>
<string name="memory">Speicher</string>
<string name="megabytes">%1$d MB</string>
<string name="engine_battery">Die Engine verbraucht Akku. Sie stoppt von selbst, wenn sich der Bildschirm ausschaltet.</string>
<string name="about">Über</string>
<string name="build_full">Stockfish eingebaut</string>
<string name="build_light">Stockfish wird in der App geladen</string>
<string name="alpha">Alpha</string>
<string name="about_text">Ein Betrachter für Schachdatenbanken: PGN, ChessBase, Archive. Dateien werden nur gelesen, nie geändert.</string>
<string name="licenses">Lizenzen und Autoren</string>
<string name="website">Website und Quellcode</string>
<string name="game_info">Partiedaten</string>
<string name="copy_pgn">PGN kopieren</string>
<string name="copy_fen">FEN kopieren</string>
<string name="share_game">Partie teilen</string>
<string name="notes">Hinweise</string>
<string name="engine_state_on">an</string>
<string name="engine_state_off">aus</string>
<string name="engine_state_missing">nicht geladen</string>
<string name="found_of">%1$s von %2$s gefunden</string>
<string name="group_game">Partie</string>
<string name="move_white">%1$d, Weiß, %2$s</string>
<string name="move_black">%1$d, Schwarz, %2$s</string>
<string name="current_move">aktueller Zug</string>
<string name="language">Sprache</string>
<string name="checkmate">Matt</string>
<string name="stalemate">Patt</string>
<string name="pgn_copied">PGN kopiert</string>
<string name="fen_copied">FEN kopiert</string>
<string name="tag_event">Turnier</string>
<string name="tag_site">Ort</string>
<string name="tag_date">Datum</string>
<string name="tag_round">Runde</string>
<string name="tag_white">Weiß</string>
<string name="tag_black">Schwarz</string>
<string name="tag_result">Ergebnis</string>
<string name="tag_white_elo">Elo Weiß</string>
<string name="tag_black_elo">Elo Schwarz</string>
<string name="tag_annotator">Kommentator</string>
<string name="tag_plies">Halbzüge</string>
<string name="open_no_access">Kein Zugriff auf die Datei: Sie wurde verschoben, gelöscht oder die Berechtigung wurde entzogen. Entfernen Sie sie aus der Liste und fügen Sie sie erneut hinzu.</string>
<string name="open_corrupt">Die Datei ist beschädigt oder keine Schachdatenbank.</string>
<string name="open_empty">Im Archiv ist keine PGN- oder ChessBase-Datenbank.</string>
<string name="open_unsupported">Diese Art von Datenbank kann nicht gelesen werden: %1$s</string>
</resources>

View file

@ -0,0 +1,154 @@
<resources>
<string name="sample_classics">Partidas clásicas</string>
<string name="sample_alekhine">Alekhine</string>
<string name="empty_title">Aquí aparecerán tus bases</string>
<string name="empty_text">Añade un archivo PGN o un archivo comprimido .zip/.7z — desde el teléfono o la nube.</string>
<string name="add_database">Añadir base</string>
<string name="open_samples">Abrir partidas de ejemplo</string>
<string name="not_opened">aún sin abrir · %1$s</string>
<plurals name="games_count">
<item quantity="one">%1$s partida</item>
<item quantity="many">%1$s de partidas</item>
<item quantity="other">%1$s partidas</item>
</plurals>
<string name="games_with_format">%1$s · %2$s</string>
<string name="menu">Menú</string>
<string name="rename">Cambiar nombre</string>
<string name="remove">Quitar de la lista</string>
<string name="rename_hint">El nombre en la lista. El archivo no se modifica.</string>
<string name="cancel">Cancelar</string>
<string name="save">Guardar</string>
<string name="removed">Base quitada de la lista</string>
<string name="undo">Deshacer</string>
<string name="back">Atrás</string>
<string name="reading">Leyendo…</string>
<string name="open_failed">No se pudo abrir la base</string>
<string name="search">Buscar</string>
<string name="search_hint">Jugador, torneo, año</string>
<string name="nothing_found">No se encontró nada</string>
<string name="clear">Borrar</string>
<string name="game_of">%1$d de %2$d</string>
<string name="previous_game">Partida anterior</string>
<string name="next_game">Partida siguiente</string>
<string name="flip">Girar el tablero</string>
<string name="to_start">Al inicio</string>
<string name="move_back">Jugada atrás</string>
<string name="move_forward">Jugada adelante</string>
<string name="to_end">Al final de la línea</string>
<string name="next_moves">Siguiente:</string>
<string name="board_hint">Es un visor de partidas. Recorre las jugadas con ◀ ▶ abajo.</string>
<string name="board_description">Tablero, posición tras %1$s</string>
<string name="board_start">Tablero, posición inicial</string>
<string name="white_won">Ganaron las blancas</string>
<string name="black_won">Ganaron las negras</string>
<string name="draw">Tablas</string>
<string name="game_failed">No se pudo leer la partida</string>
<string name="engine">Motor</string>
<string name="thinking">Pensando…</string>
<string name="depth">profundidad %1$d</string>
<string name="paused">en pausa</string>
<string name="deeper">Más profundo</string>
<string name="more_lines">Más líneas</string>
<string name="fewer_lines">Menos líneas</string>
<string name="engine_not_answering">El motor no responde</string>
<string name="engine_not_starting">El motor no arranca en este teléfono</string>
<string name="restart">Reiniciar</string>
<string name="engine_line_preview">Línea del motor · jugada %1$d de %2$d</string>
<string name="close">Cerrar</string>
<string name="engine_sheet_title">Motor Stockfish</string>
<string name="engine_sheet_text">Evalúa la posición y muestra las mejores jugadas. Funciona sin conexión — solo hay que descargarlo una vez.</string>
<string name="engine_size">Tamaño: %1$d MB</string>
<string name="engine_metered">Ahora no hay Wi-Fi: la descarga usará datos móviles.</string>
<string name="not_now">Ahora no</string>
<string name="download">Descargar</string>
<string name="downloaded_of">Descargados %1$d de %2$d MB</string>
<string name="cancel_download">Cancelar</string>
<string name="download_cancelled">Descarga cancelada</string>
<string name="engine_ready">El motor está listo</string>
<string name="no_internet">Sin Internet. Conéctate a una red e inténtalo de nuevo.</string>
<string name="download_title">ChessPenguin: motor Stockfish</string>
<string name="interrupted">La descarga se detuvo. Inténtalo de nuevo.</string>
<string name="no_space">No hay espacio suficiente: se necesitan %1$d MB.</string>
<string name="corrupt">El archivo del motor se dañó durante la descarga. Descárgalo de nuevo.</string>
<string name="retry">Reintentar</string>
<string name="download_again">Descargar de nuevo</string>
<string name="ok">Aceptar</string>
<string name="preparing_engine">Preparando el motor…</string>
<string name="settings">Ajustes</string>
<string name="group_look">Apariencia</string>
<string name="group_engine">Motor</string>
<string name="theme">Tema</string>
<string name="theme_system">Predeterminado del sistema</string>
<string name="theme_light">Claro</string>
<string name="theme_dark">Oscuro</string>
<string name="notation">Notación de jugadas</string>
<string name="notation_latin">Letras inglesas (K Q R B N)</string>
<string name="notation_figurines">Figurines</string>
<string name="notation_local">Letras españolas (R D T A C)</string>
<string name="notation_hint">Solo para mostrar. PGN siempre usa K Q R B N.</string>
<string name="animation">Animación de piezas</string>
<string name="best_arrow">Flecha de la mejor jugada</string>
<string name="vibration">Vibración</string>
<string name="engine_built_in">Stockfish 19 · incluido</string>
<string name="engine_downloaded">Stockfish 19 · descargado</string>
<string name="engine_missing">No descargado · Descargar (%1$d MB)</string>
<string name="engine_downloading">Descargando… %1$d de %2$d MB</string>
<string name="engine_delete">Eliminar el motor (libera %1$d MB)</string>
<string name="engine_delete_question">¿Eliminar el motor? Puedes volver a descargarlo.</string>
<string name="delete">Eliminar</string>
<string name="lines">Líneas</string>
<string name="time_per_position">Tiempo por posición</string>
<string name="seconds">%1$d s</string>
<string name="one_minute">1 min</string>
<string name="no_limit">Sin límite</string>
<string name="threads">Hilos</string>
<string name="memory">Memoria</string>
<string name="megabytes">%1$d MB</string>
<string name="engine_battery">El motor consume batería. Se detiene solo cuando se apaga la pantalla.</string>
<string name="about">Acerca de</string>
<string name="build_full">Stockfish incluido</string>
<string name="build_light">Stockfish se descarga en la aplicación</string>
<string name="alpha">alfa</string>
<string name="about_text">Un visor de bases de ajedrez: PGN, ChessBase, archivos comprimidos. Los archivos solo se leen, nunca se modifican.</string>
<string name="licenses">Licencias y autores</string>
<string name="website">Sitio web y código fuente</string>
<string name="game_info">Datos de la partida</string>
<string name="copy_pgn">Copiar PGN</string>
<string name="copy_fen">Copiar FEN</string>
<string name="share_game">Compartir partida</string>
<string name="notes">Notas</string>
<string name="engine_state_on">activado</string>
<string name="engine_state_off">desactivado</string>
<string name="engine_state_missing">no descargado</string>
<string name="found_of">Encontradas %1$s de %2$s</string>
<string name="group_game">Partida</string>
<string name="move_white">%1$d, blancas, %2$s</string>
<string name="move_black">%1$d, negras, %2$s</string>
<string name="current_move">jugada actual</string>
<string name="language">Idioma</string>
<string name="checkmate">Jaque mate</string>
<string name="stalemate">Ahogado</string>
<string name="pgn_copied">PGN copiado</string>
<string name="fen_copied">FEN copiado</string>
<string name="tag_event">Torneo</string>
<string name="tag_site">Lugar</string>
<string name="tag_date">Fecha</string>
<string name="tag_round">Ronda</string>
<string name="tag_white">Blancas</string>
<string name="tag_black">Negras</string>
<string name="tag_result">Resultado</string>
<string name="tag_white_elo">Elo blancas</string>
<string name="tag_black_elo">Elo negras</string>
<string name="tag_annotator">Comentarista</string>
<string name="tag_plies">Medias jugadas</string>
<string name="open_no_access">Sin acceso al archivo: se movió, se eliminó o se retiró el permiso. Quítalo de la lista y vuelve a añadirlo.</string>
<string name="open_corrupt">El archivo está dañado o no es una base de ajedrez.</string>
<string name="open_empty">El archivo comprimido no contiene ninguna base PGN ni ChessBase.</string>
<string name="open_unsupported">Este tipo de base no se puede leer: %1$s</string>
</resources>

View file

@ -0,0 +1,154 @@
<resources>
<string name="sample_classics">Parties classiques</string>
<string name="sample_alekhine">Alekhine</string>
<string name="empty_title">Vos bases apparaîtront ici</string>
<string name="empty_text">Ajoutez un fichier PGN ou une archive .zip/.7z — depuis votre téléphone ou le cloud.</string>
<string name="add_database">Ajouter une base</string>
<string name="open_samples">Ouvrir les parties d’exemple</string>
<string name="not_opened">pas encore ouverte · %1$s</string>
<plurals name="games_count">
<item quantity="one">%1$s partie</item>
<item quantity="many">%1$s de parties</item>
<item quantity="other">%1$s parties</item>
</plurals>
<string name="games_with_format">%1$s · %2$s</string>
<string name="menu">Menu</string>
<string name="rename">Renommer</string>
<string name="remove">Retirer de la liste</string>
<string name="rename_hint">Le nom dans la liste. Le fichier n’est pas modifié.</string>
<string name="cancel">Annuler</string>
<string name="save">Enregistrer</string>
<string name="removed">Base retirée de la liste</string>
<string name="undo">Annuler</string>
<string name="back">Retour</string>
<string name="reading">Lecture…</string>
<string name="open_failed">Impossible d’ouvrir la base</string>
<string name="search">Rechercher</string>
<string name="search_hint">Joueur, tournoi, année</string>
<string name="nothing_found">Rien trouvé</string>
<string name="clear">Effacer</string>
<string name="game_of">%1$d sur %2$d</string>
<string name="previous_game">Partie précédente</string>
<string name="next_game">Partie suivante</string>
<string name="flip">Retourner l’échiquier</string>
<string name="to_start">Au début</string>
<string name="move_back">Coup précédent</string>
<string name="move_forward">Coup suivant</string>
<string name="to_end">À la fin de la ligne</string>
<string name="next_moves">Suite :</string>
<string name="board_hint">Ceci est une visionneuse de parties. Parcourez les coups avec ◀ ▶ en bas.</string>
<string name="board_description">Échiquier, position après %1$s</string>
<string name="board_start">Échiquier, position initiale</string>
<string name="white_won">Les Blancs ont gagné</string>
<string name="black_won">Les Noirs ont gagné</string>
<string name="draw">Nulle</string>
<string name="game_failed">Impossible de lire la partie</string>
<string name="engine">Moteur</string>
<string name="thinking">Réflexion…</string>
<string name="depth">profondeur %1$d</string>
<string name="paused">en pause</string>
<string name="deeper">Plus loin</string>
<string name="more_lines">Plus de lignes</string>
<string name="fewer_lines">Moins de lignes</string>
<string name="engine_not_answering">Le moteur ne répond pas</string>
<string name="engine_not_starting">Le moteur ne démarre pas sur ce téléphone</string>
<string name="restart">Redémarrer</string>
<string name="engine_line_preview">Ligne du moteur · coup %1$d sur %2$d</string>
<string name="close">Fermer</string>
<string name="engine_sheet_title">Moteur Stockfish</string>
<string name="engine_sheet_text">Évalue la position et montre les meilleurs coups. Fonctionne hors ligne — il suffit de le télécharger une fois.</string>
<string name="engine_size">Taille : %1$d Mo</string>
<string name="engine_metered">Pas de Wi-Fi pour l’instant : le téléchargement utilisera les données mobiles.</string>
<string name="not_now">Plus tard</string>
<string name="download">Télécharger</string>
<string name="downloaded_of">%1$d sur %2$d Mo téléchargés</string>
<string name="cancel_download">Annuler</string>
<string name="download_cancelled">Téléchargement annulé</string>
<string name="engine_ready">Le moteur est prêt</string>
<string name="no_internet">Pas d’Internet. Connectez-vous à un réseau et réessayez.</string>
<string name="download_title">ChessPenguin : moteur Stockfish</string>
<string name="interrupted">Le téléchargement s’est arrêté. Veuillez réessayer.</string>
<string name="no_space">Espace insuffisant : %1$d Mo nécessaires.</string>
<string name="corrupt">Le fichier du moteur a été endommagé pendant le téléchargement. Téléchargez-le à nouveau.</string>
<string name="retry">Réessayer</string>
<string name="download_again">Télécharger à nouveau</string>
<string name="ok">OK</string>
<string name="preparing_engine">Préparation du moteur…</string>
<string name="settings">Paramètres</string>
<string name="group_look">Apparence</string>
<string name="group_engine">Moteur</string>
<string name="theme">Thème</string>
<string name="theme_system">Par défaut du système</string>
<string name="theme_light">Clair</string>
<string name="theme_dark">Sombre</string>
<string name="notation">Notation des coups</string>
<string name="notation_latin">Lettres anglaises (K Q R B N)</string>
<string name="notation_figurines">Figurines</string>
<string name="notation_local">Lettres françaises (R D T F C)</string>
<string name="notation_hint">Affichage seulement. Le PGN utilise toujours K Q R B N.</string>
<string name="animation">Animation des pièces</string>
<string name="best_arrow">Flèche du meilleur coup</string>
<string name="vibration">Vibration</string>
<string name="engine_built_in">Stockfish 19 · intégré</string>
<string name="engine_downloaded">Stockfish 19 · téléchargé</string>
<string name="engine_missing">Non téléchargé · Télécharger (%1$d Mo)</string>
<string name="engine_downloading">Téléchargement… %1$d sur %2$d Mo</string>
<string name="engine_delete">Supprimer le moteur (libère %1$d Mo)</string>
<string name="engine_delete_question">Supprimer le moteur ? Vous pourrez le télécharger à nouveau.</string>
<string name="delete">Supprimer</string>
<string name="lines">Lignes</string>
<string name="time_per_position">Temps par position</string>
<string name="seconds">%1$d s</string>
<string name="one_minute">1 min</string>
<string name="no_limit">Sans limite</string>
<string name="threads">Threads</string>
<string name="memory">Mémoire</string>
<string name="megabytes">%1$d Mo</string>
<string name="engine_battery">Le moteur consomme de la batterie. Il s’arrête de lui-même quand l’écran s’éteint.</string>
<string name="about">À propos</string>
<string name="build_full">Stockfish intégré</string>
<string name="build_light">Stockfish téléchargé dans l’application</string>
<string name="alpha">alpha</string>
<string name="about_text">Une visionneuse de bases d’échecs : PGN, ChessBase, archives. Les fichiers sont seulement lus, jamais modifiés.</string>
<string name="licenses">Licences et auteurs</string>
<string name="website">Site web et code source</string>
<string name="game_info">Détails de la partie</string>
<string name="copy_pgn">Copier le PGN</string>
<string name="copy_fen">Copier la FEN</string>
<string name="share_game">Partager la partie</string>
<string name="notes">Remarques</string>
<string name="engine_state_on">activé</string>
<string name="engine_state_off">désactivé</string>
<string name="engine_state_missing">non téléchargé</string>
<string name="found_of">%1$s trouvées sur %2$s</string>
<string name="group_game">Partie</string>
<string name="move_white">%1$d, Blancs, %2$s</string>
<string name="move_black">%1$d, Noirs, %2$s</string>
<string name="current_move">coup actuel</string>
<string name="language">Langue</string>
<string name="checkmate">Échec et mat</string>
<string name="stalemate">Pat</string>
<string name="pgn_copied">PGN copié</string>
<string name="fen_copied">FEN copiée</string>
<string name="tag_event">Tournoi</string>
<string name="tag_site">Lieu</string>
<string name="tag_date">Date</string>
<string name="tag_round">Ronde</string>
<string name="tag_white">Blancs</string>
<string name="tag_black">Noirs</string>
<string name="tag_result">Résultat</string>
<string name="tag_white_elo">Elo Blancs</string>
<string name="tag_black_elo">Elo Noirs</string>
<string name="tag_annotator">Commentateur</string>
<string name="tag_plies">Demi-coups</string>
<string name="open_no_access">Pas d’accès au fichier : il a été déplacé, supprimé ou son autorisation a été retirée. Retirez-le de la liste et ajoutez-le à nouveau.</string>
<string name="open_corrupt">Le fichier est endommagé ou n’est pas une base d’échecs.</string>
<string name="open_empty">L’archive ne contient aucune base PGN ou ChessBase.</string>
<string name="open_unsupported">Ce type de base ne peut pas être lu : %1$s</string>
</resources>

View file

@ -0,0 +1,154 @@
<resources>
<string name="sample_classics">Partite classiche</string>
<string name="sample_alekhine">Alekhine</string>
<string name="empty_title">Qui compariranno i tuoi database</string>
<string name="empty_text">Aggiungi un file PGN o un archivio .zip/.7z — dal telefono o dal cloud.</string>
<string name="add_database">Aggiungi database</string>
<string name="open_samples">Apri le partite di esempio</string>
<string name="not_opened">non ancora aperto · %1$s</string>
<plurals name="games_count">
<item quantity="one">%1$s partita</item>
<item quantity="many">%1$s di partite</item>
<item quantity="other">%1$s partite</item>
</plurals>
<string name="games_with_format">%1$s · %2$s</string>
<string name="menu">Menu</string>
<string name="rename">Rinomina</string>
<string name="remove">Rimuovi dall\'elenco</string>
<string name="rename_hint">Il nome nell\'elenco. Il file non viene modificato.</string>
<string name="cancel">Annulla</string>
<string name="save">Salva</string>
<string name="removed">Database rimosso dall\'elenco</string>
<string name="undo">Annulla</string>
<string name="back">Indietro</string>
<string name="reading">Lettura…</string>
<string name="open_failed">Impossibile aprire il database</string>
<string name="search">Cerca</string>
<string name="search_hint">Giocatore, torneo, anno</string>
<string name="nothing_found">Nessun risultato</string>
<string name="clear">Cancella</string>
<string name="game_of">%1$d di %2$d</string>
<string name="previous_game">Partita precedente</string>
<string name="next_game">Partita successiva</string>
<string name="flip">Ruota la scacchiera</string>
<string name="to_start">All\'inizio</string>
<string name="move_back">Mossa indietro</string>
<string name="move_forward">Mossa avanti</string>
<string name="to_end">Alla fine della linea</string>
<string name="next_moves">Seguito:</string>
<string name="board_hint">Questo è un visualizzatore di partite. Scorri le mosse con ◀ ▶ in basso.</string>
<string name="board_description">Scacchiera, posizione dopo %1$s</string>
<string name="board_start">Scacchiera, posizione iniziale</string>
<string name="white_won">Hanno vinto i bianchi</string>
<string name="black_won">Hanno vinto i neri</string>
<string name="draw">Patta</string>
<string name="game_failed">Impossibile leggere la partita</string>
<string name="engine">Motore</string>
<string name="thinking">Sto pensando…</string>
<string name="depth">profondità %1$d</string>
<string name="paused">in pausa</string>
<string name="deeper">Più a fondo</string>
<string name="more_lines">Più linee</string>
<string name="fewer_lines">Meno linee</string>
<string name="engine_not_answering">Il motore non risponde</string>
<string name="engine_not_starting">Il motore non si avvia su questo telefono</string>
<string name="restart">Riavvia</string>
<string name="engine_line_preview">Linea del motore · mossa %1$d di %2$d</string>
<string name="close">Chiudi</string>
<string name="engine_sheet_title">Motore Stockfish</string>
<string name="engine_sheet_text">Valuta la posizione e mostra le mosse migliori. Funziona offline — basta scaricarlo una volta.</string>
<string name="engine_size">Dimensione: %1$d MB</string>
<string name="engine_metered">Ora non c\'è Wi-Fi: il download userà i dati mobili.</string>
<string name="not_now">Non ora</string>
<string name="download">Scarica</string>
<string name="downloaded_of">Scaricati %1$d di %2$d MB</string>
<string name="cancel_download">Annulla</string>
<string name="download_cancelled">Download annullato</string>
<string name="engine_ready">Il motore è pronto</string>
<string name="no_internet">Nessuna connessione Internet. Connettiti a una rete e riprova.</string>
<string name="download_title">ChessPenguin: motore Stockfish</string>
<string name="interrupted">Il download si è interrotto. Riprova.</string>
<string name="no_space">Spazio insufficiente: servono %1$d MB.</string>
<string name="corrupt">Il file del motore si è danneggiato durante il download. Scaricalo di nuovo.</string>
<string name="retry">Riprova</string>
<string name="download_again">Scarica di nuovo</string>
<string name="ok">OK</string>
<string name="preparing_engine">Preparazione del motore…</string>
<string name="settings">Impostazioni</string>
<string name="group_look">Aspetto</string>
<string name="group_engine">Motore</string>
<string name="theme">Tema</string>
<string name="theme_system">Predefinito di sistema</string>
<string name="theme_light">Chiaro</string>
<string name="theme_dark">Scuro</string>
<string name="notation">Notazione delle mosse</string>
<string name="notation_latin">Lettere inglesi (K Q R B N)</string>
<string name="notation_figurines">Figurine</string>
<string name="notation_local">Lettere italiane (R D T A C)</string>
<string name="notation_hint">Solo per la visualizzazione. Il PGN usa sempre K Q R B N.</string>
<string name="animation">Animazione dei pezzi</string>
<string name="best_arrow">Freccia della mossa migliore</string>
<string name="vibration">Vibrazione</string>
<string name="engine_built_in">Stockfish 19 · incluso</string>
<string name="engine_downloaded">Stockfish 19 · scaricato</string>
<string name="engine_missing">Non scaricato · Scarica (%1$d MB)</string>
<string name="engine_downloading">Scaricamento… %1$d di %2$d MB</string>
<string name="engine_delete">Elimina il motore (libera %1$d MB)</string>
<string name="engine_delete_question">Eliminare il motore? Potrai scaricarlo di nuovo.</string>
<string name="delete">Elimina</string>
<string name="lines">Linee</string>
<string name="time_per_position">Tempo per posizione</string>
<string name="seconds">%1$d s</string>
<string name="one_minute">1 min</string>
<string name="no_limit">Nessun limite</string>
<string name="threads">Thread</string>
<string name="memory">Memoria</string>
<string name="megabytes">%1$d MB</string>
<string name="engine_battery">Il motore consuma batteria. Si ferma da solo quando lo schermo si spegne.</string>
<string name="about">Informazioni</string>
<string name="build_full">Stockfish incluso</string>
<string name="build_light">Stockfish si scarica nell\'app</string>
<string name="alpha">alfa</string>
<string name="about_text">Un visualizzatore di database scacchistici: PGN, ChessBase, archivi. I file vengono solo letti, mai modificati.</string>
<string name="licenses">Licenze e autori</string>
<string name="website">Sito web e codice sorgente</string>
<string name="game_info">Dati della partita</string>
<string name="copy_pgn">Copia PGN</string>
<string name="copy_fen">Copia FEN</string>
<string name="share_game">Condividi la partita</string>
<string name="notes">Note</string>
<string name="engine_state_on">attivo</string>
<string name="engine_state_off">disattivato</string>
<string name="engine_state_missing">non scaricato</string>
<string name="found_of">Trovate %1$s di %2$s</string>
<string name="group_game">Partita</string>
<string name="move_white">%1$d, Bianco, %2$s</string>
<string name="move_black">%1$d, Nero, %2$s</string>
<string name="current_move">mossa attuale</string>
<string name="language">Lingua</string>
<string name="checkmate">Scacco matto</string>
<string name="stalemate">Stallo</string>
<string name="pgn_copied">PGN copiato</string>
<string name="fen_copied">FEN copiata</string>
<string name="tag_event">Torneo</string>
<string name="tag_site">Luogo</string>
<string name="tag_date">Data</string>
<string name="tag_round">Turno</string>
<string name="tag_white">Bianco</string>
<string name="tag_black">Nero</string>
<string name="tag_result">Risultato</string>
<string name="tag_white_elo">Elo Bianco</string>
<string name="tag_black_elo">Elo Nero</string>
<string name="tag_annotator">Commentatore</string>
<string name="tag_plies">Semimosse</string>
<string name="open_no_access">Nessun accesso al file: è stato spostato, eliminato o il permesso è stato revocato. Rimuovilo dall\'elenco e aggiungilo di nuovo.</string>
<string name="open_corrupt">Il file è danneggiato o non è un database scacchistico.</string>
<string name="open_empty">Nell\'archivio non c\'è alcun database PGN o ChessBase.</string>
<string name="open_unsupported">Questo tipo di database non può essere letto: %1$s</string>
</resources>

View file

@ -26,7 +26,6 @@
<string name="reading">Читаю…</string>
<string name="open_failed">Не удалось открыть базу</string>
<string name="no_access">Нет доступа к файлу. Добавьте его заново.</string>
<string name="search">Поиск</string>
<string name="search_hint">Игрок, турнир, год</string>
<string name="nothing_found">Ничего не найдено</string>
@ -72,11 +71,11 @@
<string name="download_cancelled">Загрузка отменена</string>
<string name="engine_ready">Движок готов</string>
<string name="no_internet">Нет интернета. Подключитесь к сети и попробуйте ещё раз.</string>
<string name="interrupted">Загрузка прервалась. Скачанное сохранено.</string>
<string name="download_title">ChessPenguin: движок Stockfish</string>
<string name="interrupted">Загрузка остановилась. Попробуйте ещё раз.</string>
<string name="no_space">Не хватает места: нужно %1$d МБ.</string>
<string name="corrupt">Файл движка повреждён при загрузке. Скачайте его ещё раз.</string>
<string name="retry">Повторить</string>
<string name="resume">Продолжить</string>
<string name="download_again">Скачать снова</string>
<string name="ok">Понятно</string>
<string name="preparing_engine">Готовлю движок…</string>

View file

@ -1,5 +1,5 @@
<resources>
<string name="app_name">ChessPenguin</string>
<string name="app_name" translatable="false">ChessPenguin</string>
<string name="sample_classics">Classic games</string>
<string name="sample_alekhine">Alekhine</string>
@ -25,7 +25,6 @@
<string name="reading">Reading…</string>
<string name="open_failed">Could not open the database</string>
<string name="no_access">No access to the file. Add it again.</string>
<string name="search">Search</string>
<string name="search_hint">Player, event, year</string>
<string name="nothing_found">Nothing found</string>
@ -71,11 +70,11 @@
<string name="download_cancelled">Download cancelled</string>
<string name="engine_ready">The engine is ready</string>
<string name="no_internet">No internet. Connect to a network and try again.</string>
<string name="interrupted">The download was interrupted. The downloaded part is kept.</string>
<string name="download_title">ChessPenguin: Stockfish engine</string>
<string name="interrupted">The download stopped. Please try again.</string>
<string name="no_space">Not enough space: %1$d MB needed.</string>
<string name="corrupt">The engine file was damaged during the download. Download it again.</string>
<string name="retry">Try again</string>
<string name="resume">Continue</string>
<string name="download_again">Download again</string>
<string name="ok">OK</string>
<string name="preparing_engine">Preparing the engine…</string>

View file

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
Sample backup rules file; uncomment and customize as necessary.
See https://developer.android.com/guide/topics/data/autobackup
for details.
Note: This file is ignored for devices older than API 31
See https://developer.android.com/about/versions/12/backup-restore
-->
<full-backup-content>
<!--
<include domain="sharedpref" path="."/>
<exclude domain="sharedpref" path="device.xml"/>
-->
</full-backup-content>

View file

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
Sample data extraction rules file; uncomment and customize as necessary.
See https://developer.android.com/about/versions/12/backup-restore#xml-changes
for details.
-->
<data-extraction-rules>
<cloud-backup>
<!-- TODO: Use <include> and <exclude> to control what is backed up.
<include .../>
<exclude .../>
-->
</cloud-backup>
<!--
<device-transfer>
<include .../>
<exclude .../>
</device-transfer>
-->
</data-extraction-rules>

View file

@ -3,4 +3,8 @@
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
<locale android:name="en" />
<locale android:name="ru" />
<locale android:name="de" />
<locale android:name="fr" />
<locale android:name="es" />
<locale android:name="it" />
</locale-config>

View file

@ -0,0 +1,3 @@
# Kotlin bindings for Android: the cleaner of the system on Android 13+, JNA before.
[bindings.kotlin]
android = true