https://bugs.kde.org/show_bug.cgi?id=316650

Carlo Vanini <silh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/libq
                   |                            |apt/0b0c3f8d1e6314a97264072
                   |                            |c7907ddc02dc94649
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #8 from Carlo Vanini <silh...@gmail.com> ---
Git commit 0b0c3f8d1e6314a97264072c7907ddc02dc94649 by Carlo Vanini.
Committed on 04/07/2016 at 09:18.
Pushed by vanini into branch 'master'.

Remove leading space in description only if present.

When descriptions are loaded from translation files they start with a
leading whitespace. But when translations are missing that space is not
present.  Therefore, remove the first character only if it actully is a
space.
REVIEW: 128337

Testing Done:
Tested with Muon

Before patching:

* sudo apt-get -o=Acquire::Languages=none update
* run Muon and notice the missing character

After patching:

* run Muon, the character is there
* sudo apt-get update # get back translations
* run Muon, correct description, no leading whitespace

M  +3    -1    src/package.cpp

http://commits.kde.org/libqapt/0b0c3f8d1e6314a97264072c7907ddc02dc94649

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to