diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-03-01 19:42:24 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-03-01 19:42:24 -0500 |
commit | 052b14d48290405c8b3684e872f9c15858745bb2 (patch) | |
tree | 52d73757fe2a4cf13bb51e750268002b4ae4df8d /app/Template | |
parent | d910ebc1eaadd9931599f351f09a04a8c437bdac (diff) |
Translate chosen selects
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/board/filters.php | 6 | ||||
-rw-r--r-- | app/Template/layout.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/board/filters.php b/app/Template/board/filters.php index fc5bfc34..2dd559b9 100644 --- a/app/Template/board/filters.php +++ b/app/Template/board/filters.php @@ -57,13 +57,13 @@ </span> </li> <li> - <?= $this->formSelect('user_id', $users, array(), array(), array('data-placeholder="'.t('Filter by user').'"'), 'apply-filters chosen-select') ?> + <?= $this->formSelect('user_id', $users, array(), array(), array('data-placeholder="'.t('Filter by user').'"', 'data-notfound="'.t('No results match:').'"'), 'apply-filters chosen-select') ?> </li> <li> - <?= $this->formSelect('category_id', $categories, array(), array(), array('data-placeholder="'.t('Filter by category').'"'), 'apply-filters chosen-select') ?> + <?= $this->formSelect('category_id', $categories, array(), array(), array('data-placeholder="'.t('Filter by category').'"', 'data-notfound="'.t('No results match:').'"'), 'apply-filters chosen-select') ?> </li> <li> - <select id="more-filters" multiple data-placeholder="<?= t('More filters') ?>" class="apply-filters chosen-select hide-mobile"> + <select id="more-filters" multiple data-placeholder="<?= t('More filters') ?>" data-notfound="<?= t('No results match:') ?>" class="apply-filters chosen-select hide-mobile"> <option value=""></option> <option value="filter-due-date"><?= t('Filter by due date') ?></option> <option value="filter-recent"><?= t('Filter recently updated') ?></option> diff --git a/app/Template/layout.php b/app/Template/layout.php index 6c88d33b..a5d34f4d 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -45,7 +45,7 @@ <ul> <?php if (isset($board_selector) && ! empty($board_selector)): ?> <li> - <select id="board-selector" data-placeholder="<?= t('Display another project') ?>" data-board-url="<?= $this->u('board', 'show', array('project_id' => 'PROJECT_ID')) ?>"> + <select id="board-selector" data-notfound="<?= t('No results match:') ?>" data-placeholder="<?= t('Display another project') ?>" data-board-url="<?= $this->u('board', 'show', array('project_id' => 'PROJECT_ID')) ?>"> <option value=""></option> <?php foreach($board_selector as $board_id => $board_name): ?> <option value="<?= $board_id ?>"><?= $this->e($board_name) ?></option> |