Closed (fixed)
Project:
Translation Management Tool
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
11 Mar 2016 at 10:35 UTC
Updated:
29 Mar 2016 at 21:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sanja_m commentedAssigning to me.
Comment #3
sanja_m commentedUploaded patch.
Comment #5
sanja_m commentedFixed failing tests.
Comment #6
berdirCode looks fine, just need improve the tests.
language shouldn't be needed in this list, we depend on that.
is this needed because this uses an undefined language?
Use \Drupal\tmgmt\Tests\TMGMTTestBase::addLanguage for this. Faster, doesn't require a UI, so you don't need additional permissions.
We should also assert the actual languages that are being displayed. This would pass if we'd just print the labels.
Comment #7
sanja_m commentedUpdated patch. \Drupal\tmgmt\Tests\TMGMTTestBase::addLanguage was added in some other commits, so now there is no need to add that again.
Comment #9
berdirMakes sense. We probably want to do the same for the local translator task item form, can you open a new issue for that?
Committed.