diff options
| author | Hakaba Hitoyo <hakabahitoyo@example.com> | 2018-09-04 10:59:02 +0900 |
|---|---|---|
| committer | Hakaba Hitoyo <hakabahitoyo@example.com> | 2018-09-04 10:59:02 +0900 |
| commit | 49ab19c342701bc08f5674302c8aab50186a1d5b (patch) | |
| tree | 9d25b76fa30cf7f2230f88ee3bb841906eb53011 /src | |
| parent | 65115bfc7f991b9203724eab67f73a34259cf6b2 (diff) | |
features panel i18n
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/features_panel/features_panel.vue | 16 | ||||
| -rw-r--r-- | 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 5c532f1a..c191d66b 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 42e7e9d4..76c093a3 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: 'もじのかず' } } |
