Panel
Fighter
webmaster
+2 votes
19 views

Compatibility test with Q2A lang files

I did compatibility test of Japanese translation files for Q2A.

You can apply translation files for Q2A to PowerQA. In particular, the error does not occur.

However, you need to change two things.

  1. Keys of some phrases has been changed ("q2a" >>> "pqa").
  2. You need to add some phrases for new features.

Below is the result of a language checker.


Checking Japanese - 日本語 files in qa-lang/ja...

Reading: qa-lang-admin.php, qa-lang-emails.php, qa-lang-main.php, qa-lang-misc.php, qa-lang-options.php, qa-lang-profile.php, qa-lang-question.php, qa-lang-users.php

qa-lang-admin.php:'q2a_build_date'   defined but not in US English files
qa-lang-admin.php:'q2a_db_size'   defined but not in US English files
qa-lang-admin.php:'q2a_db_version'   defined but not in US English files
qa-lang-admin.php:'q2a_latest_version'   defined but not in US English files
qa-lang-admin.php:'q2a_version'   defined but not in US English files
qa-lang-admin.php:'requires_q2a_version'   defined but not in US English files
qa-lang-admin.php:'version_requires_q2a'   defined but not in US English files
qa-lang-main.php:'date_day_min_digits'   identical to US English files
qa-lang-main.php:'date_year_digits'   identical to US English files
qa-lang-main.php:'written'   identical to US English files
qa-lang-options.php:'default_suffix'   identical to US English files
qa-lang-options.php:'site_text_direction'   defined but not in US English files
qa-lang-admin.php:'disable_all'   undefined so will use US English defaults
qa-lang-admin.php:'enable_all'   undefined so will use US English defaults
qa-lang-admin.php:'pqa_build_date'   undefined so will use US English defaults
qa-lang-admin.php:'pqa_db_size'   undefined so will use US English defaults
qa-lang-admin.php:'pqa_db_version'   undefined so will use US English defaults
qa-lang-admin.php:'pqa_latest_version'   undefined so will use US English defaults
qa-lang-admin.php:'pqa_version'   undefined so will use US English defaults
qa-lang-admin.php:'requires_pqa_version'   undefined so will use US English defaults
qa-lang-admin.php:'safemode_admin_only'   undefined so will use US English defaults
qa-lang-admin.php:'version_requires_pqa'   undefined so will use US English defaults
qa-lang-misc.php:'site_in_safemode'   undefined so will use US English defaults
qa-lang-options.php:'avatar_login_size'   undefined so will use US English defaults
qa-lang-options.php:'default_sub_title'   undefined so will use US English defaults
qa-lang-options.php:'max_rate_enabled'   undefined so will use US English defaults
qa-lang-options.php:'show_custom_css_in_head'   undefined so will use US English defaults
qa-lang-options.php:'show_custom_js_in_head'   undefined so will use US English defaults
qa-lang-options.php:'show_hide_sidepanel'   undefined so will use US English defaults
qa-lang-options.php:'show_reorder_menu_user'   undefined so will use US English defaults
qa-lang-options.php:'show_reorder_menu_main'   undefined so will use US English defaults
qa-lang-options.php:'show_reorder_menu_footer'   undefined so will use US English defaults
qa-lang-options.php:'site_icon'   undefined so will use US English defaults
qa-lang-options.php:'site_icon_height'   undefined so will use US English defaults
qa-lang-options.php:'site_icon_url'   undefined so will use US English defaults
qa-lang-options.php:'site_icon_width'   undefined so will use US English defaults
qa-lang-options.php:'site_theme_base'   undefined so will use US English defaults
qa-lang-options.php:'sub_title'   undefined so will use US English defaults

Japanese - 日本語 phrases to add to qa-lang/ja/qa-lang-admin.php:

Copy and paste this into the middle of qa-lang/ja/qa-lang-admin.php then translate the right-hand side after the => symbol.

'disable_all' => "Disable All",
'enable_all' => "Enable All",
'pqa_build_date' => "Build date:",
'pqa_db_size' => "Database size:",
'pqa_db_version' => "PQA database version:",
'pqa_latest_version' => "Latest version:",
'pqa_version' => "PowerQA version:",
'requires_pqa_version' => "Disabled - requires PowerQA ^ or later",
'safemode_admin_only' => "Your site is in safe mode. Please check ^1settings^2.",
'version_requires_pqa' => "^1 requires PQA ^2",


Japanese - 日本語 phrases to add to qa-lang/ja/qa-lang-misc.php:

Copy and paste this into the middle of qa-lang/ja/qa-lang-misc.php then translate the right-hand side after the => symbol.

'site_in_safemode' => "This site is currently moving at minimum configuration - please wait a minute.",

Japanese - 日本語 phrases to add to qa-lang/ja/qa-lang-options.php:

Copy and paste this into the middle of qa-lang/ja/qa-lang-options.php then translate the right-hand side after the => symbol.

'avatar_login_size' => "Avatar size on user navi:",
'default_sub_title' => "Sub title",
'max_rate_enabled' => "Enable rate limits:",
'show_custom_css_in_head' => "Custom CSS in  section of every page:",
'show_custom_js_in_head' => "Custom Javascript in  section of every page:",
'show_hide_sidepanel' => "Hide side panel (Regular expression of request URL):",
'show_reorder_menu_user' => "Reorder user menu (Comma-separated array key of qa-content):",
'show_reorder_menu_main' => "Reorder main menu (Comma-separated array key of qa-content):",
'show_reorder_menu_footer' => "Reorder footer menu (Comma-separated array key of qa-content):",
'site_icon' => "Show a site icon in the page header",
'site_icon_height' => "Icon height:",
'site_icon_url' => "URL of icon - absolute or relative to PQA root:",
'site_icon_width' => "Icon width:",
'site_theme_base' => "Site theme base:",
'sub_title' => "Sub title:",

image

by webmaster asked Aug 27, 2015 in Core

Please log in or register to add a comment.

Please log in or register to answer this question.

1 Answer

Fighter
webmaster
0 votes
The time required for correction was 1 hour.

image

by webmaster answered Aug 27, 2015

Please log in or register to add a comment.

Welcome to PowerQA. PowerQA is a new discussion software (not OSS). Here is a community for PowerQA developers. Current stable version is V1.8.6. It is enhanced day by day.

Statistics

  • 332 questions
  • 270 answers
  • 462 comments
  • 82 users

Post types

...