split long texts in translation file into smaller chunks

This commit is contained in:
Georg Fischer 2016-01-11 15:36:44 +01:00
parent aeeaf34c49
commit eda5d0b20f
2 changed files with 14 additions and 2 deletions

View File

@ -2,7 +2,12 @@
"lang": "en-US",
"index": {
"title": "Image Glitch Tool",
"description": "With this app, you can glitch your own images by dragging an image into the browser window. Use the sliders in the control panel to alter the glitched parameters. The image updates in real time.\n\nThis app corrupts some bytes in an image. Because of the way [JPEG encoding](https://en.wikipedia.org/wiki/JPEG) works, the corrupted file still shows a corrupted image. It was inspired by [soulwire](http://github.com/soulwire)s [experiment](http://blog.soulwire.co.uk/laboratory/flash/as3-bitmapdata-glitch-generator) in Flash.\n\nThis tool was created by [Georg](http://snorpey.com/). He is always happy to learn about the things that people are creating with his tools. You can follow him on [Twitter](https://twitter.com/snorpey) or explore the source code of this app on [GitHub](https://github.com/snorpey/jpg-glitch).\n\nIf you like this glitch tool, you can check out some of Georgs other [JavaScript experiments](http://snorpey.github.io/experiments/)."
"description": [
"With this app, you can glitch your own images by dragging an image into the browser window. You can use the sliders in the control panel to alter the glitched parameters. The image updates in real time.",
"This app corrupts some bytes in an image. Because of the way [JPEG encoding](https://en.wikipedia.org/wiki/JPEG) works, the corrupted file still shows a corrupted image. It was inspired by [soulwire](http://github.com/soulwire)s [experiment](http://blog.soulwire.co.uk/laboratory/flash/as3-bitmapdata-glitch-generator) in Flash.",
"This tool was created by [Georg](http://snorpey.com/). He is always happy to learn about the things that people are creating with his tools. You can follow him on [Twitter](https://twitter.com/snorpey) or explore the source code of this app on [GitHub](https://github.com/snorpey/jpg-glitch).",
"If you like this glitch tool, you can check out some of Georgs other [JavaScript experiments](http://snorpey.github.io/experiments/)."
]
},
"settings": {
"settings": "Settings",
@ -83,7 +88,10 @@
"share": {
"share": "Share",
"sharetitle": "Share your glitched image on the internet",
"info": "You can upload the image to [Imgur](https://imgur.com) to share it. Please note that after uploading the image will be publicly visible on the internet and the Imgur's [terms of service](https://imgur.com/tos) apply.",
"info": [
"You can upload the image to [Imgur](https://imgur.com) to share it.",
"Please note that after uploading the image will be publicly visible on the internet and the Imgur's [terms of service](https://imgur.com/tos) apply."
],
"openon": "Open image on {$1}",
"openontitle": "Open the image you shared on {$1}",
"shareon": "Share image on {$1}",

View File

@ -182,6 +182,10 @@ define(
}
};
if ( Array.isArray( result ) ) {
result = result.join( '\n\n' );
}
if ( args && args.length ) {
var regex;