1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-14 13:54:50 +00:00
TiddlyWiki5/editions/es-ES/tiddlers/$__edition_tw5.com_dropbox-url.js.tid
Paulus fa61bc53fc TW5, Spanish Edition (#2436)
* TW5-es-ES-edition

Spanish edition of TW5.
A full localisation of TiddlyWiki into castillian spanish (es-ES).

* Translation ongoing

* Translation ongoing

* Translation ongoing

* Translation ongoing + TiddlySpot upload

* Translation ongoing

* Translation ongoing + macro fixes

* Translation ongoing

* translation ongoing + macro fixes

* Translation ongoing

* Translation ongoing

* Translation ongoing

* Translation ongoing

* Translation ongoing

* translation ongoing

* translation ongoing

* Translation ongoing

* translation ongoing

* translation ongoing

* translation ongoing

* Arreglo plugin

* Arreglo plugin

* Translation ongoing

* Translation ongoing

* Translation ongoing

* translation ongoing

* Add Spanish edition to TW5.com

* Reverting forced language plugin load.

folder es-ES was provisorily added to the tiddlerStore in order to force the load of the updated language plugin. Finished the translation, and with the updated plugin on place, this folder has no use when the new release comes out.
2016-05-12 08:46:18 -06:00

40 lines
792 B
Plaintext

created: 20160417162545133
modified: 20160417162810899
module-type: macro
tags: $:/tags/Macro
title: $:/edition/tw5.com/dropbox-url.js
type: application/javascript
/*\
title: $:/edition/tw5.com/dropbox-url.js
type: application/javascript
tags: $:/tags/Macro
module-type: macro
Implements the Dropbox URL converter macro.
```
<$macrocall $name="dropbox-url" url={{$:/temp/dropbox}}/>
```
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
exports.name = "dropbox-url";
exports.params = [
{name: "url", default: "https://www.dropbox.com/s/<blablabla>/mi_archivo.html"}
];
exports.run = function(url) {
url = url.replace("www.dropbox.com","dl.dropboxusercontent.com");
return "`" + url + "` <small>([[abrir|" + url + "]])</small>";
};
})();