fix: the description language set to bug by default when uploading image in nearby

This commit is contained in:
yuvraj-coder1 2025-02-26 15:07:07 +05:30
parent 88eedc3506
commit 64882ca27c

View file

@ -1,6 +1,7 @@
package fr.free.nrw.commons.nearby.model
import com.google.gson.annotations.SerializedName
import java.util.Locale
class ResultTuple {
@SerializedName("xml:lang")
@ -15,7 +16,7 @@ class ResultTuple {
}
constructor() {
language = "bug" // Basa Ugi language - TODO Respect the `Default description language` setting.
language = Locale.getDefault().language
type = ""
value = ""
}