Put form.swap.hint into translation files.
[timetracker.git] / WEB-INF / resources / ja.lang.php
index 6aab0c8..1edccd0 100644 (file)
@@ -29,7 +29,7 @@
 // Note: escape apostrophes with THREE backslashes, like here:  choisir l\\\'option.
 // Other characters (such as double-quotes in http links, etc.) do not have to be escaped.
 
-$i18n_language = '日本語';
+$i18n_language = 'Japanese (日本語)';
 $i18n_months = array('1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月');
 $i18n_weekdays = array('日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日');
 $i18n_weekdays_short = array('日', '月', '火', '水', '木', '金', '土');
@@ -91,15 +91,18 @@ $i18n_key_words = array(
 // 'error.record' => 'Select record.',
 'error.auth' => '不正確なログインあるいはパスワードが不正確です。',
 'error.user_exists' => 'このログインと関連されたユーザーは既に存在します。',
+// TODO: translate the following.
+// 'error.object_exists' => 'Object with this name already exists.',
 'error.project_exists' => 'この名前のプロジェクトは既に存在します。',
 // TODO: translate the following.
 // 'error.task_exists' => 'Task with this name already exists.',
 // 'error.client_exists' => 'Client with this name already exists.',
 // 'error.invoice_exists' => 'Invoice with this number already exists.',
+// TODO: translate the following.
+// 'error.role_exists' => 'Role with this rank already exists.',
 // 'error.no_invoiceable_items' => 'There are no invoiceable items.',
 'error.no_login' => 'このログインと関連されたユーザーはいません。',
-// TODO: translate the following.
-// 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.',
+'error.no_teams' => 'あなたのデータベースは空いています。管理者にログインして新規チームを作成してください。',
 'error.upload' => 'ファイルのアップロードのエラー。',
 // TODO: translate the following.
 // 'error.range_locked' => 'Date range is locked.',
@@ -119,14 +122,8 @@ $i18n_key_words = array(
 // 'button.copy' => 'Copy',
 'button.cancel' => 'キャンセル',
 'button.submit' => '送信',
-// TODO: translate the following.
-// 'button.add_user' => 'Add user',
-// 'button.add_project' => 'Add project',
-// 'button.add_task' => 'Add task',
-// 'button.add_client' => 'Add client',
-// 'button.add_invoice' => 'Add invoice',
-// 'button.add_option' => 'Add option',
 'button.add' => '追加',
+'button.delete' => '削除',
 'button.generate' => '生成',
 // TODO: translate the following.
 // 'button.reset_password' => 'Reset password',
@@ -163,6 +160,8 @@ $i18n_key_words = array(
 'label.end_date' => '終了日付',
 'label.user' => 'ユーザー',
 'label.users' => 'ユーザー',
+// TODO: translate the following.
+// 'label.roles' => 'Roles',
 'label.client' => 'クライアント',
 'label.clients' => 'クライアント',
 'label.option' => 'オプション',
@@ -181,14 +180,13 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'label.item' => 'Item',
 // 'label.cost' => 'Cost',
+// 'label.ip' => 'IP',
 // 'label.day_total' => 'Day total',
 'label.week_total' => '週合計',
 // TODO: translate the following.
 // 'label.month_total' => 'Month total',
 'label.today' => '今日',
 // TODO: translate the following.
-// 'label.total_hours' => 'Total hours',
-// 'label.total_cost' => 'Total cost',
 // 'label.view' => 'View',
 'label.edit' => '編集',
 'label.delete' => '削除',
@@ -199,7 +197,7 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'label.day_view' => 'Day view',
 // 'label.week_view' => 'Week view',
-// 'label.id' => 'ID',
+'label.id' => '識別子',
 'label.language' => '言語',
 // TODO: translate the following.
 // 'label.decimal_mark' => 'Decimal mark',
@@ -240,7 +238,7 @@ $i18n_key_words = array(
 // 'label.required' => 'Required',
 'label.fav_report' => 'お気に入りレポート',
 // TODO: translate the following.
-// 'label.cron_schedule' => 'Cron schedule',
+// 'label.schedule' => 'Schedule',
 // 'label.what_is_it' => 'What is it?',
 // 'label.expense' => 'Expense',
 // 'label.quantity' => 'Quantity',
@@ -252,17 +250,18 @@ $i18n_key_words = array(
 
 // Form titles.
 'title.login' => 'ログイン',
+'title.teams' => 'チーム',
 // TODO: translate the following.
-// 'title.teams' => 'Teams',
 // 'title.create_team' => 'Creating Team',
 // 'title.edit_team' => 'Editing Team',
-// 'title.delete_team' => 'Deleting Team',
+'title.delete_team' => 'チームの削除',
 'title.reset_password' => 'パスワードの初期化',
 // TODO: translate the following.
 // 'title.change_password' => 'Changing Password',
-// 'title.time' => 'Time',
-// 'title.edit_time_record' => 'Editing Time Record',
-// 'title.delete_time_record' => 'Deleting Time Record',
+'title.time' => '時間',
+'title.edit_time_record' => '時間レコードの編集',
+'title.delete_time_record' => '時間レコードの削除',
+// TODO: translate the following.
 // 'title.expenses' => 'Expenses',
 // 'title.edit_expense' => 'Editing Expense Item',
 // 'title.delete_expense' => 'Deleting Expense Item',
@@ -270,8 +269,9 @@ $i18n_key_words = array(
 // 'title.add_predefined_expense' => 'Adding Predefined Expense',
 // 'title.edit_predefined_expense' => 'Editing Predefined Expense',
 // 'title.delete_predefined_expense' => 'Deleting Predefined Expense',
-// 'title.reports' => 'Reports',
-// 'title.report' => 'Report',
+'title.reports' => 'レポート',
+'title.report' => 'レポート',
+// TODO: translate the following.
 // 'title.send_report' => 'Sending Report',
 'title.invoice' => '送り状',
 // TODO: translate the following.
@@ -287,10 +287,14 @@ $i18n_key_words = array(
 // 'title.edit_task' => 'Editing Task',
 // 'title.delete_task' => 'Deleting Task',
 'title.users' => 'ユーザー',
-// TODO: translate the following.
-// 'title.add_user' => 'Adding User',
-// 'title.edit_user' => 'Editing User',
-// 'title.delete_user' => 'Deleting User',
+'title.add_user' => 'ユーザーの作成',
+'title.edit_user' => 'ユーザーの編集',
+'title.delete_user' => 'ユーザーの削除',
+// TODO: translate the following.
+// 'title.roles' => 'Roles',
+// 'title.add_role' => 'Adding Role',
+// 'title.edit_role' => 'Editing Role',
+// 'title.delete_role' => 'Deleting Role',
 'title.clients' => 'クライアント',
 'title.add_client' => 'クライアントの追加',
 'title.edit_client' => 'クライアントの編集',
@@ -322,6 +326,7 @@ $i18n_key_words = array(
 // It is also a name for the Locking plugin on the Team profile page.
 // 'title.locking' => 'Locking',
 // 'title.week_view' => 'Week View',
+// 'title.swap_roles' => 'Swapping Roles',
 
 // Section for common strings inside combo boxes on forms. Strings shared between forms shall be placed here.
 // Strings that are used in a single form must go to the specific form section.
@@ -348,21 +353,24 @@ $i18n_key_words = array(
 // 'dropdown.select_invoice' => '--- select invoice ---',
 // 'dropdown.status_active' => 'active',
 // 'dropdown.status_inactive' => 'inactive',
-// 'dropdown.delete'=>'delete',
-// 'dropdown.do_not_delete'=>'do not delete',
+// 'dropdown.delete' => 'delete',
+// 'dropdown.do_not_delete' => 'do not delete',
 // 'dropdown.paid' => 'paid',
 // 'dropdown.not_paid' => 'not paid',
 
 // Login form. See example at https://timetracker.anuko.com/login.php.
 'form.login.forgot_password' => 'パスワードを忘れましたか?',
 // TODO: translate the following.
-// 'form.login.about' =>'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> is a simple, easy to use, open source time tracking system.',
+// 'form.login.about' => 'Anuko <a href="https://www.anuko.com/lp/tt_2.htm" target="_blank">Time Tracker</a> is a simple, easy to use, open source time tracking system.',
 
 // Resetting Password form. See example at https://timetracker.anuko.com/password_reset.php.
 'form.reset_password.message' => '送信したパスワードの初期化の要求。', // TODO: add "by email" to match the English string.
 'form.reset_password.email_subject' => 'Anuko Time Trackerのパスワードの初期化の要求',
 // TODO: translate the ending of this string.
-'form.reset_password.email_body' => "尊敬なるお客様、\n\n誰から(多分あなた)あなたのAnuko Time Trackerのパスワードの初期化が要求されました。あなたのパスワードを初期化しようとこのリンクを押してください。\n\n%s\n\nAnuko Time Tracker is a simple, easy to use, open source time tracking system. Visit https://www.anuko.com for more information.\n\n",
+// TODO: English string has changed. "from IP added. Re-translate the beginning.
+// 'form.reset_password.email_body' => "Dear User,\n\nSomeone from IP %s requested your Anuko Time Tracker password reset. Please visit this link if you want to reset your password.\n\n%s\n\nAnuko Time Tracker is a simple, easy to use, open source time tracking system. Visit https://www.anuko.com for more information.\n\n",
+// Older translation is below.
+// 'form.reset_password.email_body' => "尊敬なるお客様、\n\n誰から(多分あなた)あなたのAnuko Time Trackerのパスワードの初期化が要求されました。あなたのパスワードを初期化しようとこのリンクを押してください。\n\n%s\n\nAnuko Time Tracker is a simple, easy to use, open source time tracking system. Visit https://www.anuko.com for more information.\n\n",
 
 
 // Changing Password form. See example at https://timetracker.anuko.com/password_change.php?ref=1.
@@ -371,16 +379,15 @@ $i18n_key_words = array(
 
 // Time form. See example at https://timetracker.anuko.com/time.php.
 // TODO: translate the following.
-// 'form.time.duration_format' => '(hh:mm or 0.0h)',
+'form.time.duration_format' => '(hh:mm あるいは 0.0h)', // TODO: is there a better term for hh:mm as a hint to user what to enter?
 'form.time.billable' => '請求できる',
+'form.time.uncompleted' => '未完成の',
 // TODO: translate the following.
-// 'form.time.uncompleted' => 'Uncompleted',
 // 'form.time.remaining_quota' => 'Remaining quota',
 // 'form.time.over_quota' => 'Over quota',
 
 // Editing Time Record form. See example at https://timetracker.anuko.com/time_edit.php (get there by editing an uncompleted time record).
-// TODO: translate the following.
-// 'form.time_edit.uncompleted' => 'This record was saved with only start time. It is not an error.',
+'form.time_edit.uncompleted' => 'このレコードは開始時間だけで保存されました。これはエラーではありません。',
 
 // Week view form. See example at https://timetracker.anuko.com/week.php.
 // TODO: translate the following.
@@ -445,11 +452,20 @@ $i18n_key_words = array(
 // 'form.users.active_users' => 'Active Users',
 // 'form.users.inactive_users' => 'Inactive Users',
 // 'form.users.uncompleted_entry' => 'User has an uncompleted time entry',
-// 'form.users.role' => 'Role',
-// 'form.users.manager' => 'Manager',
-// 'form.users.comanager' => 'Co-manager',
-// 'form.users.rate' => 'Rate',
-// 'form.users.default_rate' => 'Default hourly rate',
+'form.users.role' => '役割', // TODO: is this correct?
+'form.users.manager' => '管理者',
+'form.users.comanager' => '共同管理者',
+'form.users.rate' => '給料',
+'form.users.default_rate' => 'デフォルト時間当り給料',
+
+// Roles form. See example at https://timetracker.anuko.com/roles.php
+// TODO: translate the following.
+// 'form.roles.active_roles' => 'Active Roles',
+// 'form.roles.inactive_roles' => 'Inactive Roles',
+// 'form.roles.rank' => 'Rank',
+// 'form.roles.rights' => 'Rights',
+// 'form.roles.assigned' => 'Assigned',
+// 'form.roles.not_assigned' => 'Not assigned',
 
 // Clients form. See example at https://timetracker.anuko.com/clients.php
 // TODO: translate the following.
@@ -477,8 +493,10 @@ $i18n_key_words = array(
 
 // Profile form. See example at https://timetracker.anuko.com/profile_edit.php.
 // TODO: translate the following.
+// 'form.profile.swap_roles' => 'Swap roles',
 // 'form.profile.12_hours' => '12 hours',
 // 'form.profile.24_hours' => '24 hours',
+// 'form.profile.show_holidays' => 'Show holidays',
 // 'form.profile.tracking_mode' => 'Tracking mode',
 // 'form.profile.mode_time' => 'time',
 // 'form.profile.mode_projects' => 'projects',
@@ -487,21 +505,22 @@ $i18n_key_words = array(
 // 'form.profile.type_all' => 'all',
 // 'form.profile.type_start_finish' => 'start and finish',
 // 'form.profile.type_duration' => 'duration',
+// 'form.profile.punch_mode' => 'Punch mode',
+// 'form.profile.allow_overlap' => 'Allow overlap',
+// 'form.profile.future_entries' => 'Future entries',
 // 'form.profile.uncompleted_indicators' => 'Uncompleted indicators',
-// 'form.profile.uncompleted_indicators_none' => 'do not show',
-// 'form.profile.uncompleted_indicators_show' => 'show',
 // 'form.profile.plugins' => 'Plugins',
 
 // Mail form. See example at https://timetracker.anuko.com/report_send.php when emailing a report.
+'form.mail.from' => 'から',
+'form.mail.to' => 'まで',
 // TODO: translate the following.
-// 'form.mail.from' => 'From',
-// 'form.mail.to' => 'To',
 // 'form.mail.report_subject' => 'Time Tracker Report',
 // 'form.mail.footer' => 'Anuko Time Tracker is a simple, easy to use, open source<br>time tracking system. Visit <a href="https://www.anuko.com">www.anuko.com</a> for more information.',
 // 'form.mail.report_sent' => 'Report sent.',
-// 'form.mail.invoice_sent' => 'Invoice sent.',
+'form.mail.invoice_sent' => '送信した送り状。',
 
-// Quotas configuration form.
+// Quotas configuration form. See example at https://timetracker.anuko.com/quotas.php after enabling Monthly quotas plugin.
 // TODO: translate the following.
 // 'form.quota.year' => 'Year',
 // 'form.quota.month' => 'Month',
@@ -509,59 +528,32 @@ $i18n_key_words = array(
 // 'form.quota.workday_hours' => 'Hours in work day',
 // 'form.quota.hint' => 'If values are empty, quotas are calculated automatically based on workday hours and holidays.',
 
-
-
-// TODO: refactoring ongoing down from here.
-
-// administrator form
-"form.admin.profile.title" => 'チーム',
-"form.admin.profile.noprofiles" => 'あなたのデータベースは空いています。管理者にログインして新規チームを作成してください。',
-"form.admin.profile.comment" => 'チームの削除',
-"form.admin.profile.th.id" => '識別子',
-"form.admin.profile.th.active" => '活動内容',
-
-// my time form attributes
-"form.mytime.title" => '私の時間',
-"form.mytime.edit_title" => '時間レコードの編集',
-"form.mytime.del_str" => '時間レコードの削除',
-"form.mytime.time_form" => ' (hh:mm)',
-"form.mytime.total" => '合計時間: ',
-"form.mytime.del_yes" => '時間レコードが成功的に削除されました',
-"form.mytime.no_finished_rec" => 'このレコードは開始時間だけで保存されました。これはエラーではありません。もし必要があればログアウトしてください。',
-"form.mytime.warn_tozero_rec" => 'この時間レコードの期間が満了されましたから、この時間レコードは削除されることが必要です',
-"form.mytime.uncompleted" => '未完成の',
-
-// profile form attributes
-// Note to translators: we need a more accurate translation of form.profile.create_title
-"form.profile.create_title" => '新規管理者のアカウントの作成',
-"form.profile.edit_title" => 'プロファイルの編集',
-"form.profile.showchart" => 'パイ図表の表示',
-
-// people form attributes
-"form.people.ppl_str" => 'メンバー',
-"form.people.createu_str" => '新規ユーザーの作成',
-"form.people.edit_str" => 'ユーザーの編集',
-"form.people.del_str" => 'ユーザーの削除',
-"form.people.th.role" => 'ルール',
-"form.people.th.rate" => '給料',
-"form.people.manager" => '管理者',
-"form.people.comanager" => '共同管理者',
-
-"form.people.rate" => 'デフォルト時間当り給料',
-"form.people.comanager" => '共同管理者',
-
-// report attributes
-"form.report.title" => 'レポート',
-"form.report.total" => '合計時間',
-
-// mail form attributes
-"form.mail.from" => 'から',
-"form.mail.to" => 'まで',
-"form.mail.above" => 'このレポートをEメールで送信',
-// Note to translators: this string needs to be translated.
-// "form.mail.footer_str" => 'Anuko Time Tracker is a simple, easy to use, open source<br>time tracking system. Visit <a href="https://www.anuko.com">www.anuko.com</a> for more information.',
-"form.mail.sending_str" => '<b>送信したメッセージ</b>',
-
-// invoice attributes
-"form.invoice.sending_str" => '<b>送信した送り状</b>',
+// Swap roles form. See example at https://timetracker.anuko.com/swap_roles.php.
+// TODO: translate the following.
+// 'form.swap.hint' => 'Demote yourself to a lower role by swapping roles with someone else. This cannot be undone.',
+// 'form.swap.swap_with' => 'Swap roles with',
+
+// Roles and rights. These strings are used in multiple places. Grouped here to provide consistent translations.
+// TODO: translate the following.
+// 'role.user.label' => 'User',
+// 'role.user.low_case_label' => 'user',
+// 'role.user.description' => 'A regular member without management rights.',
+// 'role.client.label' => 'Client',
+// 'role.client.low_case_label' => 'client',
+// 'role.client.description' => 'A client can view its own reports, charts, and invoices.',
+// 'role.supervisor.label' => 'Supervisor',
+// 'role.supervisor.low_case_label' => 'supervisor',
+// 'role.supervisor.description' => 'A person with a small set of management rights.',
+// 'role.comanager.label' => 'Co-manager',
+// 'role.comanager.low_case_label' => 'co-manager',
+// 'role.comanager.description' => 'A person with a big set of management functions.',
+// 'role.manager.label' => 'Manager',
+// 'role.manager.low_case_label' => 'manager',
+// 'role.manager.description' => 'Group manager. Can do most of things for a group.',
+// 'role.top_manager.label' => 'Top manager',
+// 'role.top_manager.low_case_label' => 'top manager',
+// 'role.top_manager.description' => 'Top group manager. Can do everything in a tree of groups.',
+// 'role.admin.label' => 'Administrator',
+// 'role.admin.low_case_label' => 'administrator',
+// 'role.admin.description' => 'Site adminsitrator.',
 );