Merge pull request #4445 from expsa/eltayar

edit_translation
This commit is contained in:
Mohamed Eltayar 2025-08-30 19:51:35 +03:00 committed by GitHub
commit 7c0d91791f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -304,7 +304,7 @@ odoo.define('fims_general_search_tree_view.list_search', function (require) {
_updateCustomSearchUI: function(count) { _updateCustomSearchUI: function(count) {
if (this.renderer && this.renderer.$) { if (this.renderer && this.renderer.$) {
this.renderer.$('.oe_search_count') this.renderer.$('.oe_search_count')
.text(_t('Records: ') + count) .text(_t('عدد السجلات: ') + count)
.removeClass('text-danger') .removeClass('text-danger')
.show(); .show();
this.renderer.$('.oe_clear_search').show(); this.renderer.$('.oe_clear_search').show();
@ -415,12 +415,12 @@ odoo.define('fims_general_search_tree_view.list_search', function (require) {
var html = var html =
'<div class="oe_search_container d-flex align-items-center">' + '<div class="oe_search_container d-flex align-items-center">' +
'<input type="text" class="oe_search_input form-control flex-grow-1" ' + '<input type="text" class="oe_search_input form-control flex-grow-1" ' +
'placeholder="' + _.escape(_t('Search in all visible columns...')) + '" ' + 'placeholder="' + _.escape(_t('البحث في جميع الأعمدة المرئية...')) + '" ' +
'value="' + _.escape(savedValue) + '" ' + 'value="' + _.escape(savedValue) + '" ' +
'autocomplete="off">' + 'autocomplete="off">' +
'<button class="btn btn-secondary oe_clear_search ml-2" style="display: ' + '<button class="btn btn-secondary oe_clear_search ml-2" style="display: ' +
(savedValue ? 'inline-block' : 'none') + ';">' + (savedValue ? 'inline-block' : 'none') + ';">' +
'<i class="fa fa-times mr-1"></i>' + _t('Clear') + '<i class="fa fa-times mr-1"></i>' + _t('مسح') +
'</button>' + '</button>' +
'<span class="oe_search_count badge badge-success ml-2" style="display: ' + '<span class="oe_search_count badge badge-success ml-2" style="display: ' +
(isFiltered ? 'inline-block' : 'none') + ';">' + (isFiltered ? 'inline-block' : 'none') + ';">' +