Bug 361042

Summary: Messages from desktop/spectacle.khotkeys are not translatable
Product: [Applications] Spectacle Reporter: Alexander Potashev <aspotashev>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: luigi.toscano, WildSnake
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Potashev 2016-03-27 16:25:33 UTC
In the KCM "special actions" I see 3 actions for Spectacle in group "Screenshots". All the user-visible messages inside are not translatable. These are:

- "Screenshots" (name of group)
- Start Screenshot Tool
- Start the screenshot tool and show the GUI
- Take Full Screen Screenshot
- Take a full screen (all monitors) screenshot and save it
- Take Active Window Screenshot
- Take a screenshot of the currently active window and save it


Reproducible: Always
Comment 1 Boudhayan Gupta 2016-03-27 16:33:31 UTC
These strings are defined in spectacle.khotkeysrc.
Comment 2 Luigi Toscano 2016-03-27 16:40:01 UTC
Git commit d392910b25d45d4735a169955809ee0f8d4fb6c9 by Luigi Toscano.
Committed on 27/03/2016 at 16:38.
Pushed by ltoscano into branch 'Applications/16.04'.

Add ExtraDesktop file to make .khotkeys file translatable

Scripty uses this script to extend the set of files which are in desktop
format but with a different extension. This makes the strings in
the .khotkeys file translatable.
Copied from the same file in the khotkeys repository.

A  +4    -0    ExtraDesktop.sh

http://commits.kde.org/kscreengenie/d392910b25d45d4735a169955809ee0f8d4fb6c9
Comment 3 Axel 2016-04-25 17:18:04 UTC
the bug is not fixed
Comment 4 Axel 2016-04-25 17:20:16 UTC
trying to import https://github.com/KDE/spectacle/blob/master/desktop/spectacle.khotkeys -> 'The specified file is empty or not a configuration file'
Comment 5 Axel 2016-04-25 17:24:22 UTC
--- spectacle.khotkeys.old      2016-04-26 00:23:19.863178745 +0700
+++ spectacle.khotkeys  2016-04-26 00:22:13.310370689 +0700
@@ -1,6 +1,6 @@
 [Main]
 ImportId=spectacle
-Version=3
+Version=2
 
 [Data]
 DataCount=1
Comment 6 Luigi Toscano 2016-04-25 21:43:54 UTC
(In reply to Axel from comment #3)
> the bug is not fixed

This bug is fixed. If you refer to another issue, please use another bug (and I see that you filed https://bugs.kde.org/show_bug.cgi?id=362257).