From a74d93356af98c4d088f9320534a6aee6c4e5d57 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Mon, 16 Dec 2024 05:39:30 +0200
Subject: [PATCH 43/43] stub: Migrate from ui_name_xxx to actions sections

See RM #1142

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 data/stub/actions.ruleset | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/data/stub/actions.ruleset b/data/stub/actions.ruleset
index d7e1fc7f76..8782cadbb8 100644
--- a/data/stub/actions.ruleset
+++ b/data/stub/actions.ruleset
@@ -145,18 +145,9 @@ nuke_units_consuming_always = TRUE
 ; Will performing this action always consume the actor unit?
 found_city_consuming_always = TRUE
 
-; What each action should be called when showing them to the player.
-; The first %s should be before the mnemonic of the action. A Freeciv client
-; that supports mnemonics will replace it with the in-band signal that marks
-; the following character as a mnemonic in its graphical toolkit.
-; The second %s marks where extra details should be inserted.
-
-; ui_name_xxx = _("%s%s")
-
 ; Blank ruleset defined user actions.
 ; See the section "Ruleset defined actions" in doc/README.actions
 ; Example: set up "User Action 1"
-;ui_name_user_action_1                = _("%sDisrupt Supply Lines%s")
 ;user_action_1_target_kind            = "Unit"
 ;user_action_1_min_range              = 1
 ;user_action_1_max_range              = 3
@@ -191,8 +182,9 @@ found_city_consuming_always = TRUE
 ;
 ; */ <-- avoid gettext warnings
 
-;[action_placeholder]
-
+;[action_example]
+;action  = "User Action 1"
+;ui_name = "%sDisrupt Supply Lines%s"
 
 ; /* <-- avoid gettext warnings
 ;
-- 
2.45.2

