Commits

Tetsuya Morimoto committed b157162

translated some comments Japanese to English

Comments (0)

Files changed (2)

src/raido/utils/dbtools.py

 
 def filter_literal_condition(query_obj, literal=None, ope=u" and ",
                              sign=u"=", **kwargs):
-    """ クエリオブジェクトを文字列リテラルでフィルターする
+    """ filter query object with string literal
 
-    :param query_obj: クエリオブジェクト
-    :param literal: where 句の条件リテラル (default=None)
-    :param ope: where 句の条件の結合演算子 (default=" and ")
-    :param sign: where 句の条件の比較演算子 (default="=")
-    :param kwargs: フィルターする条件
+    :param query_obj: query object
+    :param literal: conditional literal for WHERE statement (default=None)
+    :param ope: conjunction operator for WHERE statement (default=" and ")
+    :param sign: comparative operator for WHERE statement (default="=")
+    :param kwargs: conditional values for filter
 
     Example usage::
 

src/raido/utils/reqtools.py

 """
 
 def get_parameter(request_dict, fields):
-    """ :data:`flask.request.args` または :data:`flask.request.form` から\
-    :data:`fields` のみを取り出す
+    """ get given :data:`fields` from :data:`flask.request.args` or\
+        :data:`flask.request.form`
 
-    :param request_dict: :data:`flask.request.args` または
+    :param request_dict: :data:`flask.request.args` or
                          :data:`flask.request.form`
-    :param fields: 取り出すキー項目
+    :param fields: key items for getting
 
     Example usage::