Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
meld
meld
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 180
    • Issues 180
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • meldmeld
  • Issues
  • #380

Closed
Open
Opened Oct 03, 2019 by kazt81@kazt81

Suppress unnecessary translation related warnings on Windows

When launching meld3 from the command line especially msys2 environment, you will see the following warning messages related to translation. I don't think this is an issue but there's a workaround to suppress it by using gettext module instead of libintl with ctypes.cdll class.

Couldn't bind the translation domain. Some translations won't work.

[WinError 126] The specified module could not be found

If you apply some changes to use gettext into the following part:

https://gitlab.gnome.org/GNOME/meld/blob/master/bin/meld#L111

https://gitlab.gnome.org/GNOME/meld/blob/master/bin/meld#L119

those unnecessary warnings will never be shown.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/meld#380