Skip to content

Conversation

@kavishdevar
Copy link
Owner

@kavishdevar kavishdevar commented Jan 8, 2025

Move all hardcoded strings and descriptions to strings.xml and implement Crowdin for localization.

  • Replace hardcoded strings in AccessibilitySettings.kt with references to strings.xml.
  • Replace hardcoded strings in AdaptiveStrengthSlider.kt with references to strings.xml.
  • Replace hardcoded strings and descriptions in AudioSettings.kt with references to strings.xml.
  • Replace hardcoded strings in BatteryView.kt with references to strings.xml.
  • Replace hardcoded strings in ConversationalAwarenessSwitch.kt with references to strings.xml.
  • Replace hardcoded strings in NavigationButton.kt with references to strings.xml.
  • Replace hardcoded strings in NoiseControlSettings.kt with references to strings.xml.
  • Replace hardcoded strings in PersonalizedVolumeSwitch.kt with references to strings.xml.
  • Replace hardcoded strings in PressAndHoldSettings.kt with references to strings.xml.
  • Replace hardcoded strings in SinglePodANCSwitch.kt with references to strings.xml.
  • Replace hardcoded strings in ToneVolumeSlider.kt with references to strings.xml.
  • Add new strings and descriptions to strings.xml.
  • Add crowdin.yml configuration file for Crowdin integration.
  • Modify build.gradle.kts and app/build.gradle.kts to include Crowdin plugin and tasks for uploading and downloading translations.

For more details, open the Copilot Workspace session.

Move all hardcoded strings and descriptions to `strings.xml` and implement Crowdin for localization.

* Replace hardcoded strings in `AccessibilitySettings.kt` with references to `strings.xml`.
* Replace hardcoded strings in `AdaptiveStrengthSlider.kt` with references to `strings.xml`.
* Replace hardcoded strings and descriptions in `AudioSettings.kt` with references to `strings.xml`.
* Replace hardcoded strings in `BatteryView.kt` with references to `strings.xml`.
* Replace hardcoded strings in `ConversationalAwarenessSwitch.kt` with references to `strings.xml`.
* Replace hardcoded strings in `NavigationButton.kt` with references to `strings.xml`.
* Replace hardcoded strings in `NoiseControlSettings.kt` with references to `strings.xml`.
* Replace hardcoded strings in `PersonalizedVolumeSwitch.kt` with references to `strings.xml`.
* Replace hardcoded strings in `PressAndHoldSettings.kt` with references to `strings.xml`.
* Replace hardcoded strings in `SinglePodANCSwitch.kt` with references to `strings.xml`.
* Replace hardcoded strings in `ToneVolumeSlider.kt` with references to `strings.xml`.
* Add new strings and descriptions to `strings.xml`.
* Add `crowdin.yml` configuration file for Crowdin integration.
* Modify `build.gradle.kts` and `app/build.gradle.kts` to include Crowdin plugin and tasks for uploading and downloading translations.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/kavishdevar/aln?shareId=XXXX-XXXX-XXXX-XXXX).
@kavishdevar
Copy link
Owner Author

i'd say this is a fairly good job by AI :p

@kavishdevar kavishdevar closed this Jan 8, 2025
@kavishdevar kavishdevar deleted the translations branch January 8, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants