[BUGFIX] Use editors language in admin panel instead of site language

The translations need to use the language of the current backend user
and not the one of the current language of the site in the frontend.

Resolves: #96004
Releases: master, 11.5, 10.4
Change-Id: Id409e759de4f0324835cc932f87719147b6e1b0f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72362
Tested-by: core-ci <typo3@b13.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
207 jobs for 10.4 in 35 minutes and 39 seconds (queued for 17 seconds)
Status Name Job ID Coverage
  Integrity
passed annotations php 7.2 #801715

00:00:36

passed cgl all #801716

00:03:11

passed composer validate #801717

00:00:20

passed doc block check php 7.2 #801718

00:00:36

passed grunt clean #801719

00:01:18

passed integration various php 7.2 #801720

00:01:08

passed lint php 7.2 #801721

00:00:37

passed lint php 7.3 #801722

00:00:38

passed lint php 7.4 #801723

00:01:42

passed lint scss ts html #801724

00:01:08

passed phpstan php 7.2 #801725

00:00:36

passed unit javascript #801726

00:01:38

 
  Unit
passed unit php 7.2 locked #801727

00:00:49

passed unit php 7.2 locked deprecated #801728

00:00:30

passed unit php 7.2 locked random 1/2 #801729

00:00:51

passed unit php 7.2 locked random 2/2 #801730

00:00:52

passed unit php 7.2 max #801731

00:00:52

passed unit php 7.2 max deprecated #801732

00:00:31

passed unit php 7.2 max random 1/2 #801733

00:00:56

passed unit php 7.2 max random 2/2 #801734

00:00:56

passed unit php 7.2 min #801735

00:00:56

passed unit php 7.2 min deprecated #801736

00:00:53

passed unit php 7.2 min random 1/2 #801737

00:00:57

passed unit php 7.2 min random 2/2 #801738

00:00:55

passed unit php 7.3 locked #801739

00:00:53

passed unit php 7.3 locked deprecated #801740

00:00:32

passed unit php 7.3 locked random 1/2 #801741

00:01:11

passed unit php 7.3 locked random 2/2 #801742

00:00:53

passed unit php 7.3 max #801743

00:00:55

passed unit php 7.3 max deprecated #801744

00:00:33

passed unit php 7.3 max random 1/2 #801745

00:00:55

passed unit php 7.3 max random 2/2 #801746

00:00:58

passed unit php 7.3 min #801747

00:00:55

passed unit php 7.3 min deprecated #801748

00:00:58

passed unit php 7.3 min random 1/2 #801749

00:00:55

passed unit php 7.3 min random 2/2 #801750

00:00:57

passed unit php 7.4 locked #801751

00:00:50

passed unit php 7.4 locked deprecated #801752

00:01:08

passed unit php 7.4 locked random 1/2 #801753

00:00:51

passed unit php 7.4 locked random 2/2 #801754

00:00:53

passed unit php 7.4 max deprecated #801756

00:00:32

passed unit php 7.4 max locked #801755

00:00:55

passed unit php 7.4 max random 1/2 #801757

00:00:54

passed unit php 7.4 max random 2/2 #801758

00:00:55

passed unit php 7.4 min deprecated #801760

00:00:32

passed unit php 7.4 min locked #801759

00:01:31

passed unit php 7.4 min random 1/2 #801761

00:00:54

passed unit php 7.4 min random 2/2 #801762

00:00:54

 
  Acceptance
passed acceptance backend mariadb php 7.2 min 1/8 #801799

00:04:33

passed acceptance backend mariadb php 7.2 min 2/8 #801800

00:04:14

passed acceptance backend mariadb php 7.2 min 3/8 #801801

00:04:08

passed acceptance backend mariadb php 7.2 min 4/8 #801802

00:05:47

passed acceptance backend mariadb php 7.2 min 5/8 #801803

00:03:35

passed acceptance backend mariadb php 7.2 min 6/8 #801804

00:03:40

passed acceptance backend mariadb php 7.2 min 7/8 #801805

00:03:19

passed acceptance backend mariadb php 7.2 min 8/8 #801806

00:04:02

passed acceptance backend mariadb php 7.3 max 1/8 #801807

00:04:25

passed acceptance backend mariadb php 7.3 max 2/8 #801808

00:06:18

passed acceptance backend mariadb php 7.3 max 3/8 #801925

00:03:10

passed acceptance backend mariadb php 7.3 max 4/8 #801810

00:03:55

passed acceptance backend mariadb php 7.3 max 5/8 #801811

00:03:32

passed acceptance backend mariadb php 7.3 max 6/8 #801812

00:03:38

passed acceptance backend mariadb php 7.3 max 7/8 #801813

00:03:19

passed acceptance backend mariadb php 7.3 max 8/8 #801814

00:06:57

passed acceptance backend mariadb php 7.4 locked 1/8 #801815

00:04:28

passed acceptance backend mariadb php 7.4 locked 2/8 #801816

00:04:09

passed acceptance backend mariadb php 7.4 locked 3/8 #801817

00:04:07

passed acceptance backend mariadb php 7.4 locked 4/8 #801818

00:07:17

passed acceptance backend mariadb php 7.4 locked 5/8 #801819

00:03:26

passed acceptance backend mariadb php 7.4 locked 6/8 #801820

00:03:32

passed acceptance backend mariadb php 7.4 locked 7/8 #801821

00:03:17

passed acceptance backend mariadb php 7.4 locked 8/8 #801822

00:06:37

passed acceptance install mariadb php 7.2 locked #801763

00:02:27

passed acceptance install mariadb php 7.2 max #801764

00:02:34

passed acceptance install mariadb php 7.2 min #801924

00:03:58

passed acceptance install mariadb php 7.3 locked #801766

00:02:41

passed acceptance install mariadb php 7.3 max #801767

00:02:40

passed acceptance install mariadb php 7.3 min #801768

00:02:33

passed acceptance install mariadb php 7.4 locked #801769

00:02:42

passed acceptance install mariadb php 7.4 max #801770

00:02:48

passed acceptance install mariadb php 7.4 min #801927

00:01:49

passed acceptance install mysql php 7.2 locked #801772

00:02:43

passed acceptance install mysql php 7.2 max #801773

00:02:50

passed acceptance install mysql php 7.2 min #801929

00:02:39

passed acceptance install mysql php 7.3 locked #801775

00:02:43

passed acceptance install mysql php 7.3 max #801776

00:02:47

passed acceptance install mysql php 7.3 min #801777

00:03:22

passed acceptance install mysql php 7.4 locked #801778

00:02:41

passed acceptance install mysql php 7.4 max #801923

00:01:49

passed acceptance install mysql php 7.4 min #801780

00:02:47

passed acceptance install postgres php 7.2 locked #801781

00:02:34

passed acceptance install postgres php 7.2 max #801782

00:02:45

passed acceptance install postgres php 7.2 min #801783

00:02:50

passed acceptance install postgres php 7.3 locked #801928

00:01:44

passed acceptance install postgres php 7.3 max #801785

00:03:13

passed acceptance install postgres php 7.3 min #801786

00:02:43

passed acceptance install postgres php 7.4 locked #801787

00:02:43

passed acceptance install postgres php 7.4 max #801788

00:03:59

passed acceptance install postgres php 7.4 min #801926

00:01:46

passed acceptance install sqlite php 7.2 locked #801790

00:02:37

passed acceptance install sqlite php 7.2 max #801791

00:02:33

passed acceptance install sqlite php 7.2 min #801792

00:03:02

passed acceptance install sqlite php 7.3 locked #801793

00:02:31

passed acceptance install sqlite php 7.3 max #801921

00:01:38

passed acceptance install sqlite php 7.3 min #801795

00:02:30

passed acceptance install sqlite php 7.4 locked #801796

00:02:20

passed acceptance install sqlite php 7.4 max #801797

00:04:08

passed acceptance install sqlite php 7.4 min #801922

00:01:31

failed acceptance backend mariadb php 7.3 max 3/8 #801809

00:04:07

failed acceptance install mariadb php 7.2 min #801765

00:03:33

failed acceptance install mariadb php 7.4 min #801771

00:06:16

