Releases: slang-i18n/slang
Releases · slang-i18n/slang
v3.26.2
v3.26.1
v3.26.0
v3.25.0
- feat: add
dart run slang clean
to remove unused translations after runningslang analyze
(#141) - feat: add
--exit-if-changed
toslang analyze
to fail CI if there are missing / unused translations (#141) - fix: code generator should not crash if context is not included in i18n (#165)
- fix: should not generate
contextBuilder
andnBuilder
parameter in rich text if not needed (#168)
v3.24.0
- feat:
slang edit add
respects order in base locale (@adil192) - feat:
slang edit add
works without a specified locale, it will add the string to all locales - feat: use
WidgetsBinding.instance.platformDispatcher
instead ofPlatformDispatcher.instance
infindDeviceLocale
implementation - fix: correctly obfuscate line breaks and single quotes
v3.23.0
v3.22.0
v3.21.0
v3.20.0
v3.19.0
- feat: add enum value inference (no need to specify
enum
in the config anymore) - feat: add
slang edit copy
to copy translations - feat: namespaces may contain underscores if at least one file of same directory uses locale from directory name
- DEPRECATED: Use explicit
context
modifier instead of relying on the config file (see migration guide)