1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 18:40:28 +00:00
Commit Graph

50 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
Bram Chen
cb34c695b5
Update chinese error messages for the put saver (#5650) 2021-04-28 14:22:23 +01:00
Simon Baird
30d23196b6
Add 401 and 403 error messages for the put saver (#5638) 2021-04-27 10:14:04 +01:00
Bram Chen
4f88d79d8b
Add chinese translations for Switchers (#5111) 2020-11-24 21:27:24 +00:00
Bram Chen
684f13fbcb
Add chinese translations for ConfirmAction (#5056) 2020-11-17 14:47:31 +00:00
Bram Chen
2818f52f95
Add chinese translations for Shortcuts/SidebarLayout/Hint (#4962) 2020-11-02 09:17:09 +00:00
Bram Chen
49b11bc493
Update chinese language files (#4929)
* add `Error/FilterRunPrefix` in Misc.multids
* add `Shortcuts/Input/AdvancedSearch/Hint` in Misc.multids
2020-10-28 15:59:02 +00:00
Bram Chen
4cdbe6540b
Update chinese translations (#4890)
* Add chinese translations for "Error/FormatFilterOperator"

* Update Misc.multids
2020-10-24 08:22:39 +01:00
Bram Chen
b32eb49d50
Update chinese translations (#4715)
* Update NewJournalTags.tid for zh* languages

* Add chinese shortcut descriptions to Misc.multids

* Add chinese translations for `Saving/TiddlySpot/ControlPanel`
2020-07-31 08:14:01 +01:00
Bram Chen
7d30664b7d
Update chinese translations (#4528)
* add description of field `_is_skinny`
* add alert message `Error/NetworkErrorAlert`
2020-03-31 11:01:09 +01:00
Bram Chen
a4593b8e3d
Update chinese translations (#4325)
* Update chinese translations
* Imporve chinese translations for UI of basic tab in controlpanel
* Add chinese translations for description of throttle.refresh field

* Add chinese translations for the `none` option of icon dropdown in tag manager
2020-02-02 08:50:18 +00:00
Bram Chen
36498867d5 Update chinese translations for Dynamic loading/unloading of plugins (#4264)
* Add `Plugins/PluginWillRequireReload` to ControlPanel.multids
* Improve `PluginReloadWarning` in Misc.multids
2019-09-16 14:02:11 +01:00
Bram Chen
92c1a82492 Add chinese translations for "Diffs/CountMessage" (#3172) 2018-03-19 15:53:41 +00:00
Jermolene
29364cbd08 Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Bram Chen
6b575f5404 Update chinese translations (#2978)
* Update chinese translations for revises in #2803

* Revise chinese help texts for "save" and "render" command

* Update chinese help texts for "import" and "load" commands

* Revise chinese help texts for "load" command
2017-11-11 09:43:27 +00:00
Jermolene
4b9fcdf958 Enable 'edit' button in body of missing tiddler template 2017-06-09 15:20:45 +01:00
Bram Chen
d0c20435cd Add chinese translations for Error/EditConflict (#2771) 2017-02-17 17:11:30 +00:00
Bram Chen
2fedd8dcd3 Add chinese translations for tiddler manager 2016-11-30 10:35:58 +08:00
Bram Chen
fdbf56379a Add Chinese translation for error messages (#2450) 2016-05-18 18:49:07 +01: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
Bram Chen
da9f05b21c Update Chinese translation (#2439)
* Refine Simplified Chinese wording

* Add Chinese translation for new localisable strings
  * RecursiveTransclusion
  * Syncer
2016-05-13 08:39:13 -06:00
Myeongjin
8afc1e9354 Add localisable strings (#2438)
* Add localisable string for recursive transclusion error

* Add localisable string for count

* Add localisable strings for syncer
2016-05-12 08:44:28 -06:00
Bram Chen
732c566688 Update Chinese translation (#2423)
* Add Chinese translation for tweaks of the Vanilla theme

* Add Chinese translation for tweaks of the Vanilla theme
  for missing ThemeTweaks.multids
2016-05-05 18:29:19 +01:00
Jeremy Ruston
2adf09129d Introduce text editor toolbar (#2315)
Tada!
2016-04-22 08:36:29 +01:00
Bram Chen
a6fe696269 Update chinese translations for the recently new localisable strings 2015-10-25 12:24:36 +08:00
Bram Chen
a42dff1a41 Add chinese translations of Tiddler/DateFormat 2015-10-08 09:21:01 +08:00
Bram Chen
0861e1bb3a Add chinese Translations of lazy loading message 2015-09-08 22:14:25 +08:00
Bram Chen
1d33f5ed48 Add chinese translations of warning message for detected TiddlyWiki Classic plugins 2015-09-05 10:27:56 +08:00
Bram Chen
ba188b70f5 Add chinese translations of TagManager/Count/Heading 2015-07-01 19:44:36 +08:00
Bram Chen
6ed53d6b93 Add chinese translation for encryption dialog 2015-03-22 10:47:00 +08:00
Bram Chen
f0ad83e4e1 Add chinese translations for the new Plugins tab of control panel 2015-02-10 10:54:56 +08:00
Bram Chen
32b8270740 Add zh info heading for tag manager 2014-11-05 16:38:39 +08:00
Jermolene
353f641bcc Move date-related translateable strings into their own file 2014-10-10 10:12:40 +01:00
Bram Chen
01b515a4f4 Add chinese date format strings 2014-10-09 18:29:14 +08:00
Bram Chen
e5f20d1a9c Update chinese translations
* Add "new here" button
* Add "new journal" button
* Add default title of new tiddler
2014-10-09 13:54:47 +08:00
Bram Chen
96d1981dcc Update chinese translations
* Add confirmation for clearing password
2014-10-08 09:21:54 +08: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
Bram Chen
bd9e5eadb3 Update chinese translations
* Add message of blocked temporary state tiddlers for upgrader
* Add refresh button
* Update hint of home button
* Update dropznoe text
2014-08-21 18:16:25 +08:00
Bram Chen
fd61814a7d Add chinese translations of unsaved changes message 2014-08-14 15:20:45 +08:00
Bram Chen
e2b0da0b58 Add chinese translation of banner for binary tiddlers in edit mode 2014-05-06 17:23:27 +08:00
Bram Chen
e8316cf0ac Add chinese messages for editing/overridden a shadow tiddler 2014-04-29 15:32:19 +08:00
Bram Chen
d9b87055bf Add chinese translations of confirmation for cancelling edits 2014-04-13 14:34:17 +08:00
Bram Chen
7985a808bf Keep up-to-date changes for chinese translations. 2014-04-02 16:27:03 +08:00
Bram Chen
299007f08b Update chinese translations of types. 2014-03-27 10:06:40 +08:00
Bram Chen
1b0a39cd1a Add chinese translations of translatable core strings in JavaScript modules 2014-03-24 10:25:54 +08:00
Bram Chen
699b863588 Add chinese translations of ClassicWarning section for TWC tiddlers 2014-03-18 09:53:29 +08:00
Bram Chen
a82e50c07f Keep up-to-date changes for zh-Hant and zh-Hans 2014-03-14 13:02:49 +08:00
Bram Chen
7b109506c8 Update the chinese tranlastions of descriptive text for missing tiddlers 2014-03-06 11:31:17 +08:00
Bram Chen
6aa21b3db6 Add chinese translation of MissingTiddler stuff in Misc.multids. 2014-03-04 17:38:26 +08:00
Bram Chen
41575b8012 Add Misc.multids to chinese language packs and more words and phrases are improved 2014-02-22 00:01:06 +08:00