Catalog cleanup: words, not letters
The previous cleanup checked the alphabet: a name with foreign letters never reaches the catalog. But “Суп курячий з крутонами” passes that check easily - every letter is Russian, the language is not. v0.18.0 closes that gap.
This cleanup happened in the Russian catalog; the product names below are the Russian UI’s, translated. The English interface has its own product list, untouched by this release.
The check reads words, not just letters (v0.18.0)
Besides the alphabet, the build now checks vocabulary: a name whose wording is not Russian never reaches the catalog, even when every letter is. Typo twins left together with them: 10,004 rows became 9,928. The soup listed as “куринный” counted as a separate product with its own calories - one honest «Куриный» remains. Existing entries are unaffected: a diary entry keeps the nutrition snapshot from the moment it was added, and a dish keeps the ingredient’s own numbers and stays editable. The removed rows simply leave search and the frequent list.
One row that v0.13.1 kept as its own product (“Картофельное пюре Роллтон”) has left the catalog: its source row in the open data is worded in another language and fails the strict check. Existing diary entries and dishes with it keep their own numbers; it simply leaves search and the frequent list. The Russian “Лапша Роллтон” stays.
Long names no longer stretch toasts (v0.18.0)
The week plan - and its “no longer suggested” toast - is a Russian-interface feature for now: the Plan tab stays hidden in the English interface until the week plan ships there. In that toast, a long dish name could stretch to three or four lines and crowd the undo button. Now the name cuts off after two lines, and the day counter (“Ещё в плане” - “still in the plan”) always sits whole on its own line.
A stale tab reloads instead of losing entries (v0.18.0)
With the app open in two tabs, a storage upgrade by one tab used to leave the other working on a closed connection: the screen looked alive, new entries vanished. Such a tab now reloads itself and keeps working.
How it looks
Type “курячий” or “куринный” in the Russian search (Profile, “Language”, pick “Русский”) - nothing: only the correct spellings remain. The English catalog never carried these rows. A long name in the toast cuts off after two lines with an ellipsis, the day counter below.