TiddlyWiki5/plugins/tiddlywiki
XLBilly 9c09841eda
Make draft title translatable (#8891)
* Make draft title translatable

* Update change note

* Improve number handling
Now generates "Draft of '...' 2" instead of "Draft 2 of '...'"

* Improve whitespace handling
We no longer needs to add whitespace in languages. We now handle it in javascript.

* Update language naming

* Update zh-Hans translation

* Update change note

* Refactor logic to make it less complex
Since we don't need to care about draft numbers, we can have two different templates for draft title with and without attribution. No need to trim the string now.
Also, we can reuse the getSubstitutedText method

* Update translators edition

* fixup! Update translators edition

* Switch to transclude and variable mechanism

* Adapt translators to the new mechanism

* Update change note

* Further simplify the logic
$tw.language.getString can already wikify translatable strings. No need for this.renderText
2026-02-04 11:21:54 +00:00
..
async Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00
aws Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
bibtex Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
browser-sniff Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
browser-storage Further fix to #9538 2025-12-29 21:44:57 +00:00
classictools Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
codemirror Edit-text widget: rows parameter takes precedence, CM accepts rows now (#9454) 2025-12-17 15:03:23 +00:00
codemirror-autocomplete Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-closebrackets Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-closetag Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00
codemirror-fullscreen-editing Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-keymap-emacs Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-keymap-sublime-text Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-keymap-vim Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-css Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-htmlembedded Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-htmlmixed Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-javascript Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-markdown Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-x-tiddlywiki Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-xml Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-search-replace Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-trailingspace Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
comments Use currentColor to style svg (#9316) 2025-10-07 11:55:26 +01:00
confetti Change experimental plugins to stable 2025-05-18 12:04:08 +01:00
consent-banner Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
dynannotate Fix bug exposed by #9030 2025-04-14 22:17:18 +01:00
dynaview Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
evernote Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
external-attachments Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
filesystem Further improvements for offloading server components (#9288) 2025-09-14 11:21:42 +01:00
freelinks Fix character disappearing and false matching issues in TiddlyWiki 5.4 Freelink plugin (#9397) 2025-12-17 15:02:42 +00:00
geospatial Change experimental plugins to stable 2025-05-18 12:04:08 +01:00
github-fork-ribbon Fix github fork ribbon plugin marked as deprecated & add it back to full edition. (#8656) 2024-10-02 12:42:49 +01:00
googleanalytics [5.4.0] Update eslint target to 2017 and do initial fixes (#9135) 2025-10-01 15:08:00 +01:00
help Update PageControls buttons to use v5.3.2 syntax (#8579) 2024-09-10 12:00:13 +01:00
highlight [5.4.0] Update highlightjs plugin (#9118) 2025-10-29 11:04:53 +00:00
innerwiki Remove function wrappers from plugins (#9030) 2025-04-14 18:28:04 +01:00
internals Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00
jasmine Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
jszip Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
katex Bump katex to newest version (#9626) 2026-02-04 10:11:09 +01:00
markdown Bump markdown-it to latest version (#9513) 2026-01-17 14:56:16 +00:00
markdown-legacy Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
menubar Use currentColor to style svg (#9316) 2025-10-07 11:55:26 +01:00
pluginlibrary Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
powered-by-tiddlywiki Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00
qrcode Remove function wrappers from plugins (#9030) 2025-04-14 18:28:04 +01:00
railroad Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
savetrail Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
sax Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00
share Fix some download file types. (#9026) 2025-04-12 15:32:10 +01:00
stacked-view Change experimental plugins to stable 2025-05-18 12:04:08 +01:00
text-slicer Use currentColor to style svg (#9316) 2025-10-07 11:55:26 +01:00
tiddlyweb [v5.4.0] Offload server components from browser builds of TiddlyWiki (#9183) 2025-09-12 15:21:34 +01:00
tour Use currentColor to style svg (#9316) 2025-10-07 11:55:26 +01:00
translators Make draft title translatable (#8891) 2026-02-04 11:21:54 +00:00
tw2parser Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
tw5.com-docs Change experimental plugins to stable 2025-05-18 12:04:08 +01:00
twitter Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
twitter-archivist [5.4.0] Update eslint target to 2017 and do initial fixes (#9135) 2025-10-01 15:08:00 +01:00
upgrade Use currentColor to style svg (#9316) 2025-10-07 11:55:26 +01:00
wikitext-serialize Fix/serialize close html tag (#9437) 2025-11-14 21:33:45 +00:00
xlsx-utils [5.4.0] Update eslint target to 2017 and do initial fixes (#9135) 2025-10-01 15:08:00 +01:00
xmldom Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00