Commit Graph

100 Commits

Author SHA1 Message Date
wp
11f3b2e904 pochecker: Alternate solution for growing-form problem.
git-svn-id: trunk@65137 -
2021-05-26 09:06:27 +00:00
wp
4b4a0c7d92 pochecker: Finally fix main form scaling issue (hopefully...)
git-svn-id: trunk@65133 -
2021-05-25 18:24:13 +00:00
maxim
f4a42c7384 POChecker: improved/clarified main form uses clause (LCLTranslator unit is needed only in standalone mode)
git-svn-id: trunk@65132 -
2021-05-25 13:46:31 +00:00
wp
e4eac5dffe pochecker: Move reading mainform size into OnShow event to avoid unnecessary size scaling.
git-svn-id: trunk@65131 -
2021-05-25 12:02:53 +00:00
wp
4f16d7a5d5 pochecker: Fix LCLscaling issue of main form growing with every start.
git-svn-id: trunk@65128 -
2021-05-24 17:14:41 +00:00
bart
f776807c68 POChecker (standalone): fix compilation.
git-svn-id: trunk@65126 -
2021-05-24 10:45:20 +00:00
juha
95b5489cff Components: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64466 -
2021-02-05 11:28:16 +00:00
juha
751852a44a LazUtils: New function UTF8CompareLatinTextFast. Use in IDE instead of UTF8CompareText.
git-svn-id: trunk@64385 -
2021-01-14 13:52:23 +00:00
maxim
056c393c8f POChecker: store total translation statistics in TPOFamilyList
git-svn-id: trunk@62834 -
2020-03-31 16:21:23 +00:00
maxim
7bf136d6ac POChecker: there is no need to copy PoFamilyStats all over the place anymore
git-svn-id: trunk@62833 -
2020-03-31 14:19:29 +00:00
maxim
48951b67fb POChecker: there is no need to copy logs to result form separately anymore
git-svn-id: trunk@62832 -
2020-03-31 13:30:35 +00:00
maxim
30f1ec9708 POChecker: store PoFamilyList in one place
git-svn-id: trunk@62829 -
2020-03-31 13:02:44 +00:00
ondrej
74fb203f39 LCL: Screen.BeginTempCursor & EndTempCursor
git-svn-id: trunk@62664 -
2020-02-23 06:04:38 +00:00
maxim
6e821e62a0 PoChecker: simplified code by removing TPoTestOptions set (which had only one element) and directly analyzing LangID value instead
git-svn-id: trunk@62071 -
2019-10-17 23:29:03 +00:00
maxim
04138e9fe7 POChecker: moved log handling code to TPOFamilyList class, where it really belongs to
git-svn-id: trunk@62030 -
2019-10-10 22:08:41 +00:00
maxim
71fc709658 POChecker: do not silently remove nonexistent .pot files when populating master file list on form show, let user be notified about them when scanning directory or running tests
git-svn-id: trunk@62004 -
2019-10-06 21:03:03 +00:00
maxim
e0dbe02d9b POChecker:
*) Let TPOFamilyList class handle checking of translation files presence, do not duplicate this functionality in TPoCheckerForm.TryCreatePOFamilyList.
 *) Do not remove in TPoCheckerForm.TryCreatePOFamilyList method missing entries from the list of master files (templates), only warn about them and ignore. The list will be updated (missing files will be removed and new files will be added) during the next search in directory with translations by the user.
 *) Do not try to free POFamilyList immediately if it was empty or had an exception on creation (it is enough that it is freed when POChecker form is destroyed or 'Run tests' button is pressed).
 *) Warn user if no translation files were found at all.
 *) Regenerated translations and updated Russian translation.

git-svn-id: trunk@61905 -
2019-09-20 23:05:10 +00:00
maxim
1b7dab9789 POChecker: try to translate LCL only if language was switched successfully
git-svn-id: trunk@61616 -
2019-07-22 22:16:27 +00:00
maxim
631fcf53e1 POChecker: Removed lots of duplicate translation initialization code, which was used for standalone build. Now using LCLTranslator unit means for this.
git-svn-id: trunk@61542 -
2019-07-05 23:12:15 +00:00
maxim
6c0a0881f5 PoChecker: do not reposition language combobox manually when resizing master PO listbox, anchors are sufficient
git-svn-id: trunk@61530 -
2019-07-04 22:41:22 +00:00
maxim
4d87dcf835 PoChecker: removed unused TPoCheckerForm.AddToMasterPoList(Fn: String) method
git-svn-id: trunk@60656 -
2019-03-11 22:34:42 +00:00
maxim
b439763004 POChecker: added ability to ignore master files in directories where .pocheckerignore file is present
git-svn-id: trunk@60211 -
2019-01-24 23:47:17 +00:00
maxim
684c367b8a IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts.
Reasons:
1. .pot is 'industry standard' extension for PO template files. As a consequence, PO editors can now open our templates 'out of the box' and automate creation of translations.
2. It is now much simpler to detect template files now that dotted unit names are allowed.

git-svn-id: trunk@60208 -
2019-01-24 23:02:37 +00:00
maxim
74c6d01e3e PoChecker: TryCreatePoFamilyList function correctly frees PoFamilyList when necessary, there is no need to make an extra check if it needs to be freed after this function is called.
git-svn-id: trunk@58411 -
2018-06-25 22:29:55 +00:00
maxim
a8c53413f8 POChecker: since Duplicate Originals report is now shown in separate tab in Results window, removed test option whether to show it or not (i.e. always show it now). This change also allowed to remove (now useless) 'Select Basic' button, thus simplifying UI.
git-svn-id: trunk@58023 -
2018-05-24 23:28:09 +00:00
maxim
d7f2afdc7f POChecker: do not show translation totals (number of translated/untranslated/fuzzy strings) in 'all languages' mode. It didn't work correctly (these values reflected only last processed language) and there is no much point in knowing these values as a sum for all languages.
git-svn-id: trunk@57691 -
2018-04-23 23:30:46 +00:00
maxim
dfa7c11365 POChecker:
1) Report duplicate originals search results in separate tab of Results dialog, made this output more compact.
2) Improved captions.
3) Regenerated translations and updated Russian translation.

git-svn-id: trunk@57667 -
2018-04-18 22:56:50 +00:00
maxim
ea3e0c96cc POChecker: when running tests, do not warn about missing files in separate window, add this information to General Info tab in Results form instead
git-svn-id: trunk@57659 -
2018-04-16 23:09:05 +00:00
maxim
0c22a2c5a8 PoChecker: removed "Ignore translated strings marked as fuzzy" checkbox and related logic. Now formatting arguments errors are always shown for both fuzzy and non-fuzzy strings (they are all ignored by translation system anyway and therefore have equal importance) and user is notified about formatting error count in non-fuzzy strings if such errors are found. Regenerated translations and updated Russian translation.
git-svn-id: trunk@57643 -
2018-04-11 23:10:14 +00:00
maxim
334865d488 POChecker: removed 'No errors found' label from main form. It is not needed since we now always show Results form.
git-svn-id: trunk@57607 -
2018-04-05 22:49:48 +00:00
maxim
cb77def736 POChecker:
1) Made Results form multitabbed.
2) Detailed translation statistics are now always written to separate tab in Results form; corresponding item in test selection checklistbox is removed.
3) Detailed translation statistics are written in more compact form (less lines per element).
4) "Copy to clipboard"/"Save to file" buttons in Results form are replaced with context menu.
5) Regenerated translations and updated Russian translation.

git-svn-id: trunk@57599 -
2018-04-03 22:15:51 +00:00
maxim
085dd5ef9f PoChecker: display summary form even if statistics showing is disabled (in this case it is simply not added to log). This allows user to always see translation completion status and get access to graphical summary.
git-svn-id: trunk@57546 -
2018-03-21 22:56:15 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
maxim
efdc90aafb POChecker: some code simplifications
git-svn-id: trunk@52510 -
2016-06-15 21:43:30 +00:00
maxim
57f75e90a3 POChecker: when scanning directory remove already present master files from the list if they went missing and notify user. Regenerated translations and updated Russian translation.
git-svn-id: trunk@52505 -
2016-06-14 23:47:36 +00:00
maxim
5b007c6b14 POChecker: replaced "Scan directory" and "Run selected tests" buttons with toolbar. This allows to accomodate for longer translated captions.
git-svn-id: trunk@52452 -
2016-06-07 23:13:12 +00:00
maxim
c5eddfc18f POChecker: removed "Open PO file" functionality.
Reasons:
1. It was a subset of "Scan directory" functionality.
2. There was no warning about orphaned files, they were ignored silently. This can be misleading.
3. It changed language combobox value in some cases, and this could lead to confusion.

While at this, improved main dialog layout.

git-svn-id: trunk@52451 -
2016-06-07 14:05:37 +00:00
maxim
ef85a2851f POChecker: fixed loading of master files selection state on Linux/GTK2
git-svn-id: trunk@52450 -
2016-06-07 12:13:30 +00:00
maxim
968167616f POChecker: merged "Scan Directory" and "Find troublesome files" functions, they were largerly duplicate (note, that we do not notify about added files anymore, only warn if orphaned files were found). Regenerated translations.
git-svn-id: trunk@52449 -
2016-06-06 23:11:24 +00:00
maxim
e1a6937cda POChecker: added ability to refresh translations (i.e. sync them with master .po file). Regenerated translations and updated Russian translation.
git-svn-id: trunk@52427 -
2016-06-02 23:13:21 +00:00
maxim
c97d62f4f5 POChecker: display total translated percentage in result report and Graphical Statistics form. While at this, improved alignment of values in result report and hints. Regenerated translations and updated Russian translation.
git-svn-id: trunk@52415 -
2016-05-30 21:49:14 +00:00
maxim
b2605a63b4 POChecker: added total translated/untranslated/fuzzy strings statistics to result report and Graphical Statistics form.
Regenerated translations and updated Russian translation.

git-svn-id: trunk@52401 -
2016-05-27 22:47:40 +00:00
bart
3ef7eb18fb PoChecker: Add function to check for troublesome po-files. Patch by Péter Gábor. Issue #0027093.
git-svn-id: trunk@51904 -
2016-03-10 17:22:11 +00:00
mattias
fe4f0721f2 pochecker: fixed compilation
git-svn-id: trunk@50936 -
2015-12-19 14:57:09 +00:00
juha
06ac76f560 LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
bart
f6eb786520 PoChecker: refactor.
git-svn-id: trunk@46639 -
2014-10-22 10:50:29 +00:00
bart
656d15b225 PoChecker: don't use SimplePoFiles anymore, all it's functionality now is in Translations unit. Patch by G. Colla.
git-svn-id: trunk@46638 -
2014-10-22 10:41:36 +00:00
mattias
9889acf86b pochecker: using new Translation unit. Disable -dUSE_NEW_TRANSLATIONS to get old behaviour. patch #26877 from G. Colla
git-svn-id: trunk@46579 -
2014-10-17 16:52:58 +00:00
bart
e3d93cbfbd PoChecker: implement some strategies to find languagefiles for pochecker application (Stand Alone version only).
git-svn-id: trunk@46562 -
2014-10-15 14:47:49 +00:00