mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Versioning and changelog for v2.12.1
This commit is contained in:
commit
ef9e2986b2
4 changed files with 16 additions and 6 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
# Wikimedia Commons for Android
|
# Wikimedia Commons for Android
|
||||||
|
|
||||||
|
## v2.12.1
|
||||||
|
- Fixed issue with Nearby loading in wrong location
|
||||||
|
- Various crash fixes
|
||||||
|
|
||||||
## v2.12.0
|
## v2.12.0
|
||||||
- Completed codebase overhaul
|
- Completed codebase overhaul
|
||||||
- Added filters for place type and place state to Nearby
|
- Added filters for place type and place state to Nearby
|
||||||
|
|
|
||||||
|
|
@ -110,8 +110,8 @@ android {
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId 'fr.free.nrw.commons'
|
applicationId 'fr.free.nrw.commons'
|
||||||
versionCode 508
|
versionCode 542
|
||||||
versionName '2.12.0'
|
versionName '2.12.1'
|
||||||
setProperty("archivesBaseName", "app-commons-v$versionName-" + getBranchName())
|
setProperty("archivesBaseName", "app-commons-v$versionName-" + getBranchName())
|
||||||
|
|
||||||
minSdkVersion 19
|
minSdkVersion 19
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ public class ReviewImageFragment extends CommonsDaggerSupportFragment {
|
||||||
false);
|
false);
|
||||||
ButterKnife.bind(this, layoutView);
|
ButterKnife.bind(this, layoutView);
|
||||||
|
|
||||||
String question, explanation, yesButtonText, noButtonText;
|
String question, explanation=null, yesButtonText, noButtonText;
|
||||||
switch (position) {
|
switch (position) {
|
||||||
case SPAM:
|
case SPAM:
|
||||||
question = getString(R.string.review_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
|
//Get existing user name if it is already saved using savedInstanceState else get from reviewController
|
||||||
if (savedInstanceState == null) {
|
if (savedInstanceState == null) {
|
||||||
|
if (getReviewActivity().reviewController != null) {
|
||||||
user = getReviewActivity().reviewController.firstRevision.getUser();
|
user = getReviewActivity().reviewController.firstRevision.getUser();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
user = savedInstanceState.getString(SAVED_USER);
|
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);
|
explanation = getString(R.string.review_thanks_explanation, user);
|
||||||
|
}
|
||||||
|
|
||||||
yesButtonText = getString(R.string.review_thanks_yes_button_text);
|
yesButtonText = getString(R.string.review_thanks_yes_button_text);
|
||||||
noButtonText = getString(R.string.review_thanks_no_button_text);
|
noButtonText = getString(R.string.review_thanks_no_button_text);
|
||||||
|
|
|
||||||
|
|
@ -307,8 +307,9 @@
|
||||||
<string name="showcase_view_plus_fab">คุณสามารถอัปโหลดรูปภาพสำหรับสถานที่ใด ๆ ได้จากแกลเลอรีหรือกล้องของคุณ</string>
|
<string name="showcase_view_plus_fab">คุณสามารถอัปโหลดรูปภาพสำหรับสถานที่ใด ๆ ได้จากแกลเลอรีหรือกล้องของคุณ</string>
|
||||||
<string name="no_images_found">ไม่พบรูปภาพ!</string>
|
<string name="no_images_found">ไม่พบรูปภาพ!</string>
|
||||||
<string name="error_loading_images">เกิดข้อผิดพลาดระหว่างการโหลดภาะ</string>
|
<string name="error_loading_images">เกิดข้อผิดพลาดระหว่างการโหลดภาะ</string>
|
||||||
<string name="image_uploaded_by">อัพโหลดโดย: %1$a</string>
|
|
||||||
<string name="block_notification_title">ถูกบล็อก</string>
|
<string name="block_notification_title">ถูกบล็อก</string>
|
||||||
|
<string name="image_uploaded_by">อัพโหลดโดย: %1$s</string>
|
||||||
<string name="block_notification">คุณกำลังถูกบล็อคไม่ให้แก้ไขคอมมอนส์</string>
|
<string name="block_notification">คุณกำลังถูกบล็อคไม่ให้แก้ไขคอมมอนส์</string>
|
||||||
<string name="appwidget_img">รูปภาพประจำวัน</string>
|
<string name="appwidget_img">รูปภาพประจำวัน</string>
|
||||||
<string name="app_widget_heading">รูปภาพประจำวัน</string>
|
<string name="app_widget_heading">รูปภาพประจำวัน</string>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue