Changes

Jump to navigation Jump to search
m
Replace deprecated <source> tags with <syntaxhighlight> tags
Line 47: Line 47:     
Each file contains text that looks like this:
 
Each file contains text that looks like this:
<source lang="javascript">
+
<syntaxhighlight lang="javascript">
 
{
 
{
 
   "translation-key": "simple translatable text",
 
   "translation-key": "simple translatable text",
 
   "translation-key-2": "translatable text with a {{token}} value"
 
   "translation-key-2": "translatable text with a {{token}} value"
 
}
 
}
</source>
+
</syntaxhighlight>
    
The first part (before <code>:</code>) is the unique key for the translation. This is how the mod identifies the translation, so you shouldn't change it.
 
The first part (before <code>:</code>) is the unique key for the translation. This is how the mod identifies the translation, so you shouldn't change it.
114

edits

Navigation menu