diff --git a/app/src/main/java/org/schabi/newpipe/settings/PeertubeInstanceListFragment.java b/app/src/main/java/org/schabi/newpipe/settings/PeertubeInstanceListFragment.java
index 097d96d20..cfb3fe8a4 100644
--- a/app/src/main/java/org/schabi/newpipe/settings/PeertubeInstanceListFragment.java
+++ b/app/src/main/java/org/schabi/newpipe/settings/PeertubeInstanceListFragment.java
@@ -231,7 +231,7 @@ public class PeertubeInstanceListFragment extends Fragment {
add(instance);
}, e -> {
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);
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index bcd4aedcc..ecffa0db2 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -114,6 +114,7 @@
Find the instances that best suit you on https://instances.joinpeertube.org
Add instance
enter instance url
+ Failed to validate instance
Player
Behavior
Video & audio