Skip to content

Commit

Permalink
add english comment for RouteType
Browse files Browse the repository at this point in the history
  • Loading branch information
chenchenplus committed Nov 14, 2024
1 parent d61cea8 commit 78651a6
Show file tree
Hide file tree
Showing 30 changed files with 210 additions and 186 deletions.
8 changes: 7 additions & 1 deletion city/routing/v2/routing.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,22 @@ package city.routing.v2;
// routing type
enum RouteType {
// 未指定
// unspecified
ROUTE_TYPE_UNSPECIFIED = 0;
// 驾车
// driving
ROUTE_TYPE_DRIVING = 1;
// 步行
// walking
ROUTE_TYPE_WALKING = 2;
// 公交
// by bus
ROUTE_TYPE_BUS = 3;
// 地铁
// by subway
ROUTE_TYPE_SUBWAY = 4;
// 公交+地铁
// 地铁+公交,包含两者的换乘
// both bus and subway are available, including multimodal transfers
ROUTE_TYPE_BUS_SUBWAY = 5;
}

Expand Down
18 changes: 12 additions & 6 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10006,37 +10006,43 @@ <h3 id="city.routing.v2.RouteType">RouteType</h3>
<tr>
<td>ROUTE_TYPE_UNSPECIFIED</td>
<td>0</td>
<td><p>未指定</p></td>
<td><p>未指定
unspecified</p></td>
</tr>

<tr>
<td>ROUTE_TYPE_DRIVING</td>
<td>1</td>
<td><p>驾车</p></td>
<td><p>驾车
driving</p></td>
</tr>

<tr>
<td>ROUTE_TYPE_WALKING</td>
<td>2</td>
<td><p>步行</p></td>
<td><p>步行
walking</p></td>
</tr>

<tr>
<td>ROUTE_TYPE_BUS</td>
<td>3</td>
<td><p>公交</p></td>
<td><p>公交
by bus</p></td>
</tr>

<tr>
<td>ROUTE_TYPE_SUBWAY</td>
<td>4</td>
<td><p>地铁</p></td>
<td><p>地铁
by subway</p></td>
</tr>

<tr>
<td>ROUTE_TYPE_BUS_SUBWAY</td>
<td>5</td>
<td><p>公交&#43;地铁</p></td>
<td><p>地铁&#43;公交,包含两者的换乘
both bus and subway are available, including multimodal transfers</p></td>
</tr>

</tbody>
Expand Down
8 changes: 7 additions & 1 deletion es/city/routing/v2/routing_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,41 +15,47 @@ import { Message, proto3 } from "@bufbuild/protobuf";
export declare enum RouteType {
/**
* 未指定
* unspecified
*
* @generated from enum value: ROUTE_TYPE_UNSPECIFIED = 0;
*/
UNSPECIFIED = 0,

/**
* 驾车
* driving
*
* @generated from enum value: ROUTE_TYPE_DRIVING = 1;
*/
DRIVING = 1,

/**
* 步行
* walking
*
* @generated from enum value: ROUTE_TYPE_WALKING = 2;
*/
WALKING = 2,

/**
* 公交
* by bus
*
* @generated from enum value: ROUTE_TYPE_BUS = 3;
*/
BUS = 3,

/**
* 地铁
* by subway
*
* @generated from enum value: ROUTE_TYPE_SUBWAY = 4;
*/
SUBWAY = 4,

/**
* 公交+地铁
* 地铁+公交,包含两者的换乘
* both bus and subway are available, including multimodal transfers
*
* @generated from enum value: ROUTE_TYPE_BUS_SUBWAY = 5;
*/
Expand Down
16 changes: 8 additions & 8 deletions go/city/comm/input/v1/comm.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions go/city/economy/v1/economy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions go/city/economy/v1/org_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions go/city/economy/v1/person_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions go/city/elec/input/v1/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 78651a6

Please sign in to comment.