From 1d99e09b7e1f401a89ce8492c040b813576bebb4 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Sun, 1 Mar 2026 13:51:11 +0100 Subject: [PATCH 1/2] Add example to stringsCrossReference Also, use word inherit to make it more greppable. --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 62af21c..eb24c86 100644 --- a/README.md +++ b/README.md @@ -618,7 +618,17 @@ The value of each option can be a reference to another field or preset's name. F ##### `stringsCrossReference` -An optional property to reference to the strings of another field, indicated by using that field's name contained in brackets, like `{field}`. This is for example useful when there are multiple variants of fields for the same tag, which should all use the same strings. +An optional property to reference to the strings of another field, indicated by using that field's name contained in brackets, like `{field}`. This is for example useful when there are multiple variants of fields for the same tag, which should all use the same strings. For example: + +```json + "stringsCrossReference": "{gender}", + "options": [ + "female", + "male" + ] +``` + +would inherit translations from `gender` field but keep only defined options. ##### `autoSuggestions` From 8d6f751a2adc1c2eec1f292b0d97722d3a02e841 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Wed, 4 Mar 2026 18:19:33 +0100 Subject: [PATCH 2/2] minor spelling tweak and change the example to one that makes a little more sense in practice --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eb24c86..e089c17 100644 --- a/README.md +++ b/README.md @@ -621,14 +621,15 @@ The value of each option can be a reference to another field or preset's name. F An optional property to reference to the strings of another field, indicated by using that field's name contained in brackets, like `{field}`. This is for example useful when there are multiple variants of fields for the same tag, which should all use the same strings. For example: ```json - "stringsCrossReference": "{gender}", + "stringsCrossReference": "{sport}", "options": [ - "female", - "male" + "ice_skating", + "ice_hockey", + "curling" ] ``` -would inherit translations from `gender` field but keep only defined options. +This would inherit all translations from the `gender` field but keep only the defined options. ##### `autoSuggestions`