Go to file
jordi fita mas bd124581cc Handle null strings in I18nInput.FillArray
Until now i always had the translations be empty strings if some columns
did not have the full translation, but this is going too far on the
non-NULL policy: surely they have a translations, but we do not know it
yet; this is the exact type of situations NULL values are for.

Besides the philosophical distinction, having empty strings instead of
NULLs is less practical, because i no longer can user coalesce() to
retrieve the default language text in case the translation for that
particular field is not available, even if the row for a locale exists.

In time i will change all _i18n relations, but for now only these from
campsite follow the “new policy”.
2024-01-26 22:31:11 +01:00
cmd/camper Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
debian Add the application’s version to the footer 2024-01-21 20:50:16 +01:00
demo Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00
deploy Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00
pkg Handle null strings in I18nInput.FillArray 2024-01-26 22:31:11 +01:00
po Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00
revert Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00
test Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00
verify Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00
web Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00
.gitignore Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
Makefile Add French’s Gettext file, with very little translations 2023-12-13 23:55:43 +01:00
go.mod Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
go.sum Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
sqitch.conf Add empty Sqitch configuration anq plan files 2023-07-20 23:43:23 +02:00
sqitch.plan Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00