projects
/
timetracker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
770d560
)
Added entity column on cf_custom_fields.php page.
author
Nik Okuntseff
<support@anuko.com>
Fri, 28 Jun 2019 14:42:30 +0000
(14:42 +0000)
committer
Nik Okuntseff
<support@anuko.com>
Fri, 28 Jun 2019 14:42:30 +0000
(14:42 +0000)
35 files changed:
WEB-INF/resources/ca.lang.php
patch
|
blob
|
history
WEB-INF/resources/cs.lang.php
patch
|
blob
|
history
WEB-INF/resources/da.lang.php
patch
|
blob
|
history
WEB-INF/resources/de.lang.php
patch
|
blob
|
history
WEB-INF/resources/en.lang.php
patch
|
blob
|
history
WEB-INF/resources/es.lang.php
patch
|
blob
|
history
WEB-INF/resources/et.lang.php
patch
|
blob
|
history
WEB-INF/resources/fa.lang.php
patch
|
blob
|
history
WEB-INF/resources/fi.lang.php
patch
|
blob
|
history
WEB-INF/resources/fr.lang.php
patch
|
blob
|
history
WEB-INF/resources/gr.lang.php
patch
|
blob
|
history
WEB-INF/resources/he.lang.php
patch
|
blob
|
history
WEB-INF/resources/hu.lang.php
patch
|
blob
|
history
WEB-INF/resources/it.lang.php
patch
|
blob
|
history
WEB-INF/resources/ja.lang.php
patch
|
blob
|
history
WEB-INF/resources/ko.lang.php
patch
|
blob
|
history
WEB-INF/resources/nl.lang.php
patch
|
blob
|
history
WEB-INF/resources/no.lang.php
patch
|
blob
|
history
WEB-INF/resources/pl.lang.php
patch
|
blob
|
history
WEB-INF/resources/pt-br.lang.php
patch
|
blob
|
history
WEB-INF/resources/pt.lang.php
patch
|
blob
|
history
WEB-INF/resources/ro.lang.php
patch
|
blob
|
history
WEB-INF/resources/ru.lang.php
patch
|
blob
|
history
WEB-INF/resources/sk.lang.php
patch
|
blob
|
history
WEB-INF/resources/sl.lang.php
patch
|
blob
|
history
WEB-INF/resources/sr.lang.php
patch
|
blob
|
history
WEB-INF/resources/sv.lang.php
patch
|
blob
|
history
WEB-INF/resources/tr.lang.php
patch
|
blob
|
history
WEB-INF/resources/zh-cn.lang.php
patch
|
blob
|
history
WEB-INF/resources/zh-tw.lang.php
patch
|
blob
|
history
WEB-INF/templates/cf_custom_fields.tpl
patch
|
blob
|
history
WEB-INF/templates/footer.tpl
patch
|
blob
|
history
cf_custom_field_add.php
patch
|
blob
|
history
cf_custom_fields.php
patch
|
blob
|
history
plugins/CustomFields.class.php
patch
|
blob
|
history
diff --git
a/WEB-INF/resources/ca.lang.php
b/WEB-INF/resources/ca.lang.php
index
0f0b4c7
..
42c637b
100644
(file)
--- a/
WEB-INF/resources/ca.lang.php
+++ b/
WEB-INF/resources/ca.lang.php
@@
-282,6
+282,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
@@
-414,8
+421,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projectes',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => 'projectes',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/cs.lang.php
b/WEB-INF/resources/cs.lang.php
index
9000b3b
..
0f25aa6
100644
(file)
--- a/
WEB-INF/resources/cs.lang.php
+++ b/
WEB-INF/resources/cs.lang.php
@@
-292,6
+292,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
@@
-423,9
+430,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => 'minulý rok',
'dropdown.selected_year' => 'rok',
'dropdown.all_time' => 'od počátku',
'dropdown.previous_year' => 'minulý rok',
'dropdown.selected_year' => 'rok',
'dropdown.all_time' => 'od počátku',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projekty',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => 'projekty',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/da.lang.php
b/WEB-INF/resources/da.lang.php
index
c176763
..
0c59b52
100644
(file)
--- a/
WEB-INF/resources/da.lang.php
+++ b/
WEB-INF/resources/da.lang.php
@@
-272,6
+272,13
@@
$i18n_key_words = array(
'label.active_users' => 'Aktive Brugere',
'label.inactive_users' => 'Inaktive Brugere',
'label.active_users' => 'Aktive Brugere',
'label.inactive_users' => 'Inaktive Brugere',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Fejl',
// TODO: Translate the following.
// Form titles.
'title.error' => 'Fejl',
// TODO: Translate the following.
@@
-396,9
+403,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'år',
'dropdown.all_time' => 'Alt',
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'år',
'dropdown.all_time' => 'Alt',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'Projekter',
'dropdown.tasks' => 'Opgaver',
'dropdown.clients' => 'Klienter',
'dropdown.projects' => 'Projekter',
'dropdown.tasks' => 'Opgaver',
'dropdown.clients' => 'Klienter',
diff --git
a/WEB-INF/resources/de.lang.php
b/WEB-INF/resources/de.lang.php
index
9fe12df
..
3b6c1a7
100644
(file)
--- a/
WEB-INF/resources/de.lang.php
+++ b/
WEB-INF/resources/de.lang.php
@@
-261,6
+261,13
@@
$i18n_key_words = array(
'label.active_users' => 'Aktive Nutzer',
'label.inactive_users' => 'Inaktive Nutzer',
'label.active_users' => 'Aktive Nutzer',
'label.inactive_users' => 'Inaktive Nutzer',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Fehler',
// TODO: Translate the following.
// Form titles.
'title.error' => 'Fehler',
// TODO: Translate the following.
@@
-378,9
+385,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => 'vorheriges Jahr',
'dropdown.selected_year' => 'Jahr',
'dropdown.all_time' => 'Gesamtzeitraum',
'dropdown.previous_year' => 'vorheriges Jahr',
'dropdown.selected_year' => 'Jahr',
'dropdown.all_time' => 'Gesamtzeitraum',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'Projekte',
'dropdown.tasks' => 'Aufgaben',
'dropdown.clients' => 'Kunden',
'dropdown.projects' => 'Projekte',
'dropdown.tasks' => 'Aufgaben',
'dropdown.clients' => 'Kunden',
diff --git
a/WEB-INF/resources/en.lang.php
b/WEB-INF/resources/en.lang.php
index
7d25fd6
..
851c8f9
100644
(file)
--- a/
WEB-INF/resources/en.lang.php
+++ b/
WEB-INF/resources/en.lang.php
@@
-248,6
+248,12
@@
$i18n_key_words = array(
'label.active_users' => 'Active Users',
'label.inactive_users' => 'Inactive Users',
'label.active_users' => 'Active Users',
'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+'entity.time' => 'time',
+'entity.user' => 'user',
+'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Error',
'title.success' => 'Success',
// Form titles.
'title.error' => 'Error',
'title.success' => 'Success',
@@
-363,8
+369,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'year',
'dropdown.all_time' => 'all time',
'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'year',
'dropdown.all_time' => 'all time',
-'dropdown.time' => 'time',
-'dropdown.user' => 'user',
'dropdown.projects' => 'projects',
'dropdown.tasks' => 'tasks',
'dropdown.clients' => 'clients',
'dropdown.projects' => 'projects',
'dropdown.tasks' => 'tasks',
'dropdown.clients' => 'clients',
diff --git
a/WEB-INF/resources/es.lang.php
b/WEB-INF/resources/es.lang.php
index
44ed256
..
cae0294
100644
(file)
--- a/
WEB-INF/resources/es.lang.php
+++ b/
WEB-INF/resources/es.lang.php
@@
-285,6
+285,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
@@
-414,8
+421,6
@@
$i18n_key_words = array(
'dropdown.selected_year' => 'año',
// TODO: translate the following.
// 'dropdown.all_time' => 'all time',
'dropdown.selected_year' => 'año',
// TODO: translate the following.
// 'dropdown.all_time' => 'all time',
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'proyectos',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => 'proyectos',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/et.lang.php
b/WEB-INF/resources/et.lang.php
index
34a7239
..
fbe2e88
100644
(file)
--- a/
WEB-INF/resources/et.lang.php
+++ b/
WEB-INF/resources/et.lang.php
@@
-278,6
+278,13
@@
$i18n_key_words = array(
'label.active_users' => 'Aktiivsed kasutajad',
'label.inactive_users' => 'Mitteaktiivsed kasutajad',
'label.active_users' => 'Aktiivsed kasutajad',
'label.inactive_users' => 'Mitteaktiivsed kasutajad',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
@@
-401,9
+408,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => 'eelmine aasta',
'dropdown.selected_year' => 'aasta',
'dropdown.all_time' => 'kõik ajavahemikud',
'dropdown.previous_year' => 'eelmine aasta',
'dropdown.selected_year' => 'aasta',
'dropdown.all_time' => 'kõik ajavahemikud',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projektid',
'dropdown.tasks' => 'tööülesanded',
'dropdown.clients' => 'kliendid',
'dropdown.projects' => 'projektid',
'dropdown.tasks' => 'tööülesanded',
'dropdown.clients' => 'kliendid',
diff --git
a/WEB-INF/resources/fa.lang.php
b/WEB-INF/resources/fa.lang.php
index
3095a87
..
13a2d5f
100644
(file)
--- a/
WEB-INF/resources/fa.lang.php
+++ b/
WEB-INF/resources/fa.lang.php
@@
-283,6
+283,13
@@
$i18n_key_words = array(
'label.active_users' => 'کاربران فعال',
'label.inactive_users' => 'کاربران غیرفعال',
'label.active_users' => 'کاربران فعال',
'label.inactive_users' => 'کاربران غیرفعال',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'خطا',
// TODO: Translate the following.
// Form titles.
'title.error' => 'خطا',
// TODO: Translate the following.
@@
-407,9
+414,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
'dropdown.all_time' => 'همه زمان ها',
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
'dropdown.all_time' => 'همه زمان ها',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'پروژه ها',
'dropdown.tasks' => 'وظایف',
'dropdown.clients' => 'مشتریان',
'dropdown.projects' => 'پروژه ها',
'dropdown.tasks' => 'وظایف',
'dropdown.clients' => 'مشتریان',
diff --git
a/WEB-INF/resources/fi.lang.php
b/WEB-INF/resources/fi.lang.php
index
752c6ff
..
4421b88
100644
(file)
--- a/
WEB-INF/resources/fi.lang.php
+++ b/
WEB-INF/resources/fi.lang.php
@@
-276,6
+276,13
@@
$i18n_key_words = array(
'label.active_users' => 'Aktiiviset käyttäjät',
'label.inactive_users' => 'Ei-aktiiviset käyttäjät',
'label.active_users' => 'Aktiiviset käyttäjät',
'label.inactive_users' => 'Ei-aktiiviset käyttäjät',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Virhe',
// TODO: Translate the following.
// Form titles.
'title.error' => 'Virhe',
// TODO: Translate the following.
@@
-396,9
+403,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'vuosi',
'dropdown.all_time' => 'kaikki tunnit',
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'vuosi',
'dropdown.all_time' => 'kaikki tunnit',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projektit',
'dropdown.tasks' => 'tehtävät',
'dropdown.clients' => 'asiakkaat',
'dropdown.projects' => 'projektit',
'dropdown.tasks' => 'tehtävät',
'dropdown.clients' => 'asiakkaat',
diff --git
a/WEB-INF/resources/fr.lang.php
b/WEB-INF/resources/fr.lang.php
index
ff7e4e6
..
3a5ce78
100644
(file)
--- a/
WEB-INF/resources/fr.lang.php
+++ b/
WEB-INF/resources/fr.lang.php
@@
-270,6
+270,13
@@
$i18n_key_words = array(
'label.active_users' => 'Utilisateurs actifs',
'label.inactive_users' => 'Utilisateurs inactifs',
'label.active_users' => 'Utilisateurs actifs',
'label.inactive_users' => 'Utilisateurs inactifs',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Erreur',
// TODO: Translate the following.
// Form titles.
'title.error' => 'Erreur',
// TODO: Translate the following.
@@
-388,9
+395,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => 'année dernière',
'dropdown.selected_year' => 'année',
'dropdown.all_time' => 'depuis toujours',
'dropdown.previous_year' => 'année dernière',
'dropdown.selected_year' => 'année',
'dropdown.all_time' => 'depuis toujours',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'Projets',
'dropdown.tasks' => 'Tâches',
'dropdown.clients' => 'Clients',
'dropdown.projects' => 'Projets',
'dropdown.tasks' => 'Tâches',
'dropdown.clients' => 'Clients',
diff --git
a/WEB-INF/resources/gr.lang.php
b/WEB-INF/resources/gr.lang.php
index
1e3c8be
..
65e7318
100644
(file)
--- a/
WEB-INF/resources/gr.lang.php
+++ b/
WEB-INF/resources/gr.lang.php
@@
-265,6
+265,13
@@
$i18n_key_words = array(
'label.active_users' => 'Ενεργοί χρήστες',
'label.inactive_users' => 'Ανενεργοί χρήστες',
'label.active_users' => 'Ενεργοί χρήστες',
'label.inactive_users' => 'Ανενεργοί χρήστες',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Σφάλμα',
// TODO: Translate the following.
// Form titles.
'title.error' => 'Σφάλμα',
// TODO: Translate the following.
@@
-386,9
+393,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => 'προηγούμενο έτος',
'dropdown.selected_year' => 'έτος',
'dropdown.all_time' => 'όλη την περίοδο',
'dropdown.previous_year' => 'προηγούμενο έτος',
'dropdown.selected_year' => 'έτος',
'dropdown.all_time' => 'όλη την περίοδο',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'έργα',
'dropdown.tasks' => 'εργασίες',
'dropdown.clients' => 'πελάτες',
'dropdown.projects' => 'έργα',
'dropdown.tasks' => 'εργασίες',
'dropdown.clients' => 'πελάτες',
diff --git
a/WEB-INF/resources/he.lang.php
b/WEB-INF/resources/he.lang.php
index
2905e27
..
3aee806
100644
(file)
--- a/
WEB-INF/resources/he.lang.php
+++ b/
WEB-INF/resources/he.lang.php
@@
-291,6
+291,13
@@
$i18n_key_words = array(
'label.active_users' => 'משתמשים פעילים',
'label.inactive_users' => 'משתמשים לא פעילים',
'label.active_users' => 'משתמשים פעילים',
'label.inactive_users' => 'משתמשים לא פעילים',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'שגיאה',
// TODO: Translate the following.
// Form titles.
'title.error' => 'שגיאה',
// TODO: Translate the following.
@@
-413,9
+420,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'שנה',
'dropdown.all_time' => 'הכל',
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'שנה',
'dropdown.all_time' => 'הכל',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'פרוייקטים',
'dropdown.tasks' => 'משימות',
'dropdown.clients' => 'לקוחות',
'dropdown.projects' => 'פרוייקטים',
'dropdown.tasks' => 'משימות',
'dropdown.clients' => 'לקוחות',
diff --git
a/WEB-INF/resources/hu.lang.php
b/WEB-INF/resources/hu.lang.php
index
d44c8d8
..
a998dd8
100644
(file)
--- a/
WEB-INF/resources/hu.lang.php
+++ b/
WEB-INF/resources/hu.lang.php
@@
-288,6
+288,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
@@
-416,8
+423,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projektek',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => 'projektek',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/it.lang.php
b/WEB-INF/resources/it.lang.php
index
a1efcd5
..
4f6368b
100644
(file)
--- a/
WEB-INF/resources/it.lang.php
+++ b/
WEB-INF/resources/it.lang.php
@@
-269,6
+269,13
@@
$i18n_key_words = array(
'label.active_users' => 'Utenti attivi',
'label.inactive_users' => 'Utenti inattivi',
'label.active_users' => 'Utenti attivi',
'label.inactive_users' => 'Utenti inattivi',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
@@
-396,9
+403,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => 'anno precedente',
'dropdown.selected_year' => 'anno',
'dropdown.all_time' => 'tutto il tempo',
'dropdown.previous_year' => 'anno precedente',
'dropdown.selected_year' => 'anno',
'dropdown.all_time' => 'tutto il tempo',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'progetti',
'dropdown.tasks' => 'compiti',
'dropdown.clients' => 'clienti',
'dropdown.projects' => 'progetti',
'dropdown.tasks' => 'compiti',
'dropdown.clients' => 'clienti',
diff --git
a/WEB-INF/resources/ja.lang.php
b/WEB-INF/resources/ja.lang.php
index
1fadd68
..
8a723ba
100644
(file)
--- a/
WEB-INF/resources/ja.lang.php
+++ b/
WEB-INF/resources/ja.lang.php
@@
-292,6
+292,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
@@
-419,9
+426,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => '昨年',
'dropdown.selected_year' => '年',
'dropdown.all_time' => 'すべての時間',
'dropdown.previous_year' => '昨年',
'dropdown.selected_year' => '年',
'dropdown.all_time' => 'すべての時間',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'プロジェクト',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => 'プロジェクト',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/ko.lang.php
b/WEB-INF/resources/ko.lang.php
index
115a96a
..
c2957e1
100644
(file)
--- a/
WEB-INF/resources/ko.lang.php
+++ b/
WEB-INF/resources/ko.lang.php
@@
-292,6
+292,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
@@
-422,9
+429,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
'dropdown.all_time' => '전시간',
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
'dropdown.all_time' => '전시간',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => '프로젝트',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => '프로젝트',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/nl.lang.php
b/WEB-INF/resources/nl.lang.php
index
58d3aaa
..
c834655
100644
(file)
--- a/
WEB-INF/resources/nl.lang.php
+++ b/
WEB-INF/resources/nl.lang.php
@@
-250,6
+250,13
@@
$i18n_key_words = array(
'label.active_users' => 'Actieve medewerkers',
'label.inactive_users' => 'Inactieve medewerkers',
'label.active_users' => 'Actieve medewerkers',
'label.inactive_users' => 'Inactieve medewerkers',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Fout',
'title.success' => 'Succes',
// Form titles.
'title.error' => 'Fout',
'title.success' => 'Succes',
@@
-363,9
+370,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => 'vorig jaar',
'dropdown.selected_year' => 'jaar',
'dropdown.all_time' => 'alles',
'dropdown.previous_year' => 'vorig jaar',
'dropdown.selected_year' => 'jaar',
'dropdown.all_time' => 'alles',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projecten',
'dropdown.tasks' => 'taken',
'dropdown.clients' => 'klanten',
'dropdown.projects' => 'projecten',
'dropdown.tasks' => 'taken',
'dropdown.clients' => 'klanten',
diff --git
a/WEB-INF/resources/no.lang.php
b/WEB-INF/resources/no.lang.php
index
27d6a91
..
8fb7bf6
100644
(file)
--- a/
WEB-INF/resources/no.lang.php
+++ b/
WEB-INF/resources/no.lang.php
@@
-289,6
+289,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
@@
-417,9
+424,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'prosjekter',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => 'prosjekter',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/pl.lang.php
b/WEB-INF/resources/pl.lang.php
index
aa6a2ce
..
d77a7b4
100644
(file)
--- a/
WEB-INF/resources/pl.lang.php
+++ b/
WEB-INF/resources/pl.lang.php
@@
-277,6
+277,13
@@
$i18n_key_words = array(
'label.active_users' => 'Aktywni użytkownicy',
'label.inactive_users' => 'Nieaktywni użytkownicy',
'label.active_users' => 'Aktywni użytkownicy',
'label.inactive_users' => 'Nieaktywni użytkownicy',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Błąd',
// TODO: Translate the following.
// Form titles.
'title.error' => 'Błąd',
// TODO: Translate the following.
@@
-399,9
+406,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'rok',
'dropdown.all_time' => 'od początku',
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'rok',
'dropdown.all_time' => 'od początku',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projekty',
'dropdown.tasks' => 'zadania',
'dropdown.clients' => 'klienci',
'dropdown.projects' => 'projekty',
'dropdown.tasks' => 'zadania',
'dropdown.clients' => 'klienci',
diff --git
a/WEB-INF/resources/pt-br.lang.php
b/WEB-INF/resources/pt-br.lang.php
index
3d1d0ab
..
7165cb5
100644
(file)
--- a/
WEB-INF/resources/pt-br.lang.php
+++ b/
WEB-INF/resources/pt-br.lang.php
@@
-274,6
+274,13
@@
$i18n_key_words = array(
'label.active_users' => 'Usuários ativos',
'label.inactive_users' => 'Usuários inativos',
'label.active_users' => 'Usuários ativos',
'label.inactive_users' => 'Usuários inativos',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Erro',
// TODO: Translate the following.
// Form titles.
'title.error' => 'Erro',
// TODO: Translate the following.
@@
-394,9
+401,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'ano',
'dropdown.all_time' => 'todas as datas',
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'ano',
'dropdown.all_time' => 'todas as datas',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projetos',
'dropdown.tasks' => 'tarefas',
'dropdown.clients' => 'clientes',
'dropdown.projects' => 'projetos',
'dropdown.tasks' => 'tarefas',
'dropdown.clients' => 'clientes',
diff --git
a/WEB-INF/resources/pt.lang.php
b/WEB-INF/resources/pt.lang.php
index
2720464
..
6c00243
100644
(file)
--- a/
WEB-INF/resources/pt.lang.php
+++ b/
WEB-INF/resources/pt.lang.php
@@
-277,6
+277,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
@@
-402,9
+409,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projetos',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => 'projetos',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/ro.lang.php
b/WEB-INF/resources/ro.lang.php
index
64b4551
..
a66f5e4
100644
(file)
--- a/
WEB-INF/resources/ro.lang.php
+++ b/
WEB-INF/resources/ro.lang.php
@@
-289,6
+289,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// page is about and is "consistent" from page to page, meaning that correct grammar is used everywhere.
@@
-420,8
+427,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'proiecte',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => 'proiecte',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/ru.lang.php
b/WEB-INF/resources/ru.lang.php
index
980aa46
..
93c88dd
100644
(file)
--- a/
WEB-INF/resources/ru.lang.php
+++ b/
WEB-INF/resources/ru.lang.php
@@
-247,6
+247,12
@@
$i18n_key_words = array(
'label.active_users' => 'Активные пользователи',
'label.inactive_users' => 'Неактивные пользователи',
'label.active_users' => 'Активные пользователи',
'label.inactive_users' => 'Неактивные пользователи',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+'entity.time' => 'время',
+'entity.user' => 'пользователь',
+'entity.project' => 'проект',
+
// Form titles.
'title.error' => 'Ошибка',
'title.success' => 'Успех',
// Form titles.
'title.error' => 'Ошибка',
'title.success' => 'Успех',
@@
-360,8
+366,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => 'прошлый год',
'dropdown.selected_year' => 'год',
'dropdown.all_time' => 'всё время',
'dropdown.previous_year' => 'прошлый год',
'dropdown.selected_year' => 'год',
'dropdown.all_time' => 'всё время',
-'dropdown.time' => 'время',
-'dropdown.user' => 'пользователь',
'dropdown.projects' => 'проекты',
'dropdown.tasks' => 'задачи',
'dropdown.clients' => 'клиенты',
'dropdown.projects' => 'проекты',
'dropdown.tasks' => 'задачи',
'dropdown.clients' => 'клиенты',
diff --git
a/WEB-INF/resources/sk.lang.php
b/WEB-INF/resources/sk.lang.php
index
56d14f6
..
a1ebcb5
100644
(file)
--- a/
WEB-INF/resources/sk.lang.php
+++ b/
WEB-INF/resources/sk.lang.php
@@
-281,6
+281,13
@@
$i18n_key_words = array(
'label.active_users' => 'Aktívny používatelia',
'label.inactive_users' => 'Neaktívny používatelia',
'label.active_users' => 'Aktívny používatelia',
'label.inactive_users' => 'Neaktívny používatelia',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Chyba',
// TODO: Translate the following.
// Form titles.
'title.error' => 'Chyba',
// TODO: Translate the following.
@@
-403,9
+410,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'rok',
'dropdown.all_time' => 'celý čas',
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'rok',
'dropdown.all_time' => 'celý čas',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projekty',
'dropdown.tasks' => 'úlohy',
// TODO: translate the following.
'dropdown.projects' => 'projekty',
'dropdown.tasks' => 'úlohy',
// TODO: translate the following.
diff --git
a/WEB-INF/resources/sl.lang.php
b/WEB-INF/resources/sl.lang.php
index
db54f19
..
0dac806
100644
(file)
--- a/
WEB-INF/resources/sl.lang.php
+++ b/
WEB-INF/resources/sl.lang.php
@@
-272,6
+272,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
@@
-394,8
+401,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
// 'dropdown.all_time' => 'all time',
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projekti',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => 'projekti',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/sr.lang.php
b/WEB-INF/resources/sr.lang.php
index
eb8f3eb
..
e73ae46
100644
(file)
--- a/
WEB-INF/resources/sr.lang.php
+++ b/
WEB-INF/resources/sr.lang.php
@@
-275,6
+275,13
@@
$i18n_key_words = array(
'label.active_users' => 'Aktivni korisnik',
'label.inactive_users' => 'Neaktivni korisnik',
'label.active_users' => 'Aktivni korisnik',
'label.inactive_users' => 'Neaktivni korisnik',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
'title.error' => 'Greška',
// TODO: Translate the following.
// Form titles.
'title.error' => 'Greška',
// TODO: Translate the following.
@@
-397,9
+404,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'godina',
'dropdown.all_time' => 'svi datumi',
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => 'godina',
'dropdown.all_time' => 'svi datumi',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projekti',
'dropdown.tasks' => 'zadaci',
'dropdown.clients' => 'klijenti',
'dropdown.projects' => 'projekti',
'dropdown.tasks' => 'zadaci',
'dropdown.clients' => 'klijenti',
diff --git
a/WEB-INF/resources/sv.lang.php
b/WEB-INF/resources/sv.lang.php
index
c17662b
..
c6bf2f4
100644
(file)
--- a/
WEB-INF/resources/sv.lang.php
+++ b/
WEB-INF/resources/sv.lang.php
@@
-272,6
+272,13
@@
$i18n_key_words = array(
'label.active_users' => 'Aktiva användare',
'label.inactive_users' => 'Inaktiva användare',
'label.active_users' => 'Aktiva användare',
'label.inactive_users' => 'Inaktiva användare',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Rubriker för formulär
'title.error' => 'Fel',
// TODO: Translate the following.
// Rubriker för formulär
'title.error' => 'Fel',
// TODO: Translate the following.
@@
-396,9
+403,6
@@
$i18n_key_words = array(
'dropdown.previous_year' => 'Föregående år',
'dropdown.selected_year' => 'År',
'dropdown.all_time' => 'Livstid',
'dropdown.previous_year' => 'Föregående år',
'dropdown.selected_year' => 'År',
'dropdown.all_time' => 'Livstid',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'Projekt',
'dropdown.tasks' => 'Arbetsuppgifter',
'dropdown.clients' => 'Kunder',
'dropdown.projects' => 'Projekt',
'dropdown.tasks' => 'Arbetsuppgifter',
'dropdown.clients' => 'Kunder',
diff --git
a/WEB-INF/resources/tr.lang.php
b/WEB-INF/resources/tr.lang.php
index
5701f56
..
d07275f
100644
(file)
--- a/
WEB-INF/resources/tr.lang.php
+++ b/
WEB-INF/resources/tr.lang.php
@@
-296,6
+296,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
// Form titles.
// Form titles.
// TODO: Improve titles for consistency, so that each title explains correctly what each
@@
-428,9
+435,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
'dropdown.all_time' => 'tüm zamanlar',
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
'dropdown.all_time' => 'tüm zamanlar',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => 'projeler',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => 'projeler',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/zh-cn.lang.php
b/WEB-INF/resources/zh-cn.lang.php
index
dce6df8
..
e5244c0
100644
(file)
--- a/
WEB-INF/resources/zh-cn.lang.php
+++ b/
WEB-INF/resources/zh-cn.lang.php
@@
-281,6
+281,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
@@
-409,9
+416,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
'dropdown.all_time' => '全部时间',
// 'dropdown.previous_year' => 'previous year',
// 'dropdown.selected_year' => 'year',
'dropdown.all_time' => '全部时间',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => '项目',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => '项目',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/resources/zh-tw.lang.php
b/WEB-INF/resources/zh-tw.lang.php
index
a18cb21
..
f5d9e9b
100644
(file)
--- a/
WEB-INF/resources/zh-tw.lang.php
+++ b/
WEB-INF/resources/zh-tw.lang.php
@@
-287,6
+287,13
@@
$i18n_key_words = array(
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
// 'label.active_users' => 'Active Users',
// 'label.inactive_users' => 'Inactive Users',
+// Entity names. We use lower case (in English) because they are used in dropdowns, too.
+// They are used to associate a custom field with an entity type.
+// TODO: translate the following.
+// 'entity.time' => 'time',
+// 'entity.user' => 'user',
+// 'entity.project' => 'project',
+
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
// Form titles.
// TODO: Translate the following.
// 'title.error' => 'Error',
@@
-414,9
+421,6
@@
$i18n_key_words = array(
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => '年',
'dropdown.all_time' => '全部時間',
// 'dropdown.previous_year' => 'previous year',
'dropdown.selected_year' => '年',
'dropdown.all_time' => '全部時間',
-// TODO: translate the following.
-// 'dropdown.time' => 'time',
-// 'dropdown.user' => 'user',
'dropdown.projects' => '項目',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
'dropdown.projects' => '項目',
// TODO: translate the following.
// 'dropdown.tasks' => 'tasks',
diff --git
a/WEB-INF/templates/cf_custom_fields.tpl
b/WEB-INF/templates/cf_custom_fields.tpl
index
5d254e9
..
e64f181
100644
(file)
--- a/
WEB-INF/templates/cf_custom_fields.tpl
+++ b/
WEB-INF/templates/cf_custom_fields.tpl
@@
-5,7
+5,8
@@
{if $user->can('manage_custom_fields')}
<table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr>
{if $user->can('manage_custom_fields')}
<table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr>
- <td width="50%" class="tableHeader">{$i18n.label.thing_name}</td>
+ <td class="tableHeader">{$i18n.label.thing_name}</td>
+ <td class="tableHeader">{$i18n.label.entity}</td>
<td class="tableHeader">{$i18n.label.type}</td>
<td class="tableHeader">{$i18n.menu.options}</td>
<td></td>
<td class="tableHeader">{$i18n.label.type}</td>
<td class="tableHeader">{$i18n.menu.options}</td>
<td></td>
@@
-15,6
+16,13
@@
{foreach $custom_fields as $field}
<tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
<td>{$field['label']|escape}</td>
{foreach $custom_fields as $field}
<tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
<td>{$field['label']|escape}</td>
+ {if CustomFields::ENTITY_TIME == $field['entity_type']}
+ <td>{$i18n.entity.time}</td>
+ {elseif CustomFields::ENTITY_USER == $field['entity_type']}
+ <td>{$i18n.entity.user}</td>
+ {else}
+ <td></td>
+ {/if}
{if CustomFields::TYPE_TEXT == $field['type']}
<td>{$i18n.label.type_text}</td>
<td></td>
{if CustomFields::TYPE_TEXT == $field['type']}
<td>{$i18n.label.type_text}</td>
<td></td>
diff --git
a/WEB-INF/templates/footer.tpl
b/WEB-INF/templates/footer.tpl
index
3beac64
..
2351957
100644
(file)
--- a/
WEB-INF/templates/footer.tpl
+++ b/
WEB-INF/templates/footer.tpl
@@
-12,7
+12,7
@@
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.19.6.502
0
| Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.19.6.502
1
| Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
diff --git
a/cf_custom_field_add.php
b/cf_custom_field_add.php
index
e4a919e
..
e8de69e
100644
(file)
--- a/
cf_custom_field_add.php
+++ b/
cf_custom_field_add.php
@@
-41,7
+41,7
@@
if (!$user->isPluginEnabled('cf')) {
}
$fields = CustomFields::getFields();
// Deny access when max number of custom fields is already set.
}
$fields = CustomFields::getFields();
// Deny access when max number of custom fields is already set.
-if (count($fields) >= 1) {
+if (count($fields) >= 1
&& !isTrue('CF_DEBUG')
) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}
@@
-59,8
+59,8
@@
if ($request->isPost()) {
$form = new Form('fieldForm');
$form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'name','value'=>''));
$form->addInput(array('type'=>'combobox','name'=>'entity',
$form = new Form('fieldForm');
$form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'name','value'=>''));
$form->addInput(array('type'=>'combobox','name'=>'entity',
- 'data'=>array(CustomFields::ENTITY_TIME=>$i18n->get('
dropdown
.time'),
- CustomFields::ENTITY_USER=>$i18n->get('
dropdown
.user'))
+ 'data'=>array(CustomFields::ENTITY_TIME=>$i18n->get('
entity
.time'),
+ CustomFields::ENTITY_USER=>$i18n->get('
entity
.user'))
));
$form->addInput(array('type'=>'combobox','name'=>'type',
'data'=>array(CustomFields::TYPE_TEXT=>$i18n->get('label.type_text'),
));
$form->addInput(array('type'=>'combobox','name'=>'type',
'data'=>array(CustomFields::TYPE_TEXT=>$i18n->get('label.type_text'),
diff --git
a/cf_custom_fields.php
b/cf_custom_fields.php
index
6de626c
..
d877e7c
100644
(file)
--- a/
cf_custom_fields.php
+++ b/
cf_custom_fields.php
@@
-54,7
+54,7
@@
if ($request->isPost()) {
$fields = CustomFields::getFields();
// At this time only one custom field is supported. Disable the Add button if we already have one or more custom fields.
$fields = CustomFields::getFields();
// At this time only one custom field is supported. Disable the Add button if we already have one or more custom fields.
- if (count($fields) > 0)
+ if (count($fields) > 0
&& !isTrue('CF_DEBUG')
)
$form->getElement('btn_add')->setEnabled(false);
}
$form->getElement('btn_add')->setEnabled(false);
}
diff --git
a/plugins/CustomFields.class.php
b/plugins/CustomFields.class.php
index
a0c49ec
..
f36a426
100644
(file)
--- a/
plugins/CustomFields.class.php
+++ b/
plugins/CustomFields.class.php
@@
-249,12
+249,12
@@
class CustomFields {
$org_id = $user->org_id;
$fields = array();
$org_id = $user->org_id;
$fields = array();
- $sql = "select id, type, label from tt_custom_fields".
+ $sql = "select id,
entity_type,
type, label from tt_custom_fields".
" where group_id = $group_id and org_id = $org_id and status = 1 and type > 0";
$res = $mdb2->query($sql);
if (!is_a($res, 'PEAR_Error')) {
while ($val = $res->fetchRow()) {
" where group_id = $group_id and org_id = $org_id and status = 1 and type > 0";
$res = $mdb2->query($sql);
if (!is_a($res, 'PEAR_Error')) {
while ($val = $res->fetchRow()) {
- $fields[] = array('id'=>$val['id'],'type'=>$val['type'],'label'=>$val['label']);
+ $fields[] =
$val; //
array('id'=>$val['id'],'type'=>$val['type'],'label'=>$val['label']);
}
return $fields;
}
}
return $fields;
}
@@
-308,8
+308,8
@@
class CustomFields {
$group_id = $user->getGroup();
$org_id = $user->org_id;
$group_id = $user->getGroup();
$org_id = $user->org_id;
- $sql = "insert into tt_custom_fields (group_id, org_id, type, label, required, status)".
- " values($group_id, $org_id, $field_type, ".$mdb2->quote($field_name).", $required, 1)";
+ $sql = "insert into tt_custom_fields (group_id, org_id,
entity_type,
type, label, required, status)".
+ " values($group_id, $org_id, $
entity_type, $
field_type, ".$mdb2->quote($field_name).", $required, 1)";
$affected = $mdb2->exec($sql);
return (!is_a($affected, 'PEAR_Error'));
}
$affected = $mdb2->exec($sql);
return (!is_a($affected, 'PEAR_Error'));
}