aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorRhenium <rhenium@rhe.jp>2013-08-08 08:57:00 +0900
committerRhenium <rhenium@rhe.jp>2013-08-08 08:57:00 +0900
commit4d5bfd54961c3713ab8142366556db0d2f64a1b1 (patch)
tree3e79cfb32e98cdb290a63c5ce9fdd058c2ab5c22 /app/views
parenta4d982936788213f295e74b16189df15880c9e53 (diff)
downloadaclog-4d5bfd54961c3713ab8142366556db0d2f64a1b1.tar.gz
prepare for localization
Diffstat (limited to 'app/views')
-rw-r--r--app/views/about/about.html.haml12
-rw-r--r--app/views/settings/index.html.haml6
-rw-r--r--app/views/shared/sidebar/_users.html.haml2
3 files changed, 5 insertions, 15 deletions
diff --git a/app/views/about/about.html.haml b/app/views/about/about.html.haml
index a15ce75..d7dc685 100644
--- a/app/views/about/about.html.haml
+++ b/app/views/about/about.html.haml
@@ -1,19 +1,9 @@
%p
- = link_to "Favstar", "http://favstar.fm/"
- というサービスがあります。このサービスはとても便利なのですが、「ShootingStar というクライアントを使った」という理由で私のアカウントが BAN されてしまいました。
- そのため代わりになるように作ったサービスです。
+ Twitter API の UserStreams というものを使い、登録ユーザーのお気に入り登録・自分のツイートのお気に入り登録され・リツイート・リツイートされをリアルタイムで記録し、集計して表示することができるサービスです。
%p
= link_to "@KOBA789", "https://twitter.com/KOBA789"
さんにサーバーを借りています。ありがとうございます...!
%p
The MIT License
= link_to "GitHub", "https://github.com/rhenium/aclog"
-%p
- 使用しているもの
- %ul
- %li
- 読み込み中アニメーションGIF
- %span= link_to "http://www.ajaxload.info/", "http://www.ajaxload.info/"
-%p
- Favstar のパスにアクセスされた場合リダイレクトするようになっているはずです
diff --git a/app/views/settings/index.html.haml b/app/views/settings/index.html.haml
index 375bba9..0b334cb 100644
--- a/app/views/settings/index.html.haml
+++ b/app/views/settings/index.html.haml
@@ -1,10 +1,10 @@
%h1 settings
= form_tag "/i/settings/update", method: :post do
= check_box_tag :notification, true, @account.notification
- = label_tag :notification, "通知を有効にする"
+ = label_tag :notification, t("views.settings.enable_notification")
= check_box_tag :private, true, @account.private
- = label_tag :private, "best を非公開にする"
+ = label_tag :private, t("views.settings.hide_best")
= submit_tag
-= link_to "Deactivate my account", controller: "settings", action: "confirm_deactivation"
+= link_to t("views.settings.confirm_deactivation"), controller: "settings", action: "confirm_deactivation"
diff --git a/app/views/shared/sidebar/_users.html.haml b/app/views/shared/sidebar/_users.html.haml
index a5fdc00..fac7e5d 100644
--- a/app/views/shared/sidebar/_users.html.haml
+++ b/app/views/shared/sidebar/_users.html.haml
@@ -19,7 +19,7 @@
%span.data= @user.stats.since_join.to_s + "d ago"
- else
.alert.alert-info
- = "@#{@user.screen_name} has never signed in to aclog"
+ = "@#{@user.screen_name} #{t("views.sidebar.user_not_registered")}"
.user_nav
%ul.nav.nav-tabs.nav-stacked
- if authorized_to_show_best?(@user)