Skip to content

FarosCMS 0.1.49

Choose a tag to compare

@github-actions github-actions released this 04 Oct 07:49
  • Admin > Translations is rebuilt around how people translate. The language is picked from buttons that show how far each is translated (instead of a list and an Apply button); a search finds a key or a text as you type; filters show only what is Missing, still the same as the source language or Customized (each with its count) and an area list narrows it to one part of the site. The strings are grouped by area (Archive, Footer, Form…, which can be folded), and each row has the source text under its key with the box to type in beside it, so a long page of keys and badges becomes a compact list. A missing string has a Use Greek text link that puts the source in the box; a customized one has Back to the theme text (or Delete this string for one you added). What you changed is marked in the row and counted in the bar below, and leaving with changes that are not saved asks first. A string of your own is added from a box at the top, in its own area. Long texts get a box that grows. The strings and the way they are saved are unchanged (custom/lang/<lang>.yaml)
  • Tests: tests/unit/translations.php (areas, states, counts, progress of each language, customized and own strings) and a new tests/http/translations_test.py (the screen, the language, who may, a change that the site shows and its way back, missing strings, a string of your own, the log). The full suite and CI were not run