Open Bug 488387 Opened 15 years ago Updated 11 years ago

checksetup.pl should tell me which language set of templates are being compiled

Categories

(Bugzilla :: Installation & Upgrading, enhancement)

3.3.4
enhancement
Not set
normal

Tracking

()

People

(Reporter: LpSolit, Unassigned)

Details

Attachments

(1 file)

On landfill, I have an installation with all known languages on it (6 for 3.2.3). One of the template doesn't compile correctly, but checksetup.pl only reports the name of the template, not the l10n pack which has this broken template. Not helpful. :(
Summary: checksetup.pl should tell me which templates are being compiled → checksetup.pl should tell me which language set of templates are being compiled
Attached patch patch, v1Splinter Review
Now that *all* languages are compiled again, we can finally implement this feature. :)

Note that it's not very useful if only one language is used, so the directory is only listed if there are at least 2 directories.
Assignee: installation → LpSolit
Status: NEW → ASSIGNED
Attachment #484912 - Flags: review?(mkanat)
Severity: normal → enhancement
Target Milestone: --- → Bugzilla 4.2
Comment on attachment 484912 [details] [diff] [review]
patch, v1

  I think that could get pretty long, no? I mean, I install two extensions and two languages, and that's a long line. 

  If we're just going to keep track of languages, let's just print out the language name after the "Precompiling templates..." if there's more than one language installed.
Attachment #484912 - Flags: review?(mkanat) → review-
You get:

Précompilation des modèles...                
... in ./extensions/Example/template/en/default 
... in ./template/en/default                    
... in ./template/fr/default terminé.
Hmm. I still don't really want checksetup to be that verbose when I have five extensions installed. So I think we should just put the language code after the ... on the same line.
Assignee: LpSolit → installation
Target Milestone: Bugzilla 4.2 → ---
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: