Skip to content

v1.01.000

Choose a tag to compare

@Grovkillen Grovkillen released this 08 Nov 20:51
· 1 commit to trunk since this release

Changed

  • The Texts button finds a text by the thing it belongs to, no longer by matching words on the page. Turning it on loads the page again with gk_fields_pick=1; on that page each translatable name is marked where Redmine draws it, and the pencil leads to that exact text. Redmine's lists of trackers, statuses, enumerations, custom fields and roles get pencils too; their edit pages do not, so a name is never saved with a mark. Only a whole mark gets a pencil, and text a person wrote is left as it is. Turning it off hides the pencils without a reload.
  • The REST API with lang= gives name and name_lang (and description and description_lang) wherever Redmine's API views write the name of a tracker, status, priority, activity, category, role or custom field. They are added while the JSON is built, and the finished response is no longer read and rewritten.
  • The Translations link on Redmine's pages for trackers, statuses, roles, enumerations and custom fields is drawn through a hook at the top of the content (GK Core Stuff 1.02.000 or later). It no longer looks for the page's button row.
  • The languages to offer on the Configure page use GK GUI Stuff's searchable chooser. Without GK GUI Stuff, the plain list is shown.
  • The Texts button no longer fetches a list of texts. The page behind it (gk_fields/translations/texts) is gone; nothing else used it.
  • The Texts button never covers the page's content: it stands at the bottom right of the page, in a row of its own after everything else, instead of being held over the window, so no line of a page, panel or form lies under it at any scroll position.

Fixed

  • The whisper after Copy on the exchange page of Translations stands at the link, not low in the middle of the window.

Tested with Redmine 6.0.12, 6.1.6 and 7.0.3 (basic scenario, 80/96).

SHA-256 (gk_fields_v1.01.000.zip): 48e45743c5583f6d97c9213f28cce212dfe99980fb93ad72ecccaf9193ef9653