Page MenuHomeSolus

Update crow-translate to 2.4.1
ClosedPublic

Authored by algent on Jul 6 2020, 7:41 PM.
Tags
None
Referenced Files
F11050467: D9194.id22274.diff
Thu, Aug 10, 7:04 PM
F11050466: D9194.id22150.diff
Thu, Aug 10, 7:04 PM
F11050465: D9194.id.diff
Thu, Aug 10, 7:04 PM
F11035842: D9194.diff
Wed, Aug 9, 6:29 PM
F11018081: D9194.diff
Sun, Aug 6, 9:15 AM
F10863576: D9194.id22150.diff
Jun 17 2023, 3:02 AM
F10863357: D9194.id22274.diff
Jun 17 2023, 2:01 AM
F10858657: D9194.id22274.diff
Jun 15 2023, 5:47 PM
Subscribers

Details

Summary

Changelog:

  • Added
    • --brief option to print only translations.
    • The ability to add, remove or reorder used languages.
    • Swap languages shortcut.
  • Changed
    • Use https instead of http for all engines.
    • --audio-only option now only plays text.
    • Automatic translation disabled by default.
    • Fix duplicated default swap shortcut.
    • Improve global shortcuts error logging.

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan
  • Installed locally and translate a few sentences.
  • Check translations with Google, Yandex and Bing.
  • Translate using cli and keyboard shortcut
  • Use text speaking, in different languages.

Diff Detail

Repository
R4905 crow-translate
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

algent requested review of this revision.Jul 6 2020, 7:41 PM
JoshStrobl added inline comments.
pspec_x86_64.xml
26

Is this right? This seems more like a bug than anything

I have to check this with the developer:
/usr/share/Crow Translate/Crow Translate/translations/crow-translate_es_ES.qm
Better fixing this upstream.

Yea don't get me wrong, the patch looks good to me, but mind if I hold off until this is fixed upstream?

Issue seems to be at https://github.com/crow-translate/crow-translate/blob/master/CMakeLists.txt#L156

I checked with QOwnNotes and they put translation QM files in /usr/share/QOwnNotes/languages which seems more reasonable.

algent requested review of this revision.EditedJul 8 2020, 7:16 PM

According to developer this is intended.

This is intended. I not hardcoded this path, I just used built-in method to get it.
This is because the application have the same name as the company (Crow Translate). And Qt looks at /usr/share/Company/App Name/ on Linux.

@JoshStrobl If you think that we need to patch translations folder, then let me know.

Eh nah. Not something I'm going to get fussed about, just odd is all. Thank you for filing the issue upstream (and for the patch itself).

This revision is now accepted and ready to land.Jul 14 2020, 10:54 AM
This revision was automatically updated to reflect the committed changes.