I've translated the param info of one of my plugins to Spanish, including it in the js file. When I have MV switch to Spanish, and the params of the plugin to their Spanish equivalents in the Plugin Manager... well, my code just doesn't work anymore. After a little debugging, I've found that the translated param names aren't being properly mapped to their original English ones.
Here's an example:
So, how do I fix this?
Here's an example:
JavaScript:
/*:
* ...Author info, desc, etc
*
* @param Graphic Width
* @type number
* @min 1
* @default 300
* @desc Sets the width of the nametag graphic. Ignored if Fit Graphic to Nametag is active.
*
* @param Graphic Height
* @type number
* @min 1
* @default 100
* @desc Sets the height of the nametag graphic. Ignored if Fit Graphic to Nametag is active.
*
* ...More params
*/
JavaScript:
/*:
* ...Translated Author info, desc, etc
* @param Ancho del Gráfico
* @type number
* @min 1
* @default 300
* @desc Pone el ancho del gráfico del gafete. Ignorado si Queda el Gráfico al Gafete está activo.
*
* @param Altura del Gráfico
* @type number
* @min 1
* @default 100
* @desc Pone la altura del gráfico del gafete. Ignorado si Queda el Gráfico al Gafete está activo.
*
*
* ...More translated params
*/
So, how do I fix this?