ttag
ttag copied to clipboard
:orange_book: simple approach for javascript localization
I have two phrases  both of them are translated  but 2nd(where I use `br` twice) doesn't get a translation  the problem is here https://github.com/ttag-org/ttag/blob/811efc38fa31e63d58c3978c1a96a6cedb728907/src/utils.js#L89  because of...
Closes #212
Hey! I'm struggling with an issue. I need to group my localized strings in a JS object and then use them calling the gettext function. The code works great but...
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. Changelog Sourced from async's changelog. v2.6.4 Fix potential prototype pollution exploit (#1828) Commits c6bdaca Version 2.6.4 8870da9 Update built files 4df6754 update changelog 8f7f903...
Same the title, Is it required reload page to load new language? I tried don't reload but the language will not show new. Please check
Based on my other issue #225 wondering if this was a dead project, I think ttag could use a little makeover. ## Issues or why did I ask if it...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.27.0. Release notes Sourced from prismjs's releases. v1.27.0 Release 1.27.0 v1.26.0 Release 1.26.0 v1.25.0 Release 1.25.0 v1.24.1 Release 1.24.1 v1.24.0 Release 1.24.0 Changelog Sourced from...
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5. Release notes Sourced from shelljs's releases. v0.8.5 This was a small security fix for #1058. Commits 70668a4 0.8.5 d919d22 fix(exec): lockdown file permissions (#1060)...
Hello, I'm wondering if the type for Locale data in https://github.com/ttag-org/ttag/blob/master/types/index.d.ts#L16 shouldn't be `export interface LocaleData { headers: Headers; translations?: Translations; contexts?: Translations; }` Both the [localeData validator](https://github.com/ttag-org/ttag/blob/cab2ecfb15458c7ae47a74ba37f99ea4fac2f353/src/validation.js#L22) or other...