mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
fix: the description language set to bug by default when uploading image in nearby
This commit is contained in:
parent
88eedc3506
commit
64882ca27c
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
package fr.free.nrw.commons.nearby.model
|
package fr.free.nrw.commons.nearby.model
|
||||||
|
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
class ResultTuple {
|
class ResultTuple {
|
||||||
@SerializedName("xml:lang")
|
@SerializedName("xml:lang")
|
||||||
|
|
@ -15,7 +16,7 @@ class ResultTuple {
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
language = "bug" // Basa Ugi language - TODO Respect the `Default description language` setting.
|
language = Locale.getDefault().language
|
||||||
type = ""
|
type = ""
|
||||||
value = ""
|
value = ""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue