Bug 391472 - Plasmoid cannot be translated
Summary: Plasmoid cannot be translated
Status: RESOLVED NOT A BUG
Alias: None
Product: Plasma Vault
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-06 16:42 UTC by Kai Uwe Broulik
Modified: 2018-04-10 21:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2018-03-06 16:42:17 UTC
Plasma vault exports its qml translations to plasmavault-kde.pot but plasma expects it to be plasma_applet_org.kde.plasma.vault.pot
Comment 1 Leszek Lesner 2018-03-19 12:16:53 UTC
So all it needs is this to fix it? 

diff --git a/Messages.sh b/Messages.sh
index db8982f..8f4817c 100644
--- a/Messages.sh
+++ b/Messages.sh
@@ -1,4 +1,4 @@
 #! /usr/bin/env bash
 $EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
-$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/plasmavault-kde
+$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/plasma_applet_o
 rm -f rc.cpp
Comment 2 Leszek Lesner 2018-03-19 12:18:38 UTC
(In reply to Leszek Lesner from comment #1)
> So all it needs is this to fix it? 
> 
Ignore the code as the formatting is broken. Here is a full diff: https://dpaste.de/of7i
Comment 3 Leszek Lesner 2018-03-19 12:55:30 UTC
Created this now: https://phabricator.kde.org/D11482
Comment 4 Burkhard Lück 2018-03-20 14:53:50 UTC
Plasma vault is translated using neon devedition gitunstable wth a locale /= en_US.
From my pov this report is invalid, see my comment on https://phabricator.kde.org/D11482