Add crowdin link
This commit is contained in:
parent
13baaccd81
commit
645c9fa240
|
@ -65,6 +65,17 @@ public class AboutActivity extends AppCompatActivity {
|
||||||
startActivity(browserIntent);
|
startActivity(browserIntent);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Button translation = findViewById(R.id.translation);
|
||||||
|
if (BuildConfig.full_instances) {
|
||||||
|
translation.setVisibility(View.VISIBLE);
|
||||||
|
} else {
|
||||||
|
translation.setVisibility(View.GONE);
|
||||||
|
}
|
||||||
|
translation.setOnClickListener(view -> {
|
||||||
|
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://crowdin.com/project/tubelab"));
|
||||||
|
startActivity(browserIntent);
|
||||||
|
});
|
||||||
|
|
||||||
//App Name:
|
//App Name:
|
||||||
TextView app_name = findViewById(R.id.app_name);
|
TextView app_name = findViewById(R.id.app_name);
|
||||||
app_name.setText(R.string.app_name);
|
app_name.setText(R.string.app_name);
|
||||||
|
|
|
@ -284,5 +284,15 @@
|
||||||
android:text="GPL3"
|
android:text="GPL3"
|
||||||
tools:ignore="HardcodedText" />
|
tools:ignore="HardcodedText" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/translation"
|
||||||
|
style="@style/Widget.AppCompat.Button.Colored"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
android:text="Translate the app"
|
||||||
|
tools:ignore="HardcodedText" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
Loading…
Reference in New Issue