From 48da6c320f5b4ff9fcfe0832e87b5ed48cdb1e60 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sat, 10 Feb 2018 18:36:55 +0000 Subject: [PATCH] Finished refactoring Turkish translation. --- WEB-INF/resources/hu.lang.php | 20 +++++------------ WEB-INF/resources/no.lang.php | 30 +++++++------------------ WEB-INF/resources/ro.lang.php | 18 +++++---------- WEB-INF/resources/tr.lang.php | 42 +++++++++++------------------------ WEB-INF/templates/footer.tpl | 2 +- 5 files changed, 33 insertions(+), 79 deletions(-) diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index 2860399d..2235d618 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -200,7 +200,8 @@ $i18n_key_words = array( 'label.select_none' => 'Senkit nem jelöl ki', // 'label.day_view' => 'Day view', // 'label.week_view' => 'Week view', -// 'label.id' => 'ID', +'label.id' => 'Azonosító', +// TODO: translate the following. // 'label.language' => 'Language', // 'label.decimal_mark' => 'Decimal mark', // 'label.date_format' => 'Date format', @@ -254,7 +255,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'title.create_team' => 'Creating Team', // 'title.edit_team' => 'Editing Team', -// 'title.delete_team' => 'Deleting Team', +'title.delete_team' => 'Csoport törlése', +// TODO: translate the following. // 'title.reset_password' => 'Resetting Password', // 'title.change_password' => 'Changing Password', // 'title.time' => 'Time', @@ -347,7 +349,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'dropdown.select' => '--- select ---', // 'dropdown.select_invoice' => '--- select invoice ---', -// 'dropdown.status_active' => 'active', +'dropdown.status_active' => 'aktív', +// TODO: translate the following. // 'dropdown.status_inactive' => 'inactive', // 'dropdown.delete' => 'delete', // 'dropdown.do_not_delete' => 'do not delete', @@ -512,19 +515,8 @@ $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" => 'csoportok', -"form.admin.profile.noprofiles" => 'az adatbázis üres. lépj be adminisztrátorként és hozz létre egyet.', -"form.admin.profile.comment" => 'csoport törlése', -"form.admin.profile.th.id" => 'azonosító', -"form.admin.profile.th.active" => 'aktív', - -// my time form attributes -"form.mytime.title" => 'munkaidőm', "form.mytime.edit_title" => 'szerkesztés', "form.mytime.del_str" => 'törlés', "form.mytime.time_form" => ' (óó:pp)', diff --git a/WEB-INF/resources/no.lang.php b/WEB-INF/resources/no.lang.php index bd42ca20..07f8c18b 100644 --- a/WEB-INF/resources/no.lang.php +++ b/WEB-INF/resources/no.lang.php @@ -98,8 +98,7 @@ $i18n_key_words = array( // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', 'error.no_login' => 'Det er ingen bruker med dette brukernavnet.', -// TODO: translate the following. -// 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.', +'error.no_teams' => 'Databasen din er tom. Logg inn som admin og opprett et nytt team.', 'error.upload' => 'Feil med lasting av fil.', // TODO: translate the following. // 'error.range_locked' => 'Date range is locked.', @@ -198,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' => 'ID', 'label.language' => 'Språk', // TODO: translate the following. // 'label.decimal_mark' => 'Decimal mark', @@ -253,10 +252,11 @@ $i18n_key_words = array( // 'title.teams' => 'Teams', // 'title.create_team' => 'Creating Team', // 'title.edit_team' => 'Editing Team', -// 'title.delete_team' => 'Deleting Team', +'title.delete_team' => 'Slett team', +// TODO: translate the following. // 'title.reset_password' => 'Resetting Password', // 'title.change_password' => 'Changing Password', -// 'title.time' => 'Time', +'title.time' => 'Tid', // 'title.edit_time_record' => 'Editing Time Record', // 'title.delete_time_record' => 'Deleting Time Record', // 'title.expenses' => 'Expenses', @@ -343,8 +343,9 @@ $i18n_key_words = array( // TODO: translate the following. // 'dropdown.select' => '--- select ---', // 'dropdown.select_invoice' => '--- select invoice ---', -// 'dropdown.status_active' => 'active', -// 'dropdown.status_inactive' => 'inactive', +'dropdown.status_active' => 'aktiv', +'dropdown.status_inactive' => 'inaktiv', +// TODO: translate the following. // 'dropdown.delete' => 'delete', // 'dropdown.do_not_delete' => 'do not delete', // 'dropdown.paid' => 'paid', @@ -504,25 +505,10 @@ $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. - -// "form.admin.profile.title" => 'team', -// "form.admin.profile.noprofiles" => 'databasen din er tom. logg inn som admin og opprett et nytt team.', -// "form.admin.profile.comment" => 'slett team', -// "form.admin.profile.th.id" => 'id', -// "form.admin.profile.th.active" => 'aktiv', - -// my time form attributes -// Note to translators: the 2 strings below must be translated -// "form.mytime.title" => 'min tid', // "form.mytime.edit_title" => 'endre tidsoppføringen', "form.mytime.del_str" => 'slett tids oppføringen', "form.mytime.time_form" => ' (tt:mm)', // Note to translators: the strings below must be translated // "form.mytime.no_finished_rec" => 'Denne oppføringen ble lagret kun med starttid. Det er ikke en feil. Logg ut om nødvendig.', - -// people form attributes -"form.people.rate" => 'timesats', ); diff --git a/WEB-INF/resources/ro.lang.php b/WEB-INF/resources/ro.lang.php index 95a61fef..0378d894 100644 --- a/WEB-INF/resources/ro.lang.php +++ b/WEB-INF/resources/ro.lang.php @@ -104,7 +104,7 @@ $i18n_key_words = array( // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', // 'error.no_login' => 'No user with this login.', -// 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.', +'error.no_teams' => 'Baza de date este goala. Intra ca admin si adauga o noua echipa.', 'error.upload' => 'Eroare la upload-ul fisierului.', // TODO: translate the following. // 'error.range_locked' => 'Date range is locked.', @@ -201,7 +201,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'label.day_view' => 'Day view', // 'label.week_view' => 'Week view', -// 'label.id' => 'ID', +'label.id' => 'ID', +// TODO: translate the following. // 'label.language' => 'Language', // 'label.decimal_mark' => 'Decimal mark', // 'label.date_format' => 'Date format', @@ -258,11 +259,11 @@ $i18n_key_words = array( // TODO: translate the following. // 'title.create_team' => 'Creating Team', // 'title.edit_team' => 'Editing Team', -// 'title.delete_team' => 'Deleting Team', +'title.delete_team' => 'Șterge echipa', 'title.reset_password' => 'Reseteaza parola', // TODO: translate the following. // 'title.change_password' => 'Changing Password', -// 'title.time' => 'Time', +'title.time' => 'Timpul', // 'title.edit_time_record' => 'Editing Time Record', // 'title.delete_time_record' => 'Deleting Time Record', // 'title.expenses' => 'Expenses', @@ -518,15 +519,6 @@ $i18n_key_words = array( // TODO: refactoring ongoing down from here. -// administrator form -"form.admin.profile.title" => 'echipe', -"form.admin.profile.noprofiles" => 'baza de date este goala. intra ca admin si adauga o noua echipa.', -"form.admin.profile.comment" => 'sterge echipa', -"form.admin.profile.th.id" => 'id', -"form.admin.profile.th.active" => 'activ', - -// my time form attributes -"form.mytime.title" => 'timpul meu', "form.mytime.edit_title" => 'editarea inregistrarii timpului', "form.mytime.del_str" => 'stergerea inregistrarii timpului', "form.mytime.time_form" => ' (hh:mm)', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index 95899edd..f51d3fde 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -50,8 +50,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'menu.create_team' => 'Create Team', 'menu.profile' => 'Profili', +'menu.time' => 'Zaman', // TODO: translate the following. -// 'menu.time' => 'Time', // 'menu.expenses' => 'Expenses', 'menu.reports' => 'Raporlar', // TODO: translate the following. @@ -106,7 +106,7 @@ $i18n_key_words = array( // 'error.invoice_exists' => 'Invoice with this number already exists.', // 'error.no_invoiceable_items' => 'There are no invoiceable items.', // 'error.no_login' => 'No user with this login.', -// 'error.no_teams' => 'Your database is empty. Login as admin and create a new team.', +'error.no_teams' => 'Veritabanınız boş. Yeni bir ekip yaratmak için yönetici olarak giriş yapın.', 'error.upload' => 'Dosya yükleme hatası.', // TODO: translate the following. // 'error.range_locked' => 'Date range is locked.', @@ -207,7 +207,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'label.day_view' => 'Day view', // 'label.week_view' => 'Week view', -// 'label.id' => 'ID', +'label.id' => 'ID', +// TODO: translate the following. // 'label.language' => 'Language', // 'label.decimal_mark' => 'Decimal mark', // 'label.date_format' => 'Date format', @@ -266,13 +267,14 @@ $i18n_key_words = array( // TODO: translate the following. // 'title.create_team' => 'Creating Team', // 'title.edit_team' => 'Editing Team', -// 'title.delete_team' => 'Deleting Team', +'title.delete_team' => 'Ekibi sil', 'title.reset_password' => 'Parolayı sıfırla', // 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' => 'Zaman', +'title.edit_time_record' => 'Zaman kaydını düzenliyor', +'title.delete_time_record' => 'Zaman kaydını siliyor', +// TODO: translate the following. // 'title.expenses' => 'Expenses', // 'title.edit_expense' => 'Editing Expense Item', // 'title.delete_expense' => 'Deleting Expense Item', @@ -358,7 +360,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'dropdown.select' => '--- select ---', // 'dropdown.select_invoice' => '--- select invoice ---', -// 'dropdown.status_active' => 'active', +'dropdown.status_active' => 'aktif', +// TODO: translate the following. // 'dropdown.status_inactive' => 'inactive', // 'dropdown.delete' => 'delete', // 'dropdown.do_not_delete' => 'do not delete', @@ -382,7 +385,7 @@ $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' => '(ss:dd ya da 0.0h)', 'form.time.billable' => 'Faturalandırılabilir', // TODO: translate the following. // 'form.time.uncompleted' => 'Uncompleted', @@ -390,8 +393,7 @@ $i18n_key_words = array( // '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' => 'Bu kayıt sadece başlangıç zamanıyla silindi. Bu hata değildir.', // Week view form. See example at https://timetracker.anuko.com/week.php. // TODO: translate the following. @@ -522,22 +524,4 @@ $i18n_key_words = array( // 'form.quota.quota' => 'Quota', // '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" => 'ekipler', -"form.admin.profile.noprofiles" => 'veritabanınız boş. yeni bir ekip yaratmak için yönetici olarak giriş yapın.', -"form.admin.profile.comment" => 'ekibi sil', -"form.admin.profile.th.id" => 'id', -"form.admin.profile.th.active" => 'aktif', - -// my time form attributes -"form.mytime.title" => 'zamanım', -"form.mytime.edit_title" => 'zaman kaydını düzenliyor', -"form.mytime.del_str" => 'zaman kaydını siliyor', -"form.mytime.time_form" => ' (ss:dd)', -"form.mytime.no_finished_rec" => 'bu kayıt sadece başlangıç zamanıyla silindi. bu hata değildir. gerekirse çıkış yapın.', ); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 5426c091..db8221e5 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.12.3971 | Copyright © Anuko | +  Anuko Time Tracker 1.17.12.3972 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1