failed acceptance install mysql php 7.2 min #801774

00:06:16

failed acceptance install mysql php 7.4 max #801779

00:03:28

failed acceptance install postgres php 7.3 locked #801784

00:06:14

failed acceptance install postgres php 7.4 min #801789

00:06:12

failed acceptance install sqlite php 7.3 max #801794

00:02:54

failed acceptance install sqlite php 7.4 min #801798

00:03:11

 
  Functional
passed functional mariadb 10.3 php 7.3 locked 1/6 #801823

00:05:45

passed functional mariadb 10.3 php 7.3 locked 2/6 #801824

00:06:01

passed functional mariadb 10.3 php 7.3 locked 3/6 #801825

00:04:57

passed functional mariadb 10.3 php 7.3 locked 4/6 #801826

00:05:24

passed functional mariadb 10.3 php 7.3 locked 5/6 #801827

00:05:10

passed functional mariadb 10.3 php 7.3 locked 6/6 #801828

00:05:26

passed functional mariadb 10.3 php 7.3 max 1/6 #801829

00:06:06

passed functional mariadb 10.3 php 7.3 max 2/6 #801830

00:06:17

passed functional mariadb 10.3 php 7.3 max 3/6 #801831

00:05:00

passed functional mariadb 10.3 php 7.3 max 4/6 #801832

00:05:54

passed functional mariadb 10.3 php 7.3 max 5/6 #801833

00:05:21

passed functional mariadb 10.3 php 7.3 max 6/6 #801834

00:05:37

passed functional mariadb 10.3 php 7.3 min 1/6 #801835

00:06:01

passed functional mariadb 10.3 php 7.3 min 2/6 #801836

00:06:14

passed functional mariadb 10.3 php 7.3 min 3/6 #801837

00:05:10

passed functional mariadb 10.3 php 7.3 min 4/6 #801838

00:05:56

passed functional mariadb 10.3 php 7.3 min 5/6 #801839

00:05:08

passed functional mariadb 10.3 php 7.3 min 6/6 #801840

00:07:05

passed functional min mssql php 7.2 min pdo_sqlsrv 1/12 #801865

00:21:42

passed functional min mssql php 7.2 min pdo_sqlsrv 10/12 #801874

00:08:12

passed functional min mssql php 7.2 min pdo_sqlsrv 11/12 #801875

00:07:58

passed functional min mssql php 7.2 min pdo_sqlsrv 12/12 #801876

00:09:06

passed functional min mssql php 7.2 min pdo_sqlsrv 2/12 #801866

00:08:58

passed functional min mssql php 7.2 min pdo_sqlsrv 3/12 #801867

00:08:10

passed functional min mssql php 7.2 min pdo_sqlsrv 4/12 #801868

00:08:59

passed functional min mssql php 7.2 min pdo_sqlsrv 5/12 #801869

00:08:43

passed functional min mssql php 7.2 min pdo_sqlsrv 6/12 #801870

00:10:27

passed functional min mssql php 7.2 min pdo_sqlsrv 7/12 #801871

00:09:15

passed functional min mssql php 7.2 min pdo_sqlsrv 8/12 #801872

00:07:06

passed functional min mssql php 7.2 min pdo_sqlsrv 9/12 #801873

00:08:27

passed functional mssql php 7.3 max 1/12 #801853

00:09:07

passed functional mssql php 7.3 max 10/12 #801862

00:08:05

passed functional mssql php 7.3 max 11/12 #801863

00:07:58

passed functional mssql php 7.3 max 12/12 #801864

00:07:10

passed functional mssql php 7.3 max 2/12 #801854

00:09:13

passed functional mssql php 7.3 max 3/12 #801855

00:08:40

passed functional mssql php 7.3 max 4/12 #801856

00:08:17

passed functional mssql php 7.3 max 5/12 #801857

00:08:51

passed functional mssql php 7.3 max 6/12 #801858

00:10:14

passed functional mssql php 7.3 max 7/12 #801859

00:08:53

passed functional mssql php 7.3 max 8/12 #801860

00:07:03

passed functional mssql php 7.3 max 9/12 #801861

00:08:30

passed functional mssql php 7.4 locked 1/12 #801841

00:09:36

passed functional mssql php 7.4 locked 10/12 #801850

00:08:04

passed functional mssql php 7.4 locked 11/12 #801851

00:08:17

passed functional mssql php 7.4 locked 12/12 #801852

00:11:08

passed functional mssql php 7.4 locked 2/12 #801842

00:08:26

passed functional mssql php 7.4 locked 3/12 #801843

00:08:44

passed functional mssql php 7.4 locked 4/12 #801844

00:09:06

passed functional mssql php 7.4 locked 5/12 #801845

00:08:03

passed functional mssql php 7.4 locked 6/12 #801846

00:09:55

passed functional mssql php 7.4 locked 7/12 #801847

00:08:51

passed functional mssql php 7.4 locked 8/12 #801848

00:07:23

passed functional mssql php 7.4 locked 9/12 #801849

00:07:46

passed functional mysql 5.5 php 7.2 pdo_mysql locked 1/6 #801877

00:06:17

passed functional mysql 5.5 php 7.2 pdo_mysql locked 2/6 #801878

00:06:18

passed functional mysql 5.5 php 7.2 pdo_mysql locked 3/6 #801879

00:05:25

passed functional mysql 5.5 php 7.2 pdo_mysql locked 4/6 #801880

00:07:49

passed functional mysql 5.5 php 7.2 pdo_mysql locked 5/6 #801881

00:05:36

passed functional mysql 5.5 php 7.2 pdo_mysql locked 6/6 #801882

00:06:45

passed functional mysql 5.5 php 7.2 pdo_mysql max 1/6 #801883

00:06:06

passed functional mysql 5.5 php 7.2 pdo_mysql max 2/6 #801884

00:06:25

passed functional mysql 5.5 php 7.2 pdo_mysql max 3/6 #801885

00:07:38

passed functional mysql 5.5 php 7.2 pdo_mysql max 4/6 #801886

00:06:23

passed functional mysql 5.5 php 7.2 pdo_mysql max 5/6 #801887

00:05:29

passed functional mysql 5.5 php 7.2 pdo_mysql max 6/6 #801888

00:06:45

passed functional mysql 5.5 php 7.2 pdo_mysql min 1/6 #801889

00:06:25

passed functional mysql 5.5 php 7.2 pdo_mysql min 2/6 #801890

00:05:57

passed functional mysql 5.5 php 7.2 pdo_mysql min 3/6 #801891

00:06:45

passed functional mysql 5.5 php 7.2 pdo_mysql min 4/6 #801892

00:06:07

passed functional mysql 5.5 php 7.2 pdo_mysql min 5/6 #801893

00:05:45

passed functional mysql 5.5 php 7.2 pdo_mysql min 6/6 #801894

00:06:27

passed functional postgres 10 php 7.2 max 1/6 #801895

00:10:06

passed functional postgres 10 php 7.2 max 2/6 #801896

00:16:31

passed functional postgres 10 php 7.2 max 3/6 #801897

00:09:54

passed functional postgres 10 php 7.2 max 4/6 #801898

00:09:45

passed functional postgres 10 php 7.2 max 5/6 #801899

00:09:48

passed functional postgres 10 php 7.2 max 6/6 #801900

00:11:07

passed functional postgres 10 php 7.4 min 1/6 #801901

00:10:10

passed functional postgres 10 php 7.4 min 2/6 #801902

00:19:36

passed functional postgres 10 php 7.4 min 3/6 #801903

00:10:23

passed functional postgres 10 php 7.4 min 4/6 #801904

00:10:52

passed functional postgres 10 php 7.4 min 5/6 #801905

00:10:30

passed functional postgres 10 php 7.4 min 6/6 #801906

00:16:14

passed functional sqlite php 7.4 1/6 #801907

00:03:16

passed functional sqlite php 7.4 2/6 #801908

00:04:10

passed functional sqlite php 7.4 3/6 #801909

00:04:40

passed functional sqlite php 7.4 4/6 #801910

00:05:19

passed functional sqlite php 7.4 5/6 #801911

00:04:24

passed functional sqlite php 7.4 6/6 #801912

00:04:40