Make infoMessages translatable
ClosedPublic

Authored by yurchor on Oct 14 2019, 2:45 PM.

Details

Summary

Currently, infoMessages from .kbstyle files are untranslatable. This patch allows extracting and translating these messages.

Test Plan
  1. Compile and install KBibTeX.
  2. Use extract-messages.sh script to extract messages and translate the new message.
  3. Move the new translation to its place.
  4. Open some BibTeX file with URL or DOI info and see the message translated.

Screenshot for uk (Ukrainian) locale:

Diff Detail

Repository
R462 KBibTeX
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
yurchor requested review of this revision.Oct 14 2019, 2:45 PM
yurchor created this revision.
yurchor edited the test plan for this revision. (Show Details)Oct 14 2019, 2:46 PM
thomasfischer accepted this revision.Oct 14 2019, 4:45 PM
thomasfischer added a subscriber: thomasfischer.

Looks fine to me. Ship it.

This revision is now accepted and ready to land.Oct 14 2019, 4:45 PM
This revision was automatically updated to reflect the committed changes.