Compare commits

...

2 commits

Author SHA1 Message Date
Prinuel
51da9e4dd6
FooterAdapter.kt: changed enum access of FooterItem, from FooterItem.values to FooterItem.entries, this is the more efficient way of accessing Enum values as introduced in kotlin 1.9 (#6271)
Some checks failed
Android CI / Run tests and generate APK (push) Has been cancelled
Co-authored-by: bethel-m <bethelcletus87@gmail.com>
2025-04-03 21:10:41 +09:00
translatewiki.net
731ff62faf
Localisation updates from https://translatewiki.net. 2025-04-03 14:01:45 +02:00
2 changed files with 4 additions and 2 deletions

View file

@ -32,7 +32,7 @@ class FooterAdapter(
override fun onCreateViewHolder(
parent: ViewGroup,
viewType: Int,
) = when (FooterItem.values()[viewType]) {
) = when (FooterItem.entries[viewType]) {
FooterItem.LoadingItem ->
LoadingViewHolder(
parent.inflate(R.layout.list_item_progress),

View file

@ -22,6 +22,7 @@
* Fitoschido
* Gastonsaenz
* Hasley
* HylianAngel
* Ihojose
* JO777
* Jack30
@ -150,6 +151,7 @@
<string name="menu_from_camera">Tomar una foto</string>
<string name="menu_nearby">Cercanos</string>
<string name="provider_contributions">Mis subidas</string>
<string name="menu_copy_link">Copiar enlace</string>
<string name="menu_share">Compartir</string>
<string name="menu_view_file_page">Ver página del archivo</string>
<string name="share_title_hint">Leyenda (requerido)</string>
@ -413,7 +415,7 @@
<string name="statistics_thanks">Agradecimientos recibidos</string>
<string name="statistics_featured">Imágenes destacadas</string>
<string name="statistics_wikidata_edits">Imágenes vía \"Sitios Cercanos\"</string>
<string name="level" fuzzy="true">Nivel</string>
<string name="level">Nivel %d</string>
<string name="images_uploaded">Imágenes subidas</string>
<string name="image_reverts">Imágenes no revertidas</string>
<string name="images_used_by_wiki">Imágenes utilizadas</string>