Commit Graph

37 Commits

Author SHA1 Message Date
Jeremy Ruston d455072f13
Add support for JSON-formatted tiddler store, and make it the default (#5708)
* Add support for JSON-formatted tiddler store, and make it the default

The change to `getTiddlersAsJson()` is to allow experimentation

* Move JSON tiddlers into their own store area, and fix support for encrypted tiddlers

Also add a dummy old-style store area for backwards compatibility

The current arrangement is that JSON tiddlers will always override old-style tiddlers.

* Use the deserialiser mechanism to decode the content

* Refactor $:/core/modules/deserializers.js before we start extending it

Cleaning up the helper function names and ordering

* Drop support for the "systemArea" div

It was only used in really old v5.0.x

* Update deserializer to support JSON store format and add some tests

* Life UI restrictions on characters in fieldnames

* Add another test case

* Correct mis-merge

* Remove toLowerCase() methods applied to fieldnames

* Insert line breaks in output of getTiddlersAsJson (#5786)

Rather than have the entire store on one line, insert a line break
after each tiddler.

* Refactor #5786 for backwards compatibility

* Only read .tiddlywiki-tiddler-store blocks from script tags

Prompted by @simonbaird's comment here: https://github.com/Jermolene/TiddlyWiki5/pull/5708#discussion_r648833367

* Clean up escaping of unsafe script characters

It seems that escaping `<` is sufficient

* Add docs from @saqimtiaz

Thanks @saqimtiaz

* Docs tweaks

* Remove excess whitespace

Thanks @simonbaird

* Fix templates for lazy loading

* Remove obsolete item from release note

* Clean up whitespace

* Docs for the jsontiddler widget

* Fix whitespace

Fixes #5840

* Comments

* Fix newlines in JSON store area

* Remove obsolete docs change

Co-authored-by: Simon Baird <simon.baird@gmail.com>
2021-07-14 09:15:30 +01:00
Xavier Cazin 3fe5b77770
Updates to fr-FR translations (#5718)
* fr-FR help for the use-browser-cache param of the listen command

* fr-FR dialog heading for drag&drop image import in editor

* fr-FR translations for PutForbidden & PutUnauthorized errors

* fr-FR translations for TiddlySpot and TiddlyHost saver information

* Update to fr-FR translations for named filters in $:/AdvancedSearch tab

* fr-FR translation update for the render command help

* fr-FR update to ModuleTypes translations

* fr-FR help update for the sse-enabled param of the listen command

* fr-FR update to ControlPanel Basics information

* fr-FR translation improvements to TiddlerInfo captions and hints

* fr-FR translation for the Layout Switcher caption

* fr-FR translation updates for Layout-related information

* fr-FR translation for ConfirmAction

* fr-FR for the captions related to tag input clearing
2021-05-23 11:07:55 +01:00
Simon Baird 30d23196b6
Add 401 and 403 error messages for the put saver (#5638) 2021-04-27 10:14:04 +01:00
Xavier Cazin f087a62c99
fr-FR translations updates (#5043)
* fr-FR translations for Shortcut hints

* fr-FR translations related to renaming tiddlers during Import

* Correction of NewJournal Tags default config in fr-FR

* fr-FR update for the rendertiddlers command

* fr-FR translations for new Filter errors

* fr-FR update for the savetiddlers command

* fr-FR update for the savetiddler command

* fr-FR update for the rendertiddler command

Co-authored-by: Xavier Cazin <xavier.cazin@gmail.com>
2020-11-15 11:35:17 +00:00
Xavier Cazin 06639850ba
fr-FR translations catch up (#4535)
* fr-FR translated strings for the Gitea saver

* fr-FR translation for the _is_skinny description

* fr-FR translation for the Network Error alert

* fr-FR translation for Menu Bar colors

* fr-FR translation for the hint of the add button in EditTemplate

* fr-FR translation for the default focus field hint

* fr-FR translation for throttle.refresh field description

* fr-FR translation for Icon: None in TagManager

* fr-FR translation for Plugins "Also requires:"

* Add NewJournalTags.tid in fr-FR directory

* fr-FR translations for plugin related strings

* fr-FR translation for Sidebar visibility toggle hint

* fr-FR translation for the sidebar search hint

* fr-FR translation for two Palette Editor hints
2020-04-04 16:55:32 +01:00
Xavier Cazin 85da202cca fr-FR: small fix in tiddler date format (#4250) 2019-09-09 14:28:56 +01:00
Xavier Cazin 59264bbf2a fr-FR translation updates (#4167)
* Typo in GitLab saver link

* Improve fr-FR DateFormat for ViewTemplate subtitles

* Update fr-FR translations for Saving/GitService
2019-08-07 18:01:02 +01:00
Xavier Cazin ea76a868bf Update to fr-FR language translations (#3583)
* Update to fr-FR language translations

* Add missing space

* Fix a line feed mistake
2018-11-29 09:48:11 +00:00
Xavier Cazin 4139690447 A few fr-FR translation updates before 5.1.16 (#3205)
* fr-FR translation for import listing preview

* fr-FR translations for new buttons

* fr-FR translations for new ControlPanel items

* fr-FR translation for 'Diffs/CountMessage'

* Update fr-FR help texts for Server command
2018-04-08 09:31:56 +01:00
Jermolene 29364cbd08 Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Xavier Cazin db8fd9ea74 Amendments to warnings upon loading content via _canonical_uri (#2796) (#2803)
* fr-FR translation of additional error strings

* include SaveTrail

* Amendments to the warnings upon loading content via _canonical_uri

* Typo: add a missing THE

* Clarification on why the browser might refuse to load external content
2017-09-16 15:34:26 +01:00
Jermolene 4b9fcdf958 Enable 'edit' button in body of missing tiddler template 2017-06-09 15:20:45 +01:00
Xavier Cazin 6a172363da fr-FR for new fetch command and modified rendertiddler (#2777)
* fr-FR translation of additional error strings

* a slightly better fr-FR translation for the Site Subtitle

* fr-FR translation for the "print page" button

* fr-FR translation for Tiddler Info Panel-related strings

* fr-FR translation for Timestamp activation strings

* fr-FR translation for TiddlerManager related strings

* fr-FR translation for an additional string related to system tiddlers

* add group-sort fields to fr-FR Types

* fixes to the fr-FR Tiddler Manager translations

* fixes fr-FR translation for timestamp-related strings

* fr-FR translation of the tiddler renaming strings

* fr-FR translation of what is the StoryList filter

* fr-FR translations for new saver-related settings

* fr-FR translations around the new fetch command

* fr-FR translation for modified rendertiddler command
2017-02-19 18:27:22 +00:00
Xavier Cazin 28b7493c3c Updates to fr-FR translations (#2645)
* fr-FR translation of additional error strings

* a slightly better fr-FR translation for the Site Subtitle

* fr-FR translation for the "print page" button

* fr-FR translation for Tiddler Info Panel-related strings

* fr-FR translation for Timestamp activation strings

* fr-FR translation for TiddlerManager related strings

* fr-FR translation for an additional string related to system tiddlers

* add group-sort fields to fr-FR Types

* fixes to the fr-FR Tiddler Manager translations

* fixes fr-FR translation for timestamp-related strings

* fr-FR translation of the tiddler renaming strings
2016-12-30 17:41:05 +00:00
Xavier Cazin 87fbd07728 Updated fr-FR localised strings (#2632)
* fr-FR translation of additional error strings

* Better consistancy in fr-FR translations for Buttons.multids

* Fixes to fr-FR translation of Control Panel strings

* Updates to fr-FR strings in EditTemplate.multids

* fixes to fr-FR strings in Fields.multids

* added fr-FR translation of TypedTiddlers in Filters.multids

* fix fr-FR string in GettingStarted.tid

* fix fr-FR string in Import.multids

* fixes to fr-FR strings in Misc.multids

* add fr-FR translated strings in Search.multids

* fixes to fr-FR strings in Sidebars.multids

* fixes in fr-FR translated strings of the Theme Tweaks settings

* fixes fr-FR translated strings of TiddlerInfo

* fixes and additions to fr-FR translations of ModuleTypes.multids strings

* add missing fr-FR translation in PaletteColours.multids

* fixes and additions to the fr-FR-translated Help for commands

* fixes to the fr-FR-translated strings in the Download Modal

* add an fr-FR translation to the Macro Definition snippet
2016-11-01 17:55:05 +00:00
Xavier Cazin b161f49126 fr-FR translation of additional error strings (#2459) 2016-05-22 15:32:37 -06:00
Myeongjin 6388f859d1 Add localisable strings for error (#2447)
* Add localisable strings for error

* Update tiddler Transclusion Basic Usage in fr-FR
2016-05-17 21:58:47 +01:00
Xavier Cazin c5755c5262 fr-FR translations of strings newly made localisable by @araname (#2440)
* Translation of "count" in fr-FR

* fr-FR translation of Syncer strings
2016-05-14 09:00:25 -06:00
Xavier Cazin f7aecd3293 Refinements of ThemeTweaks fr-FR strings (#2425)
* Refinements in ThemeTweaks fr-FR string

* fr-FR translation for Yes and No
2016-05-08 14:50:34 -06:00
Myeongjin 71111550d6 Add localisable strings for vanilla (#2422)
* Add localisable strings for vanilla

* Remove system tiddler for theme tweaks from fr-FR edition
2016-05-05 10:11:06 +01:00
Xavier Cazin 1aa4cb5f55 fr-FR translation of the warning about loading TW Classic 2015-11-21 18:01:33 +01:00
Xavier Cazin d48deefa91 fr-FR translation for the Lazy Loading warning about external text 2015-11-21 16:07:19 +01:00
Xavier Cazin 65f891dcdf fr-FR translation for tidder date format 2015-11-21 15:49:34 +01:00
Xavier Cazin e209254bc6 More fr-FR translations for strings related to plugins 2015-11-21 15:12:32 +01:00
Xavier Cazin 98b6a45044 fr-FR translations for strings related to Internal Javascript Errors 2015-11-21 15:00:25 +01:00
Xavier Cazin 525e55c7ea Corrections to Encryption strings in fr-FR translation 2015-07-03 10:45:55 +02:00
Xavier Cazin 32ebb64638 fr-FR translations for recent changes in localisable strings 2015-04-04 15:52:27 +02:00
Xavier Cazin 453193ce78 Translate Info heading for TagManager into fr-FR + add a circumflex on Icône 2014-11-04 22:37:22 +01:00
Xavier Cazin ca2afd9eef Journal- and NewTiddler- related fr-FR strings 2014-10-11 20:18:20 +02:00
Jermolene 353f641bcc Move date-related translateable strings into their own file 2014-10-10 10:12:40 +01:00
Jermolene 40567c2f88 Drop the count column from the tag manager
It increases the horizontal width of the table, and isn’t particularly
useful.
2014-09-16 13:14:06 +01:00
Xavier Cazin a0e61b89a3 fr-FR translation for the Drop message 2014-08-19 16:52:19 +02:00
Xavier Cazin 850378ceb2 fr-FR translation for Unsaved Changes Warning 2014-08-15 19:07:31 +02:00
Xavier Cazin 7783378603 fr-FR translations for shadow tiddlers and binary content warnings 2014-05-02 23:00:13 +02:00
Xavier Cazin bba7e97f60 fr-FR translation of the confirmation string before cancelling tiddler changes 2014-04-13 16:55:13 +02:00
Xavier Cazin 7853b7f7b3 Four file updates on fr-FR translations 2014-04-10 12:38:55 +02:00
Xavier Cazin a812c6e386 Translation of recently added translateable strings. 2014-02-21 19:26:49 +01:00