mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Add newlines to Information tag so it is easier to edit.
This commit is contained in:
parent
909defefcf
commit
a2f63f17c7
1 changed files with 5 additions and 5 deletions
|
|
@ -112,13 +112,13 @@ public class Contribution extends Media {
|
|||
SimpleDateFormat isoFormat = new SimpleDateFormat("yyyy-MM-dd");
|
||||
buffer
|
||||
.append("== {{int:filedesc}} ==\n")
|
||||
.append("{{Information")
|
||||
.append("|Description=").append(description)
|
||||
.append("|source=").append("{{own}}")
|
||||
.append("|author=[[User:").append(creator).append("]]");
|
||||
.append("{{Information\n")
|
||||
.append("|Description=").append(description).append("\n")
|
||||
.append("|source=").append("{{own}}\n")
|
||||
.append("|author=[[User:").append(creator).append("]]\n");
|
||||
if(dateCreated != null) {
|
||||
buffer
|
||||
.append("|date={{According to EXIF data|").append(isoFormat.format(dateCreated)).append("}}");
|
||||
.append("|date={{According to EXIF data|").append(isoFormat.format(dateCreated)).append("}}\n");
|
||||
}
|
||||
buffer
|
||||
.append("}}").append("\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue