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.xmlandKPRes.Generated.csmust 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 (constantfalseon Windows) and their aliases removed, during the lib Mono removal. -
8 KPRes strings only used by Unix code removed from
DefaultText.xmlandKPRes.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.
VoidDelegatereplaced withAction(lib delegates removed)..lngxfiles opened and saved withKPTranslation.Load/Save(plainXmlSerializer), no moreXmlSerializerEx(removed from the app).
To do¶
- 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 toKeePassCore.WinApp(see the app roadmap), together with the namespace inDefaultText.xml. - Remaining 2
DllImport→[LibraryImport](same rules as the app). - Check whether
DefaultTextSD.xml(aKeePassLibSDleftover) andDefaultUpdateCs.bat(paths of the original KeePass layout) are still needed. - Run on Windows (never run since the migration).