omise / omise-opencart

Omise OpenCart Plugin
https://docs.opn.ooo/opencart-plugin
MIT License
10 stars 11 forks source link

Plugin - Japanese translation #22

Closed guzzilar closed 1 year ago

guzzilar commented 8 years ago

Translate plugin to Japanese language according to this file: https://github.com/omise/omise-opencart/blob/feature/translation/src/admin/language/english/payment/omise.php

// Module title

Code English Japanese
heading_title Omise Payment Gateway -

// Labels

Code English Japanese
label_tab_dashboard Dashboard -
label_tab_setting Setting -
label_tab_plugin_version Plugin Version -
label_tab_charge Charge -
label_tab_transfer Transfer -
label_dashboard_account Account -
label_dashboard_mode Mode -
label_dashboard_currency Currency -
label_dashboard_total_balance Total Balance -
label_dashboard_transferable_balance Transferable Balance -
label_dashboard_transactions_history Transactions History -
label_charge_table_no No. -
label_charge_table_amount Amount -
label_charge_table_id Charge Id -
label_charge_table_authorized Authorized -
label_charge_table_paid Paid -
label_charge_table_failure_message Failure Message -
label_charge_table_created Created -
label_transfer_table_no No. -
label_transfer_table_amount Amount -
label_transfer_table_id Transfer Id -
label_transfer_table_sent Sent -
label_transfer_table_paid Paid -
label_transfer_table_failure_message Failure Message -
label_transfer_table_created Created -
label_transfer_amount_field_placeholder Transfer amount (number only) -
label_setting_module_config Module Config -
label_setting_module_status Module Status -
label_setting_key_config Omise Keys Config -
label_setting_omise_config Omise Advance Integration -

// Omise's labels

Code English Japanese
label_omise_pkey_test Public Key for test -
label_omise_skey_test Secret Key for test -
label_omise_mode_test Enable test mode -
label_omise_mode_live Enable live mode -
label_omise_pkey Public Key -
label_omise_skey Secret Key -
label_omise_3ds Enable 3D-Secure -
label_omise_payment_title Payment method title -

// Messages

Code English Japanese
text_mode_test Test -
text_mode_live Live -
text_enabled Enabled -
text_disabled Disabled -
text_checking_for_latest_version Checking for latest version... -
text_version_up_to_date Your Omise-OpenCart version is up to date. -

// Action buttons

Code English Japanese
button_save Save -
button_cancel Cancel -
button_create_transfer Create transfer -

// Errors

