Commit Graph

238 Commits

Author SHA1 Message Date
maxim
f2caf1009a PoChecker: fixed off-by-one errors when showing updating/drawing progress in Graphical Statistics window
git-svn-id: trunk@58710 -
2018-08-14 22:24:29 +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
f3bc00c889 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #33847
git-svn-id: trunk@58251 -
2018-06-13 22:54:29 +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
a365ff3eef POChecker: cleaned up unused constant
git-svn-id: trunk@58018 -
2018-05-23 22:38:17 +00:00
maxim
0c938e3691 LazUtils: Translations unit: refactored TPOFile statistics (translated/untranslated/fuzzy counters) calculation:
1) Do not try to calculate statistics while reading/updating PO file. Instead calculate it on first read of Statistics property after file read/update. This simplifies logic, makes it easier to maintain and avoids unnecessary calculations when statisics are not actually needed (basically all cases except POChecker).
2) Grouped statistics fields in one record (all these values are usually needed at the same time).
3) Adapted POChecker to the new interface.

git-svn-id: trunk@57965 -
2018-05-18 22:40:50 +00:00
maxim
742ed30f1b PoChecker: clean up
git-svn-id: trunk@57830 -
2018-05-07 22:57:01 +00:00
maxim
91d023c1b6 PoChecker: use FindAllTranslatedPoFiles function from Translations unit
git-svn-id: trunk@57829 -
2018-05-07 22:44:33 +00:00
maxim
2a65c2b974 Translations: French translation update by Gilles Vasseur, bug #33673
git-svn-id: trunk@57786 -
2018-05-03 22:53:34 +00:00
maxim
8e4a25abdb Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #33648
git-svn-id: trunk@57713 -
2018-04-25 23:11:40 +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
055d910ecd POChecker: report missing files in ascending alphabet order in all cases
git-svn-id: trunk@57676 -
2018-04-19 23:32:09 +00:00
maxim
67119a8356 POChecker: report duplicate originals in ascending order of their lines
git-svn-id: trunk@57668 -
2018-04-18 23:01:48 +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
maxim
867c19ad44 PoChecker: removed unused simplepofiles.pp unit (its functionality was merged into translations.pas unit long ago and large part of it was commented out)
git-svn-id: trunk@57502 -
2018-03-13 22:58:11 +00:00
maxim
f23167b458 Translations: Simplified Chinese translation update by robsean, bug #33242
git-svn-id: trunk@57404 -
2018-02-27 23:23:20 +00:00
maxim
d67b1cba36 PoChecker: TPoFamily.CheckDuplicateOriginals rewritten in order not to use TPOFile.OriginalList
git-svn-id: trunk@57345 -
2018-02-21 22:56:28 +00:00
maxim
d6eb226fad POChecker: restored ability to report duplicate entries (was broken for several years and nobody noticed)
git-svn-id: trunk@57145 -
2018-01-24 23:59:59 +00:00
juha
6810c626df LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +00:00
maxim
682a383e55 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #32754
git-svn-id: trunk@56535 -
2017-11-29 22:49:04 +00:00
maxim
926062dcfd Translations: huge Chinese translation update by robsean, bug #32750
git-svn-id: trunk@56534 -
2017-11-29 22:32:14 +00:00
maxim
a1c5822f04 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #32213
git-svn-id: trunk@55609 -
2017-07-30 23:10:04 +00:00
maxim
ae97cba986 Translations: Lithuanian translation update by Valdas Jankūnas, bug #32126
git-svn-id: trunk@55502 -
2017-07-13 22:43:07 +00:00
maxim
732c7f90fd Translations: Lithuanian translation update by Valdas Jankūnas, bug #32126
git-svn-id: trunk@55474 -
2017-07-08 12:47:30 +00:00
maxim
37f2d73f0a Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31614
git-svn-id: trunk@54514 -
2017-04-03 23:24:37 +00:00
maxim
c74ec53ab7 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #31463
git-svn-id: trunk@54327 -
2017-03-02 22:17:27 +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
juha
cfd390c5c5 Order uses sections some more.
git-svn-id: trunk@53741 -
2016-12-20 22:32:52 +00:00
juha
73aa9aa4bb Order uses sections again to see dependencies better.
git-svn-id: trunk@53738 -
2016-12-20 16:26:44 +00:00
maxim
2e0d1a0645 Translations: French translation update by Gilles Vasseur, bug #30361
git-svn-id: trunk@52650 -
2016-07-08 22:24:14 +00:00
maxim
d0ea2a9956 Translations: Hungarian translation update by Péter Gábor, bug #30342
git-svn-id: trunk@52635 -
2016-07-05 22:12:22 +00:00
maxim
8c0f4930a9 Translations: regenerated German translation
git-svn-id: trunk@52634 -
2016-07-05 21:59:33 +00:00
mattias
a0963cc80d translations: German: updates from Swen Heinig
git-svn-id: trunk@52580 -
2016-06-27 07:27:19 +00:00
maxim
ff4aa8bcd4 POChecker: improved IDE menuitem caption, regenerated translations and updated Russian translation.
git-svn-id: trunk@52572 -
2016-06-22 22:27:27 +00:00
mattias
25e0c02d76 translations: German: updates from Swen Heinig
git-svn-id: trunk@52521 -
2016-06-19 17:00:51 +00:00
maxim
991df2faf8 POChecker: don't hide 'Open file in external editor' menuitem in Graphical Statistics form if external editor is not defined, just disable it (so user can know about this function at all)
git-svn-id: trunk@52514 -
2016-06-16 22:22:34 +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
c3296bdb1b Regenerated German translations
git-svn-id: trunk@52472 -
2016-06-10 17:08:19 +00:00
maxim
1f30e1af51 POChecker: fixed "Ignore fuzzy translations" option.
Previously all translations with bad formatting arguments were 
considered fuzzy, so these errors were not shown even for non-fuzzy 
translations if this option was enabled.

git-svn-id: trunk@52471 -
2016-06-10 16:49:49 +00:00
mattias
fade2507eb translations: German: updates from Swen Heinig
git-svn-id: trunk@52470 -
2016-06-10 07:55:53 +00:00
maxim
312f3d3439 POChecker: unify height of buttons in Result Dialog on Linux/GTK2 ("Close" button can be higher than others because of bigger default glyph)
git-svn-id: trunk@52453 -
2016-06-07 23:26:03 +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