More recycling and refactoring in translations.
[timetracker.git] / WEB-INF / resources / ja.lang.php
index 6384565..8dc019f 100644 (file)
@@ -57,7 +57,7 @@ $i18n_key_words = array(
 'menu.projects' => 'プロジェクト',
 // TODO: translate the following.
 // 'menu.tasks' => 'Tasks',
-// 'menu.users' => 'Users',
+'menu.users' => 'ユーザー',
 'menu.teams' => 'チーム',
 // TODO: translate the following.
 // 'menu.export' => 'Export',
@@ -73,38 +73,37 @@ $i18n_key_words = array(
                                      // This is a link to a webpage that describes how to contribute to the project.
 
 // Error messages.
-// TODO: All error messages should be complete sentences with a period (full stop) in the end. Put them there.
 // TODO: translate the following.
 // 'error.access_denied' => 'Access denied.',
 // 'error.sys' => 'System error.',
-'error.db' => 'データベースのエラー',
-'error.field' => '不正確な"{0}"データ',
-'error.empty' => '"{0}"のフィールドが空白です',
-'error.not_equal' => '"{0}"のフィールドは"{1}"のフィールドと違います',
+'error.db' => 'データベースのエラー',
+'error.field' => '不正確な"{0}"データ',
+'error.empty' => '"{0}"のフィールドが空白です',
+'error.not_equal' => '"{0}"のフィールドは"{1}"のフィールドと違います',
 // TODO: translate the following.
 // 'error.interval' => 'Field "{0}" must be greater than "{1}".',
-'error.project' => 'プロジェクトの選択',
+'error.project' => 'プロジェクトの選択',
 // TODO: translate the following.
 // 'error.task' => 'Select task.',
-'error.client' => 'クライアントの選択',
+'error.client' => 'クライアントの選択',
 // TODO: translate the following.
 // 'error.report' => 'Select report.',
 // 'error.record' => 'Select record.',
-'error.auth' => '不正確なログインあるいはパスワードが不正確です',
-'error.user_exists' => 'このログインと関連されたユーザーは既に存在します',
-'error.project_exists' => 'この名前のプロジェクトは既に存在します',
+'error.auth' => '不正確なログインあるいはパスワードが不正確です',
+'error.user_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.',
 // 'error.no_invoiceable_items' => 'There are no invoiceable items.',
-'error.no_login' => 'このログインと関連されたユーザーはいません',
+'error.no_login' => 'このログインと関連されたユーザーはいません',
 // TODO: translate the following.
 // 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.',
-'error.upload' => 'ファイルのアップロードのエラー',
+'error.upload' => 'ファイルのアップロードのエラー',
 // TODO: translate the following.
 // 'error.range_locked' => 'Date range is locked.',
-'error.mail_send' => 'メールの送信中のエラー',
+'error.mail_send' => 'メールの送信中のエラー',
 // TODO: translate the following.
 // 'error.no_email' => 'No email associated with this login.',
 // 'error.uncompleted_exists' => 'Uncompleted entry already exists. Close or delete it.',
@@ -168,8 +167,7 @@ $i18n_key_words = array(
 // 'label.client' => 'Client',
 // 'label.clients' => 'Clients',
 'label.option' => 'オプション',
-// TODO: translate the following.
-// 'label.invoice' => 'Invoice',
+'label.invoice' => '送り状',
 'label.project' => 'プロジェクト',
 'label.projects' => 'プロジェクト',
 // TODO: translate the following.
@@ -197,8 +195,9 @@ $i18n_key_words = array(
 'label.delete' => '削除',
 // TODO: translate the following.
 // 'label.configure' => 'Configure',
-// 'label.select_all' => 'Select all',
-// 'label.select_none' => 'Deselect all',
+'label.select_all' => 'すべて選択',
+'label.select_none' => 'すべて解除',
+// TODO: translate the following.
 // 'label.day_view' => 'Day view',
 // 'label.week_view' => 'Week view',
 // 'label.id' => 'ID',
@@ -276,7 +275,8 @@ $i18n_key_words = array(
 // 'title.reports' => 'Reports',
 // 'title.report' => 'Report',
 // 'title.send_report' => 'Sending Report',
-// 'title.invoice' => 'Invoice',
+'title.invoice' => '送り状',
+// TODO: translate the following.
 // 'title.send_invoice' => 'Sending Invoice',
 // 'title.charts' => 'Charts',
 'title.projects' => 'プロジェクト',
@@ -288,7 +288,8 @@ $i18n_key_words = array(
 // 'title.add_task' => 'Adding Task',
 // 'title.edit_task' => 'Editing Task',
 // 'title.delete_task' => 'Deleting Task',
-// 'title.users' => 'Users',
+'title.users' => 'ユーザー',
+// TODO: translate the following.
 // 'title.add_user' => 'Adding User',
 // 'title.edit_user' => 'Editing User',
 // 'title.delete_user' => 'Deleting User',
@@ -296,8 +297,8 @@ $i18n_key_words = array(
 'title.add_client' => 'クライアントの追加',
 'title.edit_client' => 'クライアントの編集',
 'title.delete_client' => 'クライアントの削除',
+'title.invoices' => '送り状',
 // TODO: translate the following.
-// 'title.invoices' => 'Invoices',
 // 'title.add_invoice' => 'Adding Invoice',
 // 'title.view_invoice' => 'Viewing Invoice',
 // 'title.delete_invoice' => 'Deleting Invoice',
@@ -329,19 +330,19 @@ $i18n_key_words = array(
 // TODO: translate the following.
 // 'dropdown.all' => '--- all ---',
 // 'dropdown.no' => '--- no ---',
-// 'dropdown.current_day' => 'today',
-// 'dropdown.previous_day' => 'yesterday',
-// 'dropdown.selected_day' => 'day',
-// 'dropdown.current_week' => 'this week',
-// 'dropdown.previous_week' => 'previous week',
-// 'dropdown.selected_week' => 'week',
-// 'dropdown.current_month' => 'this month',
-// 'dropdown.previous_month' => 'previous month',
-// 'dropdown.selected_month' => 'month',
-// 'dropdown.current_year' => 'this year',
-// 'dropdown.previous_year' => 'previous year',
-// 'dropdown.selected_year' => 'year',
-// 'dropdown.all_time' => 'all time',
+'dropdown.current_day' => '今日',
+'dropdown.previous_day' => '昨日',
+'dropdown.selected_day' => '日',
+'dropdown.current_week' => '今週',
+'dropdown.previous_week' => '先週',
+'dropdown.selected_week' => '週',
+'dropdown.current_month' => '今月',
+'dropdown.previous_month' => '先月',
+'dropdown.selected_month' => '月',
+'dropdown.current_year' => '今年',
+'dropdown.previous_year' => '昨年',
+'dropdown.selected_year' => '年',
+'dropdown.all_time' => 'すべての時間',
 'dropdown.projects' => 'プロジェクト',
 // TODO: translate the following.
 // 'dropdown.tasks' => 'tasks',
@@ -361,10 +362,11 @@ $i18n_key_words = array(
 // '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.
-// TODO: translate the following.
-// 'form.reset_password.message' => 'Password reset request sent by email.',
-// 'form.reset_password.email_subject' => 'Anuko Time Tracker password reset request',
-// 'form.reset_password.email_body' => "Dear User,\n\nSomeone, possibly you, 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",
+'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",
+
 
 // Changing Password form. See example at https://timetracker.anuko.com/password_change.php?ref=1.
 // TODO: translate the following.
@@ -440,19 +442,39 @@ $i18n_key_words = array(
 // 'form.tasks.active_tasks' => 'Active Tasks',
 // 'form.tasks.inactive_tasks' => 'Inactive Tasks',
 
+// Users form. See example at https://timetracker.anuko.com/users.php
+// TODO: translate the following.
+// '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',
 
+// Clients form. See example at https://timetracker.anuko.com/clients.php
+// TODO: translate the following.
+// 'form.clients.active_clients' => 'Active Clients',
+// 'form.clients.inactive_clients' => 'Inactive Clients',
 
-// TODO: refactoring ongoing down from here.
+// Deleting Client form. See example at https://timetracker.anuko.com/client_delete.php
+// TODO: translate the following.
+// 'form.client.client_to_delete' => 'Client to delete',
+// 'form.client.client_entries' => 'Client entries',
+
+// Exporting Team Data form. See example at https://timetracker.anuko.com/export.php
+// TODO: translate the following.
+// 'form.export.hint' => 'You can export all team data into an xml file. It could be useful if you are migrating data to your own server.',
+// 'form.export.compression' => 'Compression',
+// 'form.export.compression_none' => 'none',
+// 'form.export.compression_bzip' => 'bzip',
 
-// password reminder form attributes
-"form.fpass.send_pass_str" => '送信したパスワードの初期化の要求',
-"form.fpass.send_pass_subj" => 'Anuko Time Trackerのパスワードの初期化の要求',
-// Note to translators: the ending of this string below needs to be translated.
-"form.fpass.send_pass_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",
-"form.fpass.reset_comment" => "あなたのパスワードを初期化しようとパスワードを入力して保存をクリックしてください",
+
+
+// TODO: refactoring ongoing down from here.
 
 // administrator form
-"form.admin.title" => '管理者',
 "form.admin.duty_text" => '新規チームの管理者のアカウントを生成して新規チームを作成します。<br>あなたはなお他のAnuko Time Trackerサーバのxmlのファイルからチームデータをインポートすることができます(ログインの衝突は許可されません)。',
 
 "form.admin.profile.title" => 'チーム',
@@ -539,19 +561,4 @@ $i18n_key_words = array(
 "controls.project_bind" => '--- すべて ---',
 "controls.all" => '--- すべて ---',
 "controls.notbind" => '--- いいえ ---',
-"controls.per_tm" => '今月',
-"controls.per_lm" => '先月',
-"controls.per_tw" => '今週',
-"controls.per_lw" => '先週',
-"controls.per_td" => '今日',
-"controls.per_at" => 'すべての時間',
-"controls.per_ty" => '今年',
-
-"label.inv_str" => '送り状',
-"label.set_empl" => 'ユーザーの選択',
-"label.sel_all" => 'すべて選択',
-"label.sel_none" => 'すべて解除',
-"label.disable" => '使用中止',
-"label.enable" => '使用可能',
-"label.hrs" => '時間',
 );