set string "Build flavor" to translatable=false

otherwise translators won't understand what this is.
As translations were already made a new key was introduced to avoid "Translated Untranslatable" warnings

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2024-01-15 11:21:54 +01:00
parent 921773cb1d
commit f232fda7c1
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B
2 changed files with 2 additions and 2 deletions

View file

@ -251,7 +251,7 @@ class DiagnoseActivity : BaseActivity() {
addKey(context.resources.getString(R.string.nc_diagnose_app_version_title))
addValue(String.format("v" + BuildConfig.VERSION_NAME))
addKey(context.resources.getString(R.string.nc_diagnose_build_flavor))
addKey(context.resources.getString(R.string.nc_diagnose_flavor))
addValue(BuildConfig.FLAVOR)
if (isGooglePlayServicesAvailable) {

View file

@ -211,7 +211,6 @@ How to translate with transifex:
<string name="nc_diagnose_app_version_title">App version</string>
<string name="nc_diagnose_app_users_amount">Registered users</string>
<string name="nc_diagnose_gplay_available_title">Google Play services</string>
<string name="nc_diagnose_build_flavor">Build flavor</string>
<string name="nc_diagnose_gplay_available_yes">Google Play services are available</string>
<string name="nc_diagnose_gplay_available_no">Google Play services are not available. Notifications are not supported</string>
<string name="nc_diagnose_battery_optimization_title">Battery settings</string>
@ -240,6 +239,7 @@ How to translate with transifex:
<string name="nc_diagnose_signaling_mode_extern">External</string>
<string name="send_email">Send email</string>
<string name="create_issue">Create issue</string>
<string name="nc_diagnose_flavor" translatable="false">Build flavor</string>
<!-- Conversation menu -->
<string name="nc_leave">Leave conversation</string>