Versioning and changelog for v2.12.1

This commit is contained in:
Josephine Lim 2020-01-20 00:21:24 +10:00
commit ef9e2986b2
4 changed files with 16 additions and 6 deletions

View file

@ -1,5 +1,9 @@
# Wikimedia Commons for Android
## v2.12.1
- Fixed issue with Nearby loading in wrong location
- Various crash fixes
## v2.12.0
- Completed codebase overhaul
- Added filters for place type and place state to Nearby

View file

@ -110,8 +110,8 @@ android {
defaultConfig {
applicationId 'fr.free.nrw.commons'
versionCode 508
versionName '2.12.0'
versionCode 542
versionName '2.12.1'
setProperty("archivesBaseName", "app-commons-v$versionName-" + getBranchName())
minSdkVersion 19

View file

@ -76,7 +76,7 @@ public class ReviewImageFragment extends CommonsDaggerSupportFragment {
false);
ButterKnife.bind(this, layoutView);
String question, explanation, yesButtonText, noButtonText;
String question, explanation=null, yesButtonText, noButtonText;
switch (position) {
case SPAM:
question = getString(R.string.review_spam);
@ -115,12 +115,17 @@ public class ReviewImageFragment extends CommonsDaggerSupportFragment {
//Get existing user name if it is already saved using savedInstanceState else get from reviewController
if (savedInstanceState == null) {
if (getReviewActivity().reviewController != null) {
user = getReviewActivity().reviewController.firstRevision.getUser();
}
} else {
user = savedInstanceState.getString(SAVED_USER);
}
//if the user is null because of whatsoever reason, review will not be sent anyways
if (!TextUtils.isEmpty(user)) {
explanation = getString(R.string.review_thanks_explanation, user);
}
yesButtonText = getString(R.string.review_thanks_yes_button_text);
noButtonText = getString(R.string.review_thanks_no_button_text);

View file

@ -307,8 +307,9 @@
<string name="showcase_view_plus_fab">คุณสามารถอัปโหลดรูปภาพสำหรับสถานที่ใด ๆ ได้จากแกลเลอรีหรือกล้องของคุณ</string>
<string name="no_images_found">ไม่พบรูปภาพ!</string>
<string name="error_loading_images">เกิดข้อผิดพลาดระหว่างการโหลดภาะ</string>
<string name="image_uploaded_by">อัพโหลดโดย: %1$a</string>
<string name="block_notification_title">ถูกบล็อก</string>
<string name="image_uploaded_by">อัพโหลดโดย: %1$s</string>
<string name="block_notification">คุณกำลังถูกบล็อคไม่ให้แก้ไขคอมมอนส์</string>
<string name="appwidget_img">รูปภาพประจำวัน</string>
<string name="app_widget_heading">รูปภาพประจำวัน</string>