Hello,
on my view I have a field(to be more exactly a "Content revision: Link to Content" field), which has a text for no results behavior. This text is not translatable as far as I could see. It does not appear at admin/structure/views/view/MY-VIEW/translate/en/edit.
Issue fork drupal-3107212
Show commands
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
Miras-Etrin commentedsame.
Comment #3
lendudeThis should do the trick.
Comment #4
lendudeThis shows that the field shows up in the translation interface with the patch in #3
Comment #5
lendudeHm ok it should be text really since the original input is multiline
Comment #10
Youcanlearnit commentedThanks for this patch #5, works with my D 9.2.10 setup
Comment #13
rajab natshahUpdated the patch as MR for 9.4.x
and attached 2 patches for upgrading from Drupal 8 to Drupal 9
on the 9.3.x and 9.4.x branches.
Comment #15
joseph.olstadMight need a test for this
Comment #16
z.stolar commentedI confirm this patch works and doesn't generate any errors in the dblog.
Comment #17
smustgrave commented#13 seems to be having build issues
Also moving back to NW for tests.
Comment #19
liam morlandRerolls
Comment #20
smustgrave commentedThank you for working on this!
Moving back to NW for the test cases.
Comment #22
liam morlandI have rebase the issue fork onto 11.x. The merge request needs to be updated so that it targets 11.x. The probably needs to be done by the owner of the merge request, @Rajab Natshah.
This patch is for Drupal 10.2.x.
Comment #23
erwangel commentedTested #22 on Drupal 10.3.6. Patch applied and everything looks okay.
Comment #24
liam morlandRe-rolled. Patches for 10.4.x and 11.x attached.
Comment #26
yospyn commentedThanks for the 10.4 patch, confirming it also works on 10.6.
Comment #27
yospyn commentedHad trouble with #24 for Drupal 11 after attempting upgrade to 11.3.3.
The D10 version is still working on 10.6.3 though.
Comment #29
neptune-dc commentedComment #30
smustgrave commentedLeft comments on the MR.
Summary also is incomplete.
Comment #31
yospyn commentedUpdated patch via #28 works well for me on 11.3.4.
Comment #34
oily commentedAiming to write test coverage. But first, removed the unnecessary test identified in code review.