Shorten some code and update french translations in owncloud spk