Merge pull request #4443 from expsa/eltayar

Complete Arabic translation implementation with frontend registration for fims_general_search_tree_view
This commit is contained in:
Mohamed Eltayar 2025-08-30 19:32:41 +03:00 committed by GitHub
commit d0c2a11a7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 23 additions and 5 deletions

View File

@ -17,21 +17,25 @@ msgstr ""
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
#. module: fims_general_search_tree_view #. module: fims_general_search_tree_view
#: model_terms:ir.ui.view,arch_db:fims_general_search_tree_view #: code:addons/fims_general_search_tree_view/static/src/js/list_search.js:0
#, python-format
msgid "Search in all visible columns..." msgid "Search in all visible columns..."
msgstr "البحث في جميع الأعمدة المرئية..." msgstr "البحث في جميع الأعمدة المرئية..."
#. module: fims_general_search_tree_view #. module: fims_general_search_tree_view
#: model_terms:ir.ui.view,arch_db:fims_general_search_tree_view #: code:addons/fims_general_search_tree_view/static/src/js/list_search.js:0
#, python-format
msgid "Clear" msgid "Clear"
msgstr "مسح" msgstr "مسح"
#. module: fims_general_search_tree_view #. module: fims_general_search_tree_view
#: model_terms:ir.ui.view,arch_db:fims_general_search_tree_view #: code:addons/fims_general_search_tree_view/static/src/js/list_search.js:0
#, python-format
msgid "Records: " msgid "Records: "
msgstr "عدد السجلات: " msgstr "عدد السجلات: "
#. module: fims_general_search_tree_view #. module: fims_general_search_tree_view
#: model_terms:ir.ui.view,arch_db:fims_general_search_tree_view #: code:addons/fims_general_search_tree_view/static/src/js/list_search.js:0
#, python-format
msgid "Search error occurred" msgid "Search error occurred"
msgstr "حدث خطأ في البحث" msgstr "حدث خطأ في البحث"

View File

@ -1,4 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details. # Part of Odoo. See LICENSE file for full copyright and licensing details.
# from . import res_config_settings from . import ir_http

View File

@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
class IrHttp(models.AbstractModel):
_inherit = 'ir.http'
@classmethod
def _get_translation_frontend_modules_name(cls):
"""Register module for frontend JavaScript translations."""
modules = super()._get_translation_frontend_modules_name()
return modules + ['fims_general_search_tree_view']