TiddlyWiki5/core/modules
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
..
editor Recurse exception handling to better handle '{{}}' in place of recently installed fix (#9548) 2026-02-04 11:21:16 +00:00
filterrunprefixes Introduce multi-valued variables and let filter run prefix (#8972) 2025-11-22 12:29:42 +00:00
filters Add the words and lines modes to $diff-text (#9551) 2026-01-17 14:57:52 +00:00
indexers Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
info Adds info tiddlers for viewport dimensions (#9260) 2025-10-06 17:00:13 +01:00
macros Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
parsers Recurse exception handling to better handle '{{}}' in place of recently installed fix (#9548) 2026-02-04 11:21:16 +00:00
savers Introduce browser messaging saver (#5512) 2025-10-29 14:52:21 +00:00
startup Revert #9554 Refactor stylesheets in single <style> tags 2026-01-18 11:40:10 +00:00
storyviews Remove css props rather than setting transition to none (#9284) 2025-10-21 11:57:10 +01:00
upgraders Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
utils Recurse exception handling to better handle '{{}}' in place of recently installed fix (#9548) 2026-02-04 11:21:16 +00:00
widgets Recurse exception handling to better handle '{{}}' in place of recently installed fix (#9548) 2026-02-04 11:21:16 +00:00
config.js Revert "Fix 8166 html tag validation (#8176)" (#9374) 2025-10-29 22:01:03 +01:00
deserializers.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
filters.js Fix RSOE from filter operator errors (#9496) 2025-12-17 14:24:25 +00:00
keyboard.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
language.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
pluginswitcher.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
saver-handler.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
story.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
syncer.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
tiddler.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
wiki-bulkops.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
wiki.js Make draft title translatable (#8891) 2026-02-04 11:21:54 +00:00