Add repository links

This commit is contained in:
Matéo Duparc 2021-05-31 13:49:39 +02:00
parent 558248b87e
commit ad36b78df7
Signed by: hardcoresushi
GPG Key ID: 007F84120107191E
4 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="32"
android:viewportHeight="32">
<path
android:fillColor="#ffffff"
android:pathData="M5.583,7.229c-2.464,-0.005 -5.755,1.557 -5.573,5.479 0.281,6.125 6.557,6.693 9.068,6.745 0.271,1.146 3.224,5.109 5.411,5.318h9.573c5.74,-0.38 10.036,-17.365 6.854,-17.427 -5.271,0.25 -8.396,0.375 -11.073,0.396v5.297l-0.839,-0.365 -0.005,-4.932c-3.073,0 -5.781,-0.141 -10.917,-0.396 -0.646,-0.005 -1.542,-0.115 -2.5,-0.115zM5.927,9.396h0.297c0.349,3.141 0.917,4.974 2.068,7.781 -2.938,-0.349 -5.432,-1.198 -5.891,-4.38 -0.24,-1.646 0.563,-3.365 3.526,-3.401zM17.339,12.479c0.198,0.005 0.406,0.042 0.594,0.13l1,0.432 -0.714,1.302c-0.109,0 -0.219,0.016 -0.323,0.052 -0.464,0.151 -0.708,0.604 -0.542,1.021 0.036,0.083 0.089,0.161 0.151,0.229l-1.234,2.25c-0.099,0 -0.203,0.016 -0.297,0.052 -0.464,0.146 -0.708,0.604 -0.542,1.016 0.172,0.417 0.682,0.63 1.151,0.479 0.464,-0.146 0.703,-0.604 0.536,-1.021 -0.047,-0.109 -0.115,-0.208 -0.208,-0.292l1.203,-2.188c0.13,0.01 0.26,0 0.391,-0.042 0.104,-0.031 0.198,-0.083 0.281,-0.151 0.464,0.198 0.844,0.354 1.12,0.49 0.406,0.203 0.552,0.339 0.599,0.49 0.042,0.146 -0.005,0.427 -0.24,0.922 -0.172,0.37 -0.458,0.896 -0.797,1.51 -0.115,0 -0.229,0.016 -0.333,0.052 -0.469,0.151 -0.708,0.604 -0.542,1.021 0.167,0.411 0.682,0.625 1.146,0.479 0.469,-0.151 0.708,-0.604 0.542,-1.021 -0.042,-0.099 -0.104,-0.193 -0.182,-0.271 0.333,-0.609 0.62,-1.135 0.807,-1.526 0.25,-0.536 0.38,-0.938 0.266,-1.323s-0.469,-0.635 -0.932,-0.865c-0.307,-0.151 -0.693,-0.313 -1.146,-0.505 0.005,-0.109 -0.01,-0.214 -0.052,-0.318s-0.109,-0.198 -0.193,-0.281l0.703,-1.281 3.901,1.682c0.703,0.307 0.995,1.057 0.651,1.682l-2.682,4.906c-0.339,0.625 -1.182,0.885 -1.885,0.578l-5.516,-2.38c-0.703,-0.307 -0.995,-1.057 -0.656,-1.682l2.682,-4.906c0.234,-0.432 0.708,-0.688 1.208,-0.708h0.083z"/>
</vector>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#ffffff" android:pathData="M10.9,2.1c-4.6,0.5-8.3,4.2-8.8,8.7c-0.6,5,2.5,9.3,6.9,10.7v-2.3c0,0-0.4,0.1-0.9,0.1c-1.4,0-2-1.2-2.1-1.9 c-0.1-0.4-0.3-0.7-0.6-1C5.1,16.3,5,16.3,5,16.2C5,16,5.3,16,5.4,16c0.6,0,1.1,0.7,1.3,1c0.5,0.8,1.1,1,1.4,1c0.4,0,0.7-0.1,0.9-0.2 c0.1-0.7,0.4-1.4,1-1.8c-2.3-0.5-4-1.8-4-4c0-1.1,0.5-2.2,1.2-3C7.1,8.8,7,8.3,7,7.6C7,7.2,7,6.6,7.3,6c0,0,1.4,0,2.8,1.3 C10.6,7.1,11.3,7,12,7s1.4,0.1,2,0.3C15.3,6,16.8,6,16.8,6C17,6.6,17,7.2,17,7.6c0,0.8-0.1,1.2-0.2,1.4c0.7,0.8,1.2,1.8,1.2,3 c0,2.2-1.7,3.5-4,4c0.6,0.5,1,1.4,1,2.3v3.3c4.1-1.3,7-5.1,7-9.5C22,6.1,16.9,1.4,10.9,2.1z" />
</vector>

View File

@ -96,6 +96,10 @@
<string name="no_name_error">This session has no name !</string>
<string name="invalid_ip">Invalid IP address</string>
<string name="unable_to_connect_to">Unable to connect to %s</string>
<string name="github">GitHub</string>
<string name="github_summary">AIRA-android repository on GitHub.</string>
<string name="gitea">Gitea</string>
<string name="gitea_summary">AIRA-android repository on the Gitea instance of the Chapril project. Unlike GitHub, Gitea is fully free software and self-hosted.</string>
<!--accessibility strings-->
<string name="send_file">Send file</string>

View File

@ -52,6 +52,20 @@
android:title="@string/version"
android:summary="@string/versionName"/>
<Preference
android:title="@string/github"
android:summary="@string/github_summary"
android:icon="@drawable/ic_github">
<intent android:action="android.intent.action.VIEW" android:data="https://github.com/hardcore-sushi/AIRA-android"/>
</Preference>
<Preference
android:title="@string/gitea"
android:summary="@string/gitea_summary"
android:icon="@drawable/ic_gitea">
<intent android:action="android.intent.action.VIEW" android:data="https://forge.chapril.org/hardcoresushi/AIRA-android/"/>
</Preference>
</PreferenceCategory>
</PreferenceScreen>