diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-10-11 12:06:11 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-10-11 12:06:11 +0300 |
commit | fa1fed87d093f8d5faa7db6de656f44fc5c4cf99 (patch) | |
tree | 80b88e20b6d2ce2d48f8d23e21b0996cf095ebab | |
parent | ceba8649fb2a088d859f330f9e5098a976d0721e (diff) |
adding l10n - #392
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | js/fulltextsearch.v1.searchbox.js | 2 | ||||
-rw-r--r-- | templates/settings.admin.php | 17 |
2 files changed, 12 insertions, 7 deletions
diff --git a/js/fulltextsearch.v1.searchbox.js b/js/fulltextsearch.v1.searchbox.js index 8c29708..a3d2529 100644 --- a/js/fulltextsearch.v1.searchbox.js +++ b/js/fulltextsearch.v1.searchbox.js @@ -113,7 +113,7 @@ var searchbox = { box_elements.searchInput = $('<input>', { id: 'fts-input', - placeholder: 'Search ' + settings.searchProviderName + placeholder: t('fulltextsearch', 'Search') + ' ' + settings.searchProviderName }).on('keyup', searchbox.timedSearch); box_elements.searchOptions = $('<div>', {id: 'fts-options'}); box_elements.searchTemplate = $('<div>', {id: 'fts-options-template'}); diff --git a/templates/settings.admin.php b/templates/settings.admin.php index 098d194..daaf592 100644 --- a/templates/settings.admin.php +++ b/templates/settings.admin.php @@ -39,8 +39,11 @@ Util::addStyle(Application::APP_NAME, 'admin'); <div id="fns" class="section"> <span> <a href="https://github.com/nextcloud/fulltextsearch/wiki" target="_blank"> - Please check the wiki</a> - for documentation related to the installation and the configuration of the Full text search within your Nextcloud + <?php p( + $l->t( + 'Please check the wiki for documentation related to the installation and the configuration of the full text search within your Nextcloud' + ) + ); ?></a> </span> <br/> @@ -50,9 +53,11 @@ Util::addStyle(Application::APP_NAME, 'admin'); <div class="div-table-row"> <div class="div-table-col div-table-col-left"> - <span class="leftcol">Search Platform :</span> + <span class="leftcol"><?php p($l->t('Search Platform')); ?>:</span> <br/> - <em>Select the app to index content and answer search queries.</em> + <em><?php p( + $l->t('Select the app to index content and answer search queries.') + ); ?></em> </div> <div class="div-table-col"> <select id="fts_platforms"> @@ -63,9 +68,9 @@ Util::addStyle(Application::APP_NAME, 'admin'); <div class="div-table-row"> <div class="div-table-col div-table-col-left"> - <span class="leftcol">Navigation Icon :</span> + <span class="leftcol"><?php p($l->t('Navigation Icon')); ?>:</span> <br/> - <em>Enable global search within all your content.</em> + <em><?php p($l->t('Enable global search within all your content.')); ?></em> </div> <div class="div-table-col"> <input type="checkbox" id="fts_navigation" value="1"/> |