From c17e47cfd01a18ab6f7bff5c0e7cc4d6623c16a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Severin=20Gl=C3=B6ckner?= Date: Mon, 12 Mar 2018 04:23:04 +0100 Subject: [PATCH] Add a way to lauch the map editor with the same dsektop file similar to the extra options which Firefox has with an right click one can launch the editor now one could as well add an "cheating mode" option for -d Many distributions use modified desktop files, and add a 2nd to launch the map editor. I think that's a better idea, because it's less hidden than this feature. However, I think one doesn't out-rule the other. The translations are taken from downstream's desktop files for the map editor - unfortunately they aren't complete [ci skip] --- packaging/wesnoth.desktop | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/packaging/wesnoth.desktop b/packaging/wesnoth.desktop index 9d0123afca4..bd5737f2847 100644 --- a/packaging/wesnoth.desktop +++ b/packaging/wesnoth.desktop @@ -72,3 +72,23 @@ Comment[vi]=Một trò chơi chiến lược dựa trên lượt đi theo phong Icon=wesnoth-icon Exec=wesnoth Categories=Game;StrategyGame; +Actions=Editor; + +[Desktop Action Editor] +Name=Map Editor +Name[cs]=Editor map +Name[de]=Karteneditor +Name[es]=Editor de mapas +Name[fi]=Kenttäeditori +Name[fr]=Éditeur de cartes +Name[gl]=Editor de mapas +Name[hu]=pályaszerkesztő +Name[it]=Editor delle mappe +Name[lt]=žemėlapių redaktorius +Name[pt]=Editor de mapas +Name[sr]=Уређивач мапа +Name[sr@ijekavian]=Уређивач мапа +Name[sr@ijekavianlatin]=Uređivač mapa +Name[sr@latin]=Uređivač mapa +Name[tr]=Harita Düzenleyici +Exec=wesnoth -e