Skip to content

Releases: gustoliveira/polyglot

v0.3.1

08 Feb 16:27
Compare
Choose a tag to compare

Changelog

  • 8a2bdb2 fix: Block search for unused key in windows platform (not supported yet), improve README documentation, change message of the command

v0.3.0

04 Feb 01:14
Compare
Choose a tag to compare

Changelog

  • 094aec8 chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
  • d715f33 chore(deps): bump google.golang.org/api from 0.214.0 to 0.219.0
  • 5daef69 chore: Update goreleaser to dont use deprecated property and remove dist/ directory with 'make clean' command
  • 9335398 ci: Add dependabot to check for go.mod updates weekly
  • b91982c feat: Add --all flag to 'check' and 'normalize' commands. To get translations from ALL modules of the project
  • c673740 feat: Add --print-only boolean flag to translation cmd. Only print and not write to the files
  • 4d23989 feat: Add keys incosistencies between resource files with 'check' cmd
  • 5a832e2 feat: Add new key using translations sorted if the file is already sorted by keys, otherwise, will add in the last position
  • 295d7b6 feat: Validate if passed key is correct in 'translate' and 'remove' commands
  • f522419 refactor: Refactor error handling to always return an error and commands run with RunE, also create test for commands to check if the directory is an android project

v0.2.0

13 Jan 04:21
Compare
Choose a tag to compare

Changelog

  • 66c6380 Add some tests to 'internal/xml.go', 'internal/translation_test.go' and 'internal/android_project.go'
  • c62dc06 Change the cobra entry point name from 'att' to 'polyglot', move block if not an android project from 'main' to run commands, add autocompletion to 'bash' in 'make build'
  • 88176c2 feat: Create 'check' command to check if files are normalized (for now, only sorted by key)
  • 41b495a feat: Create 'normalize' command to normalize files (for now, only sort by key)
  • f7c25c9 feat: Search for possible unused keys in 'check' cmd. Use ripgrep (preferred) or grep
  • 9bbce34 refactor: create SingleSelectResDirectoryAndReturnTranslations method to be reused between command

v0.1.1

10 Jan 22:43
Compare
Choose a tag to compare

Changelog

  • c579b05 Fix goreleaser, set new version

v0.1.0

10 Jan 22:40
Compare
Choose a tag to compare

Release v0.1.0: Initial Polyglot CLI for Android Translation Management

  • Implement core functionality for translating and managing Android string resources
  • Add support for Google Translate API integration
  • Create commands for translating and removing strings across multiple language files
  • Implement interactive resource directory selection using Bubble Tea
  • Include Makefile for common development tasks
  • Set up project structure with separate packages for commands and internal logic

This initial release provides a foundation for streamlined translation management in Android projects, offering an efficient CLI tool for developers working with multilingual applications.

Full Changelog: https://github.com/gustoliveira/polyglot/commits/v0.1.0