Fix bugged-out character casing for buttons on already-shared stories.

This commit is contained in:
dosiecki 2015-05-21 15:53:54 -07:00
parent 7b6e98359e
commit e3bb7d1b67
3 changed files with 7 additions and 6 deletions

View file

@ -22,7 +22,6 @@
<string name="loading">Loading…</string>
<string name="orig_text_loading">Fetching text…</string>
<string name="edit">Shared</string>
<string name="follow_error">There was a problem following the user. Check your internet connection and try again.</string>
<string name="unfollow_error">There was a problem unfollowing the user. Check your internet connection and try again.</string>
@ -57,10 +56,13 @@
<string name="shared">Story shared</string>
<string name="error_sharing">There was an problem sharing this story.</string>
<string name="share_newsblur">Share \"%s\" to your Blurblog?</string>
<string name="share_this">SHARE THIS STORY</string>
<string name="already_shared">SHARED</string>
<string name="share_this_story">Share this story</string>
<string name="update_shared">Update comment</string>
<string name="save_this">SAVE THIS STORY</string>
<string name="unsave_this">UNSAVE THIS STORY</string>
<string name="share_this">SHARE THIS STORY</string>
<string name="overlay_next">NEXT</string>
<string name="overlay_done">DONE</string>
@ -145,7 +147,6 @@
<string name="add_facebook">Add Facebook friends</string>
<string name="need_to_login"><u>I need to log in!</u></string>
<string name="need_to_register"><u>I need to register</u></string>
<string name="share_this_story">Share this story</string>
<string name="comment_favourited">Comment favorited</string>
<string name="error_liking_comment">Error favoriting comment</string>
<string name="public_comment_count">%d PUBLIC COMMENTS</string>

View file

@ -290,7 +290,7 @@ public class ReadingItemFragment extends NbFragment implements ClassifierDialogF
for (String userId : story.sharedUserIds) {
if (TextUtils.equals(userId, user.id)) {
shareButton.setText(R.string.edit);
shareButton.setText(R.string.already_shared);
break;
}
}

View file

@ -87,7 +87,7 @@ public class ShareDialogFragment extends DialogFragment {
int positiveButtonText = R.string.share_this_story;
if (hasBeenShared) {
positiveButtonText = R.string.edit;
positiveButtonText = R.string.update_shared;
if (previousComment != null ) {
commentEditText.setText(previousComment.commentText);
}