1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-28 00:03:16 +00:00

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
This commit is contained in:
Myeongjin 2016-05-17 03:01:19 +09:00 committed by Jeremy Ruston
parent 2fa98ee642
commit eb47c6b2c5
10 changed files with 76 additions and 21 deletions

View File

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

View File

@ -1,12 +1,12 @@
created: 20160419092851048 created: 20160419092851048
list-after: $:/core/ui/EditTemplate/title list-after: $:/core/ui/EditTemplate/title
modified: 20160419133825429 modified: 20160515101246618
tags: $:/tags/EditTemplate tags: $:/tags/EditTemplate
title: $:/ContributionBanner title: $:/ContributionBanner
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
\define makeGitHubLink() \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 \end
\define innerMakeGitHubLink(linkText) \define innerMakeGitHubLink(linkText)
<$set name="githubLink" value={{$:/config/OriginalTiddlerPaths##$(draftOfTiddler)$}}> <$set name="githubLink" value={{$:/config/OriginalTiddlerPaths##$(draftOfTiddler)$}}>

View File

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

View File

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

View File

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

View File

@ -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>

View File

@ -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}}/>

View File

@ -1,5 +1,5 @@
created: 20141119191707140 created: 20141119191707140
modified: 20160411220341866 modified: 20160515100614389
tags: $:/tags/ViewTemplate tags: $:/tags/ViewTemplate
title: $:/core/ui/ViewTemplate/title title: $:/core/ui/ViewTemplate/title
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
@ -15,8 +15,10 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
<span class="tc-tiddler-controls"> <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> <$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> </span>
<$set name="tv-wikilinks" value={{$:/config/Tiddlers/TitleLinks}}>
<$link>
<$set name="foregroundColor" value={{!!color}}> <$set name="foregroundColor" value={{!!color}}>
<span style=<<title-styles>>> <span class="tc-tiddler-title-icon" style=<<title-styles>>>
<$transclude tiddler={{!!icon}}/> <$transclude tiddler={{!!icon}}/>
</span> </span>
</$set> </$set>
@ -32,11 +34,13 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
</$view> </$view>
</h2> </h2>
</$list> </$list>
</$link>
</$set>
</div> </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"/> <$transclude tiddler="$:/core/ui/TiddlerInfo"/>
</$reveal> </$reveal>
</div> </div>

View File

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

View File

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