From a1ce254e95fea897cc772bf6477920c427477744 Mon Sep 17 00:00:00 2001 From: Tobias Beer Date: Mon, 21 Sep 2015 17:24:26 +0200 Subject: [PATCH 01/18] =?UTF-8?q?fixes=20#1937=20=E2=80=94=20filter=20refr?= =?UTF-8?q?esh=20in=20set=20widget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as per @EvanBalster --- core/modules/widgets/setvariable.js | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/core/modules/widgets/setvariable.js b/core/modules/widgets/setvariable.js index e319a61e3..a3057356d 100755 --- a/core/modules/widgets/setvariable.js +++ b/core/modules/widgets/setvariable.js @@ -43,6 +43,15 @@ SetWidget.prototype.execute = function() { this.setValue = this.getAttribute("value"); this.setEmptyValue = this.getAttribute("emptyValue"); // Set context variable + this.setVariable(this.setName,this.getValue(),this.parseTreeNode.params); + // Construct the child widgets + this.makeChildWidgets(); +}; + +/* +Get the value to be assigned +*/ +SetWidget.prototype.getValue = function() { var value = this.setValue; if(this.setFilter) { var results = this.wiki.filterTiddlers(this.setFilter,this); @@ -53,9 +62,7 @@ SetWidget.prototype.execute = function() { value = this.setEmptyValue; } } - this.setVariable(this.setName,value,this.parseTreeNode.params); - // Construct the child widgets - this.makeChildWidgets(); + return value; }; /* @@ -63,11 +70,12 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of */ SetWidget.prototype.refresh = function(changedTiddlers) { var changedAttributes = this.computeAttributes(); - if(changedAttributes.name || changedAttributes.filter || changedAttributes.value || changedAttributes.emptyValue) { + if(changedAttributes.name || changedAttributes.filter || changedAttributes.value || changedAttributes.emptyValue || + (this.setFilter && this.getValue() != this.variables[this.setName].value)) { this.refreshSelf(); return true; } else { - return this.refreshChildren(changedTiddlers); + return this.refreshChildren(changedTiddlers); } }; From 5163b541cf6d9fda6c130598d8f9aad075979c2a Mon Sep 17 00:00:00 2001 From: Marxsal Date: Tue, 6 Oct 2015 09:11:21 -0700 Subject: [PATCH 02/18] A primer on how to export tiddlers Showing how to export individual, selection, or all tiddlers. --- .../howtos/How to export tiddlers.tid | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid diff --git a/editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid b/editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid new file mode 100644 index 000000000..17097f4f1 --- /dev/null +++ b/editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid @@ -0,0 +1,30 @@ +created: 20151006145934884 +modified: 20151006155211988 +tags: Learning +title: How to export tiddlers +type: text/vnd.tiddlywiki + +!!! Selecting All tiddlers for export + +To export ''all'' tiddlers click on the "Tools" tab of the Sidebar. Find and click the ``export all`` ({{$:/core/ui/Buttons/export-tiddler}}) button. A pop-up menu will offer you the chance to export tiddlers in multiple formats. + +!!! Selecting individual tiddlers for export + +If you want to export a particular tiddler, first navigate to that tiddler. Then click on the More Actions icon ({{$:/core/ui/Buttons/more-tiddler-actions}}) that appears above the tiddler. From the list that appears select ``export tiddler``. A pop-up menu will offer you the chance to export the tiddler in multiple formats. + +!!! Selecting tiddlers matching a search criteria for export + +To export a selection of tiddlers, click the little magnifying glass next to the search area on the sidebar. This will open the [[Advanced Search|$:/AdvancedSearch]] tiddler. Click on the ``Filter`` tab of the Advanced Search tiddler. Only the [[Filter|Filters]] tab will allow you to export a selection of tiddlers. [[Filters]] follow a particular syntax. Click on this [[Filters|Filters]] link to learn about how to make filters. + +Once you have written a filter, a list of tiddlers matching the filter will appear. Now you can click on the export icon ({{$:/core/ui/Buttons/export-tiddler}}) to the right of the filter input field. A pop-up menu will offer you the chance to export tiddlers in multiple formats. + +!!! Export formats + +Currently, the export formats available are: + + * CSV file format + * JSON file format + * Static HTML file + * ".tid" file format + +The ``".tid"`` format is unique from the other formats in that only one tiddler will be exported, even if you are attempting to export all tiddlers or a selection of tiddlers. From 79972fe57f6d40b76fda5fc74194b43193fbd8a7 Mon Sep 17 00:00:00 2001 From: Marxsal Date: Tue, 6 Oct 2015 10:36:19 -0700 Subject: [PATCH 03/18] Applying recomendations Giving better descriptive names to sub-headings --- editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid b/editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid index 17097f4f1..3b30da8ac 100644 --- a/editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid +++ b/editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid @@ -8,11 +8,11 @@ type: text/vnd.tiddlywiki To export ''all'' tiddlers click on the "Tools" tab of the Sidebar. Find and click the ``export all`` ({{$:/core/ui/Buttons/export-tiddler}}) button. A pop-up menu will offer you the chance to export tiddlers in multiple formats. -!!! Selecting individual tiddlers for export +!!! Exporting a tiddler If you want to export a particular tiddler, first navigate to that tiddler. Then click on the More Actions icon ({{$:/core/ui/Buttons/more-tiddler-actions}}) that appears above the tiddler. From the list that appears select ``export tiddler``. A pop-up menu will offer you the chance to export the tiddler in multiple formats. -!!! Selecting tiddlers matching a search criteria for export +!!! Exporting tiddlers matching a criteria (filter) To export a selection of tiddlers, click the little magnifying glass next to the search area on the sidebar. This will open the [[Advanced Search|$:/AdvancedSearch]] tiddler. Click on the ``Filter`` tab of the Advanced Search tiddler. Only the [[Filter|Filters]] tab will allow you to export a selection of tiddlers. [[Filters]] follow a particular syntax. Click on this [[Filters|Filters]] link to learn about how to make filters. From ed1a306f88f3a88562fc081ca9e3028cbb3754ae Mon Sep 17 00:00:00 2001 From: senevoldsen90 Date: Fri, 9 Oct 2015 15:24:59 +0200 Subject: [PATCH 04/18] Signing the CLA --- licenses/cla-individual.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/licenses/cla-individual.md b/licenses/cla-individual.md index b9e7e983e..9bef6e0ba 100644 --- a/licenses/cla-individual.md +++ b/licenses/cla-individual.md @@ -252,3 +252,5 @@ William Jackson, @matabele 2015/09/26 Karl Knechtel, @zahlman, 2015/10/03 Tony Grosinger @tgrosinger 2015/10/03 + +Soeren Enevoldsen, @senevoldsen90, 2015/10/09 From 95f98d36d9a0626d5dadf2cd6e2656111f8d55e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Correia?= Date: Thu, 15 Oct 2015 09:33:42 +0200 Subject: [PATCH 05/18] communicate on a new datepicker plugin --- .../resources/datepicker based on Pikaday.tid | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 editions/tw5.com/tiddlers/community/resources/datepicker based on Pikaday.tid diff --git a/editions/tw5.com/tiddlers/community/resources/datepicker based on Pikaday.tid b/editions/tw5.com/tiddlers/community/resources/datepicker based on Pikaday.tid new file mode 100644 index 000000000..754f634db --- /dev/null +++ b/editions/tw5.com/tiddlers/community/resources/datepicker based on Pikaday.tid @@ -0,0 +1,12 @@ +created: 20151015072304780 +modified: 20151015073121685 +tags: Resources +title: datepicker plugin based on Pikaday, by kixam +type: text/vnd.tiddlywiki +url: http://kixam.github.io/TW5-datePicker/ + +An interactive date picker plugin based on [[Pikaday|https://github.com/dbushell/Pikaday]]. A demo can be found here: {{!!url}}. + +<<< +datepicker is a TiddlyWiki plugin that allows you to use a widget much like EditTextWidget to pick a date (not a time). It shows a nice interactive mini-calendar when clicked, allows you to set a date format for display, and is compatible with core date fields such as `modified` and `created`. +<<< From 8e68f904f1be75c81d59aa4bbf464138de7dd83a Mon Sep 17 00:00:00 2001 From: Myeongjin Date: Sun, 18 Oct 2015 16:49:48 +0900 Subject: [PATCH 06/18] remove unnecessary spaces --- core/language/en-GB/ControlPanel.multids | 3 +-- core/language/en-GB/Help/load.tid | 2 +- core/language/en-GB/Help/savetiddler.tid | 2 +- core/language/en-GB/Help/savetiddlers.tid | 2 +- core/language/en-GB/Help/server.tid | 2 +- core/language/en-GB/Help/verbose.tid | 2 +- core/language/en-GB/Import.multids | 4 ++-- core/language/en-GB/Misc.multids | 2 +- 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/core/language/en-GB/ControlPanel.multids b/core/language/en-GB/ControlPanel.multids index 7a0e61434..72a22ab3d 100644 --- a/core/language/en-GB/ControlPanel.multids +++ b/core/language/en-GB/ControlPanel.multids @@ -126,8 +126,7 @@ Toolbars/EditToolbar/Caption: Edit Toolbar Toolbars/EditToolbar/Hint: Choose which buttons are displayed for tiddlers in edit mode Toolbars/Hint: Select which toolbar buttons are displayed Toolbars/PageControls/Caption: Page Toolbar -Toolbars/PageControls/Hint: Choose which buttons are displayed on the main page toolbar +Toolbars/PageControls/Hint: Choose which buttons are displayed on the main page toolbar Toolbars/ViewToolbar/Caption: View Toolbar Toolbars/ViewToolbar/Hint: Choose which buttons are displayed for tiddlers in view mode Tools/Download/Full/Caption: Download full wiki - diff --git a/core/language/en-GB/Help/load.tid b/core/language/en-GB/Help/load.tid index e1100250f..fb2168e24 100644 --- a/core/language/en-GB/Help/load.tid +++ b/core/language/en-GB/Help/load.tid @@ -1,7 +1,7 @@ title: $:/language/Help/load description: Load tiddlers from a file -Load tiddlers from 2.x.x TiddlyWiki files (`.html`), `.tiddler`, `.tid`, `.json` or other files +Load tiddlers from 2.x.x TiddlyWiki files (`.html`), `.tiddler`, `.tid`, `.json` or other files ``` --load diff --git a/core/language/en-GB/Help/savetiddler.tid b/core/language/en-GB/Help/savetiddler.tid index da86126e6..643d318fd 100644 --- a/core/language/en-GB/Help/savetiddler.tid +++ b/core/language/en-GB/Help/savetiddler.tid @@ -1,7 +1,7 @@ title: $:/language/Help/savetiddler description: Saves a raw tiddler to a file -Saves an individual tiddler in its raw text or binary format to the specified filename. +Saves an individual tiddler in its raw text or binary format to the specified filename. ``` --savetiddler <filename> diff --git a/core/language/en-GB/Help/savetiddlers.tid b/core/language/en-GB/Help/savetiddlers.tid index 37bb10e5a..8cac2a950 100644 --- a/core/language/en-GB/Help/savetiddlers.tid +++ b/core/language/en-GB/Help/savetiddlers.tid @@ -1,7 +1,7 @@ title: $:/language/Help/savetiddlers description: Saves a group of raw tiddlers to a directory -Saves a group of tiddlers in their raw text or binary format to the specified directory. +Saves a group of tiddlers in their raw text or binary format to the specified directory. ``` --savetiddlers <filter> <pathname> ["noclean"] diff --git a/core/language/en-GB/Help/server.tid b/core/language/en-GB/Help/server.tid index c8a989c2e..4e0ccf45a 100644 --- a/core/language/en-GB/Help/server.tid +++ b/core/language/en-GB/Help/server.tid @@ -12,7 +12,7 @@ At the root, it serves a rendering of a specified tiddler. Away from the root, i The parameters are: * ''port'' - port number to serve from (defaults to "8080") -* ''roottiddler'' - the tiddler to serve at the root (defaults to "$:/core/save/all") +* ''roottiddler'' - the tiddler to serve at the root (defaults to "$:/core/save/all") * ''rendertype'' - the content type to which the root tiddler should be rendered (defaults to "text/plain") * ''servetype'' - the content type with which the root tiddler should be served (defaults to "text/html") * ''username'' - the default username for signing edits diff --git a/core/language/en-GB/Help/verbose.tid b/core/language/en-GB/Help/verbose.tid index 395321a30..802965f15 100644 --- a/core/language/en-GB/Help/verbose.tid +++ b/core/language/en-GB/Help/verbose.tid @@ -1,7 +1,7 @@ title: $:/language/Help/verbose description: Triggers verbose output mode -Triggers verbose output, useful for debugging +Triggers verbose output, useful for debugging ``` --verbose diff --git a/core/language/en-GB/Import.multids b/core/language/en-GB/Import.multids index 536ace2aa..35eacab98 100644 --- a/core/language/en-GB/Import.multids +++ b/core/language/en-GB/Import.multids @@ -6,8 +6,8 @@ Listing/Import/Caption: Import Listing/Select/Caption: Select Listing/Status/Caption: Status Listing/Title/Caption: Title -Upgrader/Plugins/Suppressed/Incompatible: Blocked incompatible or obsolete plugin -Upgrader/Plugins/Suppressed/Version: Blocked plugin (due to incoming <<incoming>> being older than existing <<existing>>) +Upgrader/Plugins/Suppressed/Incompatible: Blocked incompatible or obsolete plugin +Upgrader/Plugins/Suppressed/Version: Blocked plugin (due to incoming <<incoming>> being older than existing <<existing>>) Upgrader/Plugins/Upgraded: Upgraded plugin from <<incoming>> to <<upgraded>> Upgrader/State/Suppressed: Blocked temporary state tiddler Upgrader/System/Suppressed: Blocked system tiddler diff --git a/core/language/en-GB/Misc.multids b/core/language/en-GB/Misc.multids index d7a09a048..757292313 100644 --- a/core/language/en-GB/Misc.multids +++ b/core/language/en-GB/Misc.multids @@ -2,7 +2,7 @@ title: $:/language/ AboveStory/ClassicPlugin/Warning: It looks like you are trying to load a plugin designed for ~TiddlyWiki Classic. Please note that [[these plugins do not work with TiddlyWiki version 5.x.x|http://tiddlywiki.com/#TiddlyWikiClassic]]. ~TiddlyWiki Classic plugins detected: BinaryWarning/Prompt: This tiddler contains binary data -ClassicWarning/Hint: This tiddler is written in TiddlyWiki Classic wiki text format, which is not fully compatible with TiddlyWiki version 5. See http://tiddlywiki.com/static/Upgrading.html for more details. +ClassicWarning/Hint: This tiddler is written in TiddlyWiki Classic wiki text format, which is not fully compatible with TiddlyWiki version 5. See http://tiddlywiki.com/static/Upgrading.html for more details. ClassicWarning/Upgrade/Caption: upgrade CloseAll/Button: close all ConfirmCancelTiddler: Do you wish to discard changes to the tiddler "<$text text=<<title>>/>"? From d7f1f973a999c76db4055d61739a6f679727f9b9 Mon Sep 17 00:00:00 2001 From: Myeongjin <aranet100@gmail.com> Date: Sun, 18 Oct 2015 17:23:37 +0900 Subject: [PATCH 07/18] replace type to rendertype at setfield help --- core/language/en-GB/Help/setfield.tid | 3 +-- languages/ca-ES/Help/setfield.tid | 3 +-- languages/da-DK/Help/setfield.tid | 3 +-- languages/de-DE/Help/setfield.tid | 2 +- languages/es-ES/Help/setfield.tid | 3 +-- languages/fr-FR/Help/setfield.tid | 3 +-- languages/ia-IA/Help/setfield.tid | 3 +-- languages/ja-JP/Help/setfield.tid | 3 +-- languages/nl-NL/Help/setfield.tid | 3 +-- languages/pt-PT/Help/setfield.tid | 3 +-- languages/sk-SK/Help/setfield.tid | 3 +-- languages/sv-SE/Help/setfield.tid | 3 +-- languages/zh-Hans/Help/setfield.tid | 2 +- languages/zh-Hant/Help/setfield.tid | 2 +- 14 files changed, 14 insertions(+), 25 deletions(-) diff --git a/core/language/en-GB/Help/setfield.tid b/core/language/en-GB/Help/setfield.tid index 8e09380da..dd90b25fe 100644 --- a/core/language/en-GB/Help/setfield.tid +++ b/core/language/en-GB/Help/setfield.tid @@ -14,5 +14,4 @@ The parameters are: * ''filter'' - filter identifying the tiddlers to be affected * ''fieldname'' - the field to modify (defaults to "text") * ''templatetitle'' - the tiddler to wikify into the specified field. If blank or missing then the specified field is deleted -* ''type'' - the text type to render (defaults to "text/plain"; "text/html" can be used to include HTML tags) - +* ''rendertype'' - the text type to render (defaults to "text/plain"; "text/html" can be used to include HTML tags) diff --git a/languages/ca-ES/Help/setfield.tid b/languages/ca-ES/Help/setfield.tid index b025fd037..1f2fde61e 100644 --- a/languages/ca-ES/Help/setfield.tid +++ b/languages/ca-ES/Help/setfield.tid @@ -14,5 +14,4 @@ Els paràmetres són: * ''filtre'' - filtre que identifica els tiddlers afectats * ''nomdelcamp'' - el camp a modificar (per omisió "text") * ''plantilladeltítol'' - el tiddler a wikificar del camp indicat. Si està en blanc o no hi és llavors el camp indicar es suprimirà -* ''tipus'' - el tipus de text que cal generar (per omisió "text/plain"; es possible utilitzar "text/html" per incloure etiquetes HTML) - +* ''rendertipus'' - el tipus de text que cal generar (per omisió "text/plain"; es possible utilitzar "text/html" per incloure etiquetes HTML) diff --git a/languages/da-DK/Help/setfield.tid b/languages/da-DK/Help/setfield.tid index 8f6d25928..c7f4ab1cc 100644 --- a/languages/da-DK/Help/setfield.tid +++ b/languages/da-DK/Help/setfield.tid @@ -14,5 +14,4 @@ Parametrene er: * ''filter'' - filter der identificerer de tiddlere der påvirkes * ''fieldname'' - feltet der ændres (standard til "text") * ''templatetitle'' - tiddleren der wikificeres til det angivne felt. Hvis tom eller manglende slettes det specificerede felt -* ''type'' - text type til renderingr (standard til "text/plain"; "text/html" kan bruges for at inkludere HTML tags) - +* ''rendertype'' - text type til renderingr (standard til "text/plain"; "text/html" kan bruges for at inkludere HTML tags) diff --git a/languages/de-DE/Help/setfield.tid b/languages/de-DE/Help/setfield.tid index 76870eb3e..9ba1632ed 100644 --- a/languages/de-DE/Help/setfield.tid +++ b/languages/de-DE/Help/setfield.tid @@ -14,4 +14,4 @@ The parameters are: * ''filter'' - Filter, der die zu modifizierenden Tiddler auswählt. * ''fieldname'' - Das zu verändernde Feld (Standardwert: "text"). * ''templatetitle'' - Der zu wikifizierende Vorlagen Tiddler, dessen Ergebnis in das Feld geschrieben wird. Wenn Leer, dann wird das Feld gelöscht. -* ''type'' - Der Text Typ für den "rendering" Vorgang (Standardwert: "text/plain"; "text/html" kann verwendet werden, um "HTML tags" zu erzeugen). +* ''rendertype'' - Der Text Typ für den "rendering" Vorgang (Standardwert: "text/plain"; "text/html" kann verwendet werden, um "HTML tags" zu erzeugen). diff --git a/languages/es-ES/Help/setfield.tid b/languages/es-ES/Help/setfield.tid index dd6ed9b26..268ee67e4 100644 --- a/languages/es-ES/Help/setfield.tid +++ b/languages/es-ES/Help/setfield.tid @@ -14,5 +14,4 @@ Los parámetros son: * ''filter'' - filtro que identifica los tiddlers que se verán afectados * ''fieldname'' - el campo que será modificado (por defecto, "text") * ''templatetitle'' - el tiddler a ''wikify'' en el campo especificado. Si se deja en blanco o está ausente, el campo especificado es borrado. -* ''type'' - el tipo de texto a generar (por defecto, "text/plain"; se puede usar también "text/html" para incluir etiquetas HTML) - +* ''rendertype'' - el tipo de texto a generar (por defecto, "text/plain"; se puede usar también "text/html" para incluir etiquetas HTML) diff --git a/languages/fr-FR/Help/setfield.tid b/languages/fr-FR/Help/setfield.tid index 009ef526c..858d3dc41 100644 --- a/languages/fr-FR/Help/setfield.tid +++ b/languages/fr-FR/Help/setfield.tid @@ -14,5 +14,4 @@ Les paramètres sont les suivants : * ''filtre'' - filtre identifiant les tiddlers cibles * ''nom-du-champ'' - le champ à modifier ("text" par défaut) * ''titre-du-template'' - le tiddler à wikifier dans le champ spécifié. Si manquant ou blanc, le champ spécifié est supprimé -* ''type'' - le type de texte à utiliser pour le rendu ("text/plain" par défaut ; "text/html" peut être utilisé pour inclure des éléments HTML) - +* ''type-de-rendu'' - le type de texte à utiliser pour le rendu ("text/plain" par défaut ; "text/html" peut être utilisé pour inclure des éléments HTML) diff --git a/languages/ia-IA/Help/setfield.tid b/languages/ia-IA/Help/setfield.tid index 105018f98..6a916d164 100644 --- a/languages/ia-IA/Help/setfield.tid +++ b/languages/ia-IA/Help/setfield.tid @@ -14,5 +14,4 @@ Le parametros es: * ''filter'' - filtro que identifica le notas a esser toccate * ''fieldname'' - le quadro a modificar (le standard es "text") * ''templatetitle'' - le nota a wikificar a in le quadro specificate. Si vacue o mancante, alora le quadro specificate es delite -* ''type'' - le typo de texto a tractar (le standard es "text/plain"; "text/html" pote esser usate pro includer etiquettas HTML) - +* ''rendertype'' - le typo de texto a tractar (le standard es "text/plain"; "text/html" pote esser usate pro includer etiquettas HTML) diff --git a/languages/ja-JP/Help/setfield.tid b/languages/ja-JP/Help/setfield.tid index 11da11e17..1a8e6d233 100644 --- a/languages/ja-JP/Help/setfield.tid +++ b/languages/ja-JP/Help/setfield.tid @@ -1,7 +1,6 @@ title: $:/language/Help/setfield description: tiddlerを使用する準備 - //注意 このコマンドは実験的なもので、今後変更される可能性があります。// テンプレートtiddlerの内容を、複数のtiddlerの指定のフィールドに設定する。 @@ -15,4 +14,4 @@ description: tiddlerを使用する準備 * "filter" - コマンドの対象となるtiddler * "fieldname" - 変更するフィールド(規定値は"text") * "templatetitle" - 指定のフィールドに転記する元になるtiddler。もし空白あるはtiddlerが存在しない場合は、指定したフィールドは削除される。 -* "type" - テキストの種類(規定値は"text/plain"。"text/html"にするとHTMLタグを含められる。) +* "rendertype" - テキストの種類(規定値は"text/plain"。"text/html"にするとHTMLタグを含められる。) diff --git a/languages/nl-NL/Help/setfield.tid b/languages/nl-NL/Help/setfield.tid index b8f05bcaf..af9ceb7d2 100644 --- a/languages/nl-NL/Help/setfield.tid +++ b/languages/nl-NL/Help/setfield.tid @@ -14,5 +14,4 @@ De parameters zijn: * ''filter'' - filter dat de tiddlers selecteert * ''fieldname'' - het betreffende veld (standaard "text") * ''templatetitle'' - de tiddler die in het betreffende veld gewikificeerd moet worden. In geval van een leeg of ontbrekend veld wordt het veld verwijderd -* ''type'' - het teksttype om te renderen (tonen) - standaard "text/plain"; "text/html" kan worden gebruikt om HTML-elementen te kunnen gebruiken - +* ''rendertype'' - het teksttype om te renderen (tonen) - standaard "text/plain"; "text/html" kan worden gebruikt om HTML-elementen te kunnen gebruiken diff --git a/languages/pt-PT/Help/setfield.tid b/languages/pt-PT/Help/setfield.tid index 9240c8a74..20e73b52f 100644 --- a/languages/pt-PT/Help/setfield.tid +++ b/languages/pt-PT/Help/setfield.tid @@ -14,5 +14,4 @@ Os parâmetros são: * ''filter'' - filtro que selecciona os tiddlers a ser afectados * ''fieldname'' - nome do campo a modificar (por defeito "texto") * ''templatetitle'' - o tiddler a interpretar para o campo especificado. Se for deixado em branco ou estiver em falta o campo especificado será eliminado -* ''type'' - O tipo de texto a interpretar (por defeito "text/plain"; "text/html" pode ser utilizado para incluir etiquetas HTML) - +* ''rendertype'' - O tipo de texto a interpretar (por defeito "text/plain"; "text/html" pode ser utilizado para incluir etiquetas HTML) diff --git a/languages/sk-SK/Help/setfield.tid b/languages/sk-SK/Help/setfield.tid index 84c9dff70..7cadf3214 100644 --- a/languages/sk-SK/Help/setfield.tid +++ b/languages/sk-SK/Help/setfield.tid @@ -14,5 +14,4 @@ Parametre sú: * ''filter'' - filter špecifikujúci tiddlery, na ktoré sa má aplikovať * ''fieldname'' - pole, ktoré treba modifikovať (štandardne "text") * ''templatetitle'' - tiddler, ktorý treba vložiť vo wiki podobe do daného poľa. Ak neexistuje alebo je prázdny, tak sa špecifikované pole vymaže -* ''type'' - typ textu, ktorý treba renderovať (štandardne "text/plain"; je možné použiť "text/html" na zahrnutie HTML štítkov) - +* ''rendertype'' - typ textu, ktorý treba renderovať (štandardne "text/plain"; je možné použiť "text/html" na zahrnutie HTML štítkov) diff --git a/languages/sv-SE/Help/setfield.tid b/languages/sv-SE/Help/setfield.tid index 83e277d1d..f1e6efe64 100755 --- a/languages/sv-SE/Help/setfield.tid +++ b/languages/sv-SE/Help/setfield.tid @@ -14,5 +14,4 @@ Parametrarna är: * ''filter'' - filtrera de identifierade tiddlers som kommer påverkas * ''fieldname'' - fältet som ska ändras (standard satt till "text") * ''templatetitle'' - tiddlern som ska wikifieras till ett specifikt fält. Om det är blankt eller saknas så kommer det specificerade fältet tas bort -* ''type'' - texttypen att rendera (standard satt till "text/plain"; "text/html" kan användas för att få med HTML-taggar) - +* ''rendertype'' - texttypen att rendera (standard satt till "text/plain"; "text/html" kan användas för att få med HTML-taggar) diff --git a/languages/zh-Hans/Help/setfield.tid b/languages/zh-Hans/Help/setfield.tid index 6f82e10c2..dc10f8491 100644 --- a/languages/zh-Hans/Help/setfield.tid +++ b/languages/zh-Hans/Help/setfield.tid @@ -14,4 +14,4 @@ description: 准备用于外部条目 * ''filter'' - 受影响的辨识条目的筛选条件 * ''fieldname'' - 要修改的栏位(默认为 "text") * ''templatetitle'' - 该条目 wikify 到指定栏位。若为空白或丢失,则删除指定的栏位 -* ''type'' - 要呈现的文本类型(默认为 "text/plain"; "text/html" 可以用于包含 HTML 标记)) +* ''rendertype'' - 要呈现的文本类型(默认为 "text/plain"; "text/html" 可以用于包含 HTML 标记)) diff --git a/languages/zh-Hant/Help/setfield.tid b/languages/zh-Hant/Help/setfield.tid index 7f9a5d100..144f7260c 100644 --- a/languages/zh-Hant/Help/setfield.tid +++ b/languages/zh-Hant/Help/setfield.tid @@ -14,4 +14,4 @@ description: 準備用於外部條目 * ''filter'' - 受影響的辨識條目的篩選條件 * ''fieldname'' - 要修改的欄位(預設為 "text") * ''templatetitle'' - 該條目 wikify 到指定欄位。若為空白或丟失,則刪除指定的欄位 -* ''type'' - 要呈現的文本類型(預設為 "text/plain"; "text/html" 可以用於包含 HTML 標記)) +* ''rendertype'' - 要呈現的文本類型(預設為 "text/plain"; "text/html" 可以用於包含 HTML 標記)) From 2fee131aa425233a0899206bb3c2ab0efd6cdc6e Mon Sep 17 00:00:00 2001 From: Myeongjin <aranet100@gmail.com> Date: Sun, 18 Oct 2015 17:26:42 +0900 Subject: [PATCH 08/18] add localisable strings for Internal JavaScript Error --- boot/boot.js | 4 ++-- core/language/en-GB/Misc.multids | 2 ++ languages/ko-KR/Misc.multids | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/boot/boot.js b/boot/boot.js index acdfa0327..dab39238f 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -126,8 +126,8 @@ Display an error and exit */ $tw.utils.error = function(err) { // Prepare the error message - var errHeading = "Internal JavaScript Error", - promptMsg = "Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser"; + var errHeading = ( $tw.language == undefined ? "Internal JavaScript Error" : $tw.language.getString("InternalJavaScriptError/Title") ), + promptMsg = ( $tw.language == undefined ? "Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser" : $tw.language.getString("InternalJavaScriptError/Hint") ); // Log the error to the console console.error($tw.node ? "\x1b[1;31m" + err + "\x1b[0m" : err); if($tw.browser && !$tw.node) { diff --git a/core/language/en-GB/Misc.multids b/core/language/en-GB/Misc.multids index 757292313..d703bebd0 100644 --- a/core/language/en-GB/Misc.multids +++ b/core/language/en-GB/Misc.multids @@ -19,6 +19,8 @@ Encryption/Password: Password Encryption/RepeatPassword: Repeat password Encryption/PasswordNoMatch: Passwords do not match Encryption/SetPassword: Set password +InternalJavaScriptError/Title: Internal JavaScript Error +InternalJavaScriptError/Hint: Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser InvalidFieldName: Illegal characters in field name "<$text text=<<fieldName>>/>". Fields can only contain lowercase letters, digits and the characters underscore (`_`), hyphen (`-`) and period (`.`) LazyLoadingWarning: <p>Loading external text from ''<$text text={{!!_canonical_uri}}/>''</p><p>If this message doesn't disappear you may be using a browser that doesn't support external text in this configuration. See http://tiddlywiki.com/#ExternalText</p> MissingTiddler/Hint: Missing tiddler "<$text text=<<currentTiddler>>/>" - click {{$:/core/images/edit-button}} to create diff --git a/languages/ko-KR/Misc.multids b/languages/ko-KR/Misc.multids index d9307f959..5d477b5bf 100644 --- a/languages/ko-KR/Misc.multids +++ b/languages/ko-KR/Misc.multids @@ -22,6 +22,8 @@ Exporters/CsvFile: CSV 파일 Exporters/JsonFile: JSON 파일 Exporters/StaticRiver: 정적 HTML Exporters/TidFile: ".tid" 파일 +InternalJavaScriptError/Title: 내부 자바스크립트 오류 +InternalJavaScriptError/Hint: 아이 창피해. 브라우저를 새로 고쳐 TiddlyWiki를 다시 시작할 것을 권장합니다 InvalidFieldName: "<$text text=<<fieldName>>/>" 필드 이름에 잘못된 문자가 있습니다. 필드는 소문자, 숫자 및 밑줄 문자 (`_`), 하이픈 (`-`) 및 마침표 (`.`)만을 포함할 수 있습니다. MissingTiddler/Hint: "<$text text=<<currentTiddler>>/>" 티들러가 없습니다 - 만드려면 {{$:/core/images/edit-button}}을 클릭하세요 OfficialPluginLibrary: 공식 ~TiddlyWiki 플러그인 라이브러리 From 4347d91c57881b7fed42001d194d106f3e559426 Mon Sep 17 00:00:00 2001 From: Myeongjin <aranet100@gmail.com> Date: Sun, 18 Oct 2015 17:29:04 +0900 Subject: [PATCH 09/18] add localisable strings for Import/Imported --- core/language/en-GB/Import.multids | 1 + core/modules/widgets/navigator.js | 2 +- languages/ko-KR/Import.multids | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/language/en-GB/Import.multids b/core/language/en-GB/Import.multids index 35eacab98..9475d6a2c 100644 --- a/core/language/en-GB/Import.multids +++ b/core/language/en-GB/Import.multids @@ -1,5 +1,6 @@ title: $:/language/Import/ +Imported: The following tiddlers were imported: Listing/Cancel/Caption: Cancel Listing/Hint: These tiddlers are ready to import: Listing/Import/Caption: Import diff --git a/core/modules/widgets/navigator.js b/core/modules/widgets/navigator.js index c6aab7aee..b6aab02f4 100755 --- a/core/modules/widgets/navigator.js +++ b/core/modules/widgets/navigator.js @@ -556,7 +556,7 @@ NavigatorWidget.prototype.handlePerformImportEvent = function(event) { importData = this.wiki.getTiddlerDataCached(event.param,{tiddlers: {}}), importReport = []; // Add the tiddlers to the store - importReport.push("The following tiddlers were imported:\n"); + importReport.push($tw.language.getString("Import/Imported") + "\n"); $tw.utils.each(importData.tiddlers,function(tiddlerFields) { var title = tiddlerFields.title; if(title && importTiddler && importTiddler.fields["selection-" + title] !== "unchecked") { diff --git a/languages/ko-KR/Import.multids b/languages/ko-KR/Import.multids index 04d51751d..7d79de60d 100644 --- a/languages/ko-KR/Import.multids +++ b/languages/ko-KR/Import.multids @@ -1,5 +1,6 @@ title: $:/language/Import/ +Imported: 다음 티들러를 가져왔습니다: Listing/Cancel/Caption: 취소 Listing/Hint: 이 티들러는 가져올 준비가 되었습니다: Listing/Import/Caption: 가져오기 From 33bca3d390da890eceecc1362bfc9beafb03e8fa Mon Sep 17 00:00:00 2001 From: Myeongjin <aranet100@gmail.com> Date: Sun, 18 Oct 2015 18:09:41 +0900 Subject: [PATCH 10/18] add localisable strings for search --- core/language/en-GB/Search.multids | 3 +++ core/ui/DefaultSearchResultList.tid | 4 ++-- languages/ko-KR/Search.multids | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/core/language/en-GB/Search.multids b/core/language/en-GB/Search.multids index d8d7ae3d7..fd6eadc7e 100644 --- a/core/language/en-GB/Search.multids +++ b/core/language/en-GB/Search.multids @@ -5,6 +5,9 @@ Filter/Caption: Filter Filter/Hint: Search via a [[filter expression|http://tiddlywiki.com/static/Filters.html]] Filter/Matches: //<small><<resultCount>> matches</small>// Matches: //<small><<resultCount>> matches</small>// +Matches/All: All matches: +Matches/Title: Title matches: +Search: Search Shadows/Caption: Shadows Shadows/Hint: Search for shadow tiddlers Shadows/Matches: //<small><<resultCount>> matches</small>// diff --git a/core/ui/DefaultSearchResultList.tid b/core/ui/DefaultSearchResultList.tid index 3341af098..331ef8718 100644 --- a/core/ui/DefaultSearchResultList.tid +++ b/core/ui/DefaultSearchResultList.tid @@ -3,11 +3,11 @@ tags: $:/tags/SearchResults caption: {{$:/language/Search/DefaultResults/Caption}} \define searchResultList() -//<small>Title matches:</small>// +//<small>{{$:/language/Search/Matches/Title}}</small>// <$list filter="[!is[system]search:title{$(searchTiddler)$}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/> -//<small>All matches:</small>// +//<small>{{$:/language/Search/Matches/All}}</small>// <$list filter="[!is[system]search{$(searchTiddler)$}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/> diff --git a/languages/ko-KR/Search.multids b/languages/ko-KR/Search.multids index 811f7ff5d..b668d84d4 100644 --- a/languages/ko-KR/Search.multids +++ b/languages/ko-KR/Search.multids @@ -5,6 +5,9 @@ Filter/Caption: 필터 Filter/Hint: [[필터 표현식|http://tiddlywiki.com/static/Filters.html]]을 통해 검색합니다 Filter/Matches: //<small><<resultCount>>개 일치</small>// Matches: //<small><<resultCount>>개 일치</small>// +Matches/All: 모든 일치: +Matches/Title: 제목 일치: +Search: 검색 Shadows/Caption: 섀도우 Shadows/Hint: 섀도우 티들러에 대해 검색합니다 Shadows/Matches: //<small><<resultCount>>개 일치</small>// From a0468a5e6c3d6333cb28392abe2f6ad85019d8f4 Mon Sep 17 00:00:00 2001 From: Myeongjin <aranet100@gmail.com> Date: Sun, 18 Oct 2015 18:18:22 +0900 Subject: [PATCH 11/18] add localisable strings for plugin library --- core/language/en-GB/ControlPanel.multids | 3 +++ core/language/en-GB/Misc.multids | 1 + core/ui/ControlPanel/Modals/AddPlugins.tid | 8 ++++---- core/wiki/config/OfficialPluginLibrary.tid | 2 +- languages/ko-KR/ControlPanel.multids | 3 +++ languages/ko-KR/Misc.multids | 1 + 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/core/language/en-GB/ControlPanel.multids b/core/language/en-GB/ControlPanel.multids index 72a22ab3d..f6f09f5b0 100644 --- a/core/language/en-GB/ControlPanel.multids +++ b/core/language/en-GB/ControlPanel.multids @@ -52,11 +52,14 @@ Plugins/Disabled/Status: (disabled) Plugins/Empty/Hint: None Plugins/Enable/Caption: enable Plugins/Enable/Hint: Enable this plugin when reloading page +Plugins/Install: install Plugins/Installed/Hint: Currently installed plugins: Plugins/Languages/Caption: Languages Plugins/Languages/Hint: Language pack plugins +Plugins/OpenPluginLibrary: open plugin library Plugins/Plugins/Caption: Plugins Plugins/Plugins/Hint: Plugins +Plugins/Reinstall: reinstall Plugins/Themes/Caption: Themes Plugins/Themes/Hint: Theme plugins Saving/Caption: Saving diff --git a/core/language/en-GB/Misc.multids b/core/language/en-GB/Misc.multids index d703bebd0..3c19e0e37 100644 --- a/core/language/en-GB/Misc.multids +++ b/core/language/en-GB/Misc.multids @@ -25,6 +25,7 @@ InvalidFieldName: Illegal characters in field name "<$text text=<<fieldName>>/>" LazyLoadingWarning: <p>Loading external text from ''<$text text={{!!_canonical_uri}}/>''</p><p>If this message doesn't disappear you may be using a browser that doesn't support external text in this configuration. See http://tiddlywiki.com/#ExternalText</p> MissingTiddler/Hint: Missing tiddler "<$text text=<<currentTiddler>>/>" - click {{$:/core/images/edit-button}} to create OfficialPluginLibrary: Official ~TiddlyWiki Plugin Library +OfficialPluginLibrary/Hint: The official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team. PluginReloadWarning: Please save {{$:/core/ui/Buttons/save-wiki}} and reload {{$:/core/ui/Buttons/refresh}} to allow changes to plugins to take effect RecentChanges/DateFormat: DDth MMM YYYY SystemTiddler/Tooltip: This is a system tiddler diff --git a/core/ui/ControlPanel/Modals/AddPlugins.tid b/core/ui/ControlPanel/Modals/AddPlugins.tid index e25aa7425..d05c41767 100644 --- a/core/ui/ControlPanel/Modals/AddPlugins.tid +++ b/core/ui/ControlPanel/Modals/AddPlugins.tid @@ -6,8 +6,8 @@ subtitle: {{$:/core/images/download-button}} {{$:/language/ControlPanel/Plugins/ \define install-plugin-button() <$button> <$action-sendmessage $message="tm-load-plugin-from-library" url={{!!url}} title={{$(assetInfo)$!!original-title}}/> -<$list filter="[<assetInfo>get[original-title]get[version]]" variable="installedVersion" emptyMessage="""install"""> -reinstall +<$list filter="[<assetInfo>get[original-title]get[version]]" variable="installedVersion" emptyMessage="""{{$:/language/ControlPanel/Plugins/Install}}"""> +{{$:/language/ControlPanel/Plugins/Reinstall}} </$list> </$button> \end @@ -65,12 +65,12 @@ This plugin is already installed at version <$text text=<<installedVersion>>/> \define load-plugin-library-button() <$button class="tc-btn-big-green"> <$action-sendmessage $message="tm-load-plugin-library" url={{!!url}} infoTitlePrefix="$:/temp/RemoteAssetInfo/"/> -{{$:/core/images/chevron-right}} open plugin library +{{$:/core/images/chevron-right}} {{$:/language/ControlPanel/Plugins/OpenPluginLibrary}} </$button> \end \define display-server-assets(type) -Search: <$edit-text tiddler="""$:/temp/RemoteAssetSearch/$(currentTiddler)$""" default="" type="search" tag="input"/> +{{$:/language/Search/Search}}: <$edit-text tiddler="""$:/temp/RemoteAssetSearch/$(currentTiddler)$""" default="" type="search" tag="input"/> <$reveal state="""$:/temp/RemoteAssetSearch/$(currentTiddler)$""" type="nomatch" text=""> <$button class="tc-btn-invisible"> <$action-setfield $tiddler="""$:/temp/RemoteAssetSearch/$(currentTiddler)$""" $field="text" $value=""/> diff --git a/core/wiki/config/OfficialPluginLibrary.tid b/core/wiki/config/OfficialPluginLibrary.tid index f98be9acc..e4bfbc02c 100644 --- a/core/wiki/config/OfficialPluginLibrary.tid +++ b/core/wiki/config/OfficialPluginLibrary.tid @@ -3,4 +3,4 @@ tags: $:/tags/PluginLibrary url: http://tiddlywiki.com/library/v5.1.9/index.html caption: {{$:/language/OfficialPluginLibrary}} -The official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team. +{{$:/language/OfficialPluginLibrary/Hint}} diff --git a/languages/ko-KR/ControlPanel.multids b/languages/ko-KR/ControlPanel.multids index 164601cc3..a2edb0f3c 100644 --- a/languages/ko-KR/ControlPanel.multids +++ b/languages/ko-KR/ControlPanel.multids @@ -52,11 +52,14 @@ Plugins/Disabled/Status: (비활성화됨) Plugins/Empty/Hint: 없음 Plugins/Enable/Caption: 활성화 Plugins/Enable/Hint: 페이지를 다시 불러올 때 이 플러그인을 활성화합니다 +Plugins/Install: 설치 Plugins/Installed/Hint: 현재 설치된 플러그인: Plugins/Languages/Caption: 언어 Plugins/Languages/Hint: 언어 팩 플러그인 +Plugins/OpenPluginLibrary: 플러그인 라이브러리 열기 Plugins/Plugins/Caption: 플러그인 Plugins/Plugins/Hint: 플러그인 +Plugins/Reinstall: 재설치 Plugins/Themes/Caption: 테마 Plugins/Themes/Hint: 테마 플러그인 Saving/Caption: 저장 diff --git a/languages/ko-KR/Misc.multids b/languages/ko-KR/Misc.multids index 5d477b5bf..22c3b9eb4 100644 --- a/languages/ko-KR/Misc.multids +++ b/languages/ko-KR/Misc.multids @@ -27,6 +27,7 @@ InternalJavaScriptError/Hint: 아이 창피해. 브라우저를 새로 고쳐 Ti InvalidFieldName: "<$text text=<<fieldName>>/>" 필드 이름에 잘못된 문자가 있습니다. 필드는 소문자, 숫자 및 밑줄 문자 (`_`), 하이픈 (`-`) 및 마침표 (`.`)만을 포함할 수 있습니다. MissingTiddler/Hint: "<$text text=<<currentTiddler>>/>" 티들러가 없습니다 - 만드려면 {{$:/core/images/edit-button}}을 클릭하세요 OfficialPluginLibrary: 공식 ~TiddlyWiki 플러그인 라이브러리 +OfficialPluginLibrary/Hint: tiddlywiki.com에서의 공식 ~TiddlyWiki 플러그인 라이브러리입니다. 플러그인, 테마 및 언어 팩은 코어 팀이 유지 관리하고 있습니다. PluginReloadWarning: 플러그인의 바뀜을 적용할 수 있도록 하려면 저장 {{$:/core/ui/Buttons/save-wiki}}하고 나서 다시 불러오세요 {{$:/core/ui/Buttons/refresh}} RecentChanges/DateFormat: YYYY년 MMM DD일 SystemTiddler/Tooltip: 이것은 시스템 티들러입니다 From 5232d5a0a76cd0daa573a45f224dca0194fac852 Mon Sep 17 00:00:00 2001 From: afeldspar <afeldspar@gmail.com> Date: Tue, 20 Oct 2015 21:04:35 -0400 Subject: [PATCH 12/18] Update cla-individual.md --- licenses/cla-individual.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/licenses/cla-individual.md b/licenses/cla-individual.md index b9e7e983e..50d82fbb7 100644 --- a/licenses/cla-individual.md +++ b/licenses/cla-individual.md @@ -252,3 +252,5 @@ William Jackson, @matabele 2015/09/26 Karl Knechtel, @zahlman, 2015/10/03 Tony Grosinger @tgrosinger 2015/10/03 + +Antaeus Feldspar @afeldspar 2015/10/20 From 7492086f313940e7e8f86c8f3c91ef030e09fa4b Mon Sep 17 00:00:00 2001 From: afeldspar <afeldspar@gmail.com> Date: Tue, 20 Oct 2015 21:15:58 -0400 Subject: [PATCH 13/18] add explanation on 'set' attribute Attempted a fix for the problem I raised in #2038, by adding an explanation of why a TextReference in a button widget's 'set' attribute will lack the curly braces seen nearly anywhere else a TextReference is used as a widget attribute. --- editions/tw5.com/tiddlers/widgets/ButtonWidget.tid | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid b/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid index 3e40b75e0..28c1f6822 100644 --- a/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid @@ -37,4 +37,14 @@ The content of the `<$button>` widget is displayed within the button. |tag |An optional html tag to use instead of the default "button" | |default |Default value if `set` tiddler is missing for testing against `setTo` to determine `selectedClass` | -''Tip:'' Set ''class'' to `tc-btn-invisible tc-tiddlylink` to have a button look like an internal link. \ No newline at end of file +''Note:'' In almost all other cases where a TextReference is used as a widget attribute, it will be placed between curly brackets, to [[transclude|Transclusion in WikiText]] the value currently stored there. However, when we use a TextReference as the value of a button widget's `set` attribute, we are referencing //the storage location itself//, rather than the value stored there, so we do ''not'' use curly brackets there. //Example:// we could code a button widget that sets the `caption` field of TiddlerA to be the same as that of TiddlerB as: + +``` +<$button set="TiddlerA!!caption" setTo={{TiddlerB!!caption}} > + +Press me! + +</$button> +``` + +''Tip:'' Set ''class'' to `tc-btn-invisible tc-tiddlylink` to have a button look like an internal link. From a089fb94a6b3bb6ba923eb39b8cdf020a1f5498f Mon Sep 17 00:00:00 2001 From: Jermolene <jeremy@jermolene.com> Date: Thu, 22 Oct 2015 22:46:47 +0100 Subject: [PATCH 14/18] Add clean.sh for removing build output We use a regex to delete all files in `./editions/*/output/*` --- bin/clean.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bin/clean.sh diff --git a/bin/clean.sh b/bin/clean.sh new file mode 100755 index 000000000..b282f332c --- /dev/null +++ b/bin/clean.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +# Remove any output files + +find . -regex "^./editions/[a-z\.-]*/output/.*" -delete From 52022691f95d8d8a9fb49009fddee3d5d91f17e2 Mon Sep 17 00:00:00 2001 From: Myeongjin Lee <aranet100@gmail.com> Date: Fri, 23 Oct 2015 17:24:55 +0900 Subject: [PATCH 15/18] Update korean translation --- languages/ko-KR/Buttons.multids | 12 +++++++++++- languages/ko-KR/ControlPanel.multids | 3 +++ languages/ko-KR/GettingStarted.tid | 17 ++++++++++------- languages/ko-KR/Help/password.tid | 1 + languages/ko-KR/Help/rendertiddler.tid | 4 ++-- languages/ko-KR/Help/rendertiddlers.tid | 2 +- languages/ko-KR/Help/savetiddlers.tid | 4 +++- languages/ko-KR/Misc.multids | 5 ++++- languages/ko-KR/SiteTitle.tid | 2 +- 9 files changed, 36 insertions(+), 14 deletions(-) diff --git a/languages/ko-KR/Buttons.multids b/languages/ko-KR/Buttons.multids index ae4ec2962..9077cf850 100644 --- a/languages/ko-KR/Buttons.multids +++ b/languages/ko-KR/Buttons.multids @@ -30,6 +30,12 @@ ExportTiddler/Caption: 티들러 내보내기 ExportTiddler/Hint: 티들러를 내보냅니다 ExportTiddlers/Caption: 여러 티들러 내보내기 ExportTiddlers/Hint: 여러 티들러를 내보냅니다 +Fold/Caption: 티들러 접기 +Fold/Hint: 이 티들러의 본문을 접습니다 +FoldAll/Caption: 모든 티들러 접기 +FoldAll/Hint: 모든 열린 티들러의 본문을 접습니다 +FoldOthers/Caption: 다른 티들러 접기 +FoldOthers/Hint: 다른 열린 티들러의 본문을 접습니다 FullScreen/Caption: 전체 화면 FullScreen/Hint: 전체 화면 모드에 들어가거나 떠납니다 Help/Caption: 도움말 @@ -39,7 +45,7 @@ HideSideBar/Hint: 사이드바를 숨깁니다 Home/Caption: 홈 Home/Hint: 기본 티들러를 엽니다 Import/Caption: 가져오기 -Import/Hint: 파일을 가져옵니다 +Import/Hint: 텍스트, 그림, TiddlyWiki 또는 JSON을 포함한 여러 파일의 형식을 가져옵니다 Info/Caption: 정보 Info/Hint: 이 티들러에 대한 정보를 보여줍니다 Language/Caption: 언어 @@ -76,3 +82,7 @@ TagManager/Caption: 태그 관리자 TagManager/Hint: 태그 관리자를 엽니다 Theme/Caption: 테마 Theme/Hint: 보일 테마를 선택합니다 +Unfold/Caption: 티들러 펼치기 +Unfold/Hint: 이 티들러의 본문을 펼칩니다 +UnfoldAll/Caption: 모든 티들러 펼치기 +UnfoldAll/Hint: 모든 열린 티들러의 본문을 펼칩니다 diff --git a/languages/ko-KR/ControlPanel.multids b/languages/ko-KR/ControlPanel.multids index a2edb0f3c..3297a14f8 100644 --- a/languages/ko-KR/ControlPanel.multids +++ b/languages/ko-KR/ControlPanel.multids @@ -101,6 +101,9 @@ Settings/NavigationHistory/Caption: 둘러보기 역사 Settings/NavigationHistory/Hint: 티들러로 둘러보기할 때 둘러보기 역사를 업데이트합니다: Settings/NavigationHistory/No/Description: 역사를 업데이트하지 않음 Settings/NavigationHistory/Yes/Description: 역사를 업데이트 +Settings/PerformanceInstrumentation/Caption: 성능 계측 +Settings/PerformanceInstrumentation/Description: 성능 계측 활성화 +Settings/PerformanceInstrumentation/Hint: 브라우저 개발자 콘솔에서 성능 통계를 보여줍니다. 적용하려면 다시 불러와야 합니다 Settings/TitleLinks/Caption: 티들러 제목 Settings/TitleLinks/Hint: 티들러 제목을 링크로 선택적으로 보여줍니다 Settings/TitleLinks/No/Description: 티들러 제목을 링크로 보여주지 않음 diff --git a/languages/ko-KR/GettingStarted.tid b/languages/ko-KR/GettingStarted.tid index a5c5f3f96..aa1a0357c 100644 --- a/languages/ko-KR/GettingStarted.tid +++ b/languages/ko-KR/GettingStarted.tid @@ -1,14 +1,17 @@ title: GettingStarted -TiddlyWiki와 TiddlyWiki 공동체에 오신 것을 환영합니다 +\define lingo-base() $:/language/ControlPanel/Basics/ +~TiddlyWiki와 ~TiddlyWiki 공동체에 오신 것을 환영합니다 -TiddlyWiki에 중요한 정보를 저장하는 것을 시작하기 전에 확실히 바뀜을 저장할 수 있는지 확인하는 것이 중요합니다. 자세한 사항은 http://tiddlywiki.com/#GettingStarted 를 참조하세요 +~TiddlyWiki에 중요한 정보를 저장하는 것을 시작하기 전에 확실히 바뀜을 저장할 수 있는지 확인하는 것이 중요합니다. 자세한 사항은 http://tiddlywiki.com/#GettingStarted 를 참조하세요 -!! 이 TiddlyWiki 설정하기 +!! 이 ~TiddlyWiki 설정하기 - HelloThere -$:/Translators -$:/plugins/tiddlywiki/translators/readme +<div class="tc-control-panel"> +|<$link to="$:/SiteTitle"><<lingo Title/Prompt>></$link> |<$edit-text tiddler="$:/SiteTitle" default="" tag="input"/> | +|<$link to="$:/SiteSubtitle"><<lingo Subtitle/Prompt>></$link> |<$edit-text tiddler="$:/SiteSubtitle" default="" tag="input"/> | +|<$link to="$:/DefaultTiddlers"><<lingo DefaultTiddlers/Prompt>></$link> |<<lingo DefaultTiddlers/TopHint>><br> <$edit-text tag="textarea" tiddler="$:/DefaultTiddlers"/><br>//<<lingo DefaultTiddlers/BottomHint>>// | +</div> -더 많은 옵션에 대해서는 제어판을 보세요. +더 많은 옵션에 대해서는 [[제어판|$:/ControlPanel]]을 보세요. diff --git a/languages/ko-KR/Help/password.tid b/languages/ko-KR/Help/password.tid index daeca801b..95b9307d6 100644 --- a/languages/ko-KR/Help/password.tid +++ b/languages/ko-KR/Help/password.tid @@ -7,3 +7,4 @@ description: 후속 암호화 조작을 하기 위해 비밀번호를 설정합 --password <비밀번호> ``` +''참고'': 이것은 비밀번호로 보호된 TiddlyWiki를 서버에 넣어 사용해서는 안됩니다. 대신, [[ServerCommand]]에 따른 비밀번호 옵션을 보세요. diff --git a/languages/ko-KR/Help/rendertiddler.tid b/languages/ko-KR/Help/rendertiddler.tid index 8597257a5..274df90ac 100644 --- a/languages/ko-KR/Help/rendertiddler.tid +++ b/languages/ko-KR/Help/rendertiddler.tid @@ -1,10 +1,10 @@ title: $:/language/Help/rendertiddler description: 지정된 내용형식으로 개별 티들러를 렌더합니다 -지정된 내용형식으로 개별 티들러를 렌더합니다, 기본값은 `text/html`이며 지정된 파일이름으로 저장합니다: +지정된 내용형식으로 개별 티들러를 렌더합니다, 기본값은 `text/html`이며 지정된 파일이름으로 저장합니다. 선택적으로 틀을 지정할 수 있으며, 이 경우 틀 티들러가 렌더되는 티들러로 "currentTiddler" 변수 집합으로 렌더됩니다. (첫 매개변수 값) ``` ---rendertiddler <제목> <파일이름> [<형식>] +--rendertiddler <제목> <파일이름> [<형식>] [<틀>] ``` 기본적으로, 파일이름은 에디션 디렉터리의 `output` 하위 디렉터리로 상대적으로 해석됩니다. `--output` 명령은 다른 디렉터리로 직접 출력하는 데 사용할 수 있습니다. diff --git a/languages/ko-KR/Help/rendertiddlers.tid b/languages/ko-KR/Help/rendertiddlers.tid index b9eb62fd7..1c8653ae3 100644 --- a/languages/ko-KR/Help/rendertiddlers.tid +++ b/languages/ko-KR/Help/rendertiddlers.tid @@ -15,4 +15,4 @@ description: 지정된 내용형식으로 필터와 일치하는 티들러를 기본적으로, 경로이름은 에디션 디렉터리의 `output` 하위 디렉터리로 상대적으로 해석됩니다. `--output` 명령은 다른 디렉터리로 직접 출력하는 데 사용할 수 있습니다. -noclean 매개변수를 지정하지 않는 한 대상 디렉터리의 모든 파일이 삭제됩니다. 대상 디렉터리가 없으면 재귀적으로 만들어집니다. +''noclean'' 플래그를 지정하지 않는 한 대상 디렉터리의 모든 파일이 삭제됩니다. 대상 디렉터리가 없으면 재귀적으로 만들어집니다. diff --git a/languages/ko-KR/Help/savetiddlers.tid b/languages/ko-KR/Help/savetiddlers.tid index ab8207b94..026a14019 100644 --- a/languages/ko-KR/Help/savetiddlers.tid +++ b/languages/ko-KR/Help/savetiddlers.tid @@ -4,9 +4,11 @@ description: 디렉터리로의 raw 티들러의 그룹을 저장합니다 지정한 디렉터리로 raw 텍스트 또는 바이너리 형식의 티들러의 그룹을 저장합니다. ``` ---savetiddlers <필터> <경로이름> +--savetiddlers <필터> <경로이름> ["noclean"] ``` 기본적으로, 경로이름은 에디션 디렉터리의 `output` 하위 디렉터리로 상대적으로 해석됩니다. `--output` 명령은 다른 디렉터리로 직접 출력하는 데 사용할 수 있습니다. +출력 디렉터리에는 지정된 파일을 저장하기 전에 기존 파일이 지워집니다. 삭제는 ''noclean'' 플래그를 지정하여 비활성화할 수 있습니다. + 경로이름에 없는 디렉터리는 자동으로 만들어집니다. diff --git a/languages/ko-KR/Misc.multids b/languages/ko-KR/Misc.multids index 22c3b9eb4..a9855b6d9 100644 --- a/languages/ko-KR/Misc.multids +++ b/languages/ko-KR/Misc.multids @@ -1,5 +1,6 @@ title: $:/language/ +AboveStory/ClassicPlugin/Warning: ~TiddlyWiki 클래식용으로 설계된 플러그인을 불러오려고 하는 것 같아 보입니다. [[이러한 플러그인은 TiddlyWiki 버전 5.x.x에 동작하지 않음|http://tiddlywiki.com/#TiddlyWikiClassic]]을 참고하세요. ~TiddlyWiki 클래식 플러그인이 감지되었습니다: BinaryWarning/Prompt: 이 티들러는 바이너리 데이터를 포함합니다 ClassicWarning/Hint: 이 티들러는 TiddlyWiki 클래식 위키 텍스트 형식으로 쓰여져 있으며, TiddlyWiki 버전 5와 완전히 호환되지 않습니다. 자세한 사항은 http://tiddlywiki.com/static/Upgrading.html 을 참조하세요. ClassicWarning/Upgrade/Caption: 업그레이드 @@ -22,9 +23,10 @@ Exporters/CsvFile: CSV 파일 Exporters/JsonFile: JSON 파일 Exporters/StaticRiver: 정적 HTML Exporters/TidFile: ".tid" 파일 -InternalJavaScriptError/Title: 내부 자바스크립트 오류 InternalJavaScriptError/Hint: 아이 창피해. 브라우저를 새로 고쳐 TiddlyWiki를 다시 시작할 것을 권장합니다 +InternalJavaScriptError/Title: 내부 자바스크립트 오류 InvalidFieldName: "<$text text=<<fieldName>>/>" 필드 이름에 잘못된 문자가 있습니다. 필드는 소문자, 숫자 및 밑줄 문자 (`_`), 하이픈 (`-`) 및 마침표 (`.`)만을 포함할 수 있습니다. +LazyLoadingWarning: <p>''<$text text={{!!_canonical_uri}}/>''에서 바깥 텍스트를 불러오는 중입니다</p><p>이 메시지가 사라지지 않으면 이 구성에서 바깥 텍스트를 지원하지 않는 브라우저를 사용하고 있을 수 있습니다. http://tiddlywiki.com/#ExternalText 를 보세요</p> MissingTiddler/Hint: "<$text text=<<currentTiddler>>/>" 티들러가 없습니다 - 만드려면 {{$:/core/images/edit-button}}을 클릭하세요 OfficialPluginLibrary: 공식 ~TiddlyWiki 플러그인 라이브러리 OfficialPluginLibrary/Hint: tiddlywiki.com에서의 공식 ~TiddlyWiki 플러그인 라이브러리입니다. 플러그인, 테마 및 언어 팩은 코어 팀이 유지 관리하고 있습니다. @@ -36,4 +38,5 @@ TagManager/Count/Heading: 횟수 TagManager/Icon/Heading: 아이콘 TagManager/Info/Heading: 정보 TagManager/Tag/Heading: 태그 +Tiddler/DateFormat: YYYY년 MMM DD일 am hh12:mm UnsavedChangesWarning: TiddlyWiki에 저장하지 않은 바뀜이 있습니다 diff --git a/languages/ko-KR/SiteTitle.tid b/languages/ko-KR/SiteTitle.tid index bb2ac6d58..677110f30 100644 --- a/languages/ko-KR/SiteTitle.tid +++ b/languages/ko-KR/SiteTitle.tid @@ -1,3 +1,3 @@ title: $:/SiteTitle -내 TiddlyWiki \ No newline at end of file +내 ~TiddlyWiki \ No newline at end of file From ba15086381c9ffae589e82f1b0dff9bd596f41b9 Mon Sep 17 00:00:00 2001 From: Jermolene <jeremy@jermolene.com> Date: Fri, 23 Oct 2015 17:54:59 +0100 Subject: [PATCH 16/18] Remove extraneous apostrophe Thanks @paul-cross (2354271723243753a8a19c6181d4822592d02a3e) --- editions/tw5.com/tiddlers/hellothere/Discover TiddlyWiki.tid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editions/tw5.com/tiddlers/hellothere/Discover TiddlyWiki.tid b/editions/tw5.com/tiddlers/hellothere/Discover TiddlyWiki.tid index ca8d25c5c..d1b0adc64 100644 --- a/editions/tw5.com/tiddlers/hellothere/Discover TiddlyWiki.tid +++ b/editions/tw5.com/tiddlers/hellothere/Discover TiddlyWiki.tid @@ -1,5 +1,5 @@ created: 20140904121000000 -modified: 20150414072046785 +modified: 20151023165341339 tags: HelloThere title: Discover TiddlyWiki type: text/vnd.tiddlywiki @@ -13,7 +13,7 @@ You've never seen //anything// like ~TiddlyWiki. ~TiddlyWiki is: ! ~TiddlyWiki is a Tool -''~TiddlyWiki is first and foremost a tool:'' it is a free downloadable tool for capturing and organising content from the web, from your documents or from your brain. Its a tool for note-taking, bookmarking, pinning, writing, managing to-do lists and projects, collaborating, blogging, and publishing. +''~TiddlyWiki is first and foremost a tool:'' it is a free downloadable tool for capturing and organising content from the web, from your documents or from your brain. It is a tool for note-taking, bookmarking, pinning, writing, managing to-do lists and projects, collaborating, blogging, and publishing. In ~TiddlyWiki you create or paste content into notes called tiddlers, then connect your tiddlers with hyperlinks and tags. You can then quickly retrieve your notes through features such as tag pills, sidebar tabs, and ~TiddlyWiki's lightning fast search window. You can even dynamically include one tiddler's content inside another - similar to using building blocks - to create articles, lists, presentations and more. From 0d6450cfb5e51915416449143bef1c4ae2517251 Mon Sep 17 00:00:00 2001 From: afeldspar <afeldspar@gmail.com> Date: Sat, 24 Oct 2015 09:52:03 -0400 Subject: [PATCH 17/18] fix typo in FilterRun.tid diagram corrected typo in the railroad diagram, which showed a double-quote where a single-quote should have been. --- editions/tw5.com/tiddlers/filters/syntax/FilterRun.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/filters/syntax/FilterRun.tid b/editions/tw5.com/tiddlers/filters/syntax/FilterRun.tid index 640891906..e3843b492 100644 --- a/editions/tw5.com/tiddlers/filters/syntax/FilterRun.tid +++ b/editions/tw5.com/tiddlers/filters/syntax/FilterRun.tid @@ -11,7 +11,7 @@ type: text/vnd.tiddlywiki | '"' [:{/'anything but "'/}] '"' | - "'" [:{/"anything but '"/}] '"' + "'" [:{/"anything but '"/}] "'" ) """/> From 7ecaba9a65de232adc19a47d7a307b1aa97e612c Mon Sep 17 00:00:00 2001 From: Jermolene <jeremy@jermolene.com> Date: Sat, 24 Oct 2015 19:14:29 +0100 Subject: [PATCH 18/18] Update release note --- editions/prerelease/tiddlers/Release 5.1.10.tid | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editions/prerelease/tiddlers/Release 5.1.10.tid b/editions/prerelease/tiddlers/Release 5.1.10.tid index af1488fb2..7b394fa7a 100644 --- a/editions/prerelease/tiddlers/Release 5.1.10.tid +++ b/editions/prerelease/tiddlers/Release 5.1.10.tid @@ -114,6 +114,7 @@ Revert [[@Jermolene|https://github.com/Jermolene]] would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki: +* [[@afeldspar|https://github.com/afeldspar]] * [[@araname|https://github.com/araname]] * [[@BramChen|https://github.com/BramChen]] * [[@danielo515|https://github.com/danielo515]] @@ -123,6 +124,7 @@ Revert * [[@inmysocks|https://github.com/inmysocks]] * [[@matabele|https://github.com/matabele]] * [[@nameanyone|https://github.com/nameanyone]] +* [[@senevoldsen90|https://github.com/senevoldsen90]] * [[@SuperDOS|https://github.com/SuperDOS]] * [[@tgrosinger|https://github.com/tgrosinger]] * [[@tobibeer|https://github.com/tobibeer]]