[PATCH] Fix setting locale in Kazam's UI

Bug #1793400 reported by Mikhail Novosyolov
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kazam Screencaster
New
Undecided
Unassigned
kazam (Ubuntu)
Fix Released
Undecided
Unassigned
Disco
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Kazam UI is not fully translated on non-English locales

[Test Case]
* Generate a non-English locale
* run:
env LC_ALL=<locale> kazam
* see that its UI is not fully localized
* apply this patch and rerun kazam with non-English locale

[Regression Potential]
Regressions are not expected, this patch has been used in other Linux distributions (ROSA and ALT) for several months already.

**************
This patch fixes setting the locale of Kazam's UI.
Without it, Kazam 1.4.5 does not use localizations and is in English on systems with any locale.

Revision history for this message
Mikhail Novosyolov (mikhailnov) wrote :
Revision history for this message
Mikhail Novosyolov (mikhailnov) wrote :

This is a screenshot of Kazam in Russian before and after the patch.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "kazam-1.4.5-setlocale.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kazam - 1.4.5-3

---------------
kazam (1.4.5-3) experimental; urgency=medium

  * Team upload.
  * Acknowledge NMU, thanks Nicolas Braud-Santoni!

  [ Andrew Starr-Bochicchio ]
  * Migrate to Debian GitLab (Closes: #895790).
  * Maintain in the Python Applications Packaging Team and
    move myself to Uploaders.
  * Add versionized depends on gstreamer1.0-plugins-good
    (>= 1.14.0-1) to ensure the lame MP3 encoder is installed
    during upgrades (Closes: #894497).
  * Build using pybuild.
  * Bump Standards-Version to 4.1.4, no changes needed.
  * debian/patches/fix-PyGIWarnings.patch: Properly import
    from PyGI by setting require_version.

  [ Ondřej Nový ]
  * d/control: Remove ancient X-Python3-Version field
  * d/copyright: Use https protocol in Format field
  * d/changelog: Remove trailing whitespaces

  [ Dmitry Shachnev ]
  * Merge the new fix-configuration-handling.patch into existing
    configparser_api_changes.patch, they are changing the same code.
  * debian/patches/setlocale.patch: Fix setting the UI locale.
    Thanks to Mikhail Novosyolov for the patch! (LP: #1793400)

 -- Dmitry Shachnev <email address hidden> Sat, 08 Jun 2019 11:59:36 +0300

Changed in kazam (Ubuntu):
status: New → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Mikhail, or anyone else affected,

Accepted kazam into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/kazam/1.4.5-2.1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in kazam (Ubuntu Disco):
status: New → Fix Committed
tags: added: verification-needed verification-needed-disco
Revision history for this message
Mikhail Novosyolov (mikhailnov) wrote :

It works

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thanks for testing, marking as verified then.

tags: added: verification-done verification-done-disco
removed: verification-needed verification-needed-disco
Revision history for this message
Brian Murray (brian-murray) wrote :

The SRU team needs some more information about the verification process before we feel comfortable releasing it. A screenshot showing the translations and the version of the package installed would help.

tags: added: verification-needed-disco
removed: verification-done-disco
Revision history for this message
Mikhail Novosyolov (mikhailnov) wrote :

Screenshot is attached

tags: added: verification-done-disco
removed: verification-needed-disco
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kazam - 1.4.5-2.1ubuntu0.1

---------------
kazam (1.4.5-2.1ubuntu0.1) disco; urgency=medium

  * debian/patches/setlocale.patch: Fix setting the UI locale.
    Thanks to Mikhail Novosyolov for the patch! (LP: #1793400)

 -- Dmitry Shachnev <email address hidden> Tue, 11 Jun 2019 13:31:41 +0300

Changed in kazam (Ubuntu Disco):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for kazam has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.