Skip to content

Commit

Permalink
fix documentation for strings query parameter #620
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Nov 9, 2017
1 parent 18cc4ec commit 93ef7f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/initialize-globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,10 @@
showVisibleBounds: { type: 'flag' },

/**
* override strings, value is JSON that is identical to string.json files
* Override translated strings.
* The value is encoded JSON of the form { "namespace.key":"value", "namespace.key":"value", ... }
* Example: { "PH_SCALE/logarithmic":"foo", "PH_SCALE/linear":"bar" }
* Encode the JSON in a browser console using: encodeURIComponent( JSON.stringify( value ) )
*/
strings: {
type: 'string',
Expand Down

0 comments on commit 93ef7f9

Please sign in to comment.