diff options
author | Slávek Banko <[email protected]> | 2022-08-26 03:05:03 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-08-26 03:13:45 +0200 |
commit | 83648e7c87acbc90dc234486eacc7df8bab7d2bf (patch) | |
tree | 8754ff5b07711f7eea91bbc79bffc9aaed937aa3 /data | |
parent | 04768b5081771b6057e1f56209387f8dce53dc29 (diff) | |
download | rosegarden-83648e7c87acbc90dc234486eacc7df8bab7d2bf.tar.gz rosegarden-83648e7c87acbc90dc234486eacc7df8bab7d2bf.zip |
Copy translations to a new directory layout.
Use common rules for build and install translations.
Added translation of .desktop files.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'data')
-rw-r--r-- | data/CMakeLists.txt | 11 | ||||
-rw-r--r-- | data/desktop/rosegarden.desktop | 18 | ||||
-rw-r--r-- | data/desktop/x-rosegarden-device.desktop | 8 | ||||
-rw-r--r-- | data/desktop/x-rosegarden.desktop | 8 | ||||
-rw-r--r-- | data/desktop/x-rosegarden21.desktop | 8 | ||||
-rw-r--r-- | data/desktop/x-soundfont.desktop | 8 |
6 files changed, 33 insertions, 28 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index df30c23..41d02ef 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -10,15 +10,18 @@ FILE(GLOB CHORD_FILES chords/*.xml) INSTALL(FILES ${CHORD_FILES} DESTINATION ${DATADIR}/chords) # Desktop file -INSTALL(FILES desktop/rosegarden.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) +tde_create_translated_desktop( desktop/rosegarden.desktop ) # MIME files -SET(MIME_FILES +tde_create_translated_desktop( + SOURCE desktop/x-rosegarden21.desktop desktop/x-rosegarden.desktop desktop/x-rosegarden-device.desktop - desktop/x-soundfont.desktop) -INSTALL(FILES ${MIME_FILES} DESTINATION ${MIMEDIR}) + desktop/x-soundfont.desktop + + DESTINATION ${MIMEDIR} +) # Icons INSTALL(FILES pixmaps/icons/cc-hi16-rosegarden.xpm DESTINATION ${ICONDIR}/locolor/16x16/apps RENAME rosegarden.xpm) diff --git a/data/desktop/rosegarden.desktop b/data/desktop/rosegarden.desktop index 47877d6..320bd80 100644 --- a/data/desktop/rosegarden.desktop +++ b/data/desktop/rosegarden.desktop @@ -1,14 +1,16 @@ [Desktop Entry] +Name=Rosegarden + +GenericName=MIDI and Audio Sequencer and Editor + +Comment=MIDI and audio sequencer and musical notation editor + Encoding=UTF-8 Type=Application -Categories=AudioVideo;Audio;Midi;Sequencer;X-SuSE-Sequencer;X-Red-Hat-Base; Exec=rosegarden -MimeType=audio/x-rosegarden;audio/x-rosegarden-device;audio/midi -X-TDE-NativeMimeType=audio/x-rosegarden Icon=rosegarden -X-DocPath=rosegarden/index.html -Comment=MIDI and Audio Sequencer and Editor Terminal=false -Name=Rosegarden -Name[de]=Rosegarden -GenericName=MIDI and Audio Sequencer and Editor +Categories=AudioVideo;Audio;Midi;Sequencer;X-SuSE-Sequencer;X-Red-Hat-Base; +MimeType=audio/x-rosegarden;audio/x-rosegarden-device;audio/midi +X-DocPath=rosegarden/index.html +X-TDE-NativeMimeType=audio/x-rosegarden diff --git a/data/desktop/x-rosegarden-device.desktop b/data/desktop/x-rosegarden-device.desktop index a131ed0..483aaf2 100644 --- a/data/desktop/x-rosegarden-device.desktop +++ b/data/desktop/x-rosegarden-device.desktop @@ -1,8 +1,8 @@ [Desktop Entry] Comment=Rosegarden device file -Comment[fr]=Fichier de description de peripherique Rosegarden -Hidden=false -Icon=audio-midi + +Type=MimeType MimeType=audio/x-rosegarden-device +Icon=audio-midi Patterns=*.rgd;*.RGD -Type=MimeType +Hidden=false diff --git a/data/desktop/x-rosegarden.desktop b/data/desktop/x-rosegarden.desktop index 97c9b04..1a75ce9 100644 --- a/data/desktop/x-rosegarden.desktop +++ b/data/desktop/x-rosegarden.desktop @@ -1,9 +1,9 @@ [Desktop Entry] Comment=Rosegarden file -Comment[fr]=Fichier Rosegarden -Hidden=false -Icon=x-rosegarden + +Type=MimeType MimeType=audio/x-rosegarden +Icon=x-rosegarden Patterns=*.rg;*.RG -Type=MimeType +Hidden=false X-TDE-AutoEmbed=false diff --git a/data/desktop/x-rosegarden21.desktop b/data/desktop/x-rosegarden21.desktop index 4d6f321..8ae597d 100644 --- a/data/desktop/x-rosegarden21.desktop +++ b/data/desktop/x-rosegarden21.desktop @@ -1,8 +1,8 @@ [Desktop Entry] Comment=Rosegarden 2.1 file -Comment[fr]=Fichier Rosegarden 2.1 -Hidden=false -Icon=audio-midi + +Type=MimeType MimeType=audio/x-rosegarden21 +Icon=audio-midi Patterns=*.rose -Type=MimeType +Hidden=false diff --git a/data/desktop/x-soundfont.desktop b/data/desktop/x-soundfont.desktop index b39ad25..8aafc30 100644 --- a/data/desktop/x-soundfont.desktop +++ b/data/desktop/x-soundfont.desktop @@ -1,8 +1,8 @@ [Desktop Entry] Comment=Soundfont -Comment[fr]=Echantillons -Hidden=false -Icon=audio-x-generic + +Type=MimeType MimeType=audio/x-soundfont +Icon=audio-x-generic Patterns=*.sf2;*.SF2 -Type=MimeType +Hidden=false |