miniflux-v2/internal/locale
jvoisin 48fa64f8ec Use a switch-case construct in internal/locale/plural.go instead of an avalanche of if-if-if-if-if
Less lines or code and marginally greater readability, yay!
Oh and also preallocate a map in LoadCatalogMessages just because we can.
2024-02-28 19:36:38 -08:00
..
translations Add feed option to disable HTTP/2 to avoid fingerprinting 2024-02-24 22:30:26 -08:00
catalog.go Use a switch-case construct in internal/locale/plural.go instead of an avalanche of if-if-if-if-if 2024-02-28 19:36:38 -08:00
catalog_test.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
error.go Refactor HTTP Client and LocalizedError packages 2023-10-22 13:09:30 -07:00
locale.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
locale_test.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
plural.go Use a switch-case construct in internal/locale/plural.go instead of an avalanche of if-if-if-if-if 2024-02-28 19:36:38 -08:00
plural_test.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
printer.go Add a printer.Print to internal/locale/printer.go 2024-02-28 19:24:41 -08:00
printer_test.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00