From 5a45fffa9ea6f4d3248b8cf26b81983abf7d9cfd Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 15 Feb 2014 13:29:24 +0000 Subject: [PATCH] Get the remaining core control panel tabs prepared for translation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We’ll do ThemeTweaks separately as it’s part of the Vanilla theme --- core/language/en-GB/ControlPanel.tids | 32 ++++++++++++++++++++++++++- core/ui/ControlPanel/Appearance.tid | 7 +++--- core/ui/ControlPanel/Basics.tid | 26 +++++++++++----------- core/ui/ControlPanel/Internals.tid | 11 ++++----- core/ui/ControlPanel/Plugins.tid | 5 +++-- core/ui/ControlPanel/Saving.tid | 28 +++++++++++------------ core/ui/ControlPanel/Tools.tid | 13 ++++++----- core/wiki/languageswitcher.tid | 2 +- languages/de-AT/ControlPanel.tids | 2 +- languages/en-US/ControlPanel.tids | 2 +- languages/fr-FR/ControlPanel.tids | 2 +- 11 files changed, 82 insertions(+), 48 deletions(-) diff --git a/core/language/en-GB/ControlPanel.tids b/core/language/en-GB/ControlPanel.tids index 7652c313b..298df8869 100644 --- a/core/language/en-GB/ControlPanel.tids +++ b/core/language/en-GB/ControlPanel.tids @@ -14,5 +14,35 @@ Basics/Tags: Number of tags Basics/SystemTiddlers: Number of system tiddlers Basics/ShadowTiddlers: Number of shadow tiddlers Basics/OverriddenShadowTiddlers: Number of overridden shadow tiddlers +Basics/Language/Prompt: Hello! Current language: Appearance/Caption: Appearance -Language/prompt: Hello! Current language: +Appearance/Theme/Heading: Theme +Appearance/StoryView/Heading: Story View +Saving/Caption: Saving +Saving/Heading: Saving +Saving/AutoSave: Auto Save +Saving/TiddlySpot/Heading: ~TiddlySpot +Saving/TiddlySpot/UserName: Wiki Name +Saving/TiddlySpot/Password: Password +Saving/TiddlySpot/Backups: Backups +Saving/TiddlySpot/Advanced/Heading: Advanced Settings +Saving/TiddlySpot/ServerURL: Server URL +Saving/TiddlySpot/Filename: Upload Filename +Saving/TiddlySpot/UploadDir: Upload Directory +Saving/TiddlySpot/BackupDir: Backup Directory +Saving/TiddlySpot/Hint: //The server URL defaults to `http://.tiddlyspot.com/store.cgi` and can be changed to use a custom server address// +Plugins/Caption: Plugins +Plugins/Fields/Title: Title +Plugins/Fields/Description: Description +Plugins/Fields/Version: Version +Tools/Caption: Tools +Tools/Import/Heading: Import +Tools/Import/Hint: Browse for files on your computer to import their contents (the individual tiddlers within TiddlyWiki HTML files are imported separately). You can also drag and drop files directly to the browser window. +Tools/Export/Heading: Export +Tools/Export/AllAsStaticHTML/Caption: Download all tiddlers as static HTML +Tools/Encryption/Heading: Encryption +Internals/Caption: Internals +Internals/TiddlerFields/Heading: TiddlerFields +Internals/TiddlerFields/Hint: This is the full set of TiddlerFields in use in this wiki (including system tiddlers but excluding shadow tiddlers). +Internals/LoadedModules/Heading: Loaded Modules +Internals/LoadedModules/Hint: These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process. diff --git a/core/ui/ControlPanel/Appearance.tid b/core/ui/ControlPanel/Appearance.tid index 40bead91c..ece52cc6c 100644 --- a/core/ui/ControlPanel/Appearance.tid +++ b/core/ui/ControlPanel/Appearance.tid @@ -1,11 +1,12 @@ title: $:/core/ui/ControlPanel/Appearance tags: $:/tags/ControlPanel -caption: Appearance +caption: {{$:/language/ControlPanel/Appearance/Caption}} -! Theme +\define lingo-base() $:/language/ControlPanel/Appearance/ +! <> {{$:/snippets/themeswitcher}} -! Story View +! <> {{$:/snippets/viewswitcher}} diff --git a/core/ui/ControlPanel/Basics.tid b/core/ui/ControlPanel/Basics.tid index b53be5730..225800d42 100644 --- a/core/ui/ControlPanel/Basics.tid +++ b/core/ui/ControlPanel/Basics.tid @@ -2,16 +2,16 @@ title: $:/core/ui/ControlPanel/Basics tags: $:/tags/ControlPanel caption: {{$:/language/ControlPanel/Basics/Caption}} -\define lingo-base() $:/language/ControlPanel/ -|<> |''<>'' | -|<$link to="SiteTitle"><> |<$edit-text tiddler="SiteTitle" default="" tag="input"/> | -|<$link to="SiteSubtitle"><> |<$edit-text tiddler="SiteSubtitle" default="" tag="input"/> | -|<$link to="$:/status/UserName"><> |<$edit-text tiddler="$:/status/UserName" default="" tag="input"/> | -|<$link to="$:/config/AnimationDuration"><> |<$edit-text tiddler="$:/config/AnimationDuration" default="" tag="input"/> | -|<$link to="$:/DefaultTiddlers"><> |<>
<$edit-text tag="textarea" tiddler="$:/DefaultTiddlers"/>
//<>// | -|{{$:/language/ControlPanel/Language/prompt}} |{{$:/snippets/minilanguageswitcher}} | -|<> |''<$count filter="[!is[system]]"/>'' | -|<> |''<$count filter="[tags[]]"/>'' | -|<> |''<$count filter="[is[system]]"/>'' | -|<> |''<$count filter="[is[shadow]]"/>'' | -|<> |''<$count filter="[!is[system]is[shadow]]"/>'' | +\define lingo-base() $:/language/ControlPanel/Basics/ +|<> |''<>'' | +|<$link to="SiteTitle"><> |<$edit-text tiddler="SiteTitle" default="" tag="input"/> | +|<$link to="SiteSubtitle"><> |<$edit-text tiddler="SiteSubtitle" default="" tag="input"/> | +|<$link to="$:/status/UserName"><> |<$edit-text tiddler="$:/status/UserName" default="" tag="input"/> | +|<$link to="$:/config/AnimationDuration"><> |<$edit-text tiddler="$:/config/AnimationDuration" default="" tag="input"/> | +|<$link to="$:/DefaultTiddlers"><> |<>
<$edit-text tag="textarea" tiddler="$:/DefaultTiddlers"/>
//<>// | +|<>s |{{$:/snippets/minilanguageswitcher}} | +|<> |''<$count filter="[!is[system]]"/>'' | +|<> |''<$count filter="[tags[]]"/>'' | +|<> |''<$count filter="[is[system]]"/>'' | +|<> |''<$count filter="[is[shadow]]"/>'' | +|<> |''<$count filter="[!is[system]is[shadow]]"/>'' | diff --git a/core/ui/ControlPanel/Internals.tid b/core/ui/ControlPanel/Internals.tid index e4f6d0a1b..e9779254f 100644 --- a/core/ui/ControlPanel/Internals.tid +++ b/core/ui/ControlPanel/Internals.tid @@ -1,15 +1,16 @@ title: $:/core/ui/ControlPanel/Internals tags: $:/tags/ControlPanel -caption: Internals +caption: {{$:/language/ControlPanel/Internals/Caption}} -! Tiddler fields +\define lingo-base() $:/language/ControlPanel/Internals/ +! <> -This is the full set of TiddlerFields in use in this wiki (including system tiddlers but excluding shadow tiddlers). +<> {{$:/snippets/allfields}} -! Loaded Modules +! <> -These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process. +<> {{$:/snippets/modules}} diff --git a/core/ui/ControlPanel/Plugins.tid b/core/ui/ControlPanel/Plugins.tid index 58655c0dc..0c13d738c 100644 --- a/core/ui/ControlPanel/Plugins.tid +++ b/core/ui/ControlPanel/Plugins.tid @@ -1,7 +1,8 @@ title: $:/core/ui/ControlPanel/Plugins tags: $:/tags/ControlPanel -caption: Plugins +caption: {{$:/language/ControlPanel/Plugins/Caption}} -<$list filter="[!has[draft.of]has[plugin-type]sort[title]]"> +\define lingo-base() $:/language/ControlPanel/Plugins/ +
TitleDescriptionVersion
<$link to={{!!title}}><$view field="title"/><$view field="description"/><$view field="version"/>
<$list filter="[!has[draft.of]has[plugin-type]sort[title]]">
<><><>
<$link to={{!!title}}><$view field="title"/><$view field="description"/><$view field="version"/>
diff --git a/core/ui/ControlPanel/Saving.tid b/core/ui/ControlPanel/Saving.tid index ac30498e5..d17e7a208 100644 --- a/core/ui/ControlPanel/Saving.tid +++ b/core/ui/ControlPanel/Saving.tid @@ -1,7 +1,8 @@ title: $:/core/ui/ControlPanel/Saving tags: $:/tags/ControlPanel -caption: Saving +caption: {{$:/language/ControlPanel/Saving/Caption}} +\define lingo-base() $:/language/ControlPanel/Saving/ \define backupURL() http://$(userName)$.tiddlyspot.com/backup/ \end @@ -12,23 +13,22 @@ http://$(userName)$.tiddlyspot.com/backup/ \end -! Saving +! <> -|[[Autosave|$:/config/AutoSave]] |{{$:/snippets/autosavestatus}} | +|<> |{{$:/snippets/autosavestatus}} | +! <> -! TiddlySpot +|<> |<$edit-text tiddler="$:/UploadName" default="" tag="input"/> | +|<> |<$password name="upload"/> | +|<> |<> | -|[[Wiki name|$:/UploadName]] |<$edit-text tiddler="$:/UploadName" default="" tag="input"/> | -|Password |<$password name="upload"/> | -|Backups |<> | +!! <> -!! Advanced settings +|<> |<$edit-text tiddler="$:/UploadURL" default="" tag="input"/> | +|<> |<$edit-text tiddler="$:/UploadFilename" default="index.html" tag="input"/> | +|<> |<$edit-text tiddler="$:/UploadDir" default="." tag="input"/> | +|<> |<$edit-text tiddler="$:/UploadBackupDir" default="." tag="input"/> | -|Server URL |<$edit-text tiddler="$:/UploadURL" default="" tag="input"/> | -|Upload filename |<$edit-text tiddler="$:/UploadFilename" default="index.html" tag="input"/> | -|Upload directory |<$edit-text tiddler="$:/UploadDir" default="." tag="input"/> | -|Backup directory |<$edit-text tiddler="$:/UploadBackupDir" default="." tag="input"/> | +<> - -//The server URL defaults to `http://.tiddlyspot.com/store.cgi` and can be changed to use a custom server address// diff --git a/core/ui/ControlPanel/Tools.tid b/core/ui/ControlPanel/Tools.tid index 4a190e46e..48b131056 100644 --- a/core/ui/ControlPanel/Tools.tid +++ b/core/ui/ControlPanel/Tools.tid @@ -1,17 +1,18 @@ title: $:/core/ui/ControlPanel/Tools tags: $:/tags/ControlPanel -caption: Tools +caption: {{$:/language/ControlPanel/Tools/Caption}} -! Import +\define lingo-base() $:/language/ControlPanel/Tools/ +! <> <$browse/> -Browse for files on your computer to import their contents (the individual tiddlers within TiddlyWiki HTML files are imported separately). You can also drag and drop files directly to the browser window. +<> -! Export +! <> -<$button message="tw-download-file" param="$:/core/templates/alltiddlers.template.html" class="btn-big-green">Download all tiddlers as static HTML {{$:/core/images/save-button}} +<$button message="tw-download-file" param="$:/core/templates/alltiddlers.template.html" class="btn-big-green"><> {{$:/core/images/save-button}} -! Encryption +! <> {{$:/snippets/encryptionstatus}} diff --git a/core/wiki/languageswitcher.tid b/core/wiki/languageswitcher.tid index 2c99e0b29..d2abdfd89 100644 --- a/core/wiki/languageswitcher.tid +++ b/core/wiki/languageswitcher.tid @@ -1,6 +1,6 @@ title: $:/snippets/languageswitcher -{{$:/language/ControlPanel/Language/prompt}} <$view tiddler={{$:/language}} field="description" format="text"><$view tiddler={{$:/language}} field="name" format="text"><$view tiddler={{$:/language}} field="title" format="text"/> +{{$:/language/ControlPanel/Basics/Language/Prompt}} <$view tiddler={{$:/language}} field="description" format="text"><$view tiddler={{$:/language}} field="name" format="text"><$view tiddler={{$:/language}} field="title" format="text"/> <$linkcatcher to="$:/language"> <$list filter="[[$:/languages/en-GB]] [plugin-type[language]sort[title]]">
<$reveal state="$:/language" type="match" text={{!!title}}>•<$reveal state="$:/language" type="nomatch" text={{!!title}}>  <$link to={{!!title}}><$view field="description" format="text"><$view field="name" format="text"><$view field="title" format="text"/>
diff --git a/languages/de-AT/ControlPanel.tids b/languages/de-AT/ControlPanel.tids index 71a07f53e..57f9075a7 100644 --- a/languages/de-AT/ControlPanel.tids +++ b/languages/de-AT/ControlPanel.tids @@ -1,3 +1,3 @@ title: $:/language/ControlPanel/ -Language/prompt: Hallo! Aktuelle Sprache: +Basics/Language/Prompt: Hallo! Aktuelle Sprache: diff --git a/languages/en-US/ControlPanel.tids b/languages/en-US/ControlPanel.tids index a52ab1787..908d0da32 100644 --- a/languages/en-US/ControlPanel.tids +++ b/languages/en-US/ControlPanel.tids @@ -1,3 +1,3 @@ title: $:/language/ControlPanel/ -Language/prompt: Hiya! Current language: +Basics/Language/Prompt: Hiya! Current language: diff --git a/languages/fr-FR/ControlPanel.tids b/languages/fr-FR/ControlPanel.tids index d487efacf..1509c289f 100644 --- a/languages/fr-FR/ControlPanel.tids +++ b/languages/fr-FR/ControlPanel.tids @@ -1,3 +1,3 @@ title: $:/language/ControlPanel/ -Language/prompt: Bonjour! Langage courant: +Basics/Language/Prompt: Bonjour! Langage courant: