Fullscreen
Loading...
 
Skip to main content

Please explain GUI dialog

Status
Open
Subject
Please explain GUI dialog
Version
18.x
Category
  • Support request
Feature
Connect
i18n (Multilingual, l10n, Babelfish)
UI / UX (User interface and experience)
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(0)
Description

Now that I have finished my new tool to extract really all tra() and tr() throughout Tiki source code, I find some peculiar strings that really need explanation.

First, it is my understanding that text that is pumped through tr() inside a javascript file must get listed in language.js and not in language.php. Is this assumption correct?

If that is the case, practically all language's language.js are grossly underpopulated. I count > 600 strings that get tr()-ed inside javascript, so even after deduplication 400 could be expected...

Second, I find some peculiar strings that I do not understand. Why are they displayed at all, and why do they get fed through the translation function? Here is an example, taken from lib/jquery-tiki/tiki-connect.js. Line 13:

Copy to clipboard
var spinner = $(this).tikiModal(tr(" "));


Ahem. That's as close to nothing as it could possibly get. Yes, this is really just one single space... And it got scheduled to become translated...

Thanks
hman

Files
  1. Peculiars Raw
Importance
3
Easy to solve?
10 easy
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7697
Created
Wednesday 10 March, 2021 09:45:55 UTC
by hman
LastModif
Saturday 06 July, 2024 10:21:44 UTC


Show PHP error messages