eclipse-threadx/filex

Documentation error

Closed this issue · 4 comments

https://docs.microsoft.com/zh-cn/azure/rtos/filex/chapter4#fx_directory_local_path_get, there is an extra ')' after the parameter 'my_long_name' in the example.

Thank you for the feedback. We will update the document.

https://docs.microsoft.com/zh-cn/azure/rtos/filex/chapter4#fx_file_extended_best_effort_allocate
This place translates "Best effort to allocate space for a file" (see english version in ../en-us/..) to "为文件分配空间的最大工作量" is not appropriate, I understand the intention of this function is to do its best to allocate space, it should be translated as "尽力而为为文件分配空间" or " 尽最大努力为文件分配空间";

https://docs.microsoft.com/zh-cn/azure/rtos/filex/chapter4#fx_file_extended_truncate_release
https://docs.microsoft.com/zh-cn/azure/rtos/filex/chapter4#fx_file_truncate_release
There are some errors in the translation of the description('描述') part of these two places,compared with fx_xxx_truncate(), fx_xxx_truncate_release() will release any unused clusters, it should be "此服务会释放任何未使用的群集" instead of “此服务不释放任何未使用的群集”,it means that the Chinese version incorrectly translates 'yes' to 'not'.

We are reviewing the translation issue internally and will be addressed soon

@weycen This issue is addressed and changes should be reflected. Please check