Update es-ES edition (#2442)

* Cleanup es-ES edition
* Cleanup edition infomation
* Remove newline at download-empty-button

* Update system tiddlers for es-ES edition
print-window-tiddler
Myeongjin 2016-05-17 03:01:19 +09:00 zatwierdzone przez Jeremy Ruston
rodzic 2fa98ee642
commit eb47c6b2c5
10 zmienionych plików z 76 dodań i 21 usunięć

Wyświetl plik

@ -6,7 +6,8 @@
"tiddlywiki/highlight"
],
"themes": [
"tiddlywiki/vanilla"
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
],
"includeWikis": [
"../es-ES"

Wyświetl plik

@ -1,12 +1,12 @@
created: 20160419092851048
list-after: $:/core/ui/EditTemplate/title
modified: 20160419133825429
modified: 20160515101246618
tags: $:/tags/EditTemplate
title: $:/ContributionBanner
type: text/vnd.tiddlywiki
\define makeGitHubLink()
https://github.com/Jermolene/TiddlyWiki5/edit/master/editions/tw5.com/tiddlers/$(githubLink)$
https://github.com/Jermolene/TiddlyWiki5/edit/master/editions/es-ES/tiddlers/$(githubLink)$
\end
\define innerMakeGitHubLink(linkText)
<$set name="githubLink" value={{$:/config/OriginalTiddlerPaths##$(draftOfTiddler)$}}>

Wyświetl plik

@ -0,0 +1,4 @@
title: $:/SiteSubtitle
type: text/vnd.tiddlywiki
Cuaderno de notas personal no-lineal en la web

Wyświetl plik

@ -1,23 +1,18 @@
caption: {{$:/language/Search/DefaultResults/Caption}}
created: 20141117081621387
modified: 20160411220341854
modified: 20160515100401168
tags: $:/tags/SearchResults
title: $:/core/ui/DefaultSearchResultList
type: text/vnd.tiddlywiki
\define searchResultList()
<$set name="resultCount" value="""<$count filter="[!is[system]search{$(searchTiddler)$}]"/>""">
{{$:/language/Search/Matches}}
</$set>
//<small>Coincidencias en títulos :</small>//
//<small>{{$:/language/Search/Matches/Title}}</small>//
<$list filter="[!is[system]search:title{$(searchTiddler)$}sort[caption]limit[250]] [!is[system]search:es-title{$(searchTiddler)$}sort[title]limit[250]][!is[system]search:en-title{$(searchTiddler)$}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
//<small>Todas las coincidencias :</small>//
//<small>{{$:/language/Search/Matches/All}}</small>//
<$list filter="[!is[system]search{$(searchTiddler)$}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
\end
<<searchResultList>>

Wyświetl plik

@ -1,5 +1,5 @@
created: 20141117221740337
modified: 20160411220341877
modified: 20160515100528031
title: $:/core/ui/ListItemTemplate
type: text/vnd.tiddlywiki
@ -9,4 +9,4 @@ type: text/vnd.tiddlywiki
<$view field="title"/>
</$view>
</$link>
</div>
</div>

Wyświetl plik

@ -0,0 +1,15 @@
caption: {{$:/language/SideBar/Open/Caption}}
created: 20160429080322465
modified: 20160515100901701
tags: $:/tags/SideBar
title: $:/core/ui/SideBar/Open
type: text/vnd.tiddlywiki
\define lingo-base() $:/language/CloseAll/
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop">
<$button message="tm-close-tiddler" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="tc-btn-invisible tc-btn-mini">&times;</$button> <$link to={{!!title}}><$transclude field="es-title"><$view field="title"/></$transclude></$link>
</$list>
<$button message="tm-close-all-tiddlers" class="tc-btn-invisible tc-btn-mini"><<lingo Button>></$button>

Wyświetl plik

@ -0,0 +1,33 @@
created: 20160504080001125
modified: 20160515100830717
title: $:/core/ui/TagTemplate
type: text/vnd.tiddlywiki
\define tag-styles()
background-color:$(backgroundColor)$;
fill:$(foregroundColor)$;
color:$(foregroundColor)$;
\end
\define tag-body-inner(colour,fallbackTarget,colourA,colourB)
<$set name="foregroundColor" value=<<contrastcolour target:"""$colour$""" fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$""" colourB:"""$colourB$""">>>
<$set name="backgroundColor" value="""$colour$""">
<$button popup=<<qualify "$:/state/popup/tag">> class="tc-btn-invisible tc-tag-label" style=<<tag-styles>>>
<$transclude tiddler={{!!icon}}/> <$view field="es-title"><$view field="title" format="text" /></$view>
</$button>
<$reveal state=<<qualify "$:/state/popup/tag">> type="popup" position="below" animate="yes"><div class="tc-drop-down"><$transclude tiddler="$:/core/ui/ListItemTemplate"/>
<hr>
<$list filter="[all[current]tagging[]]" template="$:/core/ui/ListItemTemplate"/>
</div>
</$reveal>
</$set>
</$set>
\end
\define tag-body(colour,palette)
<span class="tc-tag-list-item">
<$macrocall $name="tag-body-inner" colour="""$colour$""" fallbackTarget={{$palette$##tag-background}} colourA={{$palette$##foreground}} colourB={{$palette$##background}}/>
</span>
\end
<$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}}/>

Wyświetl plik

@ -1,5 +1,5 @@
created: 20141119191707140
modified: 20160411220341866
modified: 20160515100614389
tags: $:/tags/ViewTemplate
title: $:/core/ui/ViewTemplate/title
type: text/vnd.tiddlywiki
@ -15,8 +15,10 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
<span class="tc-tiddler-controls">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list>
</span>
<$set name="tv-wikilinks" value={{$:/config/Tiddlers/TitleLinks}}>
<$link>
<$set name="foregroundColor" value={{!!color}}>
<span style=<<title-styles>>>
<span class="tc-tiddler-title-icon" style=<<title-styles>>>
<$transclude tiddler={{!!icon}}/>
</span>
</$set>
@ -32,11 +34,13 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
</$view>
</h2>
</$list>
</$link>
</$set>
</div>
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tc-tiddler-info tc-popup" animate="yes" retain="yes">
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tc-tiddler-info tc-popup-handle" animate="yes" retain="yes">
<$transclude tiddler="$:/core/ui/TiddlerInfo"/>
</$reveal>
</div>
</div>

Wyświetl plik

@ -3,4 +3,4 @@ title: $:/editions/es-ES/snippets/download-empty-button
<$button class="tc-btn-big-green">
<$action-sendmessage $message="tm-download-file" $param="$:/editions/es-ES/download-empty" filename="empty_es.html"/>
Descargar un wiki en blanco {{$:/core/images/save-button}}
</$button>
</$button>

Wyświetl plik

@ -5,9 +5,10 @@
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite",
"tiddlywiki/nighttime",
"tiddlywiki/starlight",
"tiddlywiki/seamless",
"tiddlywiki/centralised",
"tiddlywiki/tight",
"tiddlywiki/readonly"
],
"languages": [
@ -22,10 +23,12 @@
"empty": [
"--rendertiddler","$:/editions/es-ES/download-empty","empty.html","text/plain",
"--rendertiddler","$:/editions/es-ES/download-empty","empty.hta","text/plain"],
"favicon": [
"--savetiddler","$:/favicon.ico","favicon.ico"],
"static": [
"--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain",
"--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain",
"--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain",
"--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"]
}
}
}