[TikiWiki-commits] [Git][tikiwiki/tiki][master] [TRA][NEW] Ensure all user-facing strings are wrapped with translation tags...

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69379ee52bb24_2a8499b90113a@gitlab-sidekiq-low-urgency-cpu-bound-v2-66d95699db-nm4kr.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
9ffed310 by Yves Ngalamulume at 2025-12-09T03:52:38+00:00
[TRA][NEW] Ensure all user-facing strings are wrapped with translation tags for proper localization (Part 1 - Smarty templates)
---
* [FIX] Correction of untranslatable words

* [FIX] Non-translation commands

* [FIX] Remove duplicated <strong> tags by wrapping the whole condition once

* [FIX] Fix translation: pass variables into {tr} and display them via placeholders

* [FIX] Fix translation: pass variables into {tr} and display them via placeholders

* [FIX] Fix translation: pass variables into {tr} and display them via placeholders

* [FIX] Fix translation usage per review: pass variables into {tr} and display them via placeholders; update examples in docs

* [FIX] Improved untranslated string detection by clarifying ignored line types and adding examples in comments

* [FIX] Improved untranslated string detection by clarifying ignored line types and adding examples in comments

* [FIX] Cleaned up the documentation for the translation detector, removed blank lines, and improved readability

* [FIX] Improved untranslated string detection by adding examples and inline documentation in the script

* [FIX] Improved untranslated string detection by adding examples and inline documentation in the script

* [FIX] Improved untranslated string detection by adding examples and inline documentation in the script

* [FIX] Improved localization by replacing translation tags with strings in the fixed-width option title

* [FIX] Improved localization by adding translation tags around feature descriptions in template files

* [FIX] Improved localization by adding translation tags around strings in multiple template files

* [FIX] Improved localization by adding translation tags around strings in several template file

* [FIX] Fixed untranslated string detection by adjusting Smarty variable checking

* [FIX] Improved localization by adding translation tags around labels in the Tiki Manager

* [FIX] Improved localization by adding translation tags around string literals in templates and scripts

* [FIX] Improved localization and ensured consistent use of translation tags in templates and scripts

* [FIX] Improved localization and ensured consistent use of translation tags in templates and scripts

* [FIX] Improve translation detector regex to match all HTML event attributes

* [FIX] Add CLI output for missing translation detection

* [FIX] Ensure all user-facing strings are wrapped with translation tags for proper localization

See merge request tikiwiki/tiki!8714

- - - - -


41 changed files:

- + lib/core/Tiki/Command/tiki-detect_missing_tr_strings.php
- templates/admin/include_anchors.tpl
- templates/admin/include_login.tpl
- templates/admin/include_look.tpl
- templates/admin/include_orphanprefs.tpl
- templates/admin/include_packages.tpl
- templates/admin/include_security.tpl
- templates/comment/post.tpl
- templates/debug/function.debugger.tpl
- templates/debug/tiki-debug_tikitables.tpl
- templates/debug/tiki-debug_watch_tab.tpl
- templates/examples/search/facet_charts.tpl
- templates/examples/search/facet_charts2.tpl
- templates/examples/search/h5p.tpl
- templates/examples/search/rss.tpl
- templates/examples/shop/custom_search_form.tpl
- templates/examples/shop/product_item.tpl
- templates/examples/shop/product_list_inner.tpl
- templates/file/uploader.tpl
- templates/h5p/edit.tpl
- templates/manager/access.tpl
- templates/manager/apply_fields.tpl
- templates/manager/index.tpl
- templates/search/list/carousel.tpl
- templates/search_customsearch/default_form.tpl
- templates/search_stored/edit.tpl
- templates/search_stored/select.tpl
- templates/trackerinput/tikimanager.tpl
- templates/trackeroutput/barcode.tpl
- templates/wiki-plugins/wikiplugin_benchmark.tpl
- templates/wiki-plugins/wikiplugin_convene.tpl
- templates/wiki-plugins/wikiplugin_ganttchart.tpl
- templates/wiki-plugins/wikiplugin_preference.tpl
- templates/wiki-plugins/wikiplugin_semanticsearch_form.tpl
- templates/wiki-plugins/wikiplugin_tikimanager.tpl
- templates/wiki-plugins/wikiplugin_totp_scanner.tpl
- templates/wiki-plugins/wikiplugin_xmlupdate.tpl
- templates/wizard/admin_features.tpl
- templates/wizard/admin_files.tpl
- templates/wizard/admin_login.tpl
- templates/wizard/admin_text_area.tpl


The diff was not included because it is too large.


View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9ffed31039abba4a26733067974bc9448032e04d

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9ffed31039abba4a26733067974bc9448032e04d
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.