Skip to content

Instantly share code, notes, and snippets.

@codingwithsara
Created December 14, 2018 01:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codingwithsara/cbac65dd31a649c9a8a531618491a658 to your computer and use it in GitHub Desktop.
Save codingwithsara/cbac65dd31a649c9a8a531618491a658 to your computer and use it in GitHub Desktop.
WordPress Quiz Cat のカスタマイズと日本語化
// ここから
if ( defined ('FCA_QC_PLUGIN_DIR') ) {
//FILTERABLE FRONT-END STRINGS
$global_quiz_text_strings = array (
'no_quiz_found' => __('クイズがみつかりません', 'quiz-cat'),
'correct' => __('正解!', 'quiz-cat'),
'wrong' => __('不正解...', 'quiz-cat'),
'your_answer' => __('あなたの回答:', 'quiz-cat'),
'correct_answer' => __('正解:', 'quiz-cat'),
'question' => __('問題', 'quiz-cat'),
'next' => __('Next', 'quiz-cat'),
'you_got' => __('You got', 'quiz-cat'),
'out_of' => __('out of', 'quiz-cat'),
'your_answers' => __('Your Answers', 'quiz-cat'),
'start_quiz' => __('START', 'quiz-cat'),
'retake_quiz' => __('Retake Quiz', 'quiz-cat'),
'share_results' => __('SHARE YOUR RESULTS', 'quiz-cat'),
'i_got' => __('I got', 'quiz-cat'),
'skip_this_step' => __('Skip this step', 'quiz-cat'),
'your_name' => __('Your Name', 'quiz-cat'),
'your_email' => __('Your Email', 'quiz-cat'),
'share' => __('Share', 'quiz-cat'),
'tweet' => __('Tweet', 'quiz-cat'),
'pin' => __('Pin', 'quiz-cat'),
'email' => __('Email', 'quiz-cat')
);
}
// ここまで追加
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment