Doe the liver repair itself after trauma?

If it is minor yes. If the injury is not causing major blood loss or involve bile ducts yes.
To a degree. Depends on the injury trauma- scar the liver has excess capacity if well, so it can cope with trauma, resection of cancers etc.