1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-31 23:26:18 +00:00
TiddlyWiki5/languages/sv-SE/Misc.multids
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

33 lines
2.0 KiB
Plaintext
Executable File

title: $:/language/
BinaryWarning/Prompt: Denna tiddler innehåller binär data
ClassicWarning/Hint: Denna tiddler är skriven i TiddlyWiki klassisk wiki-textformat, vilket inte är fullständigt kompatibelt med TiddlyWiki version 5. Läs https://tiddlywiki.com/static/Upgrading.html för mer info.
ClassicWarning/Upgrade/Caption: uppgradera
CloseAll/Button: stäng alla
ConfirmCancelTiddler: Vill du ångra ändringar för denna tiddler "<$text text=<<title>>/>"?
ConfirmDeleteTiddler: Vill du ta bort denna tiddler "<$text text=<<title>>/>"?
ConfirmOverwriteTiddler: Vill du skriva över denna tiddler "<$text text=<<title>>/>"?
ConfirmEditShadowTiddler: You are about to edit a ShadowTiddler. Any changes will override the default system making future upgrades non-trivial. Are you sure you want to edit "<$text text=<<title>>/>"?
Count: antal
DefaultNewTiddlerTitle: Ny Tiddler
DropMessage: Drop here (or use the 'Escape' key to cancel)
Encryption/Cancel: Avbryt
Encryption/ConfirmClearPassword: Vill du rensa lösenordet? Detta kommer ta bort krypteringen när du sparar denna wiki
Encryption/PromptSetPassword: Ställ in nytt lösenord för denna TiddlyWiki
Encryption/Username: Användarnamn
Encryption/Password: Lösenord
Encryption/RepeatPassword: Upprepa lösenordet
Encryption/PasswordNoMatch: Lösenorden matchar inte
Encryption/SetPassword: Ställ in lösenord
MissingTiddler/Hint: Saknar tiddler "<$text text=<<currentTiddler>>/>" - klicka {{||$:/core/ui/Buttons/edit}} för att skapa
OfficialPluginLibrary: Officiella ~TiddlyWiki Insticksprogramsbibliotek
PluginReloadWarning: Spara {{$:/core/ui/Buttons/save-wiki}} och ladda om {{$:/core/ui/Buttons/refresh}} för att ändringarna för insticksprogrammen ska slå igenom
RecentChanges/DateFormat: DD MMM YYYY
SystemTiddler/Tooltip: Detta är en system-tiddler
TagManager/Colour/Heading: Färg
TagManager/Count/Heading: Antal
TagManager/Icon/Heading: Ikon
TagManager/Info/Heading: Info
TagManager/Tag/Heading: Tagg
UnsavedChangesWarning: Du har osparade ändringar i TiddlyWiki