1
0
forked from 0ad/0ad

Custom context for specific names

Make it clear that strings for specific names usually don't have to be
translated.

Patch by: @Dunedan
Accepted by: @Stan
Fixes #5563

Differential Revision: https://code.wildfiregames.com/D5310
This was SVN commit r28160.
This commit is contained in:
Dunedan 2024-07-26 03:43:47 +00:00
parent 32b9a27e9b
commit dd65a4e32e

View File

@ -491,7 +491,9 @@
"customContext": "status effect"
},
"GenericName": {},
"SpecificName": {},
"SpecificName": {
"customContext": "Meant to be the closest name in the ancient native language of the civilization. Most translations don't need to modify this string."
},
"History": {},
"VisibleClasses": {
"splitOnWhitespace": true
@ -534,7 +536,9 @@
"customContext": "status effect"
},
"GenericName": {},
"SpecificName": {},
"SpecificName": {
"customContext": "Meant to be the closest name in the ancient native language of the civilization. Most translations don't need to modify this string."
},
"History": {},
"VisibleClasses": {
"splitOnWhitespace": true
@ -575,7 +579,9 @@
"customContext": "Name of an attack, usually the weapon."
},
"GenericName": {},
"SpecificName": {},
"SpecificName": {
"customContext": "Meant to be the closest name in the ancient native language of the civilization. Most translations don't need to modify this string."
},
"History": {},
"VisibleClasses": {
"splitOnWhitespace": true
@ -665,6 +671,7 @@
"options": {
"keywords": {
"specificName": {
"customContext": "Meant to be the closest name in the ancient native language of the civilization. Most translations don't need to modify this string.",
"extractFromInnerKeys": true
},
"genericName": {},