feat: link translators to Weblate from the README and settings
This commit is contained in:
@@ -170,7 +170,10 @@ Weblate, and partial ones are fine: untranslated strings fall back to English.
|
||||
[Help translate Clockula](https://weblate.dev.jeanlucmakiola.de/engage/clockula/)
|
||||
|
||||
You don't need to code. Register on the Weblate server, pick a language (or
|
||||
request one) and translate in your browser.
|
||||
request one) and translate in your browser. The app links here too, from
|
||||
**Settings → About → Help translate**.
|
||||
|
||||
[](https://weblate.dev.jeanlucmakiola.de/engage/clockula/)
|
||||
|
||||
## Privacy
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ import androidx.compose.material.icons.filled.Palette
|
||||
import androidx.compose.material.icons.filled.PrivacyTip
|
||||
import androidx.compose.material.icons.filled.Public
|
||||
import androidx.compose.material.icons.filled.Timer
|
||||
import androidx.compose.material.icons.filled.Translate
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.getValue
|
||||
@@ -257,6 +258,12 @@ private fun SettingsHub(
|
||||
icon = ImageVector.vectorResource(R.drawable.ic_codeberg),
|
||||
position = Position.Top,
|
||||
)
|
||||
AboutLinkRow(
|
||||
label = stringResource(R.string.settings_translate),
|
||||
url = stringResource(R.string.about_translate_url),
|
||||
icon = Icons.Default.Translate,
|
||||
position = Position.Middle,
|
||||
)
|
||||
AboutLinkRow(
|
||||
label = stringResource(R.string.settings_license),
|
||||
url = stringResource(R.string.about_license_url),
|
||||
|
||||
@@ -263,11 +263,13 @@
|
||||
<string name="settings_about_logo_desc">Clockula app icon</string>
|
||||
<string name="settings_about_support">Support development</string>
|
||||
<string name="settings_about_source">Source</string>
|
||||
<string name="settings_translate">Help translate</string>
|
||||
<string name="settings_license">License</string>
|
||||
<string name="settings_privacy">Privacy policy</string>
|
||||
<string name="settings_about_version">Version %1$s</string>
|
||||
<string name="about_source_url" translatable="false">https://codeberg.org/jlmakiola/clockula</string>
|
||||
<string name="about_license_url" translatable="false">https://codeberg.org/jlmakiola/clockula/src/branch/main/LICENSE</string>
|
||||
<string name="about_translate_url" translatable="false">https://weblate.dev.jeanlucmakiola.de/engage/clockula/</string>
|
||||
<string name="about_privacy_url" translatable="false">https://jeanlucmakiola.de/clockula/privacy</string>
|
||||
<string name="about_support_url" translatable="false">https://ko-fi.com/jeanlucmakiola</string>
|
||||
<string name="settings_group_look">Look & behaviour</string>
|
||||
|
||||
Reference in New Issue
Block a user