1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-20 22:16:52 +00:00

i18n: add more l10n

This commit is contained in:
linonetwo 2024-02-06 21:36:51 +08:00
parent 810b5d5c3e
commit 2579d7f59a
3 changed files with 18 additions and 8 deletions

View File

@ -8,3 +8,5 @@ Readonly: <$reveal state="$:/status/IsReadOnly" type="match" text="yes" default=
Login: Login
Logout: Logout
SaveSnapshot: Save snapshot for offline use
Refresh/Label: Refresh from server
Refresh/Button: Get latest changes from the server

View File

@ -8,3 +8,5 @@ Readonly: <$reveal state="$:/status/IsReadOnly" type="match" text="yes" default=
Login: 登录
Logout: 登出
SaveSnapshot: 保存快照以供离线使用
Refresh/Label: 从服务器刷新
Refresh/Button: 从服务器获取最新变更

View File

@ -1,11 +1,17 @@
title: $:/plugins/tiddlywiki/tiddlyweb/syncer-actions/refresh
tags: $:/tags/SyncerDropdown
\define lingo-base() $:/plugins/tiddlywiki/tiddlyweb/language/
<$reveal state="$:/status/IsLoggedIn" type="match" text="yes">
<$button tooltip="Get latest changes from the server" aria-label="Refresh from server" class="tc-btn-invisible">
<$action-sendmessage $message="tm-server-refresh"/>
{{$:/core/images/refresh-button}}<span class="tc-btn-text"><$text text="Get latest changes from the server"/></span>
</$button>
</$reveal>
\whitespace trim
<$let lingo-base="$:/plugins/tiddlywiki/tiddlyweb/language/">
<$wikify name=buttonText text="<<lingo Refresh/Button>>">
<$wikify name=ariaLabel text="<<lingo Refresh/Label>>">
<$reveal state="$:/status/IsLoggedIn" type="match" text="yes">
<$button tooltip=<<ariaLabel>> aria-label=<<ariaLabel>> class="tc-btn-invisible">
<$action-sendmessage $message="tm-server-refresh"/>
{{$:/core/images/refresh-button}}
<span class="tc-btn-text"><<buttonText>></span>
</$button>
</$reveal>
</$wikify>
</$wikify>
</$let>