Skip to content

Commit 002062c

Browse files
committed
📚 update api translations
1 parent 651252e commit 002062c

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.moban.d/docs/source/cn-index.rst.jj2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -380,21 +380,21 @@ django-excel 会尽量用批量输入,而不是一个一个输入数据库。
380380
.. method:: get_dict(sheet_name=None, name_columns_by_row=0, **keywords)
381381

382382
:param sheet_name: 和前面 :meth:`~django_excel.ExcelMixin.get_sheet` 一样。
383-
:param name_columns_by_row: uses the first row of the sheet to be column headers by default.
384-
:param keywords: additional keywords to pyexcel library
383+
:param name_columns_by_row: 栏目名在哪一样。缺省的话,默认栏目在第一行。
384+
:param keywords: 其他 :meth:`pyexcel.get_dict` 的参数
385385
:returns: 字典
386386

387387
.. method:: get_records(sheet_name=None, name_columns_by_row=0, **keywords)
388388

389389
:param sheet_name: 和前面 :meth:`~django_excel.ExcelMixin.get_sheet` 一样。
390-
:param name_columns_by_row: uses the first row of the sheet to be record field names by default.
390+
:param name_columns_by_row: 栏目名在哪一样。缺省的话,默认栏目在第一行。
391391
:param keywords: 其他 :meth:`pyexcel.get_records` 的参数
392392
:returns: 字典列表 (a list of records)
393393

394394
.. method:: iget_records(sheet_name=None, name_columns_by_row=0, **keywords)
395395

396396
:param sheet_name: 和前面 :meth:`~django_excel.ExcelMixin.get_sheet` 一样。
397-
:param name_columns_by_row: uses the first row of the sheet to be record field names by default.
397+
:param name_columns_by_row: 栏目名在哪一样。缺省的话,默认栏目在第一行。
398398
:param keywords: 其他 :meth:`pyexcel.iget_records` 的参数
399399
:returns: 字典产生器(a generator for records)
400400

docs/source/index.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,12 @@ django-excel 会尽量用批量输入,而不是一个一个输入数据库。
563563

564564
如果您觉得作者的付出对您有帮助,您可以给作者小女儿送个小玩具。谢谢您的支持!
565565

566-
.. image:: https://user-images.githubusercontent.com/4280312/98422397-70c9a580-2083-11eb-969b-8c1b792a86d4.png
566+
.. image:: https://user-images.githubusercontent.com/4280312/98528713-979afe00-2274-11eb-9a98-8b3d75a83be2.png
567567
:width: 200
568+
569+
.. image:: https://user-images.githubusercontent.com/4280312/98529289-56efb480-2275-11eb-940f-be9f01ce0728.png
570+
:width: 200
571+
568572
函数参考
569573
---------------
570574

@@ -595,21 +599,21 @@ django-excel 会尽量用批量输入,而不是一个一个输入数据库。
595599
.. method:: get_dict(sheet_name=None, name_columns_by_row=0, **keywords)
596600

597601
:param sheet_name: 和前面 :meth:`~django_excel.ExcelMixin.get_sheet` 一样。
598-
:param name_columns_by_row: uses the first row of the sheet to be column headers by default.
599-
:param keywords: additional keywords to pyexcel library
602+
:param name_columns_by_row: 栏目名在哪一样。缺省的话,默认栏目在第一行。
603+
:param keywords: 其他 :meth:`pyexcel.get_dict` 的参数
600604
:returns: 字典
601605

602606
.. method:: get_records(sheet_name=None, name_columns_by_row=0, **keywords)
603607

604608
:param sheet_name: 和前面 :meth:`~django_excel.ExcelMixin.get_sheet` 一样。
605-
:param name_columns_by_row: uses the first row of the sheet to be record field names by default.
609+
:param name_columns_by_row: 栏目名在哪一样。缺省的话,默认栏目在第一行。
606610
:param keywords: 其他 :meth:`pyexcel.get_records` 的参数
607611
:returns: 字典列表 (a list of records)
608612

609613
.. method:: iget_records(sheet_name=None, name_columns_by_row=0, **keywords)
610614

611615
:param sheet_name: 和前面 :meth:`~django_excel.ExcelMixin.get_sheet` 一样。
612-
:param name_columns_by_row: uses the first row of the sheet to be record field names by default.
616+
:param name_columns_by_row: 栏目名在哪一样。缺省的话,默认栏目在第一行。
613617
:param keywords: 其他 :meth:`pyexcel.iget_records` 的参数
614618
:returns: 字典产生器(a generator for records)
615619

0 commit comments

Comments
 (0)