[repo] fixed bug and improved code for setting, new file/dir, rename
[seahub] translation