mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 16:57:39 +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">Odprto</string>
|
|
<string name="git_status_merged">Združeno</string>
|
|
<string name="git_status_closed">Zaključeno</string>
|
|
<string name="git_status_draft">Osnutek</string>
|
|
<string name="git_diff_binary">Binarna datoteka ni prikazana.</string>
|
|
<plurals name="git_diff_files_changed">
|
|
<item quantity="one">%1$d datoteka spremenjena</item>
|
|
<item quantity="two">%1$d datoteki spremenjeni</item>
|
|
<item quantity="few">%1$d datoteke spremenjene</item>
|
|
<item quantity="other">%1$d datotek spremenjenih</item>
|
|
</plurals>
|
|
<string name="bird_detection_title">Zaznana ptica</string>
|
|
<plurals name="birdex_species_count">
|
|
<item quantity="one">Birdex · %1$d vrsta</item>
|
|
<item quantity="two">Birdex · %1$d vrsti</item>
|
|
<item quantity="few">Birdex · %1$d vrste</item>
|
|
<item quantity="other">Birdex · %1$d vrst</item>
|
|
</plurals>
|
|
<plurals name="birdex_species_preview_more">
|
|
<item quantity="one">%1$s in še %2$d druga</item>
|
|
<item quantity="two">%1$s in še %2$d drugi</item>
|
|
<item quantity="few">%1$s in še %2$d druge</item>
|
|
<item quantity="other">%1$s in še %2$d drugih</item>
|
|
</plurals>
|
|
<string name="ps1_save_title">Shrani na pomnilniško kartico PS1</string>
|
|
<string name="ps1_save_block">%1$d blok</string>
|
|
<string name="ps1_save_empty_slot">Prazen prostor</string>
|
|
</resources>
|