[telepathy] [Bug 318190] Translations missing

Dan Vrátil dvratil at redhat.com
Fri Apr 12 18:18:27 BST 2013


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

Dan Vrátil <dvratil at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |0.6.1
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/tele
                   |                            |pathy-common-internals/ae56
                   |                            |f6c10f3cdedbe8088c71c24b555
                   |                            |531b25b8d

--- Comment #11 from Dan Vrátil <dvratil at redhat.com> ---
Git commit ae56f6c10f3cdedbe8088c71c24b555531b25b8d by Dan Vrátil.
Committed on 12/04/2013 at 19:15.
Pushed by dvratil into branch 'kde-telepathy-0.6'.

Load translation catalog and fix use of i18n in global scope

In order for KLocale to work, i18n() must not be used
in global static variables, because these are initialised
before KLocale. Use I18N_NOOP instead to mark the string
for translation and use i18n to perform the actual
lookup of the translated string only before displaying
the string to user.

Reviewed-By: David Edmundson
FIXED-IN: 0.6.1

M  +2    -0    CMakeLists.txt
M  +1    -0    KTp/CMakeLists.txt
M  +1    -0    KTp/Declarative/CMakeLists.txt
M  +1    -0    KTp/Models/CMakeLists.txt
M  +1    -0    KTp/Widgets/CMakeLists.txt
M  +12   -10   KTp/contact-info-dialog.cpp
A  +24   -0    global.cpp     [License: LGPL (v2+)]

http://commits.kde.org/telepathy-common-internals/ae56f6c10f3cdedbe8088c71c24b555531b25b8d

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-telepathy-bugs mailing list