Add translation link to Crowdin and fix capod private repo links.

This commit is contained in:
darken
2022-01-20 15:20:54 +01:00
parent 9ae3516a83
commit 91a16f55d9
4 changed files with 33 additions and 11 deletions
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M12.87,15.07l-2.54,-2.51 0.03,-0.03c1.74,-1.94 2.98,-4.17 3.71,-6.53L17,6L17,4h-7L10,2L8,2v2L1,4v1.99h11.17C11.5,7.92 10.44,9.75 9,11.35 8.07,10.32 7.3,9.19 6.69,8h-2c0.73,1.63 1.73,3.17 2.98,4.56l-5.09,5.02L4,19l5,-5 3.11,3.11 0.76,-2.04zM18.5,10h-2L12,22h2l1.12,-3h4.75L21,22h2l-4.5,-12zM15.88,17l1.62,-4.33L19.12,17h-3.24z" />
</vector>
+2
View File
@@ -146,4 +146,6 @@
<string name="notification_channel_reaction_popup_label">Popup device reactions</string>
<string name="overview_bluetooth_disabled_label">Bluetooth is disabled</string>
<string name="overview_bluetooth_disabled_description">Bluetooth is disabled, enable it ;).</string>
<string name="help_translate_label">Translation</string>
<string name="help_translate_description">Help translate this into your favorite language.</string>
</resources>
+20 -10
View File
@@ -21,6 +21,15 @@
<PreferenceCategory android:title="@string/settings_category_other_label">
<Preference
android:icon="@drawable/ic_baseline_book_24"
app:summary="@string/settings_privacy_policy_desc"
app:title="@string/settings_privacy_policy_label">
<intent
android:action="android.intent.action.VIEW"
android:data="https://github.com/d4rken/capod-public/blob/main/PRIVACY_POLICY.md" />
</Preference>
<Preference
android:icon="@drawable/ic_changelog_onsurface"
android:key="core.changelog"
@@ -28,7 +37,17 @@
app:summary="v?.?.?">
<intent
android:action="android.intent.action.VIEW"
android:data="https://github.com/d4rken/capod/releases/latest" />
android:data="https://github.com/d4rken/capod-public/releases/latest" />
</Preference>
<Preference
android:icon="@drawable/ic_baseline_translate_24"
android:key="core.translation"
android:title="@string/help_translate_label"
app:summary="@string/help_translate_description">
<intent
android:action="android.intent.action.VIEW"
android:data="https://crowdin.com/project/capod" />
</Preference>
<Preference
@@ -37,14 +56,5 @@
app:summary="@string/general_thank_you_label"
app:title="@string/settings_acknowledgements_label" />
<Preference
android:icon="@drawable/ic_baseline_book_24"
app:summary="@string/settings_privacy_policy_desc"
app:title="@string/settings_privacy_policy_label">
<intent
android:action="android.intent.action.VIEW"
android:data="https://github.com/d4rken/capod/blob/main/PRIVACY_POLICY.md" />
</Preference>
</PreferenceCategory>
</PreferenceScreen>
+1 -1
View File
@@ -8,7 +8,7 @@
android:title="@string/issue_tracker_label">
<intent
android:action="android.intent.action.VIEW"
android:data="https://github.com/d4rken/capod/issues" />
android:data="https://github.com/d4rken/capod-public/issues" />
</Preference>
<Preference
android:icon="@drawable/ic_discord_onsurface"