summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-03-26 17:34:15 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-03-26 17:34:15 +0900
commit79577c9ebbb155f77d30cdf27eb3382010ec322e (patch)
tree4b46fb37d55029dd3f3bc2c715e9473a09382e22
parentUpdate en.json (diff)
downloadmisskey-79577c9ebbb155f77d30cdf27eb3382010ec322e.tar.gz
misskey-79577c9ebbb155f77d30cdf27eb3382010ec322e.tar.bz2
misskey-79577c9ebbb155f77d30cdf27eb3382010ec322e.zip
l10n
-rw-r--r--locales/en.json4
-rw-r--r--locales/ja.json4
-rw-r--r--src/web/app/desktop/tags/home-widgets/donation.tag8
-rw-r--r--src/web/app/desktop/tags/timeline-post.tag5
4 files changed, 11 insertions, 10 deletions
diff --git a/locales/en.json b/locales/en.json
index 1d6d164ffa..19203c6669 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -109,6 +109,10 @@
"title": "Photostream",
"initializing": "Loading",
"no-photos": "No photos"
+ },
+ "mk-donation-home-widget": {
+ "title": "Donation",
+ "text": "To manage Misskey, we spend money for our domain, server, etc.. There's no incomes for us, so we need your tip. If you're interested, contact {}. Thank you for your contribution!"
}
}
}
diff --git a/locales/ja.json b/locales/ja.json
index 529b22fcde..b24517d912 100644
--- a/locales/ja.json
+++ b/locales/ja.json
@@ -109,6 +109,10 @@
"title": "フォトストリーム",
"initializing": "読み込んでいます",
"no-photos": "写真はありません"
+ },
+ "mk-donation-home-widget": {
+ "title": "寄付のお願い",
+ "text": "Misskeyの運営にはドメイン、サーバー等のコストが掛かります。Misskeyは広告を掲載したりしないため、収入を皆様からの寄付に頼っています。もしご興味があれば、{}までご連絡ください。ご協力ありがとうございます。"
}
}
}
diff --git a/src/web/app/desktop/tags/home-widgets/donation.tag b/src/web/app/desktop/tags/home-widgets/donation.tag
index 57c86a8751..d533e82831 100644
--- a/src/web/app/desktop/tags/home-widgets/donation.tag
+++ b/src/web/app/desktop/tags/home-widgets/donation.tag
@@ -1,11 +1,7 @@
<mk-donation-home-widget>
<article>
- <h1><i class="fa fa-heart"></i>寄付のお願い</h1>
- <p>
- Misskeyの運営にはドメイン、サーバー等のコストが掛かります。
- Misskeyは広告を掲載したりしないため、 収入を皆様からの寄付に頼っています。
- もしご興味があれば、<a href="/syuilo" data-user-preview="@syuilo">@syuilo</a>までご連絡ください。ご協力ありがとうございます。
- </p>
+ <h1><i class="fa fa-heart"></i>%i18n:desktop.tags.mk-donation-home-widget.title%</h1>
+ <p>{'%i18n:desktop.tags.mk-donation-home-widget.text%'.substr(0, '%i18n:desktop.tags.mk-donation-home-widget.text%'.indexOf('{'))}<a href="/syuilo" data-user-preview="@syuilo">@syuilo</a>{'%i18n:desktop.tags.mk-donation-home-widget.text%'.substr('%i18n:desktop.tags.mk-donation-home-widget.text%'.indexOf('}') + 1)}</p>
</article>
<style>
:scope
diff --git a/src/web/app/desktop/tags/timeline-post.tag b/src/web/app/desktop/tags/timeline-post.tag
index e83c117c2a..cd4f047faa 100644
--- a/src/web/app/desktop/tags/timeline-post.tag
+++ b/src/web/app/desktop/tags/timeline-post.tag
@@ -7,10 +7,7 @@
<a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username } data-user-preview={ post.user_id }>
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=32' } alt="avatar"/>
</a>
- <i class="fa fa-retweet"></i>
- { '%i18n:desktop.tags.mk-timeline-post.reposted-by%'.substr(0, '%i18n:desktop.tags.mk-timeline-post.reposted-by%'.indexOf('{')) }
- <a class="name" href={ CONFIG.url + '/' + post.user.username } data-user-preview={ post.user_id }>{ post.user.name }</a>
- { '%i18n:desktop.tags.mk-timeline-post.reposted-by%'.substr('%i18n:desktop.tags.mk-timeline-post.reposted-by%'.indexOf('}') + 1) }
+ <i class="fa fa-retweet"></i>{'%i18n:desktop.tags.mk-timeline-post.reposted-by%'.substr(0, '%i18n:desktop.tags.mk-timeline-post.reposted-by%'.indexOf('{'))}<a class="name" href={ CONFIG.url + '/' + post.user.username } data-user-preview={ post.user_id }>{ post.user.name }</a>{'%i18n:desktop.tags.mk-timeline-post.reposted-by%'.substr('%i18n:desktop.tags.mk-timeline-post.reposted-by%'.indexOf('}') + 1)}
</p>
<mk-time time={ post.created_at }></mk-time>
</div>