Reduce the inconsistent use of "language" vs. "lingo"

Now we’re just using the word “lingo” for the macro defined in
PageTemplate (where the abbreviation is useful), and using the full
word “language” everywhere else.

It’s possible that we should be using “locale” instead of “language”,
what do you think?
print-window-tiddler
Jermolene 2014-02-15 11:32:11 +00:00
rodzic e9ba7f3d70
commit c43cd325ca
9 zmienionych plików z 12 dodań i 12 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
title: $:/lingo/ControlPanel/
title: $:/language/ControlPanel/
Basics/Caption: Basics
Basics/Version: ~TiddlyWiki version

Wyświetl plik

@ -1,3 +1,3 @@
title: $:/lingo/ControlPanel/Language/prompt
title: $:/language/ControlPanel/Language/prompt
Hello! Current language:

Wyświetl plik

@ -3,7 +3,7 @@ title: $:/core/modules/pluginswitcher.js
type: application/javascript
module-type: global
Manages switching plugins for themes and lingo.
Manages switching plugins for themes and languages.
\*/
(function(){

Wyświetl plik

@ -1,15 +1,15 @@
title: $:/core/ui/ControlPanel/Basics
tags: $:/tags/ControlPanel
caption: {{$:/lingo/ControlPanel/Basics/Caption}}
caption: {{$:/language/ControlPanel/Basics/Caption}}
\define lingo-base() $:/lingo/ControlPanel/
\define lingo-base() $:/language/ControlPanel/
|<<lingo Basics/Version>> |''<<version>>'' |
|<$link to="SiteTitle"><<lingo Basics/Title>></$link> |<$edit-text tiddler="SiteTitle" default="" tag="input"/> |
|<$link to="SiteSubtitle"><<lingo Basics/Subtitle>></$link> |<$edit-text tiddler="SiteSubtitle" default="" tag="input"/> |
|<$link to="$:/status/UserName"><<lingo Basics/Username>></$link> |<$edit-text tiddler="$:/status/UserName" default="" tag="input"/> |
|<$link to="$:/config/AnimationDuration"><<lingo Basics/AnimDuration>></$link> |<$edit-text tiddler="$:/config/AnimationDuration" default="" tag="input"/> |
|<$link to="$:/DefaultTiddlers"><<lingo Basics/DefaultTiddlers>></$link> |<<lingo Basics/DefaultTiddlers/Prompt>><br> <$edit-text tag="textarea" tiddler="$:/DefaultTiddlers"/><br>//<<lingo Basics/DefaultTiddlers/Hint>>// |
|{{$:/lingo/ControlPanel/Language/prompt}} |{{$:/snippets/minilanguageswitcher}} |
|{{$:/language/ControlPanel/Language/prompt}} |{{$:/snippets/minilanguageswitcher}} |
|<<lingo Basics/Tiddlers>> |''<$count filter="[!is[system]]"/>'' |
|<<lingo Basics/Tags>> |''<$count filter="[tags[]]"/>'' |
|<<lingo Basics/SystemTiddlers>> |''<$count filter="[is[system]]"/>'' |

Wyświetl plik

@ -1,6 +1,6 @@
title: $:/snippets/languageswitcher
{{$:/lingo/ControlPanel/Language/prompt}} <$view tiddler={{$:/language}} field="description" format="text"><$view tiddler={{$:/language}} field="name" format="text"><$view tiddler={{$:/language}} field="title" format="text"/></$view></$view>
{{$:/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"/></$view></$view>
<$linkcatcher to="$:/language">
<$list filter="[[$:/languages/en-GB]] [plugin-type[language]sort[title]]"><div><$reveal state="$:/language" type="match" text={{!!title}}>&bull;</$reveal><$reveal state="$:/language" type="nomatch" text={{!!title}}>&nbsp;</$reveal> <$link to={{!!title}}><$view field="description" format="text"><$view field="name" format="text"><$view field="title" format="text"/></$view></$view></$link></div>

Wyświetl plik

@ -16,7 +16,7 @@ MultiTiddlerFiles have the extension `tids`. The file is structured as a block o
For axample:
```
title: $:/lingo/ControlPanel/
title: $:/language/ControlPanel/
tags: strings
modifier: JoeBloggs
@ -25,6 +25,6 @@ Basics/Caption: Basics
Basics/Version: ~TiddlyWiki Version
```
This example defines two tiddlers, ''"""$:/lingo/ControlPanel/Basics/Caption"""'' and ''"""$:/lingo/ControlPanel/Basics/Version"""''.
This example defines two tiddlers, ''"""$:/language/ControlPanel/Basics/Caption"""'' and ''"""$:/language/ControlPanel/Basics/Version"""''.
If a `title` field is specified in the header then it is treated as a prefix for the individual tiddlers defined in the title.

Wyświetl plik

@ -1,3 +1,3 @@
title: $:/lingo/ControlPanel/Language/prompt
title: $:/language/ControlPanel/Language/prompt
Hallo! Aktuelle Sprache:

Wyświetl plik

@ -1,3 +1,3 @@
title: $:/lingo/ControlPanel/Language/prompt
title: $:/language/ControlPanel/Language/prompt
Hiya! Current language:

Wyświetl plik

@ -1,3 +1,3 @@
title: $:/lingo/ControlPanel/Language/prompt
title: $:/language/ControlPanel/Language/prompt
Bonjour! Langage courant: