Closed (fixed)
Project:
Localization server
Version:
3.0.x-dev
Component:
l10n_project
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Apr 2023 at 18:27 UTC
Updated:
21 Sep 2026 at 08:55 UTC
Jump to comment: Most recent
Project overview page does not look the same on D7/3.X branch.
See attached files for how it looks and how it should look. Not sure, if something has been agreed, or it is an oversight?
| Comment | File | Size | Author |
|---|---|---|---|
| Capture d’écran 2023-04-16 à 20.25.36.png | 256.15 KB | teebeecoder | |
| Capture d’écran 2023-04-16 à 20.25.26.png | 259.36 KB | teebeecoder |
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
gábor hojtsyThe difference is bigger than styling: the 3.0.x project page renders nothing at all at the moment. The project template prints an empty
<article>and nothing builds the Drupal 7 overview table (l10n_community_language_progress_for_project()), so only the title shows.Fix: a
L10nProjectOverviewbuilder in l10n_community, attached to the project entity view throughhook_ENTITY_TYPE_view(), producing the Drupal 7 table: one row per language (English excluded, like D7) linked to translating the project, the progress bar, the untranslated count, and the suggestion count when statistics do not come from the packager. Rows for languages without a plural formula show the D7 notice. The project template now prints its content.Tests: the Drupal 7 test
testLanguagesProjects()now asserts the language link and the progress columns on the project page; the portL10nLanguagesProjectsTestasserts the same and fails on the empty page before the change.LLM was used to find, diagnose explain and fix this issue. With human review.
Comment #5
gábor hojtsy