Code English Japanese
error_extension_disabled Please enable Omise Payment Gateway extension (check \'Setting\' tab). -
error_currency_thb_not_found Thai Baht (THB) currency was not found from your system. setup or learn more -
error_currency_jpy_not_found Japanese Yen (JPY) currency was not found from your system. setup or learn more -
error_currency_not_support Currently, we only support Thai Baht (THB) and Japanese Yen (JPY). Your default currency is %s. setup or learn more -

// Omise's API errors

Code English Japanese
error_omise_account_authentication_failed Omise\'s authentication keys are wrong -
ryoko-omise commented 8 years ago

Translated and added some comments. It may need some modification after seeing actual GUI.

<?php
// Module title
$_['heading_title']                             = 'Omiseペイメントゲートウェイ';
$_['text_omise']                                = '<a href="https://www.omise.co" target="_blank" style="border: 1px solid #EEEEEE; padding: 2px; width: 94px; max-height:25px; display: inline-block;" alt="Omise Payment Gateway"" title="Omise Payment Gateway"><img src="view/image/payment/omise-payment.png" alt="Omise Payment Gateway"" title="Omise Payment Gateway" style="max-height:18px;" /></a>';
// Labels
$_['label_tab_dashboard']                       = 'ダッシュボード';
$_['label_tab_setting']                         = '設定';
$_['label_tab_plugin_version']                  = 'プラグインバージョン';
$_['label_tab_charge']                          = '課金';
$_['label_tab_transfer']                        = '振込';
$_['label_dashboard_account']                   = 'アカウント';
$_['label_dashboard_mode']                      = 'モード';
$_['label_dashboard_currency']                  = '通貨';
$_['label_dashboard_total_balance']             = '総残高';
$_['label_dashboard_transferable_balance']      = '振込可能残高';
$_['label_dashboard_transactions_history']      = '決済履歴';
$_['label_charge_table_no']                     = 'No.';
$_['label_charge_table_amount']                 = '金額';
$_['label_charge_table_id']                     = '課金ID';
$_['label_charge_table_authorized']             = '認証済';
$_['label_charge_table_paid']                   = '支払済';
$_['label_charge_table_failure_message']        = '失敗メッセージ';
$_['label_charge_table_created']                = '作成済み';
$_['label_transfer_table_no']                   = 'No.';
$_['label_transfer_table_amount']               = '金額';
$_['label_transfer_table_id']                   = '振込ID';
$_['label_transfer_table_sent']                 = '送信済';
$_['label_transfer_table_paid']                 = '振込済';
$_['label_transfer_table_failure_message']      = '失敗メッセージ';
$_['label_transfer_table_created']              = '作成済';
$_['label_transfer_amount_field_placeholder']   = '振込金額 (数字のみ)';  # <--- Is "number only" note necessary?
$_['label_setting_module_config']               = 'モジュール設定';
$_['label_setting_module_status']               = 'モジュール状況';
$_['label_setting_key_config']                  = 'Omise キー設定';
$_['label_setting_omise_config']                = 'Omise 統合サービス';  # <--- what is this?
// Omise's labels
$_['label_omise_pkey_test']                     = '試験用パブリックキー';
$_['label_omise_skey_test']                     = '試験用シークレットキー';
$_['label_omise_mode_test']                     = 'テストモードの有効化';
$_['label_omise_mode_live']                     = 'ライブモードの有効化';
$_['label_omise_pkey']                          = 'パブリックキー';
$_['label_omise_skey']                          = 'シークレットキー';
$_['label_omise_3ds']                           = '3Dセキュアの有効化';  # <--- could you pls disable this option for JPY or add comment? Japan PSP does not support 3DS at the moment
$_['label_omise_payment_title']                 = '決済方法';  # <--- what is this?
// Messages
$_['text_mode_test']                            = 'テスト';
$_['text_mode_live']                            = 'ライブ';
$_['text_enabled']                              = '有効化';
$_['text_disabled']                             = '無効化';
$_['text_checking_for_latest_version']          = '最新のバージョンを確認しています';
$_['text_version_up_to_date']                   = 'お使いの Omise-OpenCart のバージョンは最新です';
// Action buttons
$_['button_save']                               = '保存';
$_['button_cancel']                             = 'キャンセル';
$_['button_create_transfer']                    = '振込の要求';
// Errors
$_['error_extension_disabled']                  = 'Omiseペイメントゲートウェイの extension を有効化してください(\'設定\' タブを確認してください)';
$_['error_currency_thb_not_found']              = 'タイバーツ(THB) は利用可能な設定となっていません。<a href="%s">セットアップ</a> もしくは <a href="http://docs.opencart.com/system/localisation/currency">詳しく知る</a>';
$_['error_currency_jpy_not_found']              = '日本円(JPY) は利用可能な設定となっていません。<a href="%s">セットアップ</a> もしくは <a href="http://docs.opencart.com/system/localisation/currency">詳しく知る</a>';
$_['error_currency_not_support']                = '現在、対応可能な通貨はタイバーツ(THB)と日本円(JPY)のみとなっております。あなたのデフォルト通貨は<strong>%s</strong>に設定されています。<a href="%s">セットアップ</a> もしくは <a href="http://docs.opencart.com/system/setting/local">詳しく知る</a>';
// Omise's API errors
$_['error_omise_account_authentication_failed'] = 'Omiseの承認キーが正しくありません';  # <--- what is authentication key?
// Breadcrumb menu.
$_['text_home']                         = 'ホーム';
$_['text_payment']                      = '決済';
$_['button_setting']                    = '設定';
// Session message
$_['text_session_save']                 = '保存されました';
$_['text_session_error']                = '問題が発生しました';
// 3. Transfer API Response
$_['api_transfer_success']              = '振込要求が送信されました';
/**
 * Error Message.
 *
 */
$_['error_omise_table_install_failed']  = 'Omiseテーブルが作れません。問題が発生しました。';
$_['error_needed_post_request']         = '振込金額に問題があります。';
$_['error_need_amount_value']           = '振込希望金額を入力、送信してください。';
?>