Status: Display indicators of edited posts (#2935)

* Add editedAt field to Status

* Status: Display indicators of edited posts

* Annotate edited posts in the Status description

* Cache info that post has been edited
This commit is contained in:
fruyek 2022-12-03 12:15:54 +01:00 committed by GitHub
commit d823052862
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 1041 additions and 18 deletions

View file

@ -11,6 +11,8 @@
<string name="title_tag" translatable="false">#%s</string>
<string name="emoji_shortcode_format" translatable="false">:%s:</string>
<string name="post_timestamp_with_edited_indicator" translatable="false">%s *</string>
<string name="timestamp_joiner" translatable="false">" • "</string>
<string-array name="post_privacy_values">
<item>public</item>
@ -151,8 +153,8 @@
</string-array>
<string name="description_status" translatable="false">
<!-- Display name, cw?, content?, poll? relative date, reposted by?, reposted?, favorited?, bookmarked?, username, media?; visibility, fav number?, reblog number?-->
%1$s; %2$s; %3$s, %14$s %4$s, %5$s; %6$s, %7$s, %8$s, %9$s, %10$s; %11$s, %12$s, %13$s
<!-- Display name, cw?, content?, poll? relative date, edited?, reposted by?, reposted?, favorited?, bookmarked?, username, media?; visibility, fav number?, reblog number?-->
%1$s; %2$s; %3$s, %15$s %4$s, %5$s, %6$s; %7$s, %8$s, %9$s, %10$s, %11$s; %12$s, %13$s, %14$s
</string>
<string-array name="rick_roll_domains" translatable="false">

View file

@ -62,6 +62,7 @@
<string name="post_content_warning_show_less">Show Less</string>
<string name="post_content_show_more">Expand</string>
<string name="post_content_show_less">Collapse</string>
<string name="post_edited">Edited %s</string>
<string name="message_empty">Nothing here.</string>
<string name="footer_empty">Nothing here. Pull down to refresh!</string>
@ -516,6 +517,9 @@
<string name="description_post_media_no_description_placeholder">
No description
</string>
<string name="description_post_edited">
Edited
</string>
<string name="description_post_reblogged">
Reblogged
</string>