From 2f69ea362cd673f59b9fadbe11f1f95549a59813 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 28 Aug 2014 21:43:44 +0100 Subject: [PATCH] Rename "tw-*" messages to "tm-*" --- core/language/en-GB/Modals/Download.tid | 2 +- .../en-GB/Modals/SaveInstructions.tid | 2 +- core/modules/saver-handler.js | 4 +- core/modules/startup/password.js | 4 +- core/modules/startup/rootwidget.js | 10 ++-- core/modules/startup/story.js | 16 +++---- core/modules/storyviews/classic.js | 2 +- core/modules/storyviews/pop.js | 2 +- core/modules/syncer.js | 6 +-- core/modules/utils/dom/modal.js | 10 ++-- core/modules/utils/dom/scroller.js | 4 +- core/modules/widgets/browse.js | 2 +- core/modules/widgets/button.js | 2 +- core/modules/widgets/dropzone.js | 8 ++-- core/modules/widgets/fieldmangler.js | 8 ++-- core/modules/widgets/link.js | 2 +- core/modules/widgets/linkcatcher.js | 4 +- core/modules/widgets/navigator.js | 26 +++++----- core/modules/widgets/scrollable.js | 2 +- core/ui/AlertTemplate.tid | 2 +- core/ui/ControlPanel/Tools.tid | 2 +- core/ui/EditTemplate.tid | 4 +- core/ui/EditTemplate/fields.tid | 4 +- core/ui/EditTemplate/tags.tid | 6 +-- core/ui/EditTemplate/type.tid | 2 +- core/ui/EditToolbar/cancel.tid | 2 +- core/ui/EditToolbar/delete.tid | 2 +- core/ui/EditToolbar/save.tid | 2 +- core/ui/PageControls/closeall.tid | 2 +- core/ui/PageControls/encryption.tid | 4 +- core/ui/PageControls/full-screen.tid | 2 +- core/ui/PageControls/home.tid | 2 +- core/ui/PageControls/newtiddler.tid | 2 +- core/ui/PageControls/refresh.tid | 2 +- core/ui/PageControls/savewiki.tid | 2 +- core/ui/SideBar/Open.tid | 4 +- core/ui/ViewTemplate/import.tid | 4 +- core/ui/ViewToolbar/clone.tid | 2 +- core/ui/ViewToolbar/close-others.tid | 2 +- core/ui/ViewToolbar/close.tid | 2 +- core/ui/ViewToolbar/edit.tid | 2 +- core/ui/ViewToolbar/permalink.tid | 2 +- core/ui/ViewToolbar/permaview.tid | 2 +- core/wiki/download-wiki-button.tid | 2 +- core/wiki/encryptionstatus.tid | 6 +-- core/wiki/paletteeditor.tid | 4 +- editions/tahoelafs/tiddlers/HelloThere.tid | 4 +- editions/tw5.com/tiddlers/Features.tid | 8 ++-- editions/tw5.com/tiddlers/HelloThere.tid | 2 +- editions/tw5.com/tiddlers/TableOfContents.tid | 48 +++++++++---------- .../tiddlers/howtos/Creating SubStories.tid | 4 +- .../tiddlers/mechanisms/AlertMechanism.tid | 2 +- .../tiddlers/mechanisms/DraftMechanism.tid | 8 ++-- .../mechanisms/EncryptionMechanism.tid | 2 +- .../tiddlers/mechanisms/HistoryMechanism.tid | 4 +- .../tiddlers/mechanisms/StateMechanism.tid | 2 +- .../WidgetMessage_ tw-browser-refresh.tid | 4 +- .../WidgetMessage_ tw-cancel-tiddler.tid | 4 +- .../WidgetMessage_ tw-clear-password.tid | 4 +- .../WidgetMessage_ tw-close-all-tiddlers.tid | 2 +- ...WidgetMessage_ tw-close-other-tiddlers.tid | 4 +- .../WidgetMessage_ tw-close-tiddler.tid | 4 +- .../WidgetMessage_ tw-delete-tiddler.tid | 4 +- .../WidgetMessage_ tw-download-file.tid | 2 +- .../WidgetMessage_ tw-edit-tiddler.tid | 4 +- .../WidgetMessage_ tw-full-screen.tid | 2 +- .../messages/WidgetMessage_ tw-home.tid | 4 +- .../WidgetMessage_ tw-import-tiddlers.tid | 6 +-- .../messages/WidgetMessage_ tw-login.tid | 2 +- .../messages/WidgetMessage_ tw-logout.tid | 2 +- .../messages/WidgetMessage_ tw-modal.tid | 2 +- .../messages/WidgetMessage_ tw-navigate.tid | 4 +- .../WidgetMessage_ tw-new-tiddler.tid | 4 +- .../messages/WidgetMessage_ tw-notify.tid | 2 +- .../WidgetMessage_ tw-perform-import.tid | 2 +- .../messages/WidgetMessage_ tw-permalink.tid | 4 +- .../messages/WidgetMessage_ tw-permaview.tid | 4 +- .../WidgetMessage_ tw-save-tiddler.tid | 4 +- .../messages/WidgetMessage_ tw-save-wiki.tid | 2 +- .../WidgetMessage_ tw-server-refresh.tid | 2 +- .../WidgetMessage_ tw-set-password.tid | 4 +- .../tw5.com/tiddlers/samples/SampleWizard.tid | 4 +- .../tiddlers/samples/SampleWizard2.tid | 4 +- .../tiddlers/system/download-empty-button.tid | 2 +- .../tw5.com/tiddlers/widgets/BrowseWidget.tid | 2 +- .../tiddlers/widgets/DropzoneWidget.tid | 2 +- .../tiddlers/widgets/FieldManglerWidget.tid | 8 ++-- .../tiddlers/widgets/LinkCatcherWidget.tid | 2 +- .../tiddlers/widgets/ScrollableWidget.tid | 4 +- .../tiddlers/wikitext/Widgets in WikiText.tid | 2 +- languages/de-DE/Modals/Download.tid | 2 +- languages/de-DE/Modals/SaveInstructions.tid | 2 +- languages/fr-FR/Modals/Download.tid | 2 +- languages/fr-FR/Modals/SaveInstructions.tid | 2 +- languages/it-IT/Modals/Download.tid | 2 +- languages/it-IT/Modals/SaveInstructions.tid | 2 +- languages/ja-JP/Modals/Download.tid | 2 +- languages/ja-JP/Modals/SaveInstructions.tid | 2 +- languages/zh-Hans/Modals/Download.tid | 2 +- languages/zh-Hans/Modals/SaveInstructions.tid | 2 +- languages/zh-Hant/Modals/Download.tid | 2 +- languages/zh-Hant/Modals/SaveInstructions.tid | 2 +- plugins/tiddlywiki/cecily/cecily.js | 2 +- .../tiddlyweb/ServerControlPanel.tid | 6 +-- plugins/tiddlywiki/upgrade/UpgradeWizard.tid | 2 +- plugins/tiddlywiki/upgrade/save.tid | 2 +- 106 files changed, 211 insertions(+), 211 deletions(-) diff --git a/core/language/en-GB/Modals/Download.tid b/core/language/en-GB/Modals/Download.tid index 46b818dad..49ea95d59 100644 --- a/core/language/en-GB/Modals/Download.tid +++ b/core/language/en-GB/Modals/Download.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/Download type: text/vnd.tiddlywiki subtitle: Download changes -footer: <$button message="tw-close-tiddler">Close +footer: <$button message="tm-close-tiddler">Close help: http://tiddlywiki.com/static/DownloadingChanges.html Your browser only supports manual saving. diff --git a/core/language/en-GB/Modals/SaveInstructions.tid b/core/language/en-GB/Modals/SaveInstructions.tid index 13d031959..61f46dea0 100644 --- a/core/language/en-GB/Modals/SaveInstructions.tid +++ b/core/language/en-GB/Modals/SaveInstructions.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/SaveInstructions type: text/vnd.tiddlywiki subtitle: Save your work -footer: <$button message="tw-close-tiddler">Close +footer: <$button message="tm-close-tiddler">Close help: http://tiddlywiki.com/static/SavingChanges.html Your changes to this wiki need to be saved as a ~TiddlyWiki HTML file. diff --git a/core/modules/saver-handler.js b/core/modules/saver-handler.js index 4849f7a29..89b10c872 100644 --- a/core/modules/saver-handler.js +++ b/core/modules/saver-handler.js @@ -62,13 +62,13 @@ function SaverHandler(options) { } // Install the save action handlers if($tw.browser) { - $tw.rootWidget.addEventListener("tw-save-wiki",function(event) { + $tw.rootWidget.addEventListener("tm-save-wiki",function(event) { self.saveWiki({ template: event.param, downloadType: "text/plain" }); }); - $tw.rootWidget.addEventListener("tw-download-file",function(event) { + $tw.rootWidget.addEventListener("tm-download-file",function(event) { self.saveWiki({ method: "download", template: event.param, diff --git a/core/modules/startup/password.js b/core/modules/startup/password.js index 3ff7e26c7..41902e9e9 100644 --- a/core/modules/startup/password.js +++ b/core/modules/startup/password.js @@ -19,7 +19,7 @@ exports.after = ["startup"]; exports.synchronous = true; exports.startup = function() { - $tw.rootWidget.addEventListener("tw-set-password",function(event) { + $tw.rootWidget.addEventListener("tm-set-password",function(event) { $tw.passwordPrompt.createPrompt({ serviceName: "Set a new password for this TiddlyWiki", noUserName: true, @@ -33,7 +33,7 @@ exports.startup = function() { } }); }); - $tw.rootWidget.addEventListener("tw-clear-password",function(event) { + $tw.rootWidget.addEventListener("tm-clear-password",function(event) { $tw.crypto.setPassword(null); }); // Ensure that $:/isEncrypted is maintained properly diff --git a/core/modules/startup/rootwidget.js b/core/modules/startup/rootwidget.js index f28d5b776..986742519 100644 --- a/core/modules/startup/rootwidget.js +++ b/core/modules/startup/rootwidget.js @@ -22,22 +22,22 @@ exports.synchronous = true; exports.startup = function() { // Install the modal message mechanism $tw.modal = new $tw.utils.Modal($tw.wiki); - $tw.rootWidget.addEventListener("tw-modal",function(event) { + $tw.rootWidget.addEventListener("tm-modal",function(event) { $tw.modal.display(event.param); }); // Install the notification mechanism $tw.notifier = new $tw.utils.Notifier($tw.wiki); - $tw.rootWidget.addEventListener("tw-notify",function(event) { + $tw.rootWidget.addEventListener("tm-notify",function(event) { $tw.notifier.display(event.param); }); // Install the scroller $tw.pageScroller = new $tw.utils.PageScroller(); - $tw.rootWidget.addEventListener("tw-scroll",function(event) { + $tw.rootWidget.addEventListener("tm-scroll",function(event) { $tw.pageScroller.handleEvent(event); }); var fullscreen = $tw.utils.getFullScreenApis(); if(fullscreen) { - $tw.rootWidget.addEventListener("tw-full-screen",function(event) { + $tw.rootWidget.addEventListener("tm-full-screen",function(event) { if(document[fullscreen._fullscreenElement]) { document[fullscreen._exitFullscreen](); } else { @@ -48,7 +48,7 @@ exports.startup = function() { // If we're being viewed on a data: URI then give instructions for how to save if(document.location.protocol === "data:") { $tw.rootWidget.dispatchEvent({ - type: "tw-modal", + type: "tm-modal", param: "$:/language/Modals/SaveInstructions" }); } diff --git a/core/modules/startup/story.js b/core/modules/startup/story.js index 18197f367..90bb9003d 100644 --- a/core/modules/startup/story.js +++ b/core/modules/startup/story.js @@ -49,27 +49,27 @@ exports.startup = function() { openStartupTiddlers({defaultToCurrentStory: true}); } },false) - // Listen for the tw-browser-refresh message - $tw.rootWidget.addEventListener("tw-browser-refresh",function(event) { + // Listen for the tm-browser-refresh message + $tw.rootWidget.addEventListener("tm-browser-refresh",function(event) { window.location.reload(true); }); - // Listen for the tw-home message - $tw.rootWidget.addEventListener("tw-home",function(event) { + // Listen for the tm-home message + $tw.rootWidget.addEventListener("tm-home",function(event) { window.location.hash = ""; var storyFilter = $tw.wiki.getTiddlerText(DEFAULT_TIDDLERS_TITLE), storyList = $tw.wiki.filterTiddlers(storyFilter); $tw.wiki.addTiddler({title: DEFAULT_STORY_TITLE, text: "", list: storyList},$tw.wiki.getModificationFields()); }); - // Listen for the tw-permalink message - $tw.rootWidget.addEventListener("tw-permalink",function(event) { + // Listen for the tm-permalink message + $tw.rootWidget.addEventListener("tm-permalink",function(event) { updateLocationHash({ updateAddressBar: "permalink", updateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,"no").trim(), targetTiddler: event.param || event.tiddlerTitle }); }); - // Listen for the tw-permaview message - $tw.rootWidget.addEventListener("tw-permaview",function(event) { + // Listen for the tm-permaview message + $tw.rootWidget.addEventListener("tm-permaview",function(event) { updateLocationHash({ updateAddressBar: "permaview", updateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,"no").trim(), diff --git a/core/modules/storyviews/classic.js b/core/modules/storyviews/classic.js index 90fab15a1..ceb54ee47 100644 --- a/core/modules/storyviews/classic.js +++ b/core/modules/storyviews/classic.js @@ -26,7 +26,7 @@ ClassicStoryView.prototype.navigateTo = function(historyInfo) { var listItemWidget = this.listWidget.children[listElementIndex], targetElement = listItemWidget.findFirstDomNode(); // Scroll the node into view - this.listWidget.dispatchEvent({type: "tw-scroll", target: targetElement}); + this.listWidget.dispatchEvent({type: "tm-scroll", target: targetElement}); }; ClassicStoryView.prototype.insert = function(widget) { diff --git a/core/modules/storyviews/pop.js b/core/modules/storyviews/pop.js index 798555049..51c014da6 100644 --- a/core/modules/storyviews/pop.js +++ b/core/modules/storyviews/pop.js @@ -24,7 +24,7 @@ PopStoryView.prototype.navigateTo = function(historyInfo) { var listItemWidget = this.listWidget.children[listElementIndex], targetElement = listItemWidget.findFirstDomNode(); // Scroll the node into view - this.listWidget.dispatchEvent({type: "tw-scroll", target: targetElement}); + this.listWidget.dispatchEvent({type: "tm-scroll", target: targetElement}); }; PopStoryView.prototype.insert = function(widget) { diff --git a/core/modules/syncer.js b/core/modules/syncer.js index 1319d711a..ba736f677 100644 --- a/core/modules/syncer.js +++ b/core/modules/syncer.js @@ -48,13 +48,13 @@ function Syncer(options) { return confirmationMessage; }); // Listen out for login/logout/refresh events in the browser - $tw.rootWidget.addEventListener("tw-login",function() { + $tw.rootWidget.addEventListener("tm-login",function() { self.handleLoginEvent(); }); - $tw.rootWidget.addEventListener("tw-logout",function() { + $tw.rootWidget.addEventListener("tm-logout",function() { self.handleLogoutEvent(); }); - $tw.rootWidget.addEventListener("tw-server-refresh",function() { + $tw.rootWidget.addEventListener("tm-server-refresh",function() { self.handleRefreshEvent(); }); } diff --git a/core/modules/utils/dom/modal.js b/core/modules/utils/dom/modal.js index 78921ea57..a27f84024 100644 --- a/core/modules/utils/dom/modal.js +++ b/core/modules/utils/dom/modal.js @@ -113,7 +113,7 @@ Modal.prototype.display = function(title,options) { attributes: { message: { type: "string", - value: "tw-close-tiddler" + value: "tm-close-tiddler" } }, children: [{ @@ -152,12 +152,12 @@ Modal.prototype.display = function(title,options) { document.body.removeChild(wrapper); } },duration); - // Don't let anyone else handle the tw-close-tiddler message + // Don't let anyone else handle the tm-close-tiddler message return false; }; - headerWidgetNode.addEventListener("tw-close-tiddler",closeHandler,false); - bodyWidgetNode.addEventListener("tw-close-tiddler",closeHandler,false); - footerWidgetNode.addEventListener("tw-close-tiddler",closeHandler,false); + headerWidgetNode.addEventListener("tm-close-tiddler",closeHandler,false); + bodyWidgetNode.addEventListener("tm-close-tiddler",closeHandler,false); + footerWidgetNode.addEventListener("tm-close-tiddler",closeHandler,false); // Set the initial styles for the message $tw.utils.setStyle(modalBackdrop,[ {opacity: "0"} diff --git a/core/modules/utils/dom/scroller.js b/core/modules/utils/dom/scroller.js index 8ff0e04c6..786c54321 100644 --- a/core/modules/utils/dom/scroller.js +++ b/core/modules/utils/dom/scroller.js @@ -13,7 +13,7 @@ Module that creates a $tw.utils.Scroller object prototype that manages scrolling "use strict"; /* -Event handler for when the `tw-scroll` event hits the document body +Event handler for when the `tm-scroll` event hits the document body */ var PageScroller = function() { this.idRequestFrame = null; @@ -44,7 +44,7 @@ PageScroller.prototype.cancelScroll = function() { Handle an event */ PageScroller.prototype.handleEvent = function(event) { - if(event.type === "tw-scroll") { + if(event.type === "tm-scroll") { return this.scrollIntoView(event.target); } return true; diff --git a/core/modules/widgets/browse.js b/core/modules/widgets/browse.js index bebf0a889..fdf77c02e 100644 --- a/core/modules/widgets/browse.js +++ b/core/modules/widgets/browse.js @@ -40,7 +40,7 @@ BrowseWidget.prototype.render = function(parent,nextSibling) { // Add a click event handler domNode.addEventListener("change",function (event) { self.wiki.readFiles(event.target.files,function(tiddlerFieldsArray) { - self.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)}); + self.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)}); }); return false; },false); diff --git a/core/modules/widgets/button.js b/core/modules/widgets/button.js index cfe05a8c0..01334d463 100644 --- a/core/modules/widgets/button.js +++ b/core/modules/widgets/button.js @@ -101,7 +101,7 @@ ButtonWidget.prototype.isPoppedUp = function() { ButtonWidget.prototype.navigateTo = function(event) { var bounds = this.domNodes[0].getBoundingClientRect(); this.dispatchEvent({ - type: "tw-navigate", + type: "tm-navigate", navigateTo: this.to, navigateFromTitle: this.getVariable("storyTiddler"), navigateFromNode: this, diff --git a/core/modules/widgets/dropzone.js b/core/modules/widgets/dropzone.js index 2bfda05ab..30f1ddb5c 100644 --- a/core/modules/widgets/dropzone.js +++ b/core/modules/widgets/dropzone.js @@ -97,7 +97,7 @@ DropZoneWidget.prototype.handleDropEvent = function(event) { $tw.utils.removeClass(this.domNodes[0],"tc-dragover"); // Import any files in the drop var numFiles = this.wiki.readFiles(dataTransfer.files,function(tiddlerFieldsArray) { - self.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)}); + self.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)}); }); // Try to import the various data types we understand if(numFiles === 0) { @@ -122,7 +122,7 @@ DropZoneWidget.prototype.importData = function(dataTransfer) { if(!tiddlerFields.title) { tiddlerFields.title = this.wiki.generateNewTitle("Untitled"); } - this.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify([tiddlerFields])}); + this.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify([tiddlerFields])}); return; } } @@ -188,7 +188,7 @@ DropZoneWidget.prototype.handlePasteEvent = function(event) { if(item.kind === "file") { // Import any files this.wiki.readFile(item.getAsFile(),function(tiddlerFieldsArray) { - self.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)}); + self.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify(tiddlerFieldsArray)}); }); } else if(item.kind === "string") { // Create tiddlers from string items @@ -199,7 +199,7 @@ DropZoneWidget.prototype.handlePasteEvent = function(event) { text: str, type: type }; - self.dispatchEvent({type: "tw-import-tiddlers", param: JSON.stringify([tiddlerFields])}); + self.dispatchEvent({type: "tm-import-tiddlers", param: JSON.stringify([tiddlerFields])}); }); } } diff --git a/core/modules/widgets/fieldmangler.js b/core/modules/widgets/fieldmangler.js index afb60b577..0c44d666a 100644 --- a/core/modules/widgets/fieldmangler.js +++ b/core/modules/widgets/fieldmangler.js @@ -17,10 +17,10 @@ var Widget = require("$:/core/modules/widgets/widget.js").widget; var FieldManglerWidget = function(parseTreeNode,options) { this.initialise(parseTreeNode,options); this.addEventListeners([ - {type: "tw-remove-field", handler: "handleRemoveFieldEvent"}, - {type: "tw-add-field", handler: "handleAddFieldEvent"}, - {type: "tw-remove-tag", handler: "handleRemoveTagEvent"}, - {type: "tw-add-tag", handler: "handleAddTagEvent"} + {type: "tm-remove-field", handler: "handleRemoveFieldEvent"}, + {type: "tm-add-field", handler: "handleAddFieldEvent"}, + {type: "tm-remove-tag", handler: "handleRemoveTagEvent"}, + {type: "tm-add-tag", handler: "handleAddTagEvent"} ]); }; diff --git a/core/modules/widgets/link.js b/core/modules/widgets/link.js index a13dbc7d8..572e253f4 100755 --- a/core/modules/widgets/link.js +++ b/core/modules/widgets/link.js @@ -110,7 +110,7 @@ LinkWidget.prototype.handleClickEvent = function (event) { // Send the click on it's way as a navigate event var bounds = this.domNodes[0].getBoundingClientRect(); this.dispatchEvent({ - type: "tw-navigate", + type: "tm-navigate", navigateTo: this.to, navigateFromTitle: this.getVariable("storyTiddler"), navigateFromNode: this, diff --git a/core/modules/widgets/linkcatcher.js b/core/modules/widgets/linkcatcher.js index b24a81907..51738d6d8 100644 --- a/core/modules/widgets/linkcatcher.js +++ b/core/modules/widgets/linkcatcher.js @@ -17,7 +17,7 @@ var Widget = require("$:/core/modules/widgets/widget.js").widget; var LinkCatcherWidget = function(parseTreeNode,options) { this.initialise(parseTreeNode,options); this.addEventListeners([ - {type: "tw-navigate", handler: "handleNavigateEvent"} + {type: "tm-navigate", handler: "handleNavigateEvent"} ]); }; @@ -63,7 +63,7 @@ LinkCatcherWidget.prototype.refresh = function(changedTiddlers) { }; /* -Handle a tw-navigate event +Handle a tm-navigate event */ LinkCatcherWidget.prototype.handleNavigateEvent = function(event) { if(this.catchTo) { diff --git a/core/modules/widgets/navigator.js b/core/modules/widgets/navigator.js index 8b06289ad..6257fabef 100755 --- a/core/modules/widgets/navigator.js +++ b/core/modules/widgets/navigator.js @@ -19,17 +19,17 @@ var Widget = require("$:/core/modules/widgets/widget.js").widget; var NavigatorWidget = function(parseTreeNode,options) { this.initialise(parseTreeNode,options); this.addEventListeners([ - {type: "tw-navigate", handler: "handleNavigateEvent"}, - {type: "tw-edit-tiddler", handler: "handleEditTiddlerEvent"}, - {type: "tw-delete-tiddler", handler: "handleDeleteTiddlerEvent"}, - {type: "tw-save-tiddler", handler: "handleSaveTiddlerEvent"}, - {type: "tw-cancel-tiddler", handler: "handleCancelTiddlerEvent"}, - {type: "tw-close-tiddler", handler: "handleCloseTiddlerEvent"}, - {type: "tw-close-all-tiddlers", handler: "handleCloseAllTiddlersEvent"}, - {type: "tw-close-other-tiddlers", handler: "handleCloseOtherTiddlersEvent"}, - {type: "tw-new-tiddler", handler: "handleNewTiddlerEvent"}, - {type: "tw-import-tiddlers", handler: "handleImportTiddlersEvent"}, - {type: "tw-perform-import", handler: "handlePerformImportEvent"} + {type: "tm-navigate", handler: "handleNavigateEvent"}, + {type: "tm-edit-tiddler", handler: "handleEditTiddlerEvent"}, + {type: "tm-delete-tiddler", handler: "handleDeleteTiddlerEvent"}, + {type: "tm-save-tiddler", handler: "handleSaveTiddlerEvent"}, + {type: "tm-cancel-tiddler", handler: "handleCancelTiddlerEvent"}, + {type: "tm-close-tiddler", handler: "handleCloseTiddlerEvent"}, + {type: "tm-close-all-tiddlers", handler: "handleCloseAllTiddlersEvent"}, + {type: "tm-close-other-tiddlers", handler: "handleCloseOtherTiddlersEvent"}, + {type: "tm-new-tiddler", handler: "handleNewTiddlerEvent"}, + {type: "tm-import-tiddlers", handler: "handleImportTiddlersEvent"}, + {type: "tm-perform-import", handler: "handlePerformImportEvent"} ]); }; @@ -140,7 +140,7 @@ NavigatorWidget.prototype.addToHistory = function(title,fromPageRect) { }; /* -Handle a tw-navigate event +Handle a tm-navigate event */ NavigatorWidget.prototype.handleNavigateEvent = function(event) { this.addToStory(event.navigateTo,event.navigateFromTitle); @@ -310,7 +310,7 @@ NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) { )); } if(!isRename && !this.wiki.isDraftModified(title)) { - event.type = "tw-cancel-tiddler"; + event.type = "tm-cancel-tiddler"; this.dispatchEvent(event); } else if(isConfirmed) { // Save the draft tiddler as the real tiddler diff --git a/core/modules/widgets/scrollable.js b/core/modules/widgets/scrollable.js index aa3d8c63e..cee4f03ce 100644 --- a/core/modules/widgets/scrollable.js +++ b/core/modules/widgets/scrollable.js @@ -18,7 +18,7 @@ var ScrollableWidget = function(parseTreeNode,options) { this.initialise(parseTreeNode,options); this.scaleFactor = 1; this.addEventListeners([ - {type: "tw-scroll", handler: "handleScrollEvent"} + {type: "tm-scroll", handler: "handleScrollEvent"} ]); if($tw.browser) { this.requestAnimationFrame = window.requestAnimationFrame || diff --git a/core/ui/AlertTemplate.tid b/core/ui/AlertTemplate.tid index 6f1e4c68a..c4e457b75 100644 --- a/core/ui/AlertTemplate.tid +++ b/core/ui/AlertTemplate.tid @@ -2,7 +2,7 @@ title: $:/core/ui/AlertTemplate
-<$button message="tw-delete-tiddler" class="tc-btn-invisible"> +<$button message="tm-delete-tiddler" class="tc-btn-invisible"> {{$:/core/images/delete-button}}
diff --git a/core/ui/ControlPanel/Tools.tid b/core/ui/ControlPanel/Tools.tid index b4212b887..23d27c5b4 100644 --- a/core/ui/ControlPanel/Tools.tid +++ b/core/ui/ControlPanel/Tools.tid @@ -11,7 +11,7 @@ caption: {{$:/language/ControlPanel/Tools/Caption}} ! <> -<$button message="tw-download-file" param="$:/core/templates/alltiddlers.template.html" class="tc-btn-big-green"><> {{$:/core/images/save-button}} +<$button message="tm-download-file" param="$:/core/templates/alltiddlers.template.html" class="tc-btn-big-green"><> {{$:/core/images/save-button}} ! <> diff --git a/core/ui/EditTemplate.tid b/core/ui/EditTemplate.tid index a89a44c15..87380df9a 100644 --- a/core/ui/EditTemplate.tid +++ b/core/ui/EditTemplate.tid @@ -5,8 +5,8 @@ tc-tiddler-frame tc-tiddler-edit-frame $(missingTiddlerClass)$ $(shadowTiddlerCl \end
>> <$set name="storyTiddler" value=<>> -<$keyboard key="escape" message="tw-cancel-tiddler"> -<$keyboard key="ctrl+enter" message="tw-save-tiddler"> +<$keyboard key="escape" message="tm-cancel-tiddler"> +<$keyboard key="ctrl+enter" message="tm-save-tiddler"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/EditTemplate]!has[draft.of]]" variable="listItem"> <$transclude tiddler=<>/> diff --git a/core/ui/EditTemplate/fields.tid b/core/ui/EditTemplate/fields.tid index 61da63556..96f83de0c 100644 --- a/core/ui/EditTemplate/fields.tid +++ b/core/ui/EditTemplate/fields.tid @@ -21,7 +21,7 @@ $:/config/EditTemplateFields/Visibility/$(currentField)$ <$edit-text tiddler=<> field=<> placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}}/> -<$button message="tw-remove-field" param=<> class="tc-btn-invisible">{{$:/core/images/delete-button}} +<$button message="tm-remove-field" param=<> class="tc-btn-invisible">{{$:/core/images/delete-button}} @@ -36,7 +36,7 @@ $:/config/EditTemplateFields/Visibility/$(currentField)$ <$edit-text tiddler="$:/temp/newfieldname" tag="input" default="" placeholder={{$:/language/EditTemplate/Fields/Add/Name/Placeholder}} class="tc-edit-texteditor"/> -<$button message="tw-add-field" param={{$:/temp/newfieldname}} set="$:/temp/newfieldname" setTo="" class=""> +<$button message="tm-add-field" param={{$:/temp/newfieldname}} set="$:/temp/newfieldname" setTo="" class=""> <> diff --git a/core/ui/EditTemplate/tags.tid b/core/ui/EditTemplate/tags.tid index c60ecede2..f9049d628 100644 --- a/core/ui/EditTemplate/tags.tid +++ b/core/ui/EditTemplate/tags.tid @@ -9,7 +9,7 @@ background-color:$(backgroundColor)$; <$fieldmangler> <$list filter="[all[current]tags[]sort[title]]" storyview="pop"><$set name="backgroundColor" value={{!!color}}>> class="tc-tag-label"> <$view field="title" format="text" /> -<$button message="tw-remove-tag" param={{!!title}} class="tc-btn-invisible tc-remove-tag-button">× +<$button message="tm-remove-tag" param={{!!title}} class="tc-btn-invisible tc-remove-tag-button">× @@ -17,7 +17,7 @@ background-color:$(backgroundColor)$; <$edit-text tiddler="$:/temp/NewTagName" tag="input" default="" placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}} focusPopup=<> class="tc-edit-texteditor"/> <$button popup=<> class="tc-btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} -<$button message="tw-add-tag" param={{$:/temp/NewTagName}} set="$:/temp/NewTagName" setTo="" class=""> +<$button message="tm-add-tag" param={{$:/temp/NewTagName}} set="$:/temp/NewTagName" setTo="" class=""> <> @@ -29,7 +29,7 @@ background-color:$(backgroundColor)$;
-<$linkcatcher set="$:/temp/NewTagName" setTo="" message="tw-add-tag"> +<$linkcatcher set="$:/temp/NewTagName" setTo="" message="tm-add-tag"> <$list filter="[!is[shadow]tags[]search{$:/temp/NewTagName}sort[title]]"> <$link> <$set name="backgroundColor" value={{!!color}}> diff --git a/core/ui/EditTemplate/type.tid b/core/ui/EditTemplate/type.tid index 3be329fcf..7f624b1f4 100644 --- a/core/ui/EditTemplate/type.tid +++ b/core/ui/EditTemplate/type.tid @@ -2,7 +2,7 @@ title: $:/core/ui/EditTemplate/type tags: $:/tags/EditTemplate \define lingo-base() $:/language/EditTemplate/ -

<$fieldmangler><> <$edit-text field="type" tag="input" default="" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<> class="tc-edit-typeeditor"/> <$button popup=<> class="tc-btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} <$button message="tw-remove-field" param="type" class="tc-btn-invisible tc-btn-icon">{{$:/core/images/delete-button}}

+

<$fieldmangler><> <$edit-text field="type" tag="input" default="" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<> class="tc-edit-typeeditor"/> <$button popup=<> class="tc-btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} <$button message="tm-remove-field" param="type" class="tc-btn-invisible tc-btn-icon">{{$:/core/images/delete-button}}

<$reveal state=<> type="nomatch" text="" default=""> diff --git a/core/ui/EditToolbar/cancel.tid b/core/ui/EditToolbar/cancel.tid index 179767779..a327a9fee 100644 --- a/core/ui/EditToolbar/cancel.tid +++ b/core/ui/EditToolbar/cancel.tid @@ -3,7 +3,7 @@ tags: $:/tags/EditToolbar caption: {{$:/core/images/cancel-button}} {{$:/language/Buttons/Cancel/Caption}} description: {{$:/language/Buttons/Cancel/Hint}} -<$button message="tw-cancel-tiddler" title={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=<>> +<$button message="tm-cancel-tiddler" title={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/cancel-button}} diff --git a/core/ui/EditToolbar/delete.tid b/core/ui/EditToolbar/delete.tid index 1b5eec1be..461f48528 100644 --- a/core/ui/EditToolbar/delete.tid +++ b/core/ui/EditToolbar/delete.tid @@ -3,7 +3,7 @@ tags: $:/tags/EditToolbar caption: {{$:/core/images/delete-button}} {{$:/language/Buttons/Delete/Caption}} description: {{$:/language/Buttons/Delete/Hint}} -<$button message="tw-delete-tiddler" title={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=<>> +<$button message="tm-delete-tiddler" title={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/delete-button}} diff --git a/core/ui/EditToolbar/save.tid b/core/ui/EditToolbar/save.tid index 65caeb5eb..ca87bb8f4 100644 --- a/core/ui/EditToolbar/save.tid +++ b/core/ui/EditToolbar/save.tid @@ -3,7 +3,7 @@ tags: $:/tags/EditToolbar caption: {{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}} description: {{$:/language/Buttons/Save/Hint}} -<$button message="tw-save-tiddler" title={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=<>> +<$button message="tm-save-tiddler" title={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/done-button}} diff --git a/core/ui/PageControls/closeall.tid b/core/ui/PageControls/closeall.tid index 676df6f12..6d3fe5d5a 100644 --- a/core/ui/PageControls/closeall.tid +++ b/core/ui/PageControls/closeall.tid @@ -3,7 +3,7 @@ tags: $:/tags/PageControls caption: {{$:/core/images/close-all-button}} {{$:/language/Buttons/CloseAll/Caption}} description: {{$:/language/Buttons/CloseAll/Hint}} -<$button message="tw-close-all-tiddlers" title={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<>> +<$button message="tm-close-all-tiddlers" title={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/close-all-button}} diff --git a/core/ui/PageControls/encryption.tid b/core/ui/PageControls/encryption.tid index 43bd9b8de..33a44ec0a 100644 --- a/core/ui/PageControls/encryption.tid +++ b/core/ui/PageControls/encryption.tid @@ -4,7 +4,7 @@ caption: {{$:/core/images/locked-padlock}} {{$:/language/Buttons/Encryption/Capt description: {{$:/language/Buttons/Encryption/Hint}} <$reveal type="match" state="$:/isEncrypted" text="yes"> -<$button message="tw-clear-password" title={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<>> +<$button message="tm-clear-password" title={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/locked-padlock}} @@ -14,7 +14,7 @@ description: {{$:/language/Buttons/Encryption/Hint}} <$reveal type="nomatch" state="$:/isEncrypted" text="yes"> -<$button message="tw-set-password" title={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<>> +<$button message="tm-set-password" title={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/unlocked-padlock}} diff --git a/core/ui/PageControls/full-screen.tid b/core/ui/PageControls/full-screen.tid index 791b2e218..5f65f2523 100644 --- a/core/ui/PageControls/full-screen.tid +++ b/core/ui/PageControls/full-screen.tid @@ -3,7 +3,7 @@ tags: $:/tags/PageControls caption: {{$:/core/images/full-screen-button}} {{$:/language/Buttons/FullScreen/Caption}} description: {{$:/language/Buttons/FullScreen/Hint}} -<$button message="tw-full-screen" title={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<>> +<$button message="tm-full-screen" title={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/full-screen-button}} diff --git a/core/ui/PageControls/home.tid b/core/ui/PageControls/home.tid index d277f8208..748e73f69 100644 --- a/core/ui/PageControls/home.tid +++ b/core/ui/PageControls/home.tid @@ -3,7 +3,7 @@ tags: $:/tags/PageControls caption: {{$:/core/images/home-button}} {{$:/language/Buttons/Home/Caption}} description: {{$:/language/Buttons/Home/Hint}} -<$button message="tw-home" title={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<>> +<$button message="tm-home" title={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/home-button}} diff --git a/core/ui/PageControls/newtiddler.tid b/core/ui/PageControls/newtiddler.tid index 087ecda86..f20c0454d 100644 --- a/core/ui/PageControls/newtiddler.tid +++ b/core/ui/PageControls/newtiddler.tid @@ -3,7 +3,7 @@ tags: $:/tags/PageControls caption: {{$:/core/images/new-button}} {{$:/language/Buttons/NewTiddler/Caption}} description: {{$:/language/Buttons/NewTiddler/Hint}} -<$button message="tw-new-tiddler" title={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<>> +<$button message="tm-new-tiddler" title={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/new-button}} diff --git a/core/ui/PageControls/refresh.tid b/core/ui/PageControls/refresh.tid index 00789a1d5..1197f3410 100644 --- a/core/ui/PageControls/refresh.tid +++ b/core/ui/PageControls/refresh.tid @@ -3,7 +3,7 @@ tags: $:/tags/PageControls caption: {{$:/core/images/refresh-button}} {{$:/language/Buttons/Refresh/Caption}} description: {{$:/language/Buttons/Refresh/Hint}} -<$button message="tw-browser-refresh" title={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=<>> +<$button message="tm-browser-refresh" title={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/refresh-button}} diff --git a/core/ui/PageControls/savewiki.tid b/core/ui/PageControls/savewiki.tid index a1b1a4464..dc5be514f 100644 --- a/core/ui/PageControls/savewiki.tid +++ b/core/ui/PageControls/savewiki.tid @@ -3,7 +3,7 @@ tags: $:/tags/PageControls caption: {{$:/core/images/save-button}} {{$:/language/Buttons/SaveWiki/Caption}} description: {{$:/language/Buttons/SaveWiki/Hint}} -<$button message="tw-save-wiki" param={{$:/config/SaveWikiButton/Template}} title={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<>> +<$button message="tm-save-wiki" param={{$:/config/SaveWikiButton/Template}} title={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/save-button}} diff --git a/core/ui/SideBar/Open.tid b/core/ui/SideBar/Open.tid index dee750aed..01a088013 100644 --- a/core/ui/SideBar/Open.tid +++ b/core/ui/SideBar/Open.tid @@ -5,8 +5,8 @@ caption: {{$:/language/SideBar/Open/Caption}} \define lingo-base() $:/language/CloseAll/ <$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop"> -<$button message="tw-close-tiddler" title={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="tc-btn-invisible tc-btn-mini">× <$link to={{!!title}}><$view field="title"/> +<$button message="tm-close-tiddler" title={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="tc-btn-invisible tc-btn-mini">× <$link to={{!!title}}><$view field="title"/> -<$button message="tw-close-all-tiddlers" class="tc-btn-invisible tc-btn-mini"><> +<$button message="tm-close-all-tiddlers" class="tc-btn-invisible tc-btn-mini"><> diff --git a/core/ui/ViewTemplate/import.tid b/core/ui/ViewTemplate/import.tid index 9bf438d1c..5fca39226 100644 --- a/core/ui/ViewTemplate/import.tid +++ b/core/ui/ViewTemplate/import.tid @@ -11,8 +11,8 @@ tags: $:/tags/ViewTemplate {{||$:/core/ui/ImportListing}} -<$button message="tw-delete-tiddler" param=<>><> -<$button message="tw-perform-import" param=<>><> +<$button message="tm-delete-tiddler" param=<>><> +<$button message="tm-perform-import" param=<>><>
diff --git a/core/ui/ViewToolbar/clone.tid b/core/ui/ViewToolbar/clone.tid index 51f41416c..a09c731cd 100644 --- a/core/ui/ViewToolbar/clone.tid +++ b/core/ui/ViewToolbar/clone.tid @@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar caption: {{$:/core/images/clone-button}} {{$:/language/Buttons/Clone/Caption}} description: {{$:/language/Buttons/Clone/Hint}} -<$button message="tw-new-tiddler" param=<> title={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<>> +<$button message="tm-new-tiddler" param=<> title={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/clone-button}} diff --git a/core/ui/ViewToolbar/close-others.tid b/core/ui/ViewToolbar/close-others.tid index 48be05078..b9fbb7428 100644 --- a/core/ui/ViewToolbar/close-others.tid +++ b/core/ui/ViewToolbar/close-others.tid @@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar caption: {{$:/core/images/close-others-button}} {{$:/language/Buttons/CloseOthers/Caption}} description: {{$:/language/Buttons/CloseOthers/Hint}} -<$button message="tw-close-other-tiddlers" param=<> title={{$:/language/Buttons/CloseOthers/Hint}} aria-label={{$:/language/Buttons/CloseOthers/Caption}} class=<>> +<$button message="tm-close-other-tiddlers" param=<> title={{$:/language/Buttons/CloseOthers/Hint}} aria-label={{$:/language/Buttons/CloseOthers/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/close-others-button}} diff --git a/core/ui/ViewToolbar/close.tid b/core/ui/ViewToolbar/close.tid index 2dd8e2a2b..82ca663a1 100644 --- a/core/ui/ViewToolbar/close.tid +++ b/core/ui/ViewToolbar/close.tid @@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar caption: {{$:/core/images/close-button}} {{$:/language/Buttons/Close/Caption}} description: {{$:/language/Buttons/Close/Hint}} -<$button message="tw-close-tiddler" title={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=<>> +<$button message="tm-close-tiddler" title={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/close-button}} diff --git a/core/ui/ViewToolbar/edit.tid b/core/ui/ViewToolbar/edit.tid index 602662dc0..4b3024b9f 100644 --- a/core/ui/ViewToolbar/edit.tid +++ b/core/ui/ViewToolbar/edit.tid @@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar caption: {{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}} description: {{$:/language/Buttons/Edit/Hint}} -<$button message="tw-edit-tiddler" title={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<>> +<$button message="tm-edit-tiddler" title={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/edit-button}} diff --git a/core/ui/ViewToolbar/permalink.tid b/core/ui/ViewToolbar/permalink.tid index ffac398c2..8fc45f296 100644 --- a/core/ui/ViewToolbar/permalink.tid +++ b/core/ui/ViewToolbar/permalink.tid @@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar caption: {{$:/core/images/permalink-button}} {{$:/language/Buttons/Permalink/Caption}} description: {{$:/language/Buttons/Permalink/Hint}} -<$button message="tw-permalink" title={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}} class=<>> +<$button message="tm-permalink" title={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/permalink-button}} diff --git a/core/ui/ViewToolbar/permaview.tid b/core/ui/ViewToolbar/permaview.tid index be40d8e0b..f05a7afc6 100644 --- a/core/ui/ViewToolbar/permaview.tid +++ b/core/ui/ViewToolbar/permaview.tid @@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar $:/tags/PageControls caption: {{$:/core/images/permaview-button}} {{$:/language/Buttons/Permaview/Caption}} description: {{$:/language/Buttons/Permaview/Hint}} -<$button message="tw-permaview" title={{$:/language/Buttons/Permaview/Hint}} aria-label={{$:/language/Buttons/Permaview/Caption}} class=<>> +<$button message="tm-permaview" title={{$:/language/Buttons/Permaview/Hint}} aria-label={{$:/language/Buttons/Permaview/Caption}} class=<>> <$list filter="[prefix[yes]]"> {{$:/core/images/permaview-button}} diff --git a/core/wiki/download-wiki-button.tid b/core/wiki/download-wiki-button.tid index 5d0874f42..8f4cdcdcd 100644 --- a/core/wiki/download-wiki-button.tid +++ b/core/wiki/download-wiki-button.tid @@ -1,4 +1,4 @@ title: $:/snippets/download-wiki-button \define lingo-base() $:/language/ControlPanel/Tools/Download/ -<$button message="tw-download-file" param="$:/core/save/all" class="tc-btn-big-green"><> {{$:/core/images/save-button}} \ No newline at end of file +<$button message="tm-download-file" param="$:/core/save/all" class="tc-btn-big-green"><> {{$:/core/images/save-button}} \ No newline at end of file diff --git a/core/wiki/encryptionstatus.tid b/core/wiki/encryptionstatus.tid index b67d4bc19..31150ae1e 100644 --- a/core/wiki/encryptionstatus.tid +++ b/core/wiki/encryptionstatus.tid @@ -3,10 +3,10 @@ title: $:/snippets/encryptionstatus \define lingo-base() $:/language/ControlPanel/Tools/Encryption/ <$reveal type="match" state="$:/isEncrypted" text="yes"> <> -<$button message="tw-clear-password"><> -<$button message="tw-set-password"><> +<$button message="tm-clear-password"><> +<$button message="tm-set-password"><> <$reveal type="nomatch" state="$:/isEncrypted" text="yes"> <> -<$button message="tw-set-password"><> +<$button message="tm-set-password"><> \ No newline at end of file diff --git a/core/wiki/paletteeditor.tid b/core/wiki/paletteeditor.tid index 609194832..3b4ed5d28 100644 --- a/core/wiki/paletteeditor.tid +++ b/core/wiki/paletteeditor.tid @@ -10,14 +10,14 @@ title: $:/snippets/paletteeditor <$list filter="[all[current]is[shadow]is[tiddler]]" variable="listItem"> <> -<$button message="tw-delete-tiddler" param={{$:/palette}}><> +<$button message="tm-delete-tiddler" param={{$:/palette}}><> <$list filter="[all[current]is[shadow]!is[tiddler]]" variable="listItem"> <> -<$button message="tw-new-tiddler" param={{$:/palette}}><> +<$button message="tm-new-tiddler" param={{$:/palette}}><> diff --git a/editions/tahoelafs/tiddlers/HelloThere.tid b/editions/tahoelafs/tiddlers/HelloThere.tid index 7dfca783b..c1ddb4949 100644 --- a/editions/tahoelafs/tiddlers/HelloThere.tid +++ b/editions/tahoelafs/tiddlers/HelloThere.tid @@ -2,5 +2,5 @@ title: HelloThere This is an experimental edition of TiddlyWiki5 for use with [[Tahoe-LAFS|https://tahoe-lafs.org/]]. At this point it is largely for experimentation by @zooko. Click the ''save changes'' button to PUT the updated TiddlyWiki HTML file back to the server. -<$button message="tw-new-tiddler">New Tiddler -<$button message="tw-save-wiki">Save Changes +<$button message="tm-new-tiddler">New Tiddler +<$button message="tm-save-wiki">Save Changes diff --git a/editions/tw5.com/tiddlers/Features.tid b/editions/tw5.com/tiddlers/Features.tid index 142946ee0..d1374e4c4 100644 --- a/editions/tw5.com/tiddlers/Features.tid +++ b/editions/tw5.com/tiddlers/Features.tid @@ -5,7 +5,7 @@ title: Features type: text/vnd.tiddlywiki \define alert-demo() -<$fieldmangler tiddler="SampleAlert"><$set name="currentTiddler" value="SampleAlert"><$button message="tw-add-tag" param="$:/tags/Alert">alerts +<$fieldmangler tiddler="SampleAlert"><$set name="currentTiddler" value="SampleAlert"><$button message="tm-add-tag" param="$:/tags/Alert">alerts \end * The ability to save changes on almost any desktop HTML5 compatible-browser, with custom apps to enable [[Saving on iPad/iPhone]] and [[Android|Saving on Android]], and a cross-platform [[Firefox extension|Saving with TiddlyFox]] that even runs on Android * Support for pluggable themes and colour palettes (see the [[control panel|$:/ControlPanel]]) @@ -15,11 +15,11 @@ type: text/vnd.tiddlywiki * Integrated [[AES encryption|Saving with Encryption]] * TiddlyWiki isn't just a wiki - you can build custom applications with it like this TaskManagementExample * Full internationalization support, with TiddlyWiki itself available in several languages (see the [[control panel|$:/ControlPanel]]) -* Familiar user interface elements like <>, <$button message="tw-modal" param="SampleWizard">wizards and <$button message="tw-notify" param="SampleNotification">notifications +* Familiar user interface elements like <>, <$button message="tm-modal" param="SampleWizard">wizards and <$button message="tm-notify" param="SampleNotification">notifications * Easily [[import|ImportTiddlers]] content via drag and drop, copy and paste, or browsing for local files -* Clone existing tiddlers (for example, <$button message="tw-new-tiddler" param=<>>clone this tiddler) +* Clone existing tiddlers (for example, <$button message="tm-new-tiddler" param=<>>clone this tiddler) * TiddlyWiki is [[surprisingly scalable|Scalability]] to many thousands of tiddlers and megabytes of content -* Try out the <$button message="tw-full-screen">full screen support +* Try out the <$button message="tm-full-screen">full screen support * Explore the [[D3.js visualisation plugin|http://tiddlywiki.com/d3demo.html]] * [[CodeMirror support via a plugin|http://tiddlywiki.com/codemirrordemo.html]] * [[Markdown support via a plugin|http://tiddlywiki.com/markdowndemo.html]] diff --git a/editions/tw5.com/tiddlers/HelloThere.tid b/editions/tw5.com/tiddlers/HelloThere.tid index 70cc26df5..a68505c12 100644 --- a/editions/tw5.com/tiddlers/HelloThere.tid +++ b/editions/tw5.com/tiddlers/HelloThere.tid @@ -14,7 +14,7 @@ This is version <> of ~TiddlyWiki, a major reboot designed [[for t
-{{TiddlyWiki Classic.png}} +{{TiddlyWiki Classic.png}} !! TiddlyWikiClassic diff --git a/editions/tw5.com/tiddlers/TableOfContents.tid b/editions/tw5.com/tiddlers/TableOfContents.tid index 798137400..8cbb24578 100644 --- a/editions/tw5.com/tiddlers/TableOfContents.tid +++ b/editions/tw5.com/tiddlers/TableOfContents.tid @@ -183,30 +183,30 @@ $body$ ">> ## <> ## <
-! <$button message="tw-close-tiddler" class="tc-btn-invisible">{{$:/core/images/close-button}} <$view field="title"/> +! <$button message="tm-close-tiddler" class="tc-btn-invisible">{{$:/core/images/close-button}} <$view field="title"/> <$transclude/>
@@ -34,7 +34,7 @@ Click this link to get started: HelloThere <$list filter="[list[MySubStoryList]]" history="MySubHistoryList">
-! <$button message="tw-close-tiddler" class="tc-btn-invisible">{{$:/core/images/close-button}} <$view field="title"/> +! <$button message="tm-close-tiddler" class="tc-btn-invisible">{{$:/core/images/close-button}} <$view field="title"/> <$transclude/> diff --git a/editions/tw5.com/tiddlers/mechanisms/AlertMechanism.tid b/editions/tw5.com/tiddlers/mechanisms/AlertMechanism.tid index ad056f22c..944fb30ac 100644 --- a/editions/tw5.com/tiddlers/mechanisms/AlertMechanism.tid +++ b/editions/tw5.com/tiddlers/mechanisms/AlertMechanism.tid @@ -6,7 +6,7 @@ type: text/vnd.tiddlywiki Alerts are displayed as yellow boxes overlaying the main TiddlyWiki window. Each one corresponds to a tiddler with the tag [[$:/tags/Alert]]. Clicking the delete icon on an alert deletes the corresponding tiddler. -Here's a demo <$fieldmangler tiddler="SampleAlert"><$set name="currentTiddler" value="SampleAlert"><$button message="tw-add-tag" param="$:/tags/Alert">alert. +Here's a demo <$fieldmangler tiddler="SampleAlert"><$set name="currentTiddler" value="SampleAlert"><$button message="tm-add-tag" param="$:/tags/Alert">alert. Alert tiddlers should have the following fields: diff --git a/editions/tw5.com/tiddlers/mechanisms/DraftMechanism.tid b/editions/tw5.com/tiddlers/mechanisms/DraftMechanism.tid index cf143e7b6..7c0820ccd 100644 --- a/editions/tw5.com/tiddlers/mechanisms/DraftMechanism.tid +++ b/editions/tw5.com/tiddlers/mechanisms/DraftMechanism.tid @@ -8,9 +8,9 @@ Several features work in concert to give the desired behaviour for draft tiddler * The ListWidget can optionally render draft tiddlers through a different template * The NavigatorWidget incorporates handlers for the following events: -** `tw-new-tiddler` for creating a new tiddler in draft mode -** `tw-edit-tiddler` for moving a tiddler into edit mode -** `tw-cancel-tiddler` for cancelling a tiddler out of edit mode -** `tw-save-tiddler` for saving a draft tiddler +** `tm-new-tiddler` for creating a new tiddler in draft mode +** `tm-edit-tiddler` for moving a tiddler into edit mode +** `tm-cancel-tiddler` for cancelling a tiddler out of edit mode +** `tm-save-tiddler` for saving a draft tiddler * Draft tiddlers are automatically excluded from search operations diff --git a/editions/tw5.com/tiddlers/mechanisms/EncryptionMechanism.tid b/editions/tw5.com/tiddlers/mechanisms/EncryptionMechanism.tid index c9a8032b8..5120997e9 100644 --- a/editions/tw5.com/tiddlers/mechanisms/EncryptionMechanism.tid +++ b/editions/tw5.com/tiddlers/mechanisms/EncryptionMechanism.tid @@ -12,7 +12,7 @@ The EncryptionMechanism is implemented with the following elements: * A PasswordVault within the BootMechanism that holds the current encryption password * The ability of the BootMechanism to read a block of encrypted tiddlers from the TiddlyWiki file, to prompt the user for a password, and to decrypt the tiddlers -* Handlers for the messages [[WidgetMessage: tw-set-password]] and [[WidgetMessage: tw-clear-password]] that handle the user interface for password changes +* Handlers for the messages [[WidgetMessage: tm-set-password]] and [[WidgetMessage: tm-clear-password]] that handle the user interface for password changes * The EncryptWidget within the main file template that encrypts a filtered list of tiddlers with the currently held password * The [[$:/isEncrypted]] tiddler that contains "yes" or "no" according to whether there is a password in the password vault ** The availability of this tiddler allows the RevealWidget to be used to selectively display user interface elements according to whether encryption is in force diff --git a/editions/tw5.com/tiddlers/mechanisms/HistoryMechanism.tid b/editions/tw5.com/tiddlers/mechanisms/HistoryMechanism.tid index 8491a2140..49a5c8f3c 100644 --- a/editions/tw5.com/tiddlers/mechanisms/HistoryMechanism.tid +++ b/editions/tw5.com/tiddlers/mechanisms/HistoryMechanism.tid @@ -13,7 +13,7 @@ The history list also maintains the field ''current-tiddler'' that contains the ``` <$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop"> -<$button message="tw-close-tiddler" class="tc-btn-invisible tc-btn-mini">× <$link to={{!!title}}><$view field="title"/> <$reveal type="match" state="$:/HistoryList!!current-tiddler" text=<>>✓ +<$button message="tm-close-tiddler" class="tc-btn-invisible tc-btn-mini">× <$link to={{!!title}}><$view field="title"/> <$reveal type="match" state="$:/HistoryList!!current-tiddler" text=<>>✓ ``` @@ -22,6 +22,6 @@ Which renders the same as the "Open" sidebar tab, with the addition of a tick ag <$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop"> -<$button message="tw-close-tiddler" class="tc-btn-invisible tc-btn-mini">× <$link to={{!!title}}><$view field="title"/> <$reveal type="match" state="$:/HistoryList!!current-tiddler" text=<>>✓ +<$button message="tm-close-tiddler" class="tc-btn-invisible tc-btn-mini">× <$link to={{!!title}}><$view field="title"/> <$reveal type="match" state="$:/HistoryList!!current-tiddler" text=<>>✓ diff --git a/editions/tw5.com/tiddlers/mechanisms/StateMechanism.tid b/editions/tw5.com/tiddlers/mechanisms/StateMechanism.tid index cab4f28e3..d90f48752 100644 --- a/editions/tw5.com/tiddlers/mechanisms/StateMechanism.tid +++ b/editions/tw5.com/tiddlers/mechanisms/StateMechanism.tid @@ -28,7 +28,7 @@ Note how this approach makes the ''open'' tab in the sidebar very easy to implem ``` <$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop"> -<$button message="tw-close-tiddler" class="tc-btn-invisible tc-btn-mini">× <$link to={{!!title}}><$view field="title"/> +<$button message="tm-close-tiddler" class="tc-btn-invisible tc-btn-mini">× <$link to={{!!title}}><$view field="title"/> ``` diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-browser-refresh.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-browser-refresh.tid index 225396934..c9b7e8d2d 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-browser-refresh.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-browser-refresh.tid @@ -1,9 +1,9 @@ created: 20140819110529062 modified: 20140826110529062 tags: message -title: WidgetMessage: tw-browser-refresh +title: WidgetMessage: tm-browser-refresh type: text/vnd.tiddlywiki -The `tw-browser-refresh` message refreshes the page, causing the re-initialisation of any plugin tiddlers. It does not require any properties on the `event` object. +The `tm-browser-refresh` message refreshes the page, causing the re-initialisation of any plugin tiddlers. It does not require any properties on the `event` object. The refresh message is usually generated with the ButtonWidget and is handled by the core. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-cancel-tiddler.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-cancel-tiddler.tid index 35be42b52..993071242 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-cancel-tiddler.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-cancel-tiddler.tid @@ -1,10 +1,10 @@ created: 20140226193622350 modified: 20140226193906089 tags: message navigator-message -title: WidgetMessage: tw-cancel-tiddler +title: WidgetMessage: tm-cancel-tiddler type: text/vnd.tiddlywiki -The `tw-cancel-tiddler` message abandons the changes in a draft tiddler. It requires the following properties on the `event` object: +The `tm-cancel-tiddler` message abandons the changes in a draft tiddler. It requires the following properties on the `event` object: |!Name |!Description | |param |Title of the tiddler that is being cancelled out of edit mode | diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-clear-password.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-clear-password.tid index e5c9a3b14..b8de1c9e0 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-clear-password.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-clear-password.tid @@ -1,9 +1,9 @@ created: 20140226084018038 modified: 20140226084916556 tags: message -title: WidgetMessage: tw-clear-password +title: WidgetMessage: tm-clear-password type: text/vnd.tiddlywiki -The `tw-clear-password` message clears the current password from the password vault, clearing the [[$:/isEncrypted]] tiddler. See EncryptionMechanism for details. +The `tm-clear-password` message clears the current password from the password vault, clearing the [[$:/isEncrypted]] tiddler. See EncryptionMechanism for details. This message is typically generated with the ButtonWidget, and is handled by the core itself. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-all-tiddlers.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-all-tiddlers.tid index 32b7854ff..67e9834f1 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-all-tiddlers.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-all-tiddlers.tid @@ -1,7 +1,7 @@ created: 20140226194242809 modified: 20140226194341303 tags: message navigator-message -title: WidgetMessage: tw-close-all-tiddlers +title: WidgetMessage: tm-close-all-tiddlers type: text/vnd.tiddlywiki The close all tiddlers message empties the story list. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-other-tiddlers.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-other-tiddlers.tid index d7a7c3a34..eb5197e98 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-other-tiddlers.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-other-tiddlers.tid @@ -1,10 +1,10 @@ created: 20140302183306544 modified: 20140302183352966 tags: message navigator-message -title: WidgetMessage: tw-close-other-tiddlers +title: WidgetMessage: tm-close-other-tiddlers type: text/vnd.tiddlywiki -The `tw-close-other-tiddlers` message removes all but a specified tiddler from the story list. It requires the following properties on the `event` object: +The `tm-close-other-tiddlers` message removes all but a specified tiddler from the story list. It requires the following properties on the `event` object: |!Name |!Description | |param |Title of the tiddler that is not to be closed | diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-tiddler.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-tiddler.tid index 3b5aa68f5..527c7c659 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-tiddler.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-close-tiddler.tid @@ -1,10 +1,10 @@ created: 20140226193940778 modified: 20140226194227227 tags: message navigator-message -title: WidgetMessage: tw-close-tiddler +title: WidgetMessage: tm-close-tiddler type: text/vnd.tiddlywiki -The `tw-close-tiddler` message removes a specified tiddler from the story list. It requires the following properties on the `event` object: +The `tm-close-tiddler` message removes a specified tiddler from the story list. It requires the following properties on the `event` object: |!Name |!Description | |param |Title of the tiddler that is to be closed | diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-delete-tiddler.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-delete-tiddler.tid index 6114d40ae..5187a7848 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-delete-tiddler.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-delete-tiddler.tid @@ -1,10 +1,10 @@ created: 20140226090324129 modified: 20140226090441236 tags: message navigator-message -title: WidgetMessage: tw-delete-tiddler +title: WidgetMessage: tm-delete-tiddler type: text/vnd.tiddlywiki -The `tw-delete-tiddler` message deletes the specified tiddler and removes it from the current story. If the tiddler is a draft then it also deletes the tiddler specified in the `draft.of` field. The delete tiddler message requires the following properties on the `event` object: +The `tm-delete-tiddler` message deletes the specified tiddler and removes it from the current story. If the tiddler is a draft then it also deletes the tiddler specified in the `draft.of` field. The delete tiddler message requires the following properties on the `event` object: |!Name |!Description | |param |Title of the tiddler that is to be deleted | diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-download-file.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-download-file.tid index 2b14dd92e..f49554998 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-download-file.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-download-file.tid @@ -1,7 +1,7 @@ created: 20140811112201235 modified: 20140811115140378 tags: message -title: WidgetMessage: tw-download-file +title: WidgetMessage: tm-download-file type: text/vnd.tiddlywiki The download file message causes the current saver module to prompt the user to download the result of parsing a specified template tiddler as a file. It requires the following properties on the `event` object: diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-edit-tiddler.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-edit-tiddler.tid index e111f37c8..fa364c940 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-edit-tiddler.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-edit-tiddler.tid @@ -1,10 +1,10 @@ created: 20140226085529797 modified: 20140226090641987 tags: message navigator-message -title: WidgetMessage: tw-edit-tiddler +title: WidgetMessage: tm-edit-tiddler type: text/vnd.tiddlywiki -The `tw-edit-tiddler` message replaces the specified tiddler in the current story with a draft version of itself. It requires the following properties on the `event` object: +The `tm-edit-tiddler` message replaces the specified tiddler in the current story with a draft version of itself. It requires the following properties on the `event` object: |!Name |!Description | |param |Title of the tiddler that is being switched to edit mode | diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-full-screen.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-full-screen.tid index 305b8c778..6ab0784ac 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-full-screen.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-full-screen.tid @@ -1,7 +1,7 @@ created: 20140811112400855 modified: 20140811113627373 tags: message -title: WidgetMessage: tw-full-screen +title: WidgetMessage: tm-full-screen type: text/vnd.tiddlywiki The fullscreen message toggles the "fullscreen" mode of the browser, if it supports it. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-home.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-home.tid index ffb5084f4..970effcf6 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-home.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-home.tid @@ -1,9 +1,9 @@ created: 20140819110529062 modified: 20140819110529062 tags: message -title: WidgetMessage: tw-home +title: WidgetMessage: tm-home type: text/vnd.tiddlywiki -The `tw-home` message closes any open tiddlers and re-opens the default tiddlers set in [[$:/DefaultTiddlers]]. It also remove any [[permalink|PermaLinks]] from the browser address bar. It does not require any properties on the `event` object. +The `tm-home` message closes any open tiddlers and re-opens the default tiddlers set in [[$:/DefaultTiddlers]]. It also remove any [[permalink|PermaLinks]] from the browser address bar. It does not require any properties on the `event` object. The home message is usually generated with the ButtonWidget and is handled by the core. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-import-tiddlers.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-import-tiddlers.tid index 69328cda9..110834cbd 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-import-tiddlers.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-import-tiddlers.tid @@ -1,10 +1,10 @@ created: 20140716084658099 modified: 20140716195055502 tags: message navigator-message -title: WidgetMessage: tw-import-tiddlers +title: WidgetMessage: tm-import-tiddlers type: text/vnd.tiddlywiki -The `tw-import-tiddlers` message inserts a list of tiddlers into the pending import tiddler [[$:/Import]]. It also applies any active ''upgrader'' modules to each tiddler as it arrives (see the UpgradeMechanism for more details). +The `tm-import-tiddlers` message inserts a list of tiddlers into the pending import tiddler [[$:/Import]]. It also applies any active ''upgrader'' modules to each tiddler as it arrives (see the UpgradeMechanism for more details). |!Name |!Description | |param |JSON text of the array of tiddlers to be imported | @@ -13,7 +13,7 @@ The import tiddlers message is usually generated with the DropzoneWidget or the ! Configuration Variables -The variable `tw-auto-open-on-import` controls whether the `tw-import-tiddlers` message automatically triggers the display of the pending import tiddler [[$:/Import]]: +The variable `tw-auto-open-on-import` controls whether the `tm-import-tiddlers` message automatically triggers the display of the pending import tiddler [[$:/Import]]: * ''no'': The pending import tiddler is not opened in the story * ''yes'': The pending import tiddler is opened in th story. This is the default diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-login.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-login.tid index 38eda7164..29397abef 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-login.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-login.tid @@ -1,7 +1,7 @@ created: 20140811112445887 modified: 20140811113336694 tags: message -title: WidgetMessage: tw-login +title: WidgetMessage: tm-login type: text/vnd.tiddlywiki The login message prompts the user for a username and password and attempts to login to the current serverside host. The tiddler [[$:/status/IsLoggedIn]] reflects the current login status with the values "yes" or "no", and [[$:/status/UserName]] reflects the current username. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-logout.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-logout.tid index a499fdb25..bc4a57921 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-logout.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-logout.tid @@ -1,7 +1,7 @@ created: 20140811112457311 modified: 20140811113344084 tags: message -title: WidgetMessage: tw-logout +title: WidgetMessage: tm-logout type: text/vnd.tiddlywiki The logout message attempts to log the user out of the current serverside host. The tiddler [[$:/status/IsLoggedIn]] reflects the current login status with the values "yes" or "no", and [[$:/status/UserName]] reflects the current username. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-modal.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-modal.tid index 84decfc1f..89178e686 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-modal.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-modal.tid @@ -1,7 +1,7 @@ created: 20140811112133701 modified: 20140811120203685 tags: message -title: WidgetMessage: tw-modal +title: WidgetMessage: tm-modal type: text/vnd.tiddlywiki The modal message displays a specified tiddler in a modal overlay that dims the main page. It requires the following properties on the `event` object: diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-navigate.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-navigate.tid index 10fed0085..298d4694a 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-navigate.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-navigate.tid @@ -1,10 +1,10 @@ created: 20140226085215941 modified: 20140226085454346 tags: message -title: WidgetMessage: tw-navigate +title: WidgetMessage: tm-navigate type: text/vnd.tiddlywiki -The `tw-navigate` message inserts the specified tiddler into the story and puts it at the top of the history stack. If the tiddler is not already present in the story then it will be positioned immediately after the tiddler specified in `event.navigateFromTitle`. +The `tm-navigate` message inserts the specified tiddler into the story and puts it at the top of the history stack. If the tiddler is not already present in the story then it will be positioned immediately after the tiddler specified in `event.navigateFromTitle`. The navigate message requires the following properties on the `event` object: diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-new-tiddler.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-new-tiddler.tid index c2778a1d8..23d3413ae 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-new-tiddler.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-new-tiddler.tid @@ -1,7 +1,7 @@ created: 20140226194405353 modified: 20140724194729158 tags: message navigator-message -title: WidgetMessage: tw-new-tiddler +title: WidgetMessage: tm-new-tiddler type: text/vnd.tiddlywiki The new tiddler message creates a new draft tiddler and adds it to the current story. It requires the following properties on the `event` object: @@ -17,5 +17,5 @@ The new tiddler message is usually generated with the LinkWidget or the ButtonWi To make a button that creates new tiddlers tagged "task", create a tiddler called "TaskTemplate" with that tag, and then make your button like this: ``` -<$button message="tw-new-tiddler" param="TaskTemplate">New Task +<$button message="tm-new-tiddler" param="TaskTemplate">New Task ``` diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-notify.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-notify.tid index 97c72408d..38c86d253 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-notify.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-notify.tid @@ -1,7 +1,7 @@ created: 20140811112304772 modified: 20140811120248738 tags: message -title: WidgetMessage: tw-notify +title: WidgetMessage: tm-notify type: text/vnd.tiddlywiki The notify message briefly displays a specified tiddler as a small alert in the upper right corner of the page. It requires the following properties on the `event` object: diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-perform-import.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-perform-import.tid index 1053e02f5..6bc6159ff 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-perform-import.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-perform-import.tid @@ -1,7 +1,7 @@ created: 20140716084242809 modified: 20140716084341303 tags: message navigator-message -title: WidgetMessage: tw-perform-import +title: WidgetMessage: tm-perform-import type: text/vnd.tiddlywiki The perform import message copies tiddlers from a specified plugin into the main store. See the UpgradeMechanism for an overview of how it is used by the core. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-permalink.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-permalink.tid index 6f1d0e486..8197fd238 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-permalink.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-permalink.tid @@ -1,10 +1,10 @@ created: 20140723103751357 modified: 20140723103751357 tags: message -title: WidgetMessage: tw-permalink +title: WidgetMessage: tm-permalink type: text/vnd.tiddlywiki -The `tw-permalink` message changes the browser address bar to form a [[permalink|PermaLinks]] to a specified tiddler, defaulting to the current tiddler. +The `tm-permalink` message changes the browser address bar to form a [[permalink|PermaLinks]] to a specified tiddler, defaulting to the current tiddler. The permalink message supports the following properties on the `event` object: diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-permaview.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-permaview.tid index 8c42b8249..24b11767c 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-permaview.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-permaview.tid @@ -1,10 +1,10 @@ created: 20140723103751357 modified: 20140723103751357 tags: message -title: WidgetMessage: tw-permaview +title: WidgetMessage: tm-permaview type: text/vnd.tiddlywiki -The `tw-permaview` message changes the browser address bar to form a [[permaview|PermaLinks]] that specifies all the open tiddlers in the main story river, and the tiddler to be navigated, defaulting to the current tiddler. +The `tm-permaview` message changes the browser address bar to form a [[permaview|PermaLinks]] that specifies all the open tiddlers in the main story river, and the tiddler to be navigated, defaulting to the current tiddler. The permaview message supports the following properties on the `event` object: diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-save-tiddler.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-save-tiddler.tid index 50a90a08f..36ea73c14 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-save-tiddler.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-save-tiddler.tid @@ -1,10 +1,10 @@ created: 20140226090544323 modified: 20140226090729828 tags: message navigator-message -title: WidgetMessage: tw-save-tiddler +title: WidgetMessage: tm-save-tiddler type: text/vnd.tiddlywiki -The `tw-save-tiddler` message is applied to draft tiddlers. It saves the draft over the tiddler identified in the `draft.of` field and then deletes the draft. The save tiddler message requires the following properties on the `event` object: +The `tm-save-tiddler` message is applied to draft tiddlers. It saves the draft over the tiddler identified in the `draft.of` field and then deletes the draft. The save tiddler message requires the following properties on the `event` object: |!Name |!Description | |param |Title of the tiddler that is being switched out of edit mode | diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-save-wiki.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-save-wiki.tid index 44d39e628..0e78edb5b 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-save-wiki.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-save-wiki.tid @@ -1,7 +1,7 @@ created: 20140811112325641 modified: 20140811115149288 tags: message -title: WidgetMessage: tw-save-wiki +title: WidgetMessage: tm-save-wiki type: text/vnd.tiddlywiki The save wiki message causes the current saver module to perform a full save operation. The save operation can involve user interaction. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-server-refresh.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-server-refresh.tid index fcf56e28e..26b0177c4 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-server-refresh.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-server-refresh.tid @@ -1,7 +1,7 @@ created: 20140811112435281 modified: 20140811113453568 tags: message -title: WidgetMessage: tw-server-refresh +title: WidgetMessage: tm-server-refresh type: text/vnd.tiddlywiki The server refresh message attempts to synchronise the latest changes to the current serverside host. diff --git a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-set-password.tid b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-set-password.tid index 1bf2f581e..31070acf1 100644 --- a/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-set-password.tid +++ b/editions/tw5.com/tiddlers/messages/WidgetMessage_ tw-set-password.tid @@ -1,9 +1,9 @@ created: 20140226084623977 modified: 20140226085200323 tags: message -title: WidgetMessage: tw-set-password +title: WidgetMessage: tm-set-password type: text/vnd.tiddlywiki -The `tw-set-password` message prompts the user for a new password and stores it in the password vault, replacing any existing password. It also sets the [[$:/isEncrypted]] tiddler. See EncryptionMechanism for details. +The `tm-set-password` message prompts the user for a new password and stores it in the password vault, replacing any existing password. It also sets the [[$:/isEncrypted]] tiddler. See EncryptionMechanism for details. This message is typically generated with the ButtonWidget, and is handled by the core itself. diff --git a/editions/tw5.com/tiddlers/samples/SampleWizard.tid b/editions/tw5.com/tiddlers/samples/SampleWizard.tid index 59e01c647..9432d63d1 100644 --- a/editions/tw5.com/tiddlers/samples/SampleWizard.tid +++ b/editions/tw5.com/tiddlers/samples/SampleWizard.tid @@ -1,10 +1,10 @@ title: SampleWizard tags: demo subtitle: I'm a modal wizard -footer: <$button message="tw-close-tiddler">Close +footer: <$button message="tm-close-tiddler">Close This is a modal wizard dialogue, stored in the tiddler SampleWizard. {{Motovun Jack.jpg}} -You can <$button message="tw-modal" param="SampleWizard2">nest wizards. +You can <$button message="tm-modal" param="SampleWizard2">nest wizards. diff --git a/editions/tw5.com/tiddlers/samples/SampleWizard2.tid b/editions/tw5.com/tiddlers/samples/SampleWizard2.tid index c486fbaa2..993f276be 100644 --- a/editions/tw5.com/tiddlers/samples/SampleWizard2.tid +++ b/editions/tw5.com/tiddlers/samples/SampleWizard2.tid @@ -1,8 +1,8 @@ title: SampleWizard2 tags: demo subtitle: I'm another modal wizard -footer: <$button message="tw-close-tiddler">Close +footer: <$button message="tm-close-tiddler">Close This is another modal wizard dialogue, stored in the tiddler SampleWizard2. -You can <$button message="tw-modal" param="SampleWizard">nest wizards. +You can <$button message="tm-modal" param="SampleWizard">nest wizards. diff --git a/editions/tw5.com/tiddlers/system/download-empty-button.tid b/editions/tw5.com/tiddlers/system/download-empty-button.tid index 4f58ee064..dc7add786 100644 --- a/editions/tw5.com/tiddlers/system/download-empty-button.tid +++ b/editions/tw5.com/tiddlers/system/download-empty-button.tid @@ -1,3 +1,3 @@ title: $:/editions/tw5.com/snippets/download-empty-button -<$button message="tw-download-file" param="$:/editions/tw5.com/download-empty" class="tc-btn-big-green">Download Empty {{$:/core/images/save-button}} \ No newline at end of file +<$button message="tm-download-file" param="$:/editions/tw5.com/download-empty" class="tc-btn-big-green">Download Empty {{$:/core/images/save-button}} \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid b/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid index 2f1c09dea..abb1d17c3 100644 --- a/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid @@ -5,7 +5,7 @@ tags: widget ! Introduction -The browse widget displays an HTML file browser button that allows the user to choose one or more files to import. It sends a [[WidgetMessage: tw-import-tiddlers]] carrying a JSON representation of the tiddlers imported from the files up through its parents. This message usually trapped by the NavigatorWidget which adds the tiddlers to the store and updates the story to display them. +The browse widget displays an HTML file browser button that allows the user to choose one or more files to import. It sends a [[WidgetMessage: tm-import-tiddlers]] carrying a JSON representation of the tiddlers imported from the files up through its parents. This message usually trapped by the NavigatorWidget which adds the tiddlers to the store and updates the story to display them. ! Content and Attributes diff --git a/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid b/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid index b458d0e2e..18aad32d4 100644 --- a/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid @@ -7,7 +7,7 @@ tags: widget The dropzone widget creates an area into which the user can drag files and other objects. It also supports pasting via the clipboard, although browser support is currently limited. -It sends a [[WidgetMessage: tw-import-tiddlers]] carrying a JSON representation of the tiddlers to be imported up through its parents. This message usually trapped by the NavigatorWidget which adds the tiddlers to the store and updates the story to display them. +It sends a [[WidgetMessage: tm-import-tiddlers]] carrying a JSON representation of the tiddlers to be imported up through its parents. This message usually trapped by the NavigatorWidget which adds the tiddlers to the store and updates the story to display them. ! Content and Attributes diff --git a/editions/tw5.com/tiddlers/widgets/FieldManglerWidget.tid b/editions/tw5.com/tiddlers/widgets/FieldManglerWidget.tid index 66781c763..08a175466 100644 --- a/editions/tw5.com/tiddlers/widgets/FieldManglerWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/FieldManglerWidget.tid @@ -9,10 +9,10 @@ type: text/vnd.tiddlywiki The field mangler widget manipulates the fields and tags of a tiddler. It does so in response to the following WidgetMessages: |!Message |!Description | -|''tw-remove-field'' |Remove the field specified in `event.param` | -|''tw-add-field'' |Add the field specified in `event.param` | -|''tw-remove-tag'' |Remove the tag specified in `event.param` | -|''tw-add-tag'' |Add the tag specified in `event.param` | +|''tm-remove-field'' |Remove the field specified in `event.param` | +|''tm-add-field'' |Add the field specified in `event.param` | +|''tm-remove-tag'' |Remove the tag specified in `event.param` | +|''tm-add-tag'' |Add the tag specified in `event.param` | ! Content and Attributes diff --git a/editions/tw5.com/tiddlers/widgets/LinkCatcherWidget.tid b/editions/tw5.com/tiddlers/widgets/LinkCatcherWidget.tid index d8391c7b2..3f42418ad 100644 --- a/editions/tw5.com/tiddlers/widgets/LinkCatcherWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/LinkCatcherWidget.tid @@ -6,7 +6,7 @@ type: text/vnd.tiddlywiki ! Introduction -The link catcher widget traps [[WidgetMessage: tw-navigate]] dispatched within its child content by performing any or all of these actions: +The link catcher widget traps [[WidgetMessage: tm-navigate]] dispatched within its child content by performing any or all of these actions: * sending a different widget message * setting a tiddler to the title of the navigated tiddler diff --git a/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid b/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid index 543316d7f..62172671a 100644 --- a/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid @@ -6,7 +6,7 @@ type: text/vnd.tiddlywiki ! Introduction -The scrollable widget wraps its content in a scrollable frame. The user can scroll the contents with the mouse or with touch gestures. Code can use the [[WidgetMessage: tw-scroll]] to programmatically scroll specific DOM nodes into view. +The scrollable widget wraps its content in a scrollable frame. The user can scroll the contents with the mouse or with touch gestures. Code can use the [[WidgetMessage: tm-scroll]] to programmatically scroll specific DOM nodes into view. ! Content and Attributes @@ -16,7 +16,7 @@ The content of the `<$scrollable>` widget is displayed within a pair of wrapper |class |The CSS class(es) to be applied to the outer DIV | |fallthrough |See below | -If a scrollable widget can't handle the `tw-scroll` message because the inner DIV fits within the outer DIV, then by default the message falls through to the parent widget. Setting the ''fallthrough'' attribute to `no` prevents this behaviour. +If a scrollable widget can't handle the `tm-scroll` message because the inner DIV fits within the outer DIV, then by default the message falls through to the parent widget. Setting the ''fallthrough'' attribute to `no` prevents this behaviour. ! Examples diff --git a/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid b/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid index 479497861..208d06823 100644 --- a/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid +++ b/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid @@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki Widgets provide rich functionality within WikiText. They have the same syntax as [[HTML elements|HTML in WikiText]], but the tag name always starts with `$`. For example: ``` -<$button message="tw-close-tiddler">Close Me! +<$button message="tm-close-tiddler">Close Me! ``` Note that widgets inherit all the features of [[HTML in WikiText]]: diff --git a/languages/de-DE/Modals/Download.tid b/languages/de-DE/Modals/Download.tid index f4fb25c7b..1ac4a6647 100644 --- a/languages/de-DE/Modals/Download.tid +++ b/languages/de-DE/Modals/Download.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/Download type: text/vnd.tiddlywiki subtitle: Änderungen Speichern -footer: <$button message="tw-close-tiddler">Schließen +footer: <$button message="tm-close-tiddler">Schließen help: http://tiddlywiki.com/static/DownloadingChanges.html Ihr Browser unterstützt nur manuelles Speichern. diff --git a/languages/de-DE/Modals/SaveInstructions.tid b/languages/de-DE/Modals/SaveInstructions.tid index c3b87aa7b..977e155ef 100644 --- a/languages/de-DE/Modals/SaveInstructions.tid +++ b/languages/de-DE/Modals/SaveInstructions.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/SaveInstructions type: text/vnd.tiddlywiki subtitle: Aktuellen Stand speichern -footer: <$button message="tw-close-tiddler">Schließen +footer: <$button message="tm-close-tiddler">Schließen help: http://tiddlywiki.com/static/SavingChanges.html Ihre Änderungen sollen als ~TiddlyWiki HTML Datei gespeichert werden. diff --git a/languages/fr-FR/Modals/Download.tid b/languages/fr-FR/Modals/Download.tid index 14bf27cc1..5f7c04d8d 100644 --- a/languages/fr-FR/Modals/Download.tid +++ b/languages/fr-FR/Modals/Download.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/Download type: text/vnd.tiddlywiki subtitle: Télécharger vos modifications -footer: <$button message="tw-close-tiddler">Fermer +footer: <$button message="tm-close-tiddler">Fermer help: http://tiddlywiki.com/static/DownloadingChanges.html Votre navigateur ne supporte que l'enregistrement manuel. diff --git a/languages/fr-FR/Modals/SaveInstructions.tid b/languages/fr-FR/Modals/SaveInstructions.tid index 496585606..94935fb62 100644 --- a/languages/fr-FR/Modals/SaveInstructions.tid +++ b/languages/fr-FR/Modals/SaveInstructions.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/SaveInstructions type: text/vnd.tiddlywiki subtitle: Enregistrez votre travail -footer: <$button message="tw-close-tiddler">Fermer +footer: <$button message="tm-close-tiddler">Fermer help: http://tiddlywiki.com/static/SavingChanges.html Les modifications effectuées dans ce wiki doivent être sauvegardées sous forme de fichier ~TiddlyWiki HTML. diff --git a/languages/it-IT/Modals/Download.tid b/languages/it-IT/Modals/Download.tid index 489262066..4aa61baa7 100644 --- a/languages/it-IT/Modals/Download.tid +++ b/languages/it-IT/Modals/Download.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/Download type: text/vnd.tiddlywiki subtitle: Download changes -footer: <$button message="tw-close-tiddler">Chiudi +footer: <$button message="tm-close-tiddler">Chiudi help: http://tiddlywiki.com/static/DownloadingChanges.html Il tuo browser supporta solo il salvataggio manuale. diff --git a/languages/it-IT/Modals/SaveInstructions.tid b/languages/it-IT/Modals/SaveInstructions.tid index c0aae5f7b..4f57a2244 100644 --- a/languages/it-IT/Modals/SaveInstructions.tid +++ b/languages/it-IT/Modals/SaveInstructions.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/SaveInstructions type: text/vnd.tiddlywiki subtitle: Save your work -footer: <$button message="tw-close-tiddler">Chiudi +footer: <$button message="tm-close-tiddler">Chiudi help: http://tiddlywiki.com/static/SavingChanges.html Le modifiche a questo wiki devono essere salvate come un file ~TiddlyWiki HTML. diff --git a/languages/ja-JP/Modals/Download.tid b/languages/ja-JP/Modals/Download.tid index 9d3f47799..c4152d5a8 100644 --- a/languages/ja-JP/Modals/Download.tid +++ b/languages/ja-JP/Modals/Download.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/Download type: text/vnd.tiddlywiki subtitle: 変更のダウンロード -footer: <$button message="tw-close-tiddler">閉じる +footer: <$button message="tm-close-tiddler">閉じる help: http://tiddlywiki.com/static/DownloadingChanges.html このブラウザは手動での保存しかできません。 diff --git a/languages/ja-JP/Modals/SaveInstructions.tid b/languages/ja-JP/Modals/SaveInstructions.tid index 60b54ce2a..025bc6fab 100644 --- a/languages/ja-JP/Modals/SaveInstructions.tid +++ b/languages/ja-JP/Modals/SaveInstructions.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/SaveInstructions type: text/vnd.tiddlywiki subtitle: 作業内容を保存する -footer: <$button message="tw-close-tiddler">閉じる +footer: <$button message="tm-close-tiddler">閉じる help: http://tiddlywiki.com/static/SavingChanges.html この wiki への変更内容を ~TiddlyWiki HTML ファイルとして保存する必要があります。 diff --git a/languages/zh-Hans/Modals/Download.tid b/languages/zh-Hans/Modals/Download.tid index 84fdb31bf..584ade7a0 100644 --- a/languages/zh-Hans/Modals/Download.tid +++ b/languages/zh-Hans/Modals/Download.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/Download type: text/vnd.tiddlywiki subtitle: Download changes -footer: <$button message="tw-close-tiddler">关闭 +footer: <$button message="tm-close-tiddler">关闭 help: http://tiddlywiki.com/ 您的浏览器只支援手动保存。 diff --git a/languages/zh-Hans/Modals/SaveInstructions.tid b/languages/zh-Hans/Modals/SaveInstructions.tid index ffd390428..f19c4d353 100644 --- a/languages/zh-Hans/Modals/SaveInstructions.tid +++ b/languages/zh-Hans/Modals/SaveInstructions.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/SaveInstructions type: text/vnd.tiddlywiki subtitle: Save your work -footer: <$button message="tw-close-tiddler">关闭 +footer: <$button message="tm-close-tiddler">关闭 help: http://tiddlywiki.com/static/SavingChanges.html 您对此 wiki 的变更需被保存为 ~TiddlyWiki HTML 文件。 diff --git a/languages/zh-Hant/Modals/Download.tid b/languages/zh-Hant/Modals/Download.tid index 7640cac8e..29283e9b6 100644 --- a/languages/zh-Hant/Modals/Download.tid +++ b/languages/zh-Hant/Modals/Download.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/Download type: text/vnd.tiddlywiki subtitle: Download changes -footer: <$button message="tw-close-tiddler" class="btn btn-primary">關閉 +footer: <$button message="tm-close-tiddler" class="btn btn-primary">關閉 help: http://tiddlywiki.com/ 您的瀏覽器只支援手動儲存。 diff --git a/languages/zh-Hant/Modals/SaveInstructions.tid b/languages/zh-Hant/Modals/SaveInstructions.tid index 1aa875cad..0c32dd7dd 100644 --- a/languages/zh-Hant/Modals/SaveInstructions.tid +++ b/languages/zh-Hant/Modals/SaveInstructions.tid @@ -1,7 +1,7 @@ title: $:/language/Modals/SaveInstructions type: text/vnd.tiddlywiki subtitle: Save your work -footer: <$button message="tw-close-tiddler">關閉 +footer: <$button message="tm-close-tiddler">關閉 help: http://tiddlywiki.com/static/SavingChanges.html 您對此 wiki 的變更需被儲存為 ~TiddlyWiki HTML 檔案。 diff --git a/plugins/tiddlywiki/cecily/cecily.js b/plugins/tiddlywiki/cecily/cecily.js index e24977325..5efd4a4af 100644 --- a/plugins/tiddlywiki/cecily/cecily.js +++ b/plugins/tiddlywiki/cecily/cecily.js @@ -34,7 +34,7 @@ CecilyStoryView.prototype.navigateTo = function(historyInfo) { var listItemWidget = this.listWidget.children[listElementIndex], targetElement = listItemWidget.findFirstDomNode(); // Scroll the node into view - this.listWidget.dispatchEvent({type: "tw-scroll", target: targetElement}); + this.listWidget.dispatchEvent({type: "tm-scroll", target: targetElement}); }; CecilyStoryView.prototype.insert = function(widget) { diff --git a/plugins/tiddlywiki/tiddlyweb/ServerControlPanel.tid b/plugins/tiddlywiki/tiddlyweb/ServerControlPanel.tid index 8e085a823..9ef1e27af 100644 --- a/plugins/tiddlywiki/tiddlyweb/ServerControlPanel.tid +++ b/plugins/tiddlywiki/tiddlyweb/ServerControlPanel.tid @@ -3,10 +3,10 @@ caption: Server tags: $:/tags/ControlPanel <$reveal state="$:/status/IsLoggedIn" type="nomatch" text="yes"> -Log in to ~TiddlyWeb: <$button message="tw-login">Login +Log in to ~TiddlyWeb: <$button message="tm-login">Login <$reveal state="$:/status/IsLoggedIn" type="match" text="yes"> -Logged in as {{$:/status/UserName}} <$button message="tw-logout">Logout +Logged in as {{$:/status/UserName}} <$button message="tm-logout">Logout ---- @@ -17,4 +17,4 @@ Host configuration: <$edit-text tiddler="$:/config/tiddlyweb/host" tag="input" d ---- -<$button message="tw-server-refresh">Refresh to fetch changes from the server immediately +<$button message="tm-server-refresh">Refresh to fetch changes from the server immediately diff --git a/plugins/tiddlywiki/upgrade/UpgradeWizard.tid b/plugins/tiddlywiki/upgrade/UpgradeWizard.tid index 428f22630..8796026c6 100644 --- a/plugins/tiddlywiki/upgrade/UpgradeWizard.tid +++ b/plugins/tiddlywiki/upgrade/UpgradeWizard.tid @@ -19,7 +19,7 @@ or click to pick a file <$browse/> <$reveal state="$:/Import!!status" type="match" text="pending"> -The following tiddlers will be included in the upgrade <$button message="tw-perform-import" param="$:/Import">Upgrade +The following tiddlers will be included in the upgrade <$button message="tm-perform-import" param="$:/Import">Upgrade {{$:/Import||$:/core/ui/ImportListing}} diff --git a/plugins/tiddlywiki/upgrade/save.tid b/plugins/tiddlywiki/upgrade/save.tid index dd6247763..cfc78591b 100644 --- a/plugins/tiddlywiki/upgrade/save.tid +++ b/plugins/tiddlywiki/upgrade/save.tid @@ -1,3 +1,3 @@ title: $:/plugins/tiddlywiki/upgrade/save -<$button message="tw-download-file" param="$:/plugins/tiddlywiki/upgrade/save-tiddler-filter" class="tc-btn-big-green">Save upgraded ~TiddlyWiki file {{$:/core/images/save-button}} +<$button message="tm-download-file" param="$:/plugins/tiddlywiki/upgrade/save-tiddler-filter" class="tc-btn-big-green">Save upgraded ~TiddlyWiki file {{$:/core/images/save-button}}