[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Unable to list attachment files in French locale

"Domeshow Emmanuel \(@Domeshow\) via TikiWiki-cvs" <[email protected]> Wed, 22 Jul 2026 00:43:00 +0000
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a60121418724_381fddaea4588ee@gitlab-sidekiq-low-urgency-cpu-bound-v2-76655d7f68-5lzzv.mail>

Domeshow Emmanuel pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
a12ed191 by Domeshow Emmanuel at 2026-07-22T03:25:51+03:00
[FIX] Unable to list attachment files in French locale
---
* [FIX] Unable to list attachment files in French locale

See merge request tikiwiki/tiki!10765

- - - - -


4 changed files:

- templates/admin/include_fgal.tpl
- templates/admin/include_search.tpl
- templates/file_properties_table.tpl
- templates/list_file_gallery_content.tpl


Changes:

=====================================
templates/admin/include_fgal.tpl
=====================================
@@ -276,7 +276,7 @@
                 </div>
             <div class="adminoptionbox">
                 <fieldset>
-                    <legend class="h3">{tr}Handlers{/tr}{help url="Search-within-files" desc='{tr}If you want the content of the files which are in the File Gallery to be accessible by a search, and if you have a script that extracts the file content into a text, you can associate the script to the Mime type and the files content will be indexed.{/tr}'}</legend>
+                    <legend class="h3">{tr}Handlers{/tr}{help url="Search-within-files" desc="{tr}If you want the content of the files which are in the File Gallery to be accessible by a search, and if you have a script that extracts the file content into a text, you can associate the script to the Mime type and the files content will be indexed.{/tr}"}</legend>
                     <div class="adminoptionbox">
                         <div class="adminoptionlabel">{tr}Add custom handlers to make your files &quot;searchable&quot; content{/tr}.
                             <ul>


=====================================
templates/admin/include_search.tpl
=====================================
@@ -152,13 +152,13 @@
 
         {if $prefs.feature_file_galleries eq 'y'}
             <fieldset>
-                <legend class="h3">{tr}File galleries searches{/tr}{help url="Search-within-files" desc='{tr}You will need to rebuild the search index to see these changes{/tr}'}</legend>
+                <legend class="h3">{tr}File galleries searches{/tr}{help url="Search-within-files" desc="{tr}You will need to rebuild the search index to see these changes{/tr}"}</legend>
                 {preference name=fgal_enable_auto_indexing}
                 {preference name=fgal_enable_email_indexing}
                 {preference name=fgal_asynchronous_indexing}
                 <div class="adminoptionboxchild">
                     <fieldset>
-                        <legend class="h3">{tr}Handlers{/tr}{help url="Search-within-files" desc='{tr}If you want the content of the files which are in the File Gallery to be accessible by a search, and if you have a script that extracts the file content into a text, you can associate the script to the Mime type and the files content will be indexed.{/tr}'}</legend>
+                        <legend class="h3">{tr}Handlers{/tr}{help url="Search-within-files" desc="{tr}If you want the content of the files which are in the File Gallery to be accessible by a search, and if you have a script that extracts the file content into a text, you can associate the script to the Mime type and the files content will be indexed.{/tr}"}</legend>
                         <div class="adminoptionbox">
                             <div class="adminoptionlabel">{tr}Add custom handlers to make your files &quot;searchable&quot; content{/tr}.
                                 <ul>


=====================================
templates/file_properties_table.tpl
=====================================
@@ -32,15 +32,15 @@
             {$propval = "<a href='$propval'>`$gal_info.name`</a>"}
         {elseif $propname eq 'ocr_state'}
             {if $propval === '1'}
-                {$propval='{tr}Finished processing{/tr}'}
+                {$propval="{tr}Finished processing{/tr}"}
             {elseif $propval === '2'}
-                {$propval='{tr}Currently processing{/tr}'}
+                {$propval="{tr}Currently processing{/tr}"}
             {elseif $propval === '3'}
-                {$propval='{tr}Queued for processing{/tr}'}
+                {$propval="{tr}Queued for processing{/tr}"}
             {elseif $propval === '4'}
-                {$propval='{tr}Processing stalled{/tr}'}
+                {$propval="{tr}Processing stalled{/tr}"}
             {else}
-                {$propval='{tr}No scheduled processing{/tr}'}
+                {$propval="{tr}No scheduled processing{/tr}"}
             {/if}
         {/if}
 


=====================================
templates/list_file_gallery_content.tpl
=====================================
@@ -248,15 +248,15 @@
                                     {$propval=$propval|kbsize:true}
                                 {elseif $propname eq 'ocr_state'}
                                     {if $propval === '1'}
-                                        {$propval='{tr}Finished processing{/tr}'}
+                                        {$propval="{tr}Finished processing{/tr}"}
                                     {elseif $propval === '2'}
-                                        {$propval='{tr}Currently processing{/tr}'}
+                                        {$propval="{tr}Currently processing{/tr}"}
                                     {elseif $propval === '3'}
-                                        {$propval='{tr}Queued for processing{/tr}'}
+                                        {$propval="{tr}Queued for processing{/tr}"}
                                     {elseif $propval === '4'}
-                                        {$propval='{tr}Processing stalled{/tr}'}
+                                        {$propval="{tr}Processing stalled{/tr}"}
                                     {else}
-                                        {$propval='{tr}No scheduled processing{/tr}'}
+                                        {$propval="{tr}No scheduled processing{/tr}"}
                                     {/if}
                                 {elseif $propname eq 'backlinks' and ! empty($files[changes].nbBacklinks)}
                                     {$propval=$files[changes].nbBacklinks}
@@ -444,15 +444,15 @@
                             {$propval=$propval|nl2br}
                         {elseif $propname eq 'ocr_state'}
                             {if $propval === '1'}
-                                {capture assign=propval}{icon style='outline' name='check-circle' title='{tr}Finished processing{/tr}'}{/capture}
+                                {capture assign=propval}{icon style='outline' name='check-circle' title="{tr}Finished processing{/tr}"}{/capture}
                             {elseif $propval === '2'}
-                                {capture assign=propval}{icon style='outline' name='sync' title='{tr}Currently processing{/tr}'}{/capture}
+                                {capture assign=propval}{icon style='outline' name='sync' title="{tr}Currently processing{/tr}"}{/capture}
                             {elseif $propval === '3'}
-                                {capture assign=propval}{icon style='outline' name='circle' title='{tr}Queued for processing{/tr}'}{/capture}
+                                {capture assign=propval}{icon style='outline' name='circle' title="{tr}Queued for processing{/tr}"}{/capture}
                             {elseif $propval === '4'}
-                                {capture assign=propval}{icon style='outline' name='pause-circle' title='{tr}Processing stalled{/tr}'}{/capture}
+                                {capture assign=propval}{icon style='outline' name='pause-circle' title="{tr}Processing stalled{/tr}"}{/capture}
                             {else}
-                                {capture assign=propval}{icon style='outline' name='times-circle' title='{tr}No scheduled processing{/tr}'}{/capture}
+                                {capture assign=propval}{icon style='outline' name='times-circle' title="{tr}No scheduled processing{/tr}"}{/capture}
                             {/if}
                         {elseif $propname eq 'lockedby' and $propval neq ''}
                             {if $gal_info.show_lockedby eq 'i' or $gal_info.show_lockedby eq 'a'}



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a12ed191010b9150f75ff38651ca81eed07099a5
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs