mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
Fifth batch of the note-ui-commons extraction, and the first to use the platform-specific @Composable slot pattern the plan calls for (§3e/§4). The PS1 save card (kind 38192) is pure value-in except for its animated 16×16 icon, which is decoded from raw memory-card pixels via Android Bitmap APIs (createBitmap/setPixels/asImageBitmap) that can't move to commonMain. - commons/ui/note/Ps1SaveCard.kt: the card takes decoded primitives (title, filename, region, block number, blank flag, hex preview) plus an `icon: (@Composable () -> Unit)?` slot; a null icon falls back to the floppy-disk emoji prefix. Labels resolve via commons Res. - amethyst keeps the thin RenderPs1Save(Note) entry, which decodes the event and supplies the native Ps1SaveIconImage (the bitmap/frame-clock animation) as the icon slot. - Migrated ps1_save_title/ps1_save_block/ps1_save_empty_slot with all locale translations into commons/composeResources; deleted the amethyst copies. Verified: :commons:compileKotlinJvm and :amethyst:compileFdroidDebugKotlin both pass; every touched strings.xml is well-formed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gmrt3jwYPDJ38MJGJ6GaNr
31 lines
1.5 KiB
XML
31 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<string name="git_status_open">Otevřeno</string>
|
|
<string name="git_status_merged">Sloučeno</string>
|
|
<string name="git_status_closed">Uzavřeno</string>
|
|
<string name="git_status_draft">Koncept</string>
|
|
<string name="git_diff_binary">Binární soubor se nezobrazuje.</string>
|
|
<plurals name="git_diff_files_changed">
|
|
<item quantity="one">%1$d soubor změněn</item>
|
|
<item quantity="few">%1$d soubory změněny</item>
|
|
<item quantity="many">%1$d souboru změněno</item>
|
|
<item quantity="other">%1$d souborů změněno</item>
|
|
</plurals>
|
|
<string name="bird_detection_title">Detekce ptáků</string>
|
|
<plurals name="birdex_species_count">
|
|
<item quantity="one">Birdex · %1$d druh</item>
|
|
<item quantity="few">Birdex · %1$d druhy</item>
|
|
<item quantity="many">Birdex · %1$d druhů</item>
|
|
<item quantity="other">Birdex · %1$d druhů</item>
|
|
</plurals>
|
|
<plurals name="birdex_species_preview_more">
|
|
<item quantity="one">%1$s +%2$d další</item>
|
|
<item quantity="few">%1$s +%2$d další</item>
|
|
<item quantity="many">%1$s +%2$d dalších</item>
|
|
<item quantity="other">%1$s +%2$d dalších</item>
|
|
</plurals>
|
|
<string name="ps1_save_title">Uložení na paměťovou kartu PS1</string>
|
|
<string name="ps1_save_block">blok %1$d</string>
|
|
<string name="ps1_save_empty_slot">Prázdný slot</string>
|
|
</resources>
|