updating strings xml for share dialog and share podcast
This commit is contained in:
parent
a2dafc0aa5
commit
0cb17304e7
@ -4,8 +4,10 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.view.View;
|
||||
|
||||
import org.hamcrest.Description;
|
||||
import org.hamcrest.Matcher;
|
||||
import org.hamcrest.Matchers;
|
||||
import org.hamcrest.TypeSafeMatcher;
|
||||
import org.junit.Before;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
@ -83,13 +85,6 @@ public class ShareDialogTest {
|
||||
onView(allOf(isDisplayed(), withText(R.string.share_label)));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testShareDialogShareButton() throws InterruptedException {
|
||||
onView(withText(R.string.share_label)).perform(scrollTo()).perform(click());
|
||||
onView(allOf(isDisplayed(), withText(R.string.share_label)));
|
||||
onView(withText(R.string.share_episode_positive_label_button)).perform(scrollTo()).perform(click());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testShareDialogCancelButton() {
|
||||
onView(withText(R.string.share_label)).perform(scrollTo()).perform(click());
|
||||
|
@ -59,7 +59,7 @@ public class ShareDialog extends DialogFragment {
|
||||
setupOptions();
|
||||
|
||||
builder
|
||||
.setPositiveButton(R.string.share_episode_positive_label_button, new DialogInterface.OnClickListener() {
|
||||
.setPositiveButton(R.string.share_label, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
if (radioEpisodeWebsite.isChecked()) {
|
||||
|
@ -136,12 +136,12 @@
|
||||
<string name="feed_settings_label">Podcast settings</string>
|
||||
<string name="rename_feed_label">Rename podcast</string>
|
||||
<string name="remove_feed_label">Remove podcast</string>
|
||||
<string name="share_label">Share…</string>
|
||||
<string name="share_label">Share</string>
|
||||
<string name="share_link_label">Share Episode URL</string>
|
||||
<string name="share_link_with_position_label">Share Episode URL with Position</string>
|
||||
<string name="share_file_label">Share File</string>
|
||||
<string name="share_website_url_label">Share Website URL</string>
|
||||
<string name="share_feed_url_label">Share Podcast URL</string>
|
||||
<string name="share_website_url_label">Website address</string>
|
||||
<string name="share_feed_url_label">Podcast feed URL</string>
|
||||
<string name="share_item_url_label">Share Media File URL</string>
|
||||
<string name="share_item_url_with_position_label">Share Media File URL with Position</string>
|
||||
<string name="feed_delete_confirmation_msg">Please confirm that you want to delete the podcast \"%1$s\" and ALL its episodes (including downloaded episodes).</string>
|
||||
@ -766,11 +766,10 @@
|
||||
<string name="rating_now_label">Sure, let\'s do this!</string>
|
||||
|
||||
<!-- Share episode dialog -->
|
||||
<string name="share_episode_positive_label_button">Share</string>
|
||||
<string name="share_dialog_include_label">Include:</string>
|
||||
<string name="share_playback_position_dialog_label">Playback position</string>
|
||||
<string name="share_dialog_media_file_label">Media file URL</string>
|
||||
<string name="share_dialog_episode_website_label">Episode website</string>
|
||||
<string name="share_dialog_episode_website_label">Episode webpage</string>
|
||||
|
||||
<!-- Audio controls -->
|
||||
<string name="audio_controls">Audio controls</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user