1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 16:40:32 +00:00

made instance list url non translatable

This commit is contained in:
yausername 2019-12-31 20:10:51 +05:30
parent 57e89babf1
commit 2b4190d85d
No known key found for this signature in database
GPG Key ID: F946F508AA241678
3 changed files with 9 additions and 2 deletions

View File

@ -89,6 +89,13 @@ public class PeertubeInstanceListFragment extends Fragment {
public void onViewCreated(@NonNull View rootView, @Nullable Bundle savedInstanceState) {
super.onViewCreated(rootView, savedInstanceState);
initViews(rootView);
}
private void initViews(@NonNull View rootView) {
TextView instanceHelpTV = rootView.findViewById(R.id.instanceHelpTV);
instanceHelpTV.setText(getString(R.string.peertube_instance_url_help, getString(R.string.peertube_instance_list_url)));
initButton(rootView);
RecyclerView listInstances = rootView.findViewById(R.id.instances);

View File

@ -543,7 +543,6 @@
<string name="seek_duration_title">تسريع إلى الأمام/-ترجيع وقت البحث</string>
<string name="peertube_instance_url_title">نموذج بيرتوب</string>
<string name="peertube_instance_url_summary">تعيين حالات بيرتوب المفضلة لديك</string>
<string name="peertube_instance_url_help">ابحث عن النموذج التي يناسبك على https://joinpeertube.org/instances#instances-list</string>
<string name="peertube_instance_add_title">إضافة نموذج</string>
<string name="peertube_instance_add_help">أدخل رابط نموذج</string>
<string name="peertube_instance_add_fail">فشل في التحقق من النموذج</string>

View File

@ -112,7 +112,8 @@
<string name="content_language_title">Default content language</string>
<string name="peertube_instance_url_title">PeerTube instances</string>
<string name="peertube_instance_url_summary">Set your favorite peertube instances</string>
<string name="peertube_instance_url_help">Find the instances that best suit you on https://joinpeertube.org/instances#instances-list</string>
<string name="peertube_instance_url_help">Find the instances that best suit you on %s</string>
<string name="peertube_instance_list_url" translatable="false">https://joinpeertube.org/instances#instances-list</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_fail">Failed to validate instance</string>