1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41:00 +00:00
miniflux-v2/internal/locale
jvoisin dcfe0a7d94 refactor(locale): simplify pluralForm
Instead of having a switch-case returning a function to be executed, it's
simpler/faster to have a single function containing a switch-case. It also
allows to group languages with identical plural form in a single
implementation, and remove the "default" guard value, as switch-case already
have a `default:` case.
2025-07-07 15:30:41 -07:00
..
translations feat(locale): update Polish translation 2025-06-19 18:47:28 -07:00
catalog.go refactor(locale): remove a call to fmt.Sprintf 2025-07-07 15:30:41 -07:00
catalog_test.go refactor(locale): remove an unused function 2025-07-07 15:30:41 -07:00
error.go Refactor HTTP Client and LocalizedError packages 2023-10-22 13:09:30 -07:00
locale.go feat(locale): add Romanian translation 2025-03-28 11:11:20 -07:00
locale_test.go refactor(locale): delay parsing of translations until they're used 2024-12-09 17:05:14 -08:00
plural.go refactor(locale): simplify pluralForm 2025-07-07 15:30:41 -07:00
plural_test.go refactor(locale): simplify pluralForm 2025-07-07 15:30:41 -07:00
printer.go refactor(locale): simplify pluralForm 2025-07-07 15:30:41 -07:00
printer_test.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00