Merge remote-tracking branch 'tuskyapp/develop'

This commit is contained in:
kyori19 2021-07-04 00:00:28 +09:00
commit 0f1c44ced1
3 changed files with 14 additions and 12 deletions

View File

@ -37,15 +37,15 @@ git commit -m "Describe the changes in this commit here."
```
## Submitting Your Changes
1. Make sure your branch is up-to-date with the ```master``` branch. Run:
1. Make sure your branch is up-to-date with the ```develop``` branch. Run:
```
git fetch
git rebase origin/master
git rebase origin/develop
```
It may refuse to start the rebase if there's changes that haven't been committed, so make sure you've added and committed everything. If there were changes on master to any of the parts of files you worked on, a conflict will arise when you rebase. [Resolving a merge conflict](https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line) is a good guide to help with this. After committing the resolution, you can run ```git rebase --continue``` to finish the rebase. If you want to cancel, like if you make some mistake in resolving the conflict, you can always do ```git rebase --abort```.
It may refuse to start the rebase if there's changes that haven't been committed, so make sure you've added and committed everything. If there were changes on develop to any of the parts of files you worked on, a conflict will arise when you rebase. [Resolving a merge conflict](https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line) is a good guide to help with this. After committing the resolution, you can run ```git rebase --continue``` to finish the rebase. If you want to cancel, like if you make some mistake in resolving the conflict, you can always do ```git rebase --abort```.
2. Push your local branch to your fork on GitHub by running ```git push origin your-change-name```.
3. Then, go to the original project page and make a pull request. Select your fork/branch and use ```master``` as the base branch.
3. Then, go to the original project page and make a pull request. Select your fork/branch and use ```develop``` as the base branch.
4. Wait for feedback on your pull request and be ready to make some changes
If you have any questions, don't hesitate to open an issue or contact [Tusky@mastodon.social](https://mastodon.social/@Tusky). Please also ask before you start implementing a new big feature.

View File

@ -531,9 +531,9 @@ class TimelineViewModel @Inject constructor(
} else {
throw HttpException(response)
}
}
}.toMutableList()
filterStatuses(statuses.toMutableList())
filterStatuses(statuses)
return statuses
}
@ -610,7 +610,7 @@ class TimelineViewModel @Inject constructor(
if (statuses.size > 1) {
clearPlaceholdersForResponse(mutableStatusResponse)
this.statuses.clear()
this.statuses.addAll(statuses.toViewData())
this.statuses.addAll(mutableStatusResponse.toViewData())
}
}

View File

@ -237,8 +237,8 @@
<string name="pref_title_notifications_enabled">Thông báo</string>
<string name="pref_title_edit_notification_settings">Thông báo</string>
<string name="visibility_direct">Nhắn tin: Chỉ người được nhắc tới mới thấy</string>
<string name="visibility_private">Người theo dõi: Ai đã theo dõi mới được xem</string>
<string name="visibility_unlisted">Riêng tư: Không hiện trên bảng tin</string>
<string name="visibility_private">Riêng tư: Chỉ người theo dõi mới thấy</string>
<string name="visibility_unlisted">Bán công: Không hiện trên bảng tin</string>
<string name="visibility_public">Công khai: Mọi người đều có thể thấy</string>
<string name="dialog_mute_warning">Ẩn @%s\?</string>
<string name="dialog_block_warning">Chặn @%s\?</string>
@ -254,8 +254,8 @@
<string name="status_text_size_small">Nhỏ vừa</string>
<string name="status_text_size_smallest">Nhỏ</string>
<string name="pref_status_text_size">Kích thức phông chữ</string>
<string name="post_privacy_followers_only">Người theo dõi</string>
<string name="post_privacy_unlisted">Riêng tư</string>
<string name="post_privacy_followers_only">Riêng tư</string>
<string name="post_privacy_unlisted">Bán công</string>
<string name="post_privacy_public">Công khai</string>
<string name="pref_main_nav_position_option_bottom">Dưới màn hình</string>
<string name="pref_main_nav_position_option_top">Trên màn hình</string>
@ -378,7 +378,7 @@
<string name="description_poll">Lượt bình chọn: %1$s, %2$s, %3$s, %4$s; %5$s</string>
<string name="description_visiblity_direct">Tin nhắn</string>
<string name="description_visiblity_private">Người theo dõi</string>
<string name="description_visiblity_unlisted">Riêng tư</string>
<string name="description_visiblity_unlisted">Bán công</string>
<string name="description_visiblity_public">Công khai</string>
<string name="description_status_bookmarked">Đã lưu</string>
<string name="description_status_favourited">Đã thích</string>
@ -497,4 +497,6 @@
<string name="action_unsubscribe_account">Ngưng nhận thông báo</string>
<string name="action_subscribe_account">Nhận thông báo</string>
<string name="follow_requests_info">Dù biết tài khoản của bạn công khai, quản trị viên %1$s vẫn nghĩ bạn hãy nên xem lại yêu cầu theo dõi từ những tài khoản lạ.</string>
<string name="dialog_delete_conversation_warning">Xoá cuộc thảo luận này\?</string>
<string name="action_delete_conversation">Xoá thảo luận</string>
</resources>