[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto-translate seemed to hang on GTK3


On Wednesday, September 18th, 2024 at 20:38, Bruce Steers <bsteers4@xxxxxxxxx> wrote:

> 
> 
> On Mon, 16 Sept 2024 at 14:26, Bruce Steers <bsteers4@xxxxxxxxx> wrote:
> 
> I think that bug i mentioned is similar to the one you recently fixed that got the offline documentation finally working in GTK3 as a difference in the Wait args fixes it.
> I improved my progress reading too by making a quick count of the unfilled fields before starting so my total is the strings to be filled not all items.
> 
> But i soon required another feature with the translator.
> I just wanted to view the unfilled translations not have to scroll through all of them.
> 
> So I added a checkbox called 'Hide filled' to the translator view.
> 
> Public Sub chkHideFilled_Click()
> 
>   For Each sKey As String In cvwTranslate.Keys
>     cvwTranslate[sKey].Visible = If(chkHideFilled.Value, cvwTranslate[sKey][1] = "", True)
>   Next
> 
> End
> 
> Very handy :)
> 
> Respects
> 

That is indeed a very handy addition, especially when translating large project with many strings to translate and 1 get's added that isn't ;-)

Hope it makes it to official gambas..

gbWilly

gbWilly


References:
auto-translate seemed to hang on GTK3Bruce Steers <bsteers4@xxxxxxxxx>
Re: auto-translate seemed to hang on GTK3Bruce Steers <bsteers4@xxxxxxxxx>