Closed (outdated)
Project:
Drupal core
Version:
8.9.x-dev
Component:
config_translation.module
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2011 at 16:53 UTC
Updated:
1 May 2021 at 02:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
itangalo commentedChanging to 'needs review'. Sorry for missing this.
Comment #3
itangalo commentedtranslation-page-clarified-7.patch queued for re-testing.
Comment #4
itangalo commentedOk, I've just learned how to use Git to create patches, according to the new style. Sweet.
Robot, please retest!
Comment #5
plachChanges are performed in the development version first, backported then.
Comment #6
plachComment #7
tr commentedI closed #1045392: Code cleanup in translation.pages.inc (D6) as a duplicate. This should be one issue, there's no need to discuss the same changes in two different threads. Once this issue is resolved in 8.x the issue status can be set to "needs backport" to port it to previous versions.
Comment #8
plach#4: translation_page_cleanup-1045396-4.patch queued for re-testing.
Comment #10
swentel commentedA lot has been cleaned up in the D8 cycle, can move to D7 if we still want to clean this up.
Comment #11
sivaji_ganesh_jojodae commentedPatch needs reroll.
Comment #12
sivaji_ganesh_jojodae commentedHave re-rolled the previous patch with a change replacing lengthy ternary operators with if/else for better readability.
Comment #14
sivaji_ganesh_jojodae commentedRerolled with proper fix!
Comment #15
tr commented14: translation_page_cleanup-1045396-14.patch queued for re-testing.
Comment #16
parthipanramesh commentedLooks good!
Comment #17
David_Rothstein commentedA good portion of this seems to apply to Drupal 8 - see content_translation_overview() (and \Drupal\content_translation\Controller\ContentTranslationController::overview(), which is a wrapper around that).
Also:
That else statement could just be removed, right?
Comment #26
quietone commentedThe file changed here is not in Drupal 9.2.x. \Drupal\content_translation\Controller\ContentTranslationController::overview() has changed a lot since the last patch here. That makes this outdated for current HEAD.
The Drupal 7 files have not changed, so it may be applicable, but it is not a bug fix nor is there anything to backport. I think the sensible thing to do is to close this as outdated. I trust someone will change that if it is incorrect.