From 521fd7ea48c665e3e311e36975dd04428bca42a5 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sun, 4 Feb 2018 20:43:06 +0000 Subject: [PATCH] A bit of cleanup and recycling. --- WEB-INF/resources/hu.lang.php | 1 - WEB-INF/resources/sl.lang.php | 5 ++-- WEB-INF/resources/tr.lang.php | 49 +++----------------------------- WEB-INF/resources/zh-cn.lang.php | 29 ++----------------- WEB-INF/resources/zh-tw.lang.php | 28 ++---------------- WEB-INF/templates/footer.tpl | 2 +- 6 files changed, 13 insertions(+), 101 deletions(-) diff --git a/WEB-INF/resources/hu.lang.php b/WEB-INF/resources/hu.lang.php index 4f5dc5ce..e04ec0b2 100644 --- a/WEB-INF/resources/hu.lang.php +++ b/WEB-INF/resources/hu.lang.php @@ -444,7 +444,6 @@ $i18n_key_words = array( // Note to translators: we need a more accurate translation of form.profile.create_title "form.profile.create_title" => 'új vezetői jogosultság létrehozása', "form.profile.edit_title" => 'profil szerkesztése', -"form.profile.name" => 'név', // people form attributes "form.people.ppl_str" => 'munkatársak', diff --git a/WEB-INF/resources/sl.lang.php b/WEB-INF/resources/sl.lang.php index 292c2e54..e9849e0f 100644 --- a/WEB-INF/resources/sl.lang.php +++ b/WEB-INF/resources/sl.lang.php @@ -143,7 +143,8 @@ $i18n_key_words = array( // 'label.manager_name' => 'Manager name', // 'label.manager_login' => 'Manager login', 'label.person_name' => 'Ime', -// 'label.thing_name' => 'Name', +'label.thing_name' => 'Ime', +// TODO: translate the following. // 'label.login' => 'Login', 'label.password' => 'Geslo', // TODO: translate the following. @@ -403,8 +404,6 @@ $i18n_key_words = array( "form.project.edit_str" => 'urejanje projektov', "form.project.add_str" => 'dodajanje novega projekta', "form.project.del_str" => 'brisanje projekta', -"form.project.th.name" => 'ime', -"form.project.name" => 'ime', // activities form attributes "form.activity.project" => 'projekt', diff --git a/WEB-INF/resources/tr.lang.php b/WEB-INF/resources/tr.lang.php index eb39d03a..74a6d3f3 100644 --- a/WEB-INF/resources/tr.lang.php +++ b/WEB-INF/resources/tr.lang.php @@ -154,8 +154,9 @@ $i18n_key_words = array( // TODO: translate the following. // 'label.manager_name' => 'Manager name', // 'label.manager_login' => 'Manager login', -// 'label.person_name' => 'Name', -// 'label.thing_name' => 'Name', +'label.person_name' => 'Isim', +'label.thing_name' => 'Isim', +// TODO: translate the following. // 'label.login' => 'Login', 'label.password' => 'Parola', // TODO: translate the following. @@ -197,7 +198,7 @@ $i18n_key_words = array( // 'label.total_hours' => 'Total hours', // 'label.total_cost' => 'Total cost', // 'label.view' => 'View', -// 'label.edit' => 'Edit', +'label.edit' => 'Düzenle', 'label.delete' => 'Sil', // TODO: translate the following. // 'label.configure' => 'Configure', @@ -429,15 +430,7 @@ $i18n_key_words = array( "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.name" => 'isim', -"form.admin.profile.th.edit" => 'düzenle', -"form.admin.profile.th.del" => 'sil', "form.admin.profile.th.active" => 'aktif', -// Note to translators: the strings below are missing and must be translated and added -// "form.admin.options" => 'options', -// "form.admin.custom_date_format" => "date format", -// "form.admin.custom_time_format" => "time format", -// "form.admin.start_week" => "first day of week", // my time form attributes "form.mytime.title" => 'zamanım', @@ -457,8 +450,6 @@ $i18n_key_words = array( "form.mytime.th.finish" => 'tamamla', "form.mytime.th.duration" => 'süre', "form.mytime.th.note" => 'not', -"form.mytime.th.edit" => 'düzenle', -"form.mytime.th.delete" => 'sil', "form.mytime.del_yes" => 'zaman kaydı başarıyla silindi', "form.mytime.no_finished_rec" => 'bu kayıt sadece başlangıç zamanıyla silindi. bu hata değildir. gerekirse çıkış yapın.', "form.mytime.warn_tozero_rec" => 'bu zaman kaydı silinmeli çünkü zaman aralığı kilitli', @@ -469,35 +460,19 @@ $i18n_key_words = array( // Note to translators: we need a more accurate translation of form.profile.create_title "form.profile.create_title" => 'yeni yönetici hesabı yarat', "form.profile.edit_title" => 'profili düzenliyor', -"form.profile.name" => 'isim', -// Note to translators: "form.profile.login" => 'e-posta', // email has been changed to login - -// Note to translators: the string below is missing and must be translated and added -// "form.profile.showchart" => 'show pie charts', -// "form.profile.lang" => 'language', -// "form.profile.custom_date_format" => "date format", -// "form.profile.custom_time_format" => "time format", -// "form.profile.default_format" => "(default)", -// "form.profile.start_week" => "first day of week", // people form attributes "form.people.ppl_str" => 'insanlar', "form.people.createu_str" => 'yeni kullanıcı yarat', "form.people.edit_str" => 'kullanıcı düzenleniyor', "form.people.del_str" => 'kullanıcı siliniyor', -"form.people.th.name" => 'isim', -// Note to translators: "form.people.th.login" => 'e-posta', // email has been changed to login "form.people.th.role" => 'rol', -"form.people.th.edit" => 'düzenle', -"form.people.th.del" => 'sil', "form.people.th.status" => 'durum', "form.people.th.project" => 'proje', "form.people.th.rate" => 'tarife', "form.people.manager" => 'yönetici', "form.people.comanager" => 'yardımcı yönetici', "form.people.empl" => 'kullanıcı', -"form.people.name" => 'isim', -// Note to translators: "form.people.login" => 'e-posta', // email has been changed to login "form.people.rate" => 'varsayılan saat ücreti', "form.people.comanager" => 'yardımcı yönetici', @@ -508,22 +483,14 @@ $i18n_key_words = array( "form.project.edit_str" => 'proje düzenleniyor', "form.project.add_str" => 'yeni proje ekleniyor', "form.project.del_str" => 'proje siliniyor', -"form.project.th.name" => 'isim', -"form.project.th.edit" => 'düzenle', -"form.project.th.del" => 'sil', -"form.project.name" => 'isim', // 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.name" => 'isim', "form.activity.project" => 'proje', -"form.activity.th.name" => 'isim', "form.activity.th.project" => 'proje', -"form.activity.th.edit" => 'düzenle', -"form.activity.th.del" => 'sil', // report attributes "form.report.title" => 'raporlar', @@ -582,19 +549,11 @@ $i18n_key_words = array( "form.migration.export.title" => 'dışarı aktar', "form.migration.export.success" => 'dışarı aktarma başarıyla tamamlandı', "form.migration.export.text" => 'tüm ekip bilgilerinizi bir xml dosyasına aktarabilirsiniz. bu, kendi sunucunuza bilgi aktarmak istediğinizde faydalı olabilir.', -// Note to translators: the strings below are missing and must be added and translated -// "form.migration.compression.none" => 'none', -// "form.migration.compression.gzip" => 'gzip', -// "form.migration.compression.bzip" => 'bzip', "form.client.title" => 'müşteriler', "form.client.add_title" => 'müşteri ekle', "form.client.edit_title" => 'müşteriyi düzenle', "form.client.del_title" => 'müşteriyi sil', -"form.client.th.name" => 'isim', -"form.client.th.edit" => 'düzenle', -"form.client.th.del" => 'sil', -"form.client.name" => 'isim', "form.client.tax" => 'vergi', "form.client.comment" => 'yorum ', diff --git a/WEB-INF/resources/zh-cn.lang.php b/WEB-INF/resources/zh-cn.lang.php index b8bf9d48..2e0dacc3 100644 --- a/WEB-INF/resources/zh-cn.lang.php +++ b/WEB-INF/resources/zh-cn.lang.php @@ -137,9 +137,8 @@ $i18n_key_words = array( 'label.currency' => '货币', 'label.manager_name' => '管理员姓名', 'label.manager_login' => '管理员登录', -// TODO: translate the following. -// 'label.person_name' => 'Name', -// 'label.thing_name' => 'Name', +'label.person_name' => '姓名', +'label.thing_name' => '名称', // 'label.login' => 'Login', 'label.password' => '密码', 'label.confirm_password' => '确认密码', @@ -179,7 +178,7 @@ $i18n_key_words = array( // 'label.total_hours' => 'Total hours', // 'label.total_cost' => 'Total cost', // 'label.view' => 'View', -// 'label.edit' => 'Edit', +'label.edit' => '编辑', 'label.delete' => '删除', // TODO: translate the following. // 'label.configure' => 'Configure', @@ -417,9 +416,6 @@ $i18n_key_words = array( "form.admin.profile.noprofiles" => '您的数据库没有任何记录。请以管理员身份登录并创建一个新团队。', "form.admin.profile.comment" => '删除团队', "form.admin.profile.th.id" => 'ID号', -"form.admin.profile.th.name" => '姓名', -"form.admin.profile.th.edit" => '编辑', -"form.admin.profile.th.del" => '删除', "form.admin.profile.th.active" => '启用', "form.admin.options" => '选项', "form.admin.custom_date_format" => "日期格式", @@ -444,8 +440,6 @@ $i18n_key_words = array( "form.mytime.th.finish" => '结束', "form.mytime.th.duration" => '持续时间', "form.mytime.th.note" => '备注', -"form.mytime.th.edit" => '编辑', -"form.mytime.th.delete" => '删除', "form.mytime.del_yes" => '成功删除时间记录', "form.mytime.no_finished_rec" => '该记录只保存了开始时间。这不是错误。如果需要,请注销。', "form.mytime.billable" => '计费时间', @@ -456,7 +450,6 @@ $i18n_key_words = array( // Note to translators: we need a more accurate translation of form.profile.create_title "form.profile.create_title" => '新建管理账号', "form.profile.edit_title" => '编辑简介', -"form.profile.name" => '名字', "form.profile.login" => '登录', "form.profile.showchart" => '显示饼状图', @@ -471,18 +464,14 @@ $i18n_key_words = array( "form.people.createu_str" => '新建用户', "form.people.edit_str" => '编辑用户', "form.people.del_str" => '删除用户', -"form.people.th.name" => '姓名', "form.people.th.login" => '登录', "form.people.th.role" => '角色', -"form.people.th.edit" => '编辑', -"form.people.th.del" => '删除', "form.people.th.status" => '状态', "form.people.th.project" => '项目', "form.people.th.rate" => '费率', "form.people.manager" => '经理', "form.people.comanager" => '合作经理人', "form.people.empl" => '用户', -"form.people.name" => '姓名', "form.people.login" => '登录', "form.people.rate" => '默认小时收费', @@ -494,22 +483,14 @@ $i18n_key_words = array( "form.project.edit_str" => '编辑项目', "form.project.add_str" => '添加新项目', "form.project.del_str" => '删除项目', -"form.project.th.name" => '名称', -"form.project.th.edit" => '编辑', -"form.project.th.del" => '删除', -"form.project.name" => '名称', // activities form attributes "form.activity.act_title" => '活动', "form.activity.add_title" => '新建活动', "form.activity.edit_str" => '编辑活动', "form.activity.del_str" => '删除活动', -"form.activity.name" => '名称', "form.activity.project" => '项目', -"form.activity.th.name" => '名称', "form.activity.th.project" => '项目', -"form.activity.th.edit" => '编辑', -"form.activity.th.del" => '删除', // report attributes "form.report.title" => '报告', @@ -576,10 +557,6 @@ $i18n_key_words = array( "form.client.add_title" => '添加客户', "form.client.edit_title" => '编辑客户', "form.client.del_title" => '删除客户', -"form.client.th.name" => '姓名', -"form.client.th.edit" => '编辑', -"form.client.th.del" => '删除', -"form.client.name" => '姓名', "form.client.tax" => '税', "form.client.comment" => '备注', diff --git a/WEB-INF/resources/zh-tw.lang.php b/WEB-INF/resources/zh-tw.lang.php index 0a09f28c..52b54168 100644 --- a/WEB-INF/resources/zh-tw.lang.php +++ b/WEB-INF/resources/zh-tw.lang.php @@ -146,8 +146,8 @@ $i18n_key_words = array( // TODO: translate the following. // 'label.manager_name' => 'Manager name', // 'label.manager_login' => 'Manager login', -// 'label.person_name' => 'Name', -// 'label.thing_name' => 'Name', +'label.person_name' => '姓名', +'label.thing_name' => '名稱', 'label.login' => '登錄', 'label.password' => '密碼', 'label.confirm_password' => '確認密碼', @@ -187,7 +187,7 @@ $i18n_key_words = array( // 'label.total_hours' => 'Total hours', // 'label.total_cost' => 'Total cost', // 'label.view' => 'View', -// 'label.edit' => 'Edit', +'label.edit' => '編輯', 'label.delete' => '刪除', // TODO: translate the following. // 'label.configure' => 'Configure', @@ -416,9 +416,6 @@ $i18n_key_words = array( "form.admin.profile.noprofiles" => '您的資料庫沒有任何記錄。請以管理員身份登錄並創建一個新團隊。', "form.admin.profile.comment" => '刪除團隊', "form.admin.profile.th.id" => 'ID號', -"form.admin.profile.th.name" => '姓名', -"form.admin.profile.th.edit" => '編輯', -"form.admin.profile.th.del" => '刪除', "form.admin.profile.th.active" => '啟動', "form.admin.options" => '選項', "form.admin.custom_date_format" => "日期格式", @@ -443,8 +440,6 @@ $i18n_key_words = array( "form.mytime.th.finish" => '結束', "form.mytime.th.duration" => '持續時間', "form.mytime.th.note" => '備註', -"form.mytime.th.edit" => '編輯', -"form.mytime.th.delete" => '刪除', "form.mytime.del_yes" => '成功刪除時間記錄', "form.mytime.no_finished_rec" => '該記錄只保存了開始時間。這不是錯誤。如果需要,請登出。', "form.mytime.billable" => '計費時間', @@ -455,7 +450,6 @@ $i18n_key_words = array( // Note to translators: we need a more accurate translation of form.profile.create_title "form.profile.create_title" => '創建新管理帳號', "form.profile.edit_title" => '編輯簡介', -"form.profile.name" => '名字', "form.profile.login" => '登錄', "form.profile.showchart" => '顯示餅狀圖', @@ -470,18 +464,14 @@ $i18n_key_words = array( "form.people.createu_str" => '新建用戶', "form.people.edit_str" => '編輯用戶', "form.people.del_str" => '刪除用戶', -"form.people.th.name" => '姓名', "form.people.th.login" => '登錄', "form.people.th.role" => '角色', -"form.people.th.edit" => '編輯', -"form.people.th.del" => '刪除', "form.people.th.status" => '狀態', "form.people.th.project" => '項目', "form.people.th.rate" => '費率', "form.people.manager" => '經理', "form.people.comanager" => '合作經理人', "form.people.empl" => '用戶', -"form.people.name" => '姓名', "form.people.login" => '登錄', "form.people.rate" => '默認小時收費', @@ -493,22 +483,14 @@ $i18n_key_words = array( "form.project.edit_str" => '編輯專案', "form.project.add_str" => '添加新項目', "form.project.del_str" => '刪除項目', -"form.project.th.name" => '名稱', -"form.project.th.edit" => '編輯', -"form.project.th.del" => '刪除', -"form.project.name" => '名稱', // activities form attributes "form.activity.act_title" => '活動', "form.activity.add_title" => '新建活動', "form.activity.edit_str" => '編輯活動', "form.activity.del_str" => '刪除活動', -"form.activity.name" => '名稱', "form.activity.project" => '項目', -"form.activity.th.name" => '名稱', "form.activity.th.project" => '項目', -"form.activity.th.edit" => '編輯', -"form.activity.th.del" => '刪除', // report attributes "form.report.title" => '報告', @@ -575,10 +557,6 @@ $i18n_key_words = array( "form.client.add_title" => '添加客戶', "form.client.edit_title" => '編輯客戶', "form.client.del_title" => '刪除客戶', -"form.client.th.name" => '姓名', -"form.client.th.edit" => '編輯', -"form.client.th.del" => '刪除', -"form.client.name" => '姓名', "form.client.tax" => '稅', "form.client.comment" => '備註', diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 015584cc..3e609a43 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.12.3890 | Copyright © Anuko | +  Anuko Time Tracker 1.17.12.3891 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1