From 49ab19c342701bc08f5674302c8aab50186a1d5b Mon Sep 17 00:00:00 2001
From: Hakaba Hitoyo <hakabahitoyo@example.com>
Date: Tue, 4 Sep 2018 10:59:02 +0900
Subject: [PATCH] features panel i18n

---
 .../features_panel/features_panel.vue         | 16 +++++++--------
 src/i18n/messages.js                          | 20 +++++++++++++++++++
 2 files changed, 28 insertions(+), 8 deletions(-)

diff --git a/src/components/features_panel/features_panel.vue b/src/components/features_panel/features_panel.vue
index 5c532f1ab..c191d66b9 100644
--- a/src/components/features_panel/features_panel.vue
+++ b/src/components/features_panel/features_panel.vue
@@ -3,18 +3,18 @@
     <div class="panel panel-default base01-background">
       <div class="panel-heading timeline-heading base02-background base04">
         <div class="title">
-          Features
+          {{$t('features_panel.title')}}
         </div>
       </div>
       <div class="panel-body features-panel">
         <ul>
-          <li v-if="chat">Chat</li>
-          <li v-if="gopher">Gopher</li>
-          <li v-if="whoToFollow">Who to follow</li>
-          <li v-if="mediaProxy">Media proxy</li>
-          <li v-if="scopeOptions">Scope options</li>
-          <li v-if="formattingOptions">Formatting options</li>
-          <li>Text limit = {{textlimit}}</li>
+          <li v-if="chat">{{$t('features_panel.chat')}}</li>
+          <li v-if="gopher">{{$t('features_panel.gopher')}}</li>
+          <li v-if="whoToFollow">{{$t('features_panel.who_to_follow')}}</li>
+          <li v-if="mediaProxy">{{$t('features_panel.media_proxy')}}</li>
+          <li v-if="scopeOptions">{{$t('features_panel.scope_options')}}</li>
+          <li v-if="formattingOptions">{{$t('features_panel.formatting_options')}}</li>
+          <li>{{$t('features_panel.text_limit')}} = {{textlimit}}</li>
         </ul>
       </div>
     </div>
diff --git a/src/i18n/messages.js b/src/i18n/messages.js
index 42e7e9d4c..76c093a31 100644
--- a/src/i18n/messages.js
+++ b/src/i18n/messages.js
@@ -419,6 +419,16 @@ const en = {
   who_to_follow: {
     who_to_follow: 'Who to follow',
     more: 'More'
+  },
+  features_panel: {
+    title: 'Features',
+    chat: 'Chat',
+    gopher: 'Gopher',
+    who_to_follow: 'Who to follow',
+    media_proxy: 'Media proxy',
+    scope_options: 'Scope options',
+    formatting_options: 'Formatting options',
+    text_limit: 'Text limit'
   }
 }
 
@@ -943,6 +953,16 @@ const ja = {
   who_to_follow: {
     who_to_follow: 'おすすめユーザー',
     more: 'くわしく'
+  },
+  features_panel: {
+    title: 'ゆうこうなきのう',
+    chat: 'チャット',
+    gopher: 'Gopher',
+    who_to_follow: 'おすすめユーザー',
+    media_proxy: 'メディアプロクシ',
+    scope_options: 'こうかいはんい',
+    formatting_options: 'リッチテキスト',
+    text_limit: 'もじのかず'
   }
 }
 
-- 
GitLab