ResourcePack.st
changeset 8984 ed9cccb4e93b
parent 8959 1ae921a9bff2
child 9001 2a2c30b7b382
--- a/ResourcePack.st	Thu Jan 30 20:23:48 2020 +0100
+++ b/ResourcePack.st	Fri Jan 31 16:09:53 2020 +0100
@@ -1167,7 +1167,12 @@
             val := self localAt:usedKey.        "/ recursion
             val notNil ifTrue:[^ val , '"%1"'].
         ].
-        
+        (aKey endsWith:'%1') ifTrue:[
+            usedKey := aKey withoutSuffix:'%1'.
+            val := self localAt:usedKey.        "/ recursion
+            val notNil ifTrue:[^ val , '%1'].
+        ].
+
         (';*:=.?!!,-><\/«»' includes:last) ifTrue:[
             aKey size >= 2 ifTrue:[
                 idx := aKey findLast:[:ch | (';*:=.?!!,-><\/«»' includes:ch) not].