On 08/02/2023 23:09, Luzemário Dantas wrote:
Can I use svn to get the latest files? I could clone the repo succesfully.
Sure. Assuming you have fetched the repository with "svn co" as I described earlier, you only have to perform an "svn up" from time to time to keep your copy of the repo up to date. The translation file related to SvarCOM is at svarcom/trunk/lang/br-utf8.txt
Ideally, you could edit this file to add the missing strings (look into en-utf8.txt for the reference strings) and then send me the result of your "svn diff" command. But if you send me the br-utf8.txt file itself then it's also fine of course, up to you.
Did you mind using poedit or such tool?
*.po files require extra horsepower to be processed. Including a PO parser within every SvarDOS application would be a waste of CPU, RAM and clusters. This doesn't matter on current hardware, but on an IBM PC with 256K of RAM and a CPU speeding at 4.77 MHz every byte and every cycle counts. :) The alternative would be to create some kind of PO-to-binary converter, but that would require human time. Considering that the strings are pretty much static and are unlikely to significantly change in the future, putting time and effort into extra translation-related tools does not seem justified at this moment.
Side note: currently all *.txt files are being processed at build time the following way: 1. utf8 is converted to whatever codepage is suitable for the given language using utf8tocp 2. the resulting set of 8-bit text files is packed into a single language resource file using the tlumacz.exe tool from svarlang.lib. This "tlumacz" tool is emitting warnings on screen if it finds any inconsistencies. If you'd like to test it, both the "tlumacz.exe" binary and its documentation are on svn, in the directory svarlang.lib/trunk/.
Mateusz _______________________________________________ Svardos-users mailing list Svardos-users@lists.osdn.me https://lists.osdn.me/mailman/listinfo/svardos-users