Re: Crow Translate

2024-07-11 Thread Hennadii Chernyshchyk
> Where it says "Traducció auto" it is just "Traducció automàtica" but the
text is cut.

Thanks for the report, I will take a look!

> But which one are we using?

We pick a random default instance to spread the load. But users can set a
preferred one in settings.

> Could I ask for a dialog that has a "don't show again" check and the
check is not checked?

Makes sense, I will add!

чт, 11 июл. 2024 г. в 01:27, Albert Astals Cid :

> El dimarts, 9 de juliol del 2024, a les 0:48:12 (CEST), Hennadii
> Chernyshchyk
> va escriure:
> > > No I mean link to BrezeIcons library.
> >
> > Ah, I didn't know that there was a library for it! Will change it, thank
> > you.
> >
> > > The problem is that the defaultLocale() function returns the C QLocale
> >
> > which is wrong since that's not the default locale on my user.
> >
> > I never apply QLocale::c(). I see how it could be confusing, but I
> actually
> > use it as a special value to apply a system locale here:
> >
> https://invent.kde.org/office/crow-translate/-/blob/master/src/settings/apps
> > ettings.cpp#L63 (I may need to refactor this part)
>
> Fixed in 62e49303157cdfdf2758b09ff7b4530ff1eb921c :)
>
> Possibly related to translations, the sizing could be a bit better, see
> https://i.imgur.com/wvSrGc0.png
>
> Where it says "Traducció auto" it is just "Traducció automàtica" but the
> text
> is cut. You can see the text if you make the window wider.
>
> This is not critical, but would be nice that a user doesn't get cut text
> on
> startup.
>
> >
> > By any chance you run a flatpak? If yes, I know about this issue and I am
> > working on it right now:
> > https://invent.kde.org/office/crow-translate/-/merge_requests/724.
> > For some reason it doesn't work when packaged as flatpak, I am
> > investigating it right now.
> >
> > > Self hosted by who?
> >
> > Can be self-hosted by anyone. Here is the list of known instances:
> > https://codeberg.org/aryak/mozhi#instances
>
> But which one are we using?
>
> Or is it a random one each time?
>
> >
> > > How does that matter?
> > > If i add the text of my potentially Nobel winning research for
> >
> > translation, it
> >
> > > will still end up in NonFreeSoftwareService and NonFreeSoftwareService
> >
> > can
> >
> > > read it and potentially steal it.
> >
> > Ah, it's a valid concern.
> > What I tried to say is that it doesn't spy on specific users since data
> > basically goes through an instance instead of talking to a non-free
> service
> > directly.
> > Would you prefer to add a warning on a first startup?
>
>
> A warning on first startup sounds good to me :) Could I ask for a dialog
> that
> has a "don't show again" check and the check is not checked?
>
> Cheers,
>   Albert
>
> >
> > вт, 9 июл. 2024 г. в 01:26, Albert Astals Cid :
> > > El dimarts, 9 de juliol del 2024, a les 0:12:48 (CEST), Hennadii
> > > Chernyshchyk
> > >
> > > va escriure:
> > > > Thanks for looking into the app!
> > > >
> > > > > Please remove the submodule of breeze-icons and replace it by a
> > > >
> > > > dependency to breeze-icons.
> > > >
> > > > Could you elaborate? You mean to use something like FetchContent from
> > >
> > > CMake?
> > >
> > > > I use it to bundle icons for Windows since on Windows there are no
> icon
> > > > themes.
> > >
> > > No I mean link to BrezeIcons library.
> > >
> > > > > Translations are not loaded properly. (i.e. i get the UI in English
> > > >
> > > > instead of
> > > > Catalan)
> > > >
> > > > Are you running the application from the build directory? If yes,
> then
> > >
> > > you
> > >
> > > > won't have translation because the application expects them to be
> > > > located
> > > > in a system path. I have an application from the latest commit
> installed
> > > > system-wide and translations work.
> > > > I can tweak it to make it work from the build directory as well by
> > >
> > > looking
> > >
> > > > into the ECMPoQm folder.
> > >
> > > The problem is that the defaultLocale() function returns the C QLocale
> > > which
> > > is wrong since that's not the default locale on my user.
> > >
> > > > > I would appreciate a big warning when using non-free software
> engines
> > > >
> > > > All engines use Mozhi which is self-hosted.
> > >
> > > Self hosted by who?
> > >
> > > > Yes, it talks to non-free
> > > > software engines, but it's similar to Invidious or Piped - all
> > > > communication is done through a user-choosed instance.
> > >
> > > How does that matter?
> > >
> > > If i add the text of my potentially Nobel winning research for
> > > translation, it
> > > will still end up in NonFreeSoftwareService and NonFreeSoftwareService
> can
> > > read it and potentially steal it.
> > >
> > > Cheers,
> > >
> > >   Albert
> > >
> > > > I'm fine with adding a warning, but I also think that privacy is
> > > > somewhat
> > > > protected.
> > > >
> > > > вт, 9 июл. 2024 г. в 00:53, Albert Astals Cid :
> > > > > El dissabte, 6 de juliol del 2024, a les 0:57:22 (CEST), Hennadii
> > > > > Chernyshchyk
> > > > >
> >

Re: Help with DCOP

2024-07-11 Thread Albert Vaca Cintora
You will want to write to the Trinity mailing list then. Modern KDE has
moved on and uses DBus.

On Thu, 11 Jul 2024, 01:01 Riley Bell,  wrote:

> I'm on Trinity, so in a way I guess?
>
> On Wednesday 10 July 2024 02:08:22 am you wrote:
> > Are you using KDE 3?
> >
> > On Wed, Jul 10, 2024 at 9:53 AM Riley Bell 
> wrote:
> > > I'm trying to add a function to the DCOP interface for Agregator. I
> added
> > > importFile() to akregator_partiface.h the same way exportFile() is
> there
> > > but
> > > it doesn't show up in the DCOP browser or work when I call it from
> main.
> > > I tried clean building but nothing seems to be working.
> > >
> > > PS. Where are the man pages located?
> > >
> > > Thank you.
> > >
> > > -
> > > This free account was provided by VFEmail.net - report spam to
> > > ab...@vfemail.net
> > >
> > > ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of
> > > the NSA's hands!
> > > $24.95 ONETIME Lifetime accounts with Privacy Features!
> > > 15GB disk! No bandwidth quotas!
> > > Commercial and Bulk Mail Options!
>
>
> -
> This free account was provided by VFEmail.net - report spam to
> ab...@vfemail.net
>
> ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of
> the NSA's hands!
> $24.95 ONETIME Lifetime accounts with Privacy Features!
> 15GB disk! No bandwidth quotas!
> Commercial and Bulk Mail Options!
>


Re: Crow Translate

2024-07-11 Thread Hennadii Chernyshchyk
> Thanks for the report, I will take a look!

Fixed!


Regardless of the warning. I think that the only translation engine that
fully respects privacy is LibreTranslate.
But it doesn't support automatic language detection and can't do TTS. It's
also disabled on the main Mozhi instance (instances can disable specific
engines if they want).
So I can add a warning, but there is not much to choose from :(
Do you still think it's a good idea?

We can alternatively add this information to the project description in the
appdata and README. And also inform that some instances can disable
specific engines. What do you think about it?

чт, 11 июл. 2024 г. в 01:38, Hennadii Chernyshchyk :

> > Where it says "Traducció auto" it is just "Traducció automàtica" but the
> text is cut.
>
> Thanks for the report, I will take a look!
>
> > But which one are we using?
>
> We pick a random default instance to spread the load. But users can set a
> preferred one in settings.
>
> > Could I ask for a dialog that has a "don't show again" check and the
> check is not checked?
>
> Makes sense, I will add!
>
> чт, 11 июл. 2024 г. в 01:27, Albert Astals Cid :
>
>> El dimarts, 9 de juliol del 2024, a les 0:48:12 (CEST), Hennadii
>> Chernyshchyk
>> va escriure:
>> > > No I mean link to BrezeIcons library.
>> >
>> > Ah, I didn't know that there was a library for it! Will change it, thank
>> > you.
>> >
>> > > The problem is that the defaultLocale() function returns the C QLocale
>> >
>> > which is wrong since that's not the default locale on my user.
>> >
>> > I never apply QLocale::c(). I see how it could be confusing, but I
>> actually
>> > use it as a special value to apply a system locale here:
>> >
>> https://invent.kde.org/office/crow-translate/-/blob/master/src/settings/apps
>> > ettings.cpp#L63 (I may need to refactor this part)
>>
>> Fixed in 62e49303157cdfdf2758b09ff7b4530ff1eb921c :)
>>
>> Possibly related to translations, the sizing could be a bit better, see
>> https://i.imgur.com/wvSrGc0.png
>>
>> Where it says "Traducció auto" it is just "Traducció automàtica" but the
>> text
>> is cut. You can see the text if you make the window wider.
>>
>> This is not critical, but would be nice that a user doesn't get cut text
>> on
>> startup.
>>
>> >
>> > By any chance you run a flatpak? If yes, I know about this issue and I
>> am
>> > working on it right now:
>> > https://invent.kde.org/office/crow-translate/-/merge_requests/724.
>> > For some reason it doesn't work when packaged as flatpak, I am
>> > investigating it right now.
>> >
>> > > Self hosted by who?
>> >
>> > Can be self-hosted by anyone. Here is the list of known instances:
>> > https://codeberg.org/aryak/mozhi#instances
>>
>> But which one are we using?
>>
>> Or is it a random one each time?
>>
>> >
>> > > How does that matter?
>> > > If i add the text of my potentially Nobel winning research for
>> >
>> > translation, it
>> >
>> > > will still end up in NonFreeSoftwareService and NonFreeSoftwareService
>> >
>> > can
>> >
>> > > read it and potentially steal it.
>> >
>> > Ah, it's a valid concern.
>> > What I tried to say is that it doesn't spy on specific users since data
>> > basically goes through an instance instead of talking to a non-free
>> service
>> > directly.
>> > Would you prefer to add a warning on a first startup?
>>
>>
>> A warning on first startup sounds good to me :) Could I ask for a dialog
>> that
>> has a "don't show again" check and the check is not checked?
>>
>> Cheers,
>>   Albert
>>
>> >
>> > вт, 9 июл. 2024 г. в 01:26, Albert Astals Cid :
>> > > El dimarts, 9 de juliol del 2024, a les 0:12:48 (CEST), Hennadii
>> > > Chernyshchyk
>> > >
>> > > va escriure:
>> > > > Thanks for looking into the app!
>> > > >
>> > > > > Please remove the submodule of breeze-icons and replace it by a
>> > > >
>> > > > dependency to breeze-icons.
>> > > >
>> > > > Could you elaborate? You mean to use something like FetchContent
>> from
>> > >
>> > > CMake?
>> > >
>> > > > I use it to bundle icons for Windows since on Windows there are no
>> icon
>> > > > themes.
>> > >
>> > > No I mean link to BrezeIcons library.
>> > >
>> > > > > Translations are not loaded properly. (i.e. i get the UI in
>> English
>> > > >
>> > > > instead of
>> > > > Catalan)
>> > > >
>> > > > Are you running the application from the build directory? If yes,
>> then
>> > >
>> > > you
>> > >
>> > > > won't have translation because the application expects them to be
>> > > > located
>> > > > in a system path. I have an application from the latest commit
>> installed
>> > > > system-wide and translations work.
>> > > > I can tweak it to make it work from the build directory as well by
>> > >
>> > > looking
>> > >
>> > > > into the ECMPoQm folder.
>> > >
>> > > The problem is that the defaultLocale() function returns the C QLocale
>> > > which
>> > > is wrong since that's not the default locale on my user.
>> > >
>> > > > > I would appreciate a big warning when using non-free software
>> engines
>> >