Add i18n locale (#6)
parent
7378190660
commit
1ef00890f9
@ -1,2 +1,5 @@ |
||||
require 'i18n' |
||||
I18n.load_path += Dir[File.expand_path('../omniauth/mastodon/locale/*.yml', __FILE__)] |
||||
|
||||
require 'omniauth/mastodon/version' |
||||
require 'omniauth/strategies/mastodon' |
||||
|
@ -0,0 +1,6 @@ |
||||
en: |
||||
omniauth: |
||||
mastodon: |
||||
title: 'Mastodon Login' |
||||
text: 'Your full Mastodon identifier (username@domain)' |
||||
button: 'Login' |
@ -0,0 +1,6 @@ |
||||
ja: |
||||
omniauth: |
||||
mastodon: |
||||
title: 'Mastodon ログイン' |
||||
text: 'ドメインを含めたIDを入力してください (例: username@domain)' |
||||
button: 'ログイン' |
Loading…
Reference in new issue