Skip to content

Commit 1506993

Browse files
committed
Merge branch '3.1-release' into 3.1-release-alpha
2 parents 8ecb29a + a98badf commit 1506993

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

app/src/main/java/fr/free/nrw/commons/upload/PageContentsCreator.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,18 @@ public String createFrom(final Contribution contribution, final String countryCo
5555

5656
buffer.append("}}").append("\n");
5757

58-
if (contribution.getWikidataPlace()!=null && contribution.getWikidataPlace().isMonumentUpload()) {
59-
buffer.append("{{Test-Wiki Loves Monuments 2021|1= ")
60-
.append(countryCode)
61-
.append("}}").append("\n");
62-
}
63-
6458
//Only add Location template (e.g. {{Location|37.51136|-77.602615}} ) if coords is not null
6559
final String decimalCoords = contribution.getDecimalCoords();
6660
if (decimalCoords != null) {
6761
buffer.append("{{Location|").append(decimalCoords).append("}}").append("\n");
6862
}
6963

64+
if (contribution.getWikidataPlace()!=null && contribution.getWikidataPlace().isMonumentUpload()) {
65+
buffer.append("{{Wiki Loves Monuments 2021|1= ")
66+
.append(countryCode)
67+
.append("}}").append("\n");
68+
}
69+
7070
buffer.append("== {{int:license-header}} ==\n")
7171
.append(licenseTemplateFor(media.getLicense())).append("\n\n")
7272
.append("{{Uploaded from Mobile|platform=Android|version=")

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ Upload your first media by tapping on the add button.</string>
640640
<string name="image_location">Image Location</string>
641641
<string name="check_whether_location_is_correct">Check whether location is correct</string>
642642
<string name="place_state_wlm">WLM</string>
643-
<string name="wlm_upload_info">You are contributing to Wiki Loves Monuments Campaign. Related templates will be added accordingly.</string>
643+
<string name="wlm_upload_info">This image will be entered into the Wiki Loves Monuments 2021 contest</string>
644644
<string name="display_monuments">Display monuments</string>
645645
<string name="wlm_month_message">It\'s Wiki Loves Monuments month!</string>
646646
<string name="learn_more">LEARN MORE</string>

0 commit comments

Comments
 (0)