Bug 357231 - Untranslatable strings in Kmail welcome message
Summary: Untranslatable strings in Kmail welcome message
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-27 21:17 UTC by André Marcelo Alvarenga
Modified: 2016-06-28 07:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.1


Attachments
Screenshot (156.46 KB, image/png)
2015-12-27 21:18 UTC, André Marcelo Alvarenga
Details
Screenshot (393.28 KB, image/png)
2016-04-24 00:31 UTC, André Marcelo Alvarenga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André Marcelo Alvarenga 2015-12-27 21:17:25 UTC
See screenshot. Just the new feature list is translated.
This untranslated strings is not in POT files.

Kmail 5.1 (KDE Applications 15.12)

Reproducible: Always
Comment 1 André Marcelo Alvarenga 2015-12-27 21:18:13 UTC
Created attachment 96319 [details]
Screenshot
Comment 2 Laurent Montel 2015-12-27 22:32:16 UTC
Indeed it seems that there is a problem to extract it
Comment 3 Laurent Montel 2015-12-28 05:58:36 UTC
Git commit 03ba020533dfe04be588db07b97b066323b1962a by Montel Laurent.
Committed on 28/12/2015 at 05:57.
Pushed by mlaurent into branch 'master'.

Fix show i18n. Grantlee doesn't support multi line.

M  +1    -3    kmail/about/introduction_kmail.html

http://commits.kde.org/kdepim/03ba020533dfe04be588db07b97b066323b1962a
Comment 4 Laurent Montel 2015-12-28 05:59:06 UTC
Now I need to understand how to extract message.
Comment 5 Laurent Montel 2015-12-28 06:01:03 UTC
Git commit 5b8b03e40a3bb14f215a843530c1ee67993262f7 by Montel Laurent.
Committed on 28/12/2015 at 06:00.
Pushed by mlaurent into branch 'Applications/15.12'.

Fix show i18n. Grantlee doesn't support multi line.
(cherry picked from commit 03ba020533dfe04be588db07b97b066323b1962a)

M  +1    -3    kmail/about/introduction_kmail.html

http://commits.kde.org/kdepim/5b8b03e40a3bb14f215a843530c1ee67993262f7
Comment 6 Laurent Montel 2015-12-28 06:22:04 UTC
Git commit f400fe56079349f26c242c23cc83cd0f5c9c31c1 by Montel Laurent.
Committed on 28/12/2015 at 06:22.
Pushed by mlaurent into branch 'Applications/15.12'.

Fix Bug 357231 - Untranslatable strings in Kmail welcome message

FIXED-IN: 5.1.1

A  +54   -0    grantlee-extractor-pot-scripts/extract_strings_ki18n.py
A  +365  -0    grantlee-extractor-pot-scripts/grantlee_strings_extractor.py
M  +1    -0    kmail/Messages.sh
M  +1    -0    kontact/Messages.sh

http://commits.kde.org/kdepim/f400fe56079349f26c242c23cc83cd0f5c9c31c1
Comment 7 André Marcelo Alvarenga 2016-04-24 00:31:26 UTC
Created attachment 98545 [details]
Screenshot

KMail don't load translations.

See screenshot.
Comment 8 Laurent Montel 2016-04-24 06:16:42 UTC
Are you sure that in po file in your language it's translated by i18n team ?
Comment 9 André Marcelo Alvarenga 2016-04-24 12:07:23 UTC
(In reply to Laurent Montel from comment #8)
> Are you sure that in po file in your language it's translated by i18n team ?
Yes.

I confirmed running "msgunfmt" in kmail.mo file. Same to Akregator introduction page (translated but no loaded by program).
Comment 10 Laurent Montel 2016-06-28 07:20:51 UTC
Fixed in grantleetheme in 5.3