Skip to content

TrlUtil roadmap

src/Translation/TrlUtil, net10.0-windows, WinForms. Translation tool of the WinForms app; src/Translation/DefaultText.xml is the source of the generated KPRes.Generated.cs.

Goal and rules

  • Windows-only tool, used for the WinForms app only. Low priority.
  • DefaultText.xml and KPRes.Generated.cs must stay consistent: when a string is removed by hand, remove it from both, the way the tool would regenerate them.

Done

  • Mono / Unix code: 3 NativeLib.IsUnix() uses folded (constant false on Windows) and their aliases removed, during the lib Mono removal.
  • 8 KPRes strings only used by Unix code removed from DefaultText.xml and KPRes.Generated.cs (with the app's Unix leftovers).

  • Windows version flags folded (with the app): the search box cue text no longer depends on Windows Vista.

  • VoidDelegate replaced with Action (lib delegates removed).
  • .lngx files opened and saved with KPTranslation.Load / Save (plain XmlSerializer), no more XmlSerializerEx (removed from the app).

To do

  1. Follow the renames: TrlUtil references the WinForms app (project path) and uses its type names as translation keys ("KeePassCore.Forms.MainForm.m_menuMain", ...). Both must change with the rename to KeePassCore.WinApp (see the app roadmap), together with the namespace in DefaultText.xml.
  2. Remaining 2 DllImport → [LibraryImport] (same rules as the app).
  3. Check whether DefaultTextSD.xml (a KeePassLibSD leftover) and DefaultUpdateCs.bat (paths of the original KeePass layout) are still needed.
  4. Run on Windows (never run since the migration).