Commit graph

7 commits

Author SHA1 Message Date
7911f2a8a9 Remove usage of gob 2024-07-21 23:30:26 -07:00
Didier Roche
4d8518bd51
Adapt multi-line test
This is the use case the more demanding: multi-line not finishing by
EOL.
Adapt the expect case for it.
2023-07-26 13:16:54 +02:00
Matyas Horky
8941f8bb1c Detect translations in low-level structs
This patch adds .IsTranslated(), .IsTranslatedN() and related functions
to following objects:
- Translation
- Domain

This makes it possible to detect whether a string is translatable or not
during runtime.
2023-04-04 18:12:48 +02:00
Felix von Drigalski
38cf034b07
Fix test 2022-03-31 23:34:21 +09:00
Felix von Drigalski
24bcff57f7 Format quotation marks, newlines for PO export 2022-03-31 13:55:00 +09:00
Jon Snyder
69291164ca add GetTranslations methods to Locale and Domain to allow access to all translations 2020-10-28 16:06:55 -07:00
Jon Snyder
bb276626f3 move common po.go/mo.go code to domain.go
adjust tests to reduce duplication
2020-09-10 13:02:24 -07:00