grammar fix

This commit is contained in:
yausername 2019-12-05 05:11:05 +05:30
parent 7a67d192c3
commit d2a59ecc62
No known key found for this signature in database
GPG Key ID: F946F508AA241678
2 changed files with 2 additions and 1 deletions

View File

@ -231,7 +231,7 @@ public class PeertubeInstanceListFragment extends Fragment {
add(instance); add(instance);
}, e -> { }, e -> {
progressBar.setVisibility(View.GONE); progressBar.setVisibility(View.GONE);
Toast.makeText(getActivity(), "failed to validate instance", Toast.LENGTH_SHORT).show(); Toast.makeText(getActivity(), R.string.peertube_instance_add_fail, Toast.LENGTH_SHORT).show();
}); });
disposables.add(disposable); disposables.add(disposable);
} }

View File

@ -114,6 +114,7 @@
<string name="peertube_instance_url_help">Find the instances that best suit you on https://instances.joinpeertube.org</string> <string name="peertube_instance_url_help">Find the instances that best suit you on https://instances.joinpeertube.org</string>
<string name="peertube_instance_add_title">Add instance</string> <string name="peertube_instance_add_title">Add instance</string>
<string name="peertube_instance_add_help">enter instance url</string> <string name="peertube_instance_add_help">enter instance url</string>
<string name="peertube_instance_add_fail">Failed to validate instance</string>
<string name="settings_category_player_title">Player</string> <string name="settings_category_player_title">Player</string>
<string name="settings_category_player_behavior_title">Behavior</string> <string name="settings_category_player_behavior_title">Behavior</string>
<string name="settings_category_video_audio_title">Video &amp; audio</string> <string name="settings_category_video_audio_title">Video &amp; audio</string>