summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
commit90e06162999c8ec7fa9bcfa391800f7907419d9b (patch)
treef0f8d4a760f25c4f7773e0a1851031db6b08b9f2
parent180efb962c6fc4da47ed39e60db137d63ffaad5b (diff)
Rename Locales and Templates folders to be more consistent
-rw-r--r--.scrutinizer.yml10
-rw-r--r--app/Core/Template.php2
-rw-r--r--app/Core/Translator.php6
-rw-r--r--app/Locale/da_DK/translations.php (renamed from app/Locales/da_DK/translations.php)0
-rw-r--r--app/Locale/de_DE/translations.php (renamed from app/Locales/de_DE/translations.php)0
-rw-r--r--app/Locale/es_ES/translations.php (renamed from app/Locales/es_ES/translations.php)0
-rw-r--r--app/Locale/fi_FI/translations.php (renamed from app/Locales/fi_FI/translations.php)0
-rw-r--r--app/Locale/fr_FR/translations.php (renamed from app/Locales/fr_FR/translations.php)0
-rw-r--r--app/Locale/it_IT/translations.php (renamed from app/Locales/it_IT/translations.php)0
-rw-r--r--app/Locale/ja_JP/translations.php (renamed from app/Locales/ja_JP/translations.php)0
-rw-r--r--app/Locale/pl_PL/translations.php (renamed from app/Locales/pl_PL/translations.php)0
-rw-r--r--app/Locale/pt_BR/translations.php (renamed from app/Locales/pt_BR/translations.php)0
-rw-r--r--app/Locale/ru_RU/translations.php (renamed from app/Locales/ru_RU/translations.php)0
-rw-r--r--app/Locale/sv_SE/translations.php (renamed from app/Locales/sv_SE/translations.php)0
-rw-r--r--app/Locale/th_TH/translations.php (renamed from app/Locales/th_TH/translations.php)0
-rw-r--r--app/Locale/zh_CN/translations.php (renamed from app/Locales/zh_CN/translations.php)0
-rw-r--r--app/Template/action_event.php (renamed from app/Templates/action_event.php)0
-rw-r--r--app/Template/action_index.php (renamed from app/Templates/action_index.php)0
-rw-r--r--app/Template/action_params.php (renamed from app/Templates/action_params.php)0
-rw-r--r--app/Template/action_remove.php (renamed from app/Templates/action_remove.php)0
-rw-r--r--app/Template/app_forbidden.php (renamed from app/Templates/app_forbidden.php)0
-rw-r--r--app/Template/app_index.php (renamed from app/Templates/app_index.php)0
-rw-r--r--app/Template/app_notfound.php (renamed from app/Templates/app_notfound.php)0
-rw-r--r--app/Template/board_assignee.php (renamed from app/Templates/board_assignee.php)0
-rw-r--r--app/Template/board_category.php (renamed from app/Templates/board_category.php)0
-rw-r--r--app/Template/board_edit.php (renamed from app/Templates/board_edit.php)0
-rw-r--r--app/Template/board_index.php (renamed from app/Templates/board_index.php)0
-rw-r--r--app/Template/board_public.php (renamed from app/Templates/board_public.php)0
-rw-r--r--app/Template/board_remove.php (renamed from app/Templates/board_remove.php)0
-rw-r--r--app/Template/board_show.php (renamed from app/Templates/board_show.php)0
-rw-r--r--app/Template/board_task.php (renamed from app/Templates/board_task.php)0
-rw-r--r--app/Template/category_edit.php (renamed from app/Templates/category_edit.php)0
-rw-r--r--app/Template/category_index.php (renamed from app/Templates/category_index.php)0
-rw-r--r--app/Template/category_remove.php (renamed from app/Templates/category_remove.php)0
-rw-r--r--app/Template/comment_create.php (renamed from app/Templates/comment_create.php)0
-rw-r--r--app/Template/comment_edit.php (renamed from app/Templates/comment_edit.php)0
-rw-r--r--app/Template/comment_forbidden.php (renamed from app/Templates/comment_forbidden.php)0
-rw-r--r--app/Template/comment_remove.php (renamed from app/Templates/comment_remove.php)0
-rw-r--r--app/Template/comment_show.php (renamed from app/Templates/comment_show.php)0
-rw-r--r--app/Template/config_about.php (renamed from app/Templates/config_about.php)0
-rw-r--r--app/Template/config_api.php (renamed from app/Templates/config_api.php)0
-rw-r--r--app/Template/config_application.php (renamed from app/Templates/config_application.php)0
-rw-r--r--app/Template/config_board.php (renamed from app/Templates/config_board.php)0
-rw-r--r--app/Template/config_layout.php (renamed from app/Templates/config_layout.php)0
-rw-r--r--app/Template/config_sidebar.php (renamed from app/Templates/config_sidebar.php)0
-rw-r--r--app/Template/config_webhook.php (renamed from app/Templates/config_webhook.php)0
-rw-r--r--app/Template/event_comment_create.php (renamed from app/Templates/event_comment_create.php)0
-rw-r--r--app/Template/event_comment_update.php (renamed from app/Templates/event_comment_update.php)0
-rw-r--r--app/Template/event_subtask_create.php (renamed from app/Templates/event_subtask_create.php)0
-rw-r--r--app/Template/event_subtask_update.php (renamed from app/Templates/event_subtask_update.php)0
-rw-r--r--app/Template/event_task_assignee_change.php (renamed from app/Templates/event_task_assignee_change.php)0
-rw-r--r--app/Template/event_task_close.php (renamed from app/Templates/event_task_close.php)0
-rw-r--r--app/Template/event_task_create.php (renamed from app/Templates/event_task_create.php)0
-rw-r--r--app/Template/event_task_move_column.php (renamed from app/Templates/event_task_move_column.php)0
-rw-r--r--app/Template/event_task_move_position.php (renamed from app/Templates/event_task_move_position.php)0
-rw-r--r--app/Template/event_task_open.php (renamed from app/Templates/event_task_open.php)0
-rw-r--r--app/Template/event_task_update.php (renamed from app/Templates/event_task_update.php)0
-rw-r--r--app/Template/file_new.php (renamed from app/Templates/file_new.php)0
-rw-r--r--app/Template/file_open.php (renamed from app/Templates/file_open.php)0
-rw-r--r--app/Template/file_remove.php (renamed from app/Templates/file_remove.php)0
-rw-r--r--app/Template/file_show.php (renamed from app/Templates/file_show.php)0
-rw-r--r--app/Template/layout.php (renamed from app/Templates/layout.php)0
-rw-r--r--app/Template/notification_comment_creation.php (renamed from app/Templates/notification_comment_creation.php)0
-rw-r--r--app/Template/notification_comment_update.php (renamed from app/Templates/notification_comment_update.php)0
-rw-r--r--app/Template/notification_file_creation.php (renamed from app/Templates/notification_file_creation.php)0
-rw-r--r--app/Template/notification_footer.php (renamed from app/Templates/notification_footer.php)0
-rw-r--r--app/Template/notification_subtask_creation.php (renamed from app/Templates/notification_subtask_creation.php)0
-rw-r--r--app/Template/notification_subtask_update.php (renamed from app/Templates/notification_subtask_update.php)0
-rw-r--r--app/Template/notification_task_assignee_change.php (renamed from app/Templates/notification_task_assignee_change.php)0
-rw-r--r--app/Template/notification_task_close.php (renamed from app/Templates/notification_task_close.php)0
-rw-r--r--app/Template/notification_task_creation.php (renamed from app/Templates/notification_task_creation.php)0
-rw-r--r--app/Template/notification_task_due.php (renamed from app/Templates/notification_task_due.php)0
-rw-r--r--app/Template/notification_task_move_column.php (renamed from app/Templates/notification_task_move_column.php)0
-rw-r--r--app/Template/notification_task_move_position.php (renamed from app/Templates/notification_task_move_position.php)0
-rw-r--r--app/Template/notification_task_open.php (renamed from app/Templates/notification_task_open.php)0
-rw-r--r--app/Template/notification_task_update.php (renamed from app/Templates/notification_task_update.php)0
-rw-r--r--app/Template/project_activity.php (renamed from app/Templates/project_activity.php)0
-rw-r--r--app/Template/project_disable.php (renamed from app/Templates/project_disable.php)0
-rw-r--r--app/Template/project_duplicate.php (renamed from app/Templates/project_duplicate.php)0
-rw-r--r--app/Template/project_edit.php (renamed from app/Templates/project_edit.php)0
-rw-r--r--app/Template/project_enable.php (renamed from app/Templates/project_enable.php)0
-rw-r--r--app/Template/project_events.php (renamed from app/Templates/project_events.php)0
-rw-r--r--app/Template/project_export.php (renamed from app/Templates/project_export.php)0
-rw-r--r--app/Template/project_feed.php (renamed from app/Templates/project_feed.php)0
-rw-r--r--app/Template/project_index.php (renamed from app/Templates/project_index.php)0
-rw-r--r--app/Template/project_layout.php (renamed from app/Templates/project_layout.php)0
-rw-r--r--app/Template/project_new.php (renamed from app/Templates/project_new.php)0
-rw-r--r--app/Template/project_remove.php (renamed from app/Templates/project_remove.php)0
-rw-r--r--app/Template/project_search.php (renamed from app/Templates/project_search.php)0
-rw-r--r--app/Template/project_share.php (renamed from app/Templates/project_share.php)0
-rw-r--r--app/Template/project_show.php (renamed from app/Templates/project_show.php)0
-rw-r--r--app/Template/project_sidebar.php (renamed from app/Templates/project_sidebar.php)0
-rw-r--r--app/Template/project_tasks.php (renamed from app/Templates/project_tasks.php)0
-rw-r--r--app/Template/project_users.php (renamed from app/Templates/project_users.php)0
-rw-r--r--app/Template/subtask_create.php (renamed from app/Templates/subtask_create.php)0
-rw-r--r--app/Template/subtask_edit.php (renamed from app/Templates/subtask_edit.php)0
-rw-r--r--app/Template/subtask_remove.php (renamed from app/Templates/subtask_remove.php)0
-rw-r--r--app/Template/subtask_show.php (renamed from app/Templates/subtask_show.php)0
-rw-r--r--app/Template/task_close.php (renamed from app/Templates/task_close.php)0
-rw-r--r--app/Template/task_comments.php (renamed from app/Templates/task_comments.php)0
-rw-r--r--app/Template/task_details.php (renamed from app/Templates/task_details.php)0
-rw-r--r--app/Template/task_duplicate.php (renamed from app/Templates/task_duplicate.php)0
-rw-r--r--app/Template/task_duplicate_project.php (renamed from app/Templates/task_duplicate_project.php)0
-rw-r--r--app/Template/task_edit.php (renamed from app/Templates/task_edit.php)0
-rw-r--r--app/Template/task_edit_description.php (renamed from app/Templates/task_edit_description.php)0
-rw-r--r--app/Template/task_layout.php (renamed from app/Templates/task_layout.php)0
-rw-r--r--app/Template/task_move_project.php (renamed from app/Templates/task_move_project.php)0
-rw-r--r--app/Template/task_new.php (renamed from app/Templates/task_new.php)0
-rw-r--r--app/Template/task_open.php (renamed from app/Templates/task_open.php)0
-rw-r--r--app/Template/task_public.php (renamed from app/Templates/task_public.php)0
-rw-r--r--app/Template/task_remove.php (renamed from app/Templates/task_remove.php)0
-rw-r--r--app/Template/task_show.php (renamed from app/Templates/task_show.php)0
-rw-r--r--app/Template/task_show_description.php (renamed from app/Templates/task_show_description.php)0
-rw-r--r--app/Template/task_sidebar.php (renamed from app/Templates/task_sidebar.php)0
-rw-r--r--app/Template/task_table.php (renamed from app/Templates/task_table.php)0
-rw-r--r--app/Template/task_time.php (renamed from app/Templates/task_time.php)0
-rw-r--r--app/Template/task_timesheet.php (renamed from app/Templates/task_timesheet.php)0
-rw-r--r--app/Template/user_edit.php (renamed from app/Templates/user_edit.php)0
-rw-r--r--app/Template/user_external.php (renamed from app/Templates/user_external.php)0
-rw-r--r--app/Template/user_index.php (renamed from app/Templates/user_index.php)0
-rw-r--r--app/Template/user_last.php (renamed from app/Templates/user_last.php)0
-rw-r--r--app/Template/user_layout.php (renamed from app/Templates/user_layout.php)0
-rw-r--r--app/Template/user_login.php (renamed from app/Templates/user_login.php)0
-rw-r--r--app/Template/user_new.php (renamed from app/Templates/user_new.php)0
-rw-r--r--app/Template/user_notifications.php (renamed from app/Templates/user_notifications.php)0
-rw-r--r--app/Template/user_password.php (renamed from app/Templates/user_password.php)0
-rw-r--r--app/Template/user_remove.php (renamed from app/Templates/user_remove.php)0
-rw-r--r--app/Template/user_sessions.php (renamed from app/Templates/user_sessions.php)0
-rw-r--r--app/Template/user_show.php (renamed from app/Templates/user_show.php)0
-rw-r--r--app/Template/user_sidebar.php (renamed from app/Templates/user_sidebar.php)0
-rw-r--r--docs/translations.markdown8
-rwxr-xr-xscripts/sync-locales.php6
132 files changed, 16 insertions, 16 deletions
diff --git a/.scrutinizer.yml b/.scrutinizer.yml
index 26d490b2..34f9a173 100644
--- a/.scrutinizer.yml
+++ b/.scrutinizer.yml
@@ -2,7 +2,7 @@ filter:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- - 'app/Templates/*'
+ - 'app/Template/*'
paths: { }
tools:
php_sim:
@@ -12,7 +12,7 @@ tools:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- - 'app/Templates/*'
+ - 'app/Template/*'
paths: { }
php_pdepend:
enabled: true
@@ -24,7 +24,7 @@ tools:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- - 'app/Templates/*'
+ - 'app/Template/*'
paths: { }
php_analyzer:
enabled: true
@@ -35,7 +35,7 @@ tools:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- - 'app/Templates/*'
+ - 'app/Template/*'
paths: { }
path_configs: { }
php_changetracking:
@@ -49,5 +49,5 @@ tools:
excluded_paths:
- 'vendor/*'
- 'tests/*'
- - 'app/Templates/*'
+ - 'app/Template/*'
paths: { }
diff --git a/app/Core/Template.php b/app/Core/Template.php
index f21e8a6d..da61f579 100644
--- a/app/Core/Template.php
+++ b/app/Core/Template.php
@@ -17,7 +17,7 @@ class Template
*
* @var string
*/
- const PATH = 'app/Templates/';
+ const PATH = 'app/Template/';
/**
* Load a template
diff --git a/app/Core/Translator.php b/app/Core/Translator.php
index 43e934a9..1954ee2f 100644
--- a/app/Core/Translator.php
+++ b/app/Core/Translator.php
@@ -11,14 +11,14 @@ namespace Core;
class Translator
{
/**
- * Locales path
+ * Locale path
*
* @var string
*/
- const PATH = 'app/Locales/';
+ const PATH = 'app/Locale/';
/**
- * Locales
+ * Locale
*
* @static
* @access private
diff --git a/app/Locales/da_DK/translations.php b/app/Locale/da_DK/translations.php
index f3523aa4..f3523aa4 100644
--- a/app/Locales/da_DK/translations.php
+++ b/app/Locale/da_DK/translations.php
diff --git a/app/Locales/de_DE/translations.php b/app/Locale/de_DE/translations.php
index f9124641..f9124641 100644
--- a/app/Locales/de_DE/translations.php
+++ b/app/Locale/de_DE/translations.php
diff --git a/app/Locales/es_ES/translations.php b/app/Locale/es_ES/translations.php
index a18597fc..a18597fc 100644
--- a/app/Locales/es_ES/translations.php
+++ b/app/Locale/es_ES/translations.php
diff --git a/app/Locales/fi_FI/translations.php b/app/Locale/fi_FI/translations.php
index e5303adc..e5303adc 100644
--- a/app/Locales/fi_FI/translations.php
+++ b/app/Locale/fi_FI/translations.php
diff --git a/app/Locales/fr_FR/translations.php b/app/Locale/fr_FR/translations.php
index 8b1287ce..8b1287ce 100644
--- a/app/Locales/fr_FR/translations.php
+++ b/app/Locale/fr_FR/translations.php
diff --git a/app/Locales/it_IT/translations.php b/app/Locale/it_IT/translations.php
index 2ec81f21..2ec81f21 100644
--- a/app/Locales/it_IT/translations.php
+++ b/app/Locale/it_IT/translations.php
diff --git a/app/Locales/ja_JP/translations.php b/app/Locale/ja_JP/translations.php
index e05c13e3..e05c13e3 100644
--- a/app/Locales/ja_JP/translations.php
+++ b/app/Locale/ja_JP/translations.php
diff --git a/app/Locales/pl_PL/translations.php b/app/Locale/pl_PL/translations.php
index b3c6acf1..b3c6acf1 100644
--- a/app/Locales/pl_PL/translations.php
+++ b/app/Locale/pl_PL/translations.php
diff --git a/app/Locales/pt_BR/translations.php b/app/Locale/pt_BR/translations.php
index 902943cc..902943cc 100644
--- a/app/Locales/pt_BR/translations.php
+++ b/app/Locale/pt_BR/translations.php
diff --git a/app/Locales/ru_RU/translations.php b/app/Locale/ru_RU/translations.php
index a1c79de3..a1c79de3 100644
--- a/app/Locales/ru_RU/translations.php
+++ b/app/Locale/ru_RU/translations.php
diff --git a/app/Locales/sv_SE/translations.php b/app/Locale/sv_SE/translations.php
index dbd21401..dbd21401 100644
--- a/app/Locales/sv_SE/translations.php
+++ b/app/Locale/sv_SE/translations.php
diff --git a/app/Locales/th_TH/translations.php b/app/Locale/th_TH/translations.php
index 6c6a41bf..6c6a41bf 100644
--- a/app/Locales/th_TH/translations.php
+++ b/app/Locale/th_TH/translations.php
diff --git a/app/Locales/zh_CN/translations.php b/app/Locale/zh_CN/translations.php
index bfe15067..bfe15067 100644
--- a/app/Locales/zh_CN/translations.php
+++ b/app/Locale/zh_CN/translations.php
diff --git a/app/Templates/action_event.php b/app/Template/action_event.php
index eee41780..eee41780 100644
--- a/app/Templates/action_event.php
+++ b/app/Template/action_event.php
diff --git a/app/Templates/action_index.php b/app/Template/action_index.php
index 30874591..30874591 100644
--- a/app/Templates/action_index.php
+++ b/app/Template/action_index.php
diff --git a/app/Templates/action_params.php b/app/Template/action_params.php
index f647149b..f647149b 100644
--- a/app/Templates/action_params.php
+++ b/app/Template/action_params.php
diff --git a/app/Templates/action_remove.php b/app/Template/action_remove.php
index 668067da..668067da 100644
--- a/app/Templates/action_remove.php
+++ b/app/Template/action_remove.php
diff --git a/app/Templates/app_forbidden.php b/app/Template/app_forbidden.php
index 0c035404..0c035404 100644
--- a/app/Templates/app_forbidden.php
+++ b/app/Template/app_forbidden.php
diff --git a/app/Templates/app_index.php b/app/Template/app_index.php
index 91eecce4..91eecce4 100644
--- a/app/Templates/app_index.php
+++ b/app/Template/app_index.php
diff --git a/app/Templates/app_notfound.php b/app/Template/app_notfound.php
index 734d16a4..734d16a4 100644
--- a/app/Templates/app_notfound.php
+++ b/app/Template/app_notfound.php
diff --git a/app/Templates/board_assignee.php b/app/Template/board_assignee.php
index 41ede32b..41ede32b 100644
--- a/app/Templates/board_assignee.php
+++ b/app/Template/board_assignee.php
diff --git a/app/Templates/board_category.php b/app/Template/board_category.php
index 36126a1d..36126a1d 100644
--- a/app/Templates/board_category.php
+++ b/app/Template/board_category.php
diff --git a/app/Templates/board_edit.php b/app/Template/board_edit.php
index cfaebc50..cfaebc50 100644
--- a/app/Templates/board_edit.php
+++ b/app/Template/board_edit.php
diff --git a/app/Templates/board_index.php b/app/Template/board_index.php
index bff7dcc9..bff7dcc9 100644
--- a/app/Templates/board_index.php
+++ b/app/Template/board_index.php
diff --git a/app/Templates/board_public.php b/app/Template/board_public.php
index 85c90cfa..85c90cfa 100644
--- a/app/Templates/board_public.php
+++ b/app/Template/board_public.php
diff --git a/app/Templates/board_remove.php b/app/Template/board_remove.php
index 4529063b..4529063b 100644
--- a/app/Templates/board_remove.php
+++ b/app/Template/board_remove.php
diff --git a/app/Templates/board_show.php b/app/Template/board_show.php
index e8c3c1ba..e8c3c1ba 100644
--- a/app/Templates/board_show.php
+++ b/app/Template/board_show.php
diff --git a/app/Templates/board_task.php b/app/Template/board_task.php
index ca854f37..ca854f37 100644
--- a/app/Templates/board_task.php
+++ b/app/Template/board_task.php
diff --git a/app/Templates/category_edit.php b/app/Template/category_edit.php
index 278d7e12..278d7e12 100644
--- a/app/Templates/category_edit.php
+++ b/app/Template/category_edit.php
diff --git a/app/Templates/category_index.php b/app/Template/category_index.php
index 4635406e..4635406e 100644
--- a/app/Templates/category_index.php
+++ b/app/Template/category_index.php
diff --git a/app/Templates/category_remove.php b/app/Template/category_remove.php
index cfc23e07..cfc23e07 100644
--- a/app/Templates/category_remove.php
+++ b/app/Template/category_remove.php
diff --git a/app/Templates/comment_create.php b/app/Template/comment_create.php
index 11772f75..11772f75 100644
--- a/app/Templates/comment_create.php
+++ b/app/Template/comment_create.php
diff --git a/app/Templates/comment_edit.php b/app/Template/comment_edit.php
index 4ce48964..4ce48964 100644
--- a/app/Templates/comment_edit.php
+++ b/app/Template/comment_edit.php
diff --git a/app/Templates/comment_forbidden.php b/app/Template/comment_forbidden.php
index eeea8404..eeea8404 100644
--- a/app/Templates/comment_forbidden.php
+++ b/app/Template/comment_forbidden.php
diff --git a/app/Templates/comment_remove.php b/app/Template/comment_remove.php
index 7b117781..7b117781 100644
--- a/app/Templates/comment_remove.php
+++ b/app/Template/comment_remove.php
diff --git a/app/Templates/comment_show.php b/app/Template/comment_show.php
index b2ccc25a..b2ccc25a 100644
--- a/app/Templates/comment_show.php
+++ b/app/Template/comment_show.php
diff --git a/app/Templates/config_about.php b/app/Template/config_about.php
index 3f34f802..3f34f802 100644
--- a/app/Templates/config_about.php
+++ b/app/Template/config_about.php
diff --git a/app/Templates/config_api.php b/app/Template/config_api.php
index 037ea08d..037ea08d 100644
--- a/app/Templates/config_api.php
+++ b/app/Template/config_api.php
diff --git a/app/Templates/config_application.php b/app/Template/config_application.php
index 97071bd0..97071bd0 100644
--- a/app/Templates/config_application.php
+++ b/app/Template/config_application.php
diff --git a/app/Templates/config_board.php b/app/Template/config_board.php
index f260d084..f260d084 100644
--- a/app/Templates/config_board.php
+++ b/app/Template/config_board.php
diff --git a/app/Templates/config_layout.php b/app/Template/config_layout.php
index 3aacb9b7..3aacb9b7 100644
--- a/app/Templates/config_layout.php
+++ b/app/Template/config_layout.php
diff --git a/app/Templates/config_sidebar.php b/app/Template/config_sidebar.php
index d96159b8..d96159b8 100644
--- a/app/Templates/config_sidebar.php
+++ b/app/Template/config_sidebar.php
diff --git a/app/Templates/config_webhook.php b/app/Template/config_webhook.php
index 052a2a99..052a2a99 100644
--- a/app/Templates/config_webhook.php
+++ b/app/Template/config_webhook.php
diff --git a/app/Templates/event_comment_create.php b/app/Template/event_comment_create.php
index d2f6f97b..d2f6f97b 100644
--- a/app/Templates/event_comment_create.php
+++ b/app/Template/event_comment_create.php
diff --git a/app/Templates/event_comment_update.php b/app/Template/event_comment_update.php
index 27cc0be6..27cc0be6 100644
--- a/app/Templates/event_comment_update.php
+++ b/app/Template/event_comment_update.php
diff --git a/app/Templates/event_subtask_create.php b/app/Template/event_subtask_create.php
index 664e9da2..664e9da2 100644
--- a/app/Templates/event_subtask_create.php
+++ b/app/Template/event_subtask_create.php
diff --git a/app/Templates/event_subtask_update.php b/app/Template/event_subtask_update.php
index 96a589dd..96a589dd 100644
--- a/app/Templates/event_subtask_update.php
+++ b/app/Template/event_subtask_update.php
diff --git a/app/Templates/event_task_assignee_change.php b/app/Template/event_task_assignee_change.php
index b346325e..b346325e 100644
--- a/app/Templates/event_task_assignee_change.php
+++ b/app/Template/event_task_assignee_change.php
diff --git a/app/Templates/event_task_close.php b/app/Template/event_task_close.php
index 48d25678..48d25678 100644
--- a/app/Templates/event_task_close.php
+++ b/app/Template/event_task_close.php
diff --git a/app/Templates/event_task_create.php b/app/Template/event_task_create.php
index 2515af05..2515af05 100644
--- a/app/Templates/event_task_create.php
+++ b/app/Template/event_task_create.php
diff --git a/app/Templates/event_task_move_column.php b/app/Template/event_task_move_column.php
index f2aac8f7..f2aac8f7 100644
--- a/app/Templates/event_task_move_column.php
+++ b/app/Template/event_task_move_column.php
diff --git a/app/Templates/event_task_move_position.php b/app/Template/event_task_move_position.php
index 26cdeb13..26cdeb13 100644
--- a/app/Templates/event_task_move_position.php
+++ b/app/Template/event_task_move_position.php
diff --git a/app/Templates/event_task_open.php b/app/Template/event_task_open.php
index 9623be74..9623be74 100644
--- a/app/Templates/event_task_open.php
+++ b/app/Template/event_task_open.php
diff --git a/app/Templates/event_task_update.php b/app/Template/event_task_update.php
index a270b936..a270b936 100644
--- a/app/Templates/event_task_update.php
+++ b/app/Template/event_task_update.php
diff --git a/app/Templates/file_new.php b/app/Template/file_new.php
index 7f7f1d1c..7f7f1d1c 100644
--- a/app/Templates/file_new.php
+++ b/app/Template/file_new.php
diff --git a/app/Templates/file_open.php b/app/Template/file_open.php
index aa181d64..aa181d64 100644
--- a/app/Templates/file_open.php
+++ b/app/Template/file_open.php
diff --git a/app/Templates/file_remove.php b/app/Template/file_remove.php
index af77591c..af77591c 100644
--- a/app/Templates/file_remove.php
+++ b/app/Template/file_remove.php
diff --git a/app/Templates/file_show.php b/app/Template/file_show.php
index 3832a0f5..3832a0f5 100644
--- a/app/Templates/file_show.php
+++ b/app/Template/file_show.php
diff --git a/app/Templates/layout.php b/app/Template/layout.php
index a86d613b..a86d613b 100644
--- a/app/Templates/layout.php
+++ b/app/Template/layout.php
diff --git a/app/Templates/notification_comment_creation.php b/app/Template/notification_comment_creation.php
index 5b334d76..5b334d76 100644
--- a/app/Templates/notification_comment_creation.php
+++ b/app/Template/notification_comment_creation.php
diff --git a/app/Templates/notification_comment_update.php b/app/Template/notification_comment_update.php
index 04aafb85..04aafb85 100644
--- a/app/Templates/notification_comment_update.php
+++ b/app/Template/notification_comment_update.php
diff --git a/app/Templates/notification_file_creation.php b/app/Template/notification_file_creation.php
index d8636820..d8636820 100644
--- a/app/Templates/notification_file_creation.php
+++ b/app/Template/notification_file_creation.php
diff --git a/app/Templates/notification_footer.php b/app/Template/notification_footer.php
index 533621f4..533621f4 100644
--- a/app/Templates/notification_footer.php
+++ b/app/Template/notification_footer.php
diff --git a/app/Templates/notification_subtask_creation.php b/app/Template/notification_subtask_creation.php
index 2ddfc649..2ddfc649 100644
--- a/app/Templates/notification_subtask_creation.php
+++ b/app/Template/notification_subtask_creation.php
diff --git a/app/Templates/notification_subtask_update.php b/app/Template/notification_subtask_update.php
index 999edbf9..999edbf9 100644
--- a/app/Templates/notification_subtask_update.php
+++ b/app/Template/notification_subtask_update.php
diff --git a/app/Templates/notification_task_assignee_change.php b/app/Template/notification_task_assignee_change.php
index d23f769e..d23f769e 100644
--- a/app/Templates/notification_task_assignee_change.php
+++ b/app/Template/notification_task_assignee_change.php
diff --git a/app/Templates/notification_task_close.php b/app/Template/notification_task_close.php
index d56e71bb..d56e71bb 100644
--- a/app/Templates/notification_task_close.php
+++ b/app/Template/notification_task_close.php
diff --git a/app/Templates/notification_task_creation.php b/app/Template/notification_task_creation.php
index 1b555096..1b555096 100644
--- a/app/Templates/notification_task_creation.php
+++ b/app/Template/notification_task_creation.php
diff --git a/app/Templates/notification_task_due.php b/app/Template/notification_task_due.php
index a32a9efc..a32a9efc 100644
--- a/app/Templates/notification_task_due.php
+++ b/app/Template/notification_task_due.php
diff --git a/app/Templates/notification_task_move_column.php b/app/Template/notification_task_move_column.php
index c3f94df7..c3f94df7 100644
--- a/app/Templates/notification_task_move_column.php
+++ b/app/Template/notification_task_move_column.php
diff --git a/app/Templates/notification_task_move_position.php b/app/Template/notification_task_move_position.php
index c3f94df7..c3f94df7 100644
--- a/app/Templates/notification_task_move_position.php
+++ b/app/Template/notification_task_move_position.php
diff --git a/app/Templates/notification_task_open.php b/app/Template/notification_task_open.php
index 5d9f7d5b..5d9f7d5b 100644
--- a/app/Templates/notification_task_open.php
+++ b/app/Template/notification_task_open.php
diff --git a/app/Templates/notification_task_update.php b/app/Template/notification_task_update.php
index b3c07911..b3c07911 100644
--- a/app/Templates/notification_task_update.php
+++ b/app/Template/notification_task_update.php
diff --git a/app/Templates/project_activity.php b/app/Template/project_activity.php
index d07ba86a..d07ba86a 100644
--- a/app/Templates/project_activity.php
+++ b/app/Template/project_activity.php
diff --git a/app/Templates/project_disable.php b/app/Template/project_disable.php
index 7a729fa3..7a729fa3 100644
--- a/app/Templates/project_disable.php
+++ b/app/Template/project_disable.php
diff --git a/app/Templates/project_duplicate.php b/app/Template/project_duplicate.php
index a926dcd1..a926dcd1 100644
--- a/app/Templates/project_duplicate.php
+++ b/app/Template/project_duplicate.php
diff --git a/app/Templates/project_edit.php b/app/Template/project_edit.php
index 8eb2110d..8eb2110d 100644
--- a/app/Templates/project_edit.php
+++ b/app/Template/project_edit.php
diff --git a/app/Templates/project_enable.php b/app/Template/project_enable.php
index f2a1b0e7..f2a1b0e7 100644
--- a/app/Templates/project_enable.php
+++ b/app/Template/project_enable.php
diff --git a/app/Templates/project_events.php b/app/Template/project_events.php
index 1b606414..1b606414 100644
--- a/app/Templates/project_events.php
+++ b/app/Template/project_events.php
diff --git a/app/Templates/project_export.php b/app/Template/project_export.php
index 02eb389f..02eb389f 100644
--- a/app/Templates/project_export.php
+++ b/app/Template/project_export.php
diff --git a/app/Templates/project_feed.php b/app/Template/project_feed.php
index 9d10ecb1..9d10ecb1 100644
--- a/app/Templates/project_feed.php
+++ b/app/Template/project_feed.php
diff --git a/app/Templates/project_index.php b/app/Template/project_index.php
index b575e958..b575e958 100644
--- a/app/Templates/project_index.php
+++ b/app/Template/project_index.php
diff --git a/app/Templates/project_layout.php b/app/Template/project_layout.php
index d69bbd53..d69bbd53 100644
--- a/app/Templates/project_layout.php
+++ b/app/Template/project_layout.php
diff --git a/app/Templates/project_new.php b/app/Template/project_new.php
index e1ea5af7..e1ea5af7 100644
--- a/app/Templates/project_new.php
+++ b/app/Template/project_new.php
diff --git a/app/Templates/project_remove.php b/app/Template/project_remove.php
index a98f94eb..a98f94eb 100644
--- a/app/Templates/project_remove.php
+++ b/app/Template/project_remove.php
diff --git a/app/Templates/project_search.php b/app/Template/project_search.php
index 7d5d8795..7d5d8795 100644
--- a/app/Templates/project_search.php
+++ b/app/Template/project_search.php
diff --git a/app/Templates/project_share.php b/app/Template/project_share.php
index 8edcbbc0..8edcbbc0 100644
--- a/app/Templates/project_share.php
+++ b/app/Template/project_share.php
diff --git a/app/Templates/project_show.php b/app/Template/project_show.php
index facdc60a..facdc60a 100644
--- a/app/Templates/project_show.php
+++ b/app/Template/project_show.php
diff --git a/app/Templates/project_sidebar.php b/app/Template/project_sidebar.php
index 7bad1f0e..7bad1f0e 100644
--- a/app/Templates/project_sidebar.php
+++ b/app/Template/project_sidebar.php
diff --git a/app/Templates/project_tasks.php b/app/Template/project_tasks.php
index 7b6f2d9c..7b6f2d9c 100644
--- a/app/Templates/project_tasks.php
+++ b/app/Template/project_tasks.php
diff --git a/app/Templates/project_users.php b/app/Template/project_users.php
index 35079df6..35079df6 100644
--- a/app/Templates/project_users.php
+++ b/app/Template/project_users.php
diff --git a/app/Templates/subtask_create.php b/app/Template/subtask_create.php
index c8ee556b..c8ee556b 100644
--- a/app/Templates/subtask_create.php
+++ b/app/Template/subtask_create.php
diff --git a/app/Templates/subtask_edit.php b/app/Template/subtask_edit.php
index 91690d0a..91690d0a 100644
--- a/app/Templates/subtask_edit.php
+++ b/app/Template/subtask_edit.php
diff --git a/app/Templates/subtask_remove.php b/app/Template/subtask_remove.php
index 12c99cf1..12c99cf1 100644
--- a/app/Templates/subtask_remove.php
+++ b/app/Template/subtask_remove.php
diff --git a/app/Templates/subtask_show.php b/app/Template/subtask_show.php
index f1b0466f..f1b0466f 100644
--- a/app/Templates/subtask_show.php
+++ b/app/Template/subtask_show.php
diff --git a/app/Templates/task_close.php b/app/Template/task_close.php
index 2abfd032..2abfd032 100644
--- a/app/Templates/task_close.php
+++ b/app/Template/task_close.php
diff --git a/app/Templates/task_comments.php b/app/Template/task_comments.php
index 5cfa99ce..5cfa99ce 100644
--- a/app/Templates/task_comments.php
+++ b/app/Template/task_comments.php
diff --git a/app/Templates/task_details.php b/app/Template/task_details.php
index a4fdf6ce..a4fdf6ce 100644
--- a/app/Templates/task_details.php
+++ b/app/Template/task_details.php
diff --git a/app/Templates/task_duplicate.php b/app/Template/task_duplicate.php
index ef903f1d..ef903f1d 100644
--- a/app/Templates/task_duplicate.php
+++ b/app/Template/task_duplicate.php
diff --git a/app/Templates/task_duplicate_project.php b/app/Template/task_duplicate_project.php
index 86d2114a..86d2114a 100644
--- a/app/Templates/task_duplicate_project.php
+++ b/app/Template/task_duplicate_project.php
diff --git a/app/Templates/task_edit.php b/app/Template/task_edit.php
index 73e00a31..73e00a31 100644
--- a/app/Templates/task_edit.php
+++ b/app/Template/task_edit.php
diff --git a/app/Templates/task_edit_description.php b/app/Template/task_edit_description.php
index 2d2a4d0b..2d2a4d0b 100644
--- a/app/Templates/task_edit_description.php
+++ b/app/Template/task_edit_description.php
diff --git a/app/Templates/task_layout.php b/app/Template/task_layout.php
index ca0a413f..ca0a413f 100644
--- a/app/Templates/task_layout.php
+++ b/app/Template/task_layout.php
diff --git a/app/Templates/task_move_project.php b/app/Template/task_move_project.php
index 3bc3bcb8..3bc3bcb8 100644
--- a/app/Templates/task_move_project.php
+++ b/app/Template/task_move_project.php
diff --git a/app/Templates/task_new.php b/app/Template/task_new.php
index 51142165..51142165 100644
--- a/app/Templates/task_new.php
+++ b/app/Template/task_new.php
diff --git a/app/Templates/task_open.php b/app/Template/task_open.php
index d28970e3..d28970e3 100644
--- a/app/Templates/task_open.php
+++ b/app/Template/task_open.php
diff --git a/app/Templates/task_public.php b/app/Template/task_public.php
index 13fef1ed..13fef1ed 100644
--- a/app/Templates/task_public.php
+++ b/app/Template/task_public.php
diff --git a/app/Templates/task_remove.php b/app/Template/task_remove.php
index 496ac2d8..496ac2d8 100644
--- a/app/Templates/task_remove.php
+++ b/app/Template/task_remove.php
diff --git a/app/Templates/task_show.php b/app/Template/task_show.php
index ec5d5da4..ec5d5da4 100644
--- a/app/Templates/task_show.php
+++ b/app/Template/task_show.php
diff --git a/app/Templates/task_show_description.php b/app/Template/task_show_description.php
index 25312149..25312149 100644
--- a/app/Templates/task_show_description.php
+++ b/app/Template/task_show_description.php
diff --git a/app/Templates/task_sidebar.php b/app/Template/task_sidebar.php
index 4cffd5fa..4cffd5fa 100644
--- a/app/Templates/task_sidebar.php
+++ b/app/Template/task_sidebar.php
diff --git a/app/Templates/task_table.php b/app/Template/task_table.php
index fa04fa55..fa04fa55 100644
--- a/app/Templates/task_table.php
+++ b/app/Template/task_table.php
diff --git a/app/Templates/task_time.php b/app/Template/task_time.php
index 11a76303..11a76303 100644
--- a/app/Templates/task_time.php
+++ b/app/Template/task_time.php
diff --git a/app/Templates/task_timesheet.php b/app/Template/task_timesheet.php
index cd093657..cd093657 100644
--- a/app/Templates/task_timesheet.php
+++ b/app/Template/task_timesheet.php
diff --git a/app/Templates/user_edit.php b/app/Template/user_edit.php
index 14063d49..14063d49 100644
--- a/app/Templates/user_edit.php
+++ b/app/Template/user_edit.php
diff --git a/app/Templates/user_external.php b/app/Template/user_external.php
index 676b2c73..676b2c73 100644
--- a/app/Templates/user_external.php
+++ b/app/Template/user_external.php
diff --git a/app/Templates/user_index.php b/app/Template/user_index.php
index d4e1bbf9..d4e1bbf9 100644
--- a/app/Templates/user_index.php
+++ b/app/Template/user_index.php
diff --git a/app/Templates/user_last.php b/app/Template/user_last.php
index 0b55b0d5..0b55b0d5 100644
--- a/app/Templates/user_last.php
+++ b/app/Template/user_last.php
diff --git a/app/Templates/user_layout.php b/app/Template/user_layout.php
index 7462b3f0..7462b3f0 100644
--- a/app/Templates/user_layout.php
+++ b/app/Template/user_layout.php
diff --git a/app/Templates/user_login.php b/app/Template/user_login.php
index cf92cd4d..cf92cd4d 100644
--- a/app/Templates/user_login.php
+++ b/app/Template/user_login.php
diff --git a/app/Templates/user_new.php b/app/Template/user_new.php
index 158813cb..158813cb 100644
--- a/app/Templates/user_new.php
+++ b/app/Template/user_new.php
diff --git a/app/Templates/user_notifications.php b/app/Template/user_notifications.php
index 13dd9809..13dd9809 100644
--- a/app/Templates/user_notifications.php
+++ b/app/Template/user_notifications.php
diff --git a/app/Templates/user_password.php b/app/Template/user_password.php
index 5da38595..5da38595 100644
--- a/app/Templates/user_password.php
+++ b/app/Template/user_password.php
diff --git a/app/Templates/user_remove.php b/app/Template/user_remove.php
index c20ccbba..c20ccbba 100644
--- a/app/Templates/user_remove.php
+++ b/app/Template/user_remove.php
diff --git a/app/Templates/user_sessions.php b/app/Template/user_sessions.php
index b647d726..b647d726 100644
--- a/app/Templates/user_sessions.php
+++ b/app/Template/user_sessions.php
diff --git a/app/Templates/user_show.php b/app/Template/user_show.php
index 1c843751..1c843751 100644
--- a/app/Templates/user_show.php
+++ b/app/Template/user_show.php
diff --git a/app/Templates/user_sidebar.php b/app/Template/user_sidebar.php
index 9d8f8b46..9d8f8b46 100644
--- a/app/Templates/user_sidebar.php
+++ b/app/Template/user_sidebar.php
diff --git a/docs/translations.markdown b/docs/translations.markdown
index ec7162be..8a9dca6a 100644
--- a/docs/translations.markdown
+++ b/docs/translations.markdown
@@ -4,7 +4,7 @@ Translations
How to translate Kanboard to a new language?
--------------------------------------------
-- Translations are stored inside the directory `app/Locales`
+- Translations are stored inside the directory `app/Locale`
- There is sub-directory for each language, by example for the French we have `fr_FR`, Italian `it_IT` etc...
- A translation is a PHP file that return an Array with a key-value pairs
- The key is the original text in english and the value is the translation for the corresponding language
@@ -13,8 +13,8 @@ How to translate Kanboard to a new language?
### Create a new translation:
-1. Make a new directory: `app/Locales/xx_XX` by example `app/Locales/fr_CA` for French Canadian
-2. Create a new file for the translation: `app/Locales/xx_XX/translations.php`
+1. Make a new directory: `app/Locale/xx_XX` by example `app/Locale/fr_CA` for French Canadian
+2. Create a new file for the translation: `app/Locale/xx_XX/translations.php`
3. Use the content of the French locales and replace the values
4. Inside the file `app/Model/Config.php`, add a new entry for your translation inside the function `getLanguages()`
5. Check with your local installation of Kanboard if everything is ok
@@ -23,6 +23,6 @@ How to translate Kanboard to a new language?
How to update an existing translation?
--------------------------------------
-1. Open the translation file `app/Locales/xx_XX/translations.php`
+1. Open the translation file `app/Locale/xx_XX/translations.php`
2. Missing translations are commented with `//` and the values are empty, just fill blank and remove comments
3. Check with your local installation of Kanboard and send a pull-request
diff --git a/scripts/sync-locales.php b/scripts/sync-locales.php
index 00d6c897..181686b7 100755
--- a/scripts/sync-locales.php
+++ b/scripts/sync-locales.php
@@ -2,7 +2,7 @@
<?php
$reference_lang = 'fr_FR';
-$reference_file = 'app/Locales/'.$reference_lang.'/translations.php';
+$reference_file = 'app/Locale/'.$reference_lang.'/translations.php';
$reference = include $reference_file;
@@ -30,11 +30,11 @@ function update_missing_locales(array $reference, $outdated_file)
}
-foreach (new DirectoryIterator('app/Locales') as $fileInfo) {
+foreach (new DirectoryIterator('app/Locale') as $fileInfo) {
if (! $fileInfo->isDot() && $fileInfo->isDir() && $fileInfo->getFilename() !== $reference_lang) {
- $filename = 'app/Locales/'.$fileInfo->getFilename().'/translations.php';
+ $filename = 'app/Locale/'.$fileInfo->getFilename().'/translations.php';
echo $fileInfo->getFilename().' ('.$filename.')'.PHP_EOL;