From 9115ea3f6102c69f64029750cdb4417a7be38370 Mon Sep 17 00:00:00 2001 From: Tommy-Geenexus Date: Sun, 25 Aug 2024 11:11:38 +0200 Subject: [PATCH] feat(help): enable crowdin translations --- .../kotlin/com/none/tom/exiferaser/core/util/Constants.kt | 3 ++- .../com/none/tom/exiferaser/help/ui/HelpViewHolder.kt | 6 +----- app/src/main/res/values/strings.xml | 4 ++-- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/app/src/main/kotlin/com/none/tom/exiferaser/core/util/Constants.kt b/app/src/main/kotlin/com/none/tom/exiferaser/core/util/Constants.kt index 09068a34..ed2ffce5 100644 --- a/app/src/main/kotlin/com/none/tom/exiferaser/core/util/Constants.kt +++ b/app/src/main/kotlin/com/none/tom/exiferaser/core/util/Constants.kt @@ -76,4 +76,5 @@ const val TAG_ITEM_HELP_TRANSLATE = TOP_LEVEL_PACKAGE_NAME + "ITEM_HELP_TRANSLAT const val TAG_ITEM_FEEDBACK = TOP_LEVEL_PACKAGE_NAME + "ITEM_FEEDBACK" const val URL_ISSUES = "https://github.com/Tommy-Geenexus/exif-eraser/issues" -const val URL_LOCALISATION = "https://tomgappdev.oneskyapp.com/collaboration/project?id=375350" +const val URL_LOCALISATION = + "https://crowdin.com/project/exif-eraser/invite?h=7814ed7d3215d8221577cc5b8aa661ee2190921" diff --git a/app/src/main/kotlin/com/none/tom/exiferaser/help/ui/HelpViewHolder.kt b/app/src/main/kotlin/com/none/tom/exiferaser/help/ui/HelpViewHolder.kt index 8c24e431..eb863aab 100644 --- a/app/src/main/kotlin/com/none/tom/exiferaser/help/ui/HelpViewHolder.kt +++ b/app/src/main/kotlin/com/none/tom/exiferaser/help/ui/HelpViewHolder.kt @@ -58,14 +58,10 @@ class HelpViewHolder( fun bindItemHelpTranslate() { binding.apply { - layoutPreference.isEnabled = false layoutPreference.tag = TAG_ITEM_HELP_TRANSLATE - iconPreference.isEnabled = false iconPreference.setImageResource(R.drawable.ic_translate) - titlePreference.isEnabled = false titlePreference.setText(R.string.become_translator) - summaryPreference.isEnabled = false - summaryPreference.setText(R.string.onesky) + summaryPreference.setText(R.string.crowdin) } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f361956b..6c2a9267 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -24,6 +24,8 @@ Paste clipboard image Unsupported clipboard content + Crowdin + Default display name suffix Default open path Default save path @@ -79,8 +81,6 @@ of - OneSky - Choose save path Custom save path Default save path