From 5038971aa31a431afb8819a101b91965ad53b968 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Tue, 6 Feb 2018 14:33:52 +0000 Subject: [PATCH] Some more translation recycling. --- WEB-INF/resources/et.lang.php | 21 +++---------------- WEB-INF/resources/hu.lang.php | 22 +++----------------- WEB-INF/resources/tr.lang.php | 38 +++++++++-------------------------- WEB-INF/templates/footer.tpl | 2 +- 4 files changed, 17 insertions(+), 66 deletions(-) diff --git a/WEB-INF/resources/et.lang.php b/WEB-INF/resources/et.lang.php index 7d0a6bf9..554eba0b 100644 --- a/WEB-INF/resources/et.lang.php +++ b/WEB-INF/resources/et.lang.php @@ -279,10 +279,10 @@ $i18n_key_words = array( // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', 'title.projects' => 'Projektid', +'title.add_project' => 'Projekti lisamine', +'title.edit_project' => 'Projekti muutmine', +'title.delete_project' => 'Projekti kustutamine', // TODO: translate the following. -// 'title.add_project' => 'Adding Project', -// 'title.edit_project' => 'Editing Project', -// 'title.delete_project' => 'Deleting Project', // 'title.tasks' => 'Tasks', // 'title.add_task' => 'Adding Task', // 'title.edit_task' => 'Editing Task', @@ -444,13 +444,11 @@ $i18n_key_words = array( // Note to translators: the string below must be translated // "form.mytime.time_form" => ' (hh:mm)', "form.mytime.date" => 'kuupäev', -"form.mytime.project" => 'projekt', "form.mytime.start" => 'algus', "form.mytime.finish" => 'lõpp', "form.mytime.duration" => 'kestus', "form.mytime.daily" => 'igapäevane töö', "form.mytime.total" => 'tunde kokku: ', -"form.mytime.th.project" => 'projekt', "form.mytime.th.start" => 'algus', "form.mytime.th.finish" => 'lõpp', "form.mytime.th.duration" => 'kestus', @@ -481,7 +479,6 @@ $i18n_key_words = array( "form.people.del_str" => 'kasutaja kustutamine', "form.people.th.login" => 'login', "form.people.th.role" => 'roll', -"form.people.th.project" => 'projekt', "form.people.th.rate" => 'hind', "form.people.manager" => 'haldur', "form.people.comanager" => 'kaashaldur', @@ -490,16 +487,6 @@ $i18n_key_words = array( "form.people.rate" => 'vaikimisi tunni hind', "form.people.comanager" => 'kaashaldur', -"form.people.projects" => 'projektid', - -// projects form attributes -"form.project.proj_title" => 'projektid', -"form.project.edit_str" => 'projektide muutmine', -"form.project.add_str" => 'uue projekti lisamine', -"form.project.del_str" => 'projekti kustutamine', - -// activities form attributes -"form.activity.project" => 'projekt', // report attributes "form.report.from" => 'algab kuupäevast', @@ -509,12 +496,10 @@ $i18n_key_words = array( "form.report.duration" => 'kestus', "form.report.start" => 'algus', "form.report.finish" => 'lõpp', -"form.report.project" => 'projekt', "form.report.totals_only" => 'ainult summad', "form.report.total" => 'tunde kokku', "form.report.th.empllist" => 'kasutaja', "form.report.th.date" => 'kuupäev', -"form.report.th.project" => 'projekt', "form.report.th.start" => 'algus', "form.report.th.finish" => 'lõpp', "form.report.th.duration" => 'kestus', diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index 51487394..7055150f 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -277,10 +277,10 @@ $i18n_key_words = array( // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', 'title.projects' => 'Projektek', +'title.add_project' => 'Projekt hozzáadása', +'title.edit_project' => 'Projekt szerkesztése', +'title.delete_project' => 'Projekt törlése', // TODO: translate the following. -// 'title.add_project' => 'Adding Project', -// 'title.edit_project' => 'Editing Project', -// 'title.delete_project' => 'Deleting Project', // 'title.tasks' => 'Tasks', // 'title.add_task' => 'Adding Task', // 'title.edit_task' => 'Editing Task', @@ -431,13 +431,11 @@ $i18n_key_words = array( "form.mytime.del_str" => 'törlés', "form.mytime.time_form" => ' (óó:pp)', "form.mytime.date" => 'dátum', -"form.mytime.project" => 'projekt', "form.mytime.start" => 'kezdete', "form.mytime.finish" => 'vége', "form.mytime.duration" => 'hossz', "form.mytime.daily" => 'napi munka', "form.mytime.total" => 'összesített óraszám: ', -"form.mytime.th.project" => 'projekt', "form.mytime.th.start" => 'kezdete', "form.mytime.th.finish" => 'vége', "form.mytime.th.duration" => 'hossz', @@ -455,7 +453,6 @@ $i18n_key_words = array( "form.people.edit_str" => 'munkatárs adatainak szerkesztése', "form.people.del_str" => 'munkatárs adatainak törlése', "form.people.th.role" => 'szerepkör', -"form.people.th.project" => 'projekt', "form.people.th.rate" => 'tarifa', "form.people.manager" => 'vezető', "form.people.comanager" => 'helyettes', @@ -463,17 +460,6 @@ $i18n_key_words = array( "form.people.rate" => 'általános óradíj', "form.people.comanager" => 'helyettes', -"form.people.projects" => 'projektek', -// Note to translators: the string below is missing and must be added and translated - -// projects form attributes -"form.project.proj_title" => 'projektek', -"form.project.edit_str" => 'projekt adatainak szerkesztése', -"form.project.add_str" => 'új projekt hozzáadása', -"form.project.del_str" => 'projekt törlése', - -// activities form attributes -"form.activity.project" => 'projekt', // report attributes "form.report.from" => 'kezdő időpont', @@ -483,12 +469,10 @@ $i18n_key_words = array( "form.report.duration" => 'időtartam', "form.report.start" => 'kezdet', "form.report.finish" => 'befejezés', -"form.report.project" => 'projekt', "form.report.totals_only" => 'csak a teljes óraszám', "form.report.total" => 'összesített óraszám', "form.report.th.empllist" => 'dolgozó', "form.report.th.date" => 'dátum', -"form.report.th.project" => 'projekt', "form.report.th.start" => 'elkezdve', "form.report.th.finish" => 'befejezve', "form.report.th.duration" => 'időtartam', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index 0f02f2b9..86f55fc4 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -178,8 +178,9 @@ $i18n_key_words = array( // 'label.option' => 'Option', 'label.invoice' => 'Fatura', // TODO: translate the following. -// 'label.project' => 'Project', -// 'label.projects' => 'Projects', +'label.project' => 'Proje', +'label.projects' => 'Projeler', +// TODO: translate the following. // 'label.task' => 'Task', // 'label.tasks' => 'Tasks', // 'label.description' => 'Description', @@ -283,10 +284,11 @@ $i18n_key_words = array( // TODO: translate the following. // 'title.send_invoice' => 'Sending Invoice', // 'title.charts' => 'Charts', -// 'title.projects' => 'Projects', -// 'title.add_project' => 'Adding Project', -// 'title.edit_project' => 'Editing Project', -// 'title.delete_project' => 'Deleting Project', +'title.projects' => 'Projeler', +'title.add_project' => 'Proje ekleniyor', +'title.edit_project' => 'Proje düzenleniyor', +'title.delete_project' => 'Proje siliniyor', +// TODO: translate the following. // 'title.tasks' => 'Tasks', // 'title.add_task' => 'Adding Task', // 'title.edit_task' => 'Editing Task', @@ -344,7 +346,8 @@ $i18n_key_words = array( // 'dropdown.previous_year' => 'previous year', // 'dropdown.selected_year' => 'year', // 'dropdown.all_time' => 'all time', -// 'dropdown.projects' => 'projects', +'dropdown.projects' => 'projeler', +// TODO: translate the following. // 'dropdown.tasks' => 'tasks', // 'dropdown.clients' => 'clients', // 'dropdown.select' => '--- select ---', @@ -414,7 +417,6 @@ $i18n_key_words = array( // TODO: refactoring ongoing down from here. -"form.filter.project" => 'proje', "form.filter.filter" => 'sık kullanılan rapor', "form.filter.filter_new" => 'sık kullanılan olarak kaydet', @@ -442,13 +444,11 @@ $i18n_key_words = array( "form.mytime.del_str" => 'zaman kaydını siliyor', "form.mytime.time_form" => ' (ss:dd)', "form.mytime.date" => 'tarih', -"form.mytime.project" => 'proje', "form.mytime.start" => 'başlat', "form.mytime.finish" => 'tamamla', "form.mytime.duration" => 'süre', "form.mytime.daily" => 'günlük çalışma', "form.mytime.total" => 'toplam saat: ', -"form.mytime.th.project" => 'proje', "form.mytime.th.start" => 'başlat', "form.mytime.th.finish" => 'tamamla', "form.mytime.th.duration" => 'süre', @@ -469,7 +469,6 @@ $i18n_key_words = array( "form.people.edit_str" => 'kullanıcı düzenleniyor', "form.people.del_str" => 'kullanıcı siliniyor', "form.people.th.role" => 'rol', -"form.people.th.project" => 'proje', "form.people.th.rate" => 'tarife', "form.people.manager" => 'yönetici', "form.people.comanager" => 'yardımcı yönetici', @@ -477,21 +476,6 @@ $i18n_key_words = array( "form.people.rate" => 'varsayılan saat ücreti', "form.people.comanager" => 'yardımcı yönetici', -"form.people.projects" => 'projeler', - -// projects form attributes -"form.project.proj_title" => 'projeler', -"form.project.edit_str" => 'proje düzenleniyor', -"form.project.add_str" => 'yeni proje ekleniyor', -"form.project.del_str" => 'proje siliniyor', - -// activities form attributes -"form.activity.act_title" => 'faaliyetler', -"form.activity.add_title" => 'yeni faaliyetler ekleniyor', -"form.activity.edit_str" => 'faaliyetler düzenleniyor', -"form.activity.del_str" => 'faaliyetler siliniyor', -"form.activity.project" => 'proje', -"form.activity.th.project" => 'proje', // report attributes "form.report.title" => 'raporlar', @@ -502,12 +486,10 @@ $i18n_key_words = array( "form.report.duration" => 'süre', "form.report.start" => 'başlangıç', "form.report.finish" => 'son', -"form.report.project" => 'proje', "form.report.totals_only" => 'sadece toplamlar', "form.report.total" => 'saat toplamı', "form.report.th.empllist" => 'kullanıcı', "form.report.th.date" => 'tarih', -"form.report.th.project" => 'proje', "form.report.th.start" => 'başlangıç', "form.report.th.finish" => 'son', "form.report.th.duration" => 'süre', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 9a461398..0018fffb 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.12.3907 | Copyright © Anuko | +  Anuko Time Tracker 1.17.12.3908 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1