Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chinese support #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
build
*.iml

# OSX auto files
.DS_Store
.AppleDouble
.LSOverride
._*

# Windows auto files
Thumbs.db
ehthumbs.db
Desktop.ini

# Linux auto files
*~
40 changes: 20 additions & 20 deletions data/CarrierData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,57 +23,57 @@ along with this software (see the LICENSE.md file). If not, see

<!-- UPS -->
<mantle.party.Party partyId="UPS" partyTypeEnumId="PtyOrganization" externalId="ups">
<organization organizationName="United Parcel Service"/>
<organization organizationName="联合包裹服务"/>
<roles roleTypeId="Carrier"/>
</mantle.party.Party>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="UPS" shipmentMethodEnumId="ShMthGround" sequenceNum="1"
description="UPS Ground" scaCode="UPSG" gatewayServiceCode="ups_ground"/>
description="UPS 国内运输服务" scaCode="UPSG" gatewayServiceCode="ups_ground"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="UPS" shipmentMethodEnumId="ShMthNextDay" sequenceNum="2"
description="UPS Next Day Air Saver" scaCode="UPS1" gatewayServiceCode="ups_next_day_air_saver"/>
description="UPS 次日送达" scaCode="UPS1" gatewayServiceCode="ups_next_day_air_saver"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="UPS" shipmentMethodEnumId="ShMthNextDayPri" sequenceNum="3"
description="UPS Next Day Air" scaCode="UPS1" gatewayServiceCode="ups_next_day_air"/>
description="UPS 次日尽早送达" scaCode="UPS1" gatewayServiceCode="ups_next_day_air"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="UPS" shipmentMethodEnumId="ShMthSecondDay" sequenceNum="4"
description="UPS 2nd Day Air" scaCode="UPS2" gatewayServiceCode="ups_second_day_air"/>
description="UPS 第二日送达" scaCode="UPS2" gatewayServiceCode="ups_second_day_air"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="UPS" shipmentMethodEnumId="ShMthThirdDay" sequenceNum="5"
description="UPS 3 Day Select" scaCode="UPS3" gatewayServiceCode="ups_3_day_select"/>
description="UPS 三日内送达" scaCode="UPS3" gatewayServiceCode="ups_3_day_select"/>

<!-- FedEx -->
<mantle.party.Party partyId="FedEx" partyTypeEnumId="PtyOrganization" externalId="fedex">
<organization organizationName="FedEx Corporation"/>
<organization organizationName="联邦快递公司"/>
<roles roleTypeId="Carrier"/>
</mantle.party.Party>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="FedEx" shipmentMethodEnumId="ShMthGround" sequenceNum="1"
description="FedEx Ground Home Delivery" scaCode="FDXG" gatewayServiceCode="fedex_home_delivery"/>
description="FedEx 地面宅配" scaCode="FDXG" gatewayServiceCode="fedex_home_delivery"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="FedEx" shipmentMethodEnumId="ShMthGroundCom" sequenceNum="2"
description="FedEx Ground Commercial" scaCode="FDXG" gatewayServiceCode="fedex_ground"/>
description="FedEx 地面商业区配送" scaCode="FDXG" gatewayServiceCode="fedex_ground"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="FedEx" shipmentMethodEnumId="ShMthNextDay" sequenceNum="3"
description="FedEx Standard Overnight" scaCode="FDXSO" gatewayServiceCode="fedex_standard_overnight"/>
description="FedEx 次日送达" scaCode="FDXSO" gatewayServiceCode="fedex_standard_overnight"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="FedEx" shipmentMethodEnumId="ShMthNextDayPri" sequenceNum="4"
description="FedEx Priority Overnight" scaCode="FDXSO" gatewayServiceCode="fedex_priority_overnight"/>
description="FedEx 次日尽早送达" scaCode="FDXSO" gatewayServiceCode="fedex_priority_overnight"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="FedEx" shipmentMethodEnumId="ShMthSecondDay" sequenceNum="5"
description="FedEx 2 Day" scaCode="FDX2D" gatewayServiceCode="fedex_2_day"/>
description="FedEx 第二日送达" scaCode="FDX2D" gatewayServiceCode="fedex_2_day"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="FedEx" shipmentMethodEnumId="ShMthThirdDay" sequenceNum="6"
description="FedEx Express Saver" scaCode="FDXES" gatewayServiceCode="fedex_express_saver"/>
description="FedEx 三日内送达" scaCode="FDXES" gatewayServiceCode="fedex_express_saver"/>

<!-- DHL Express -->
<mantle.party.Party partyId="DHLX" partyTypeEnumId="PtyOrganization" externalId="dhl_express">
<organization organizationName="DHL Express"/>
<organization organizationName="DHL 快递"/>
<roles roleTypeId="Carrier"/>
</mantle.party.Party>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="DHLX" shipmentMethodEnumId="ShMthGround" sequenceNum="1"
description="DHL Economy Select" scaCode="DDAG" gatewayServiceCode="dhl_express_economy_select_nondoc"/>
description="DHL 不紧急货件" scaCode="DDAG" gatewayServiceCode="dhl_express_economy_select_nondoc"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="DHLX" shipmentMethodEnumId="ShMthNextDay" sequenceNum="2"
description="DHL Express Noon" scaCode="DZNA" gatewayServiceCode="dhl_express_express_12_00_nondoc"/>
description="DHL 次日尽早送达" scaCode="DZNA" gatewayServiceCode="dhl_express_express_12_00_nondoc"/>

<!-- USPS -->
<mantle.party.Party partyId="USPS" partyTypeEnumId="PtyOrganization" externalId="usps">
<organization organizationName="United States Postal Service"/>
<organization organizationName="美国邮政服务"/>
<roles roleTypeId="Carrier"/>
</mantle.party.Party>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="USPS" shipmentMethodEnumId="ShMthGround" sequenceNum="1"
description="USPS First Class Mail" scaCode="USPS" gatewayServiceCode="usps_first"/>
description="USPS 轻型包裹" scaCode="USPS" gatewayServiceCode="usps_first"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="USPS" shipmentMethodEnumId="ShMthThirdDay" sequenceNum="2"
description="USPS Priority Mail" scaCode="USPS" gatewayServiceCode="usps_priority"/>
description="USPS 三日内送达" scaCode="USPS" gatewayServiceCode="usps_priority"/>
<mantle.shipment.carrier.CarrierShipmentMethod carrierPartyId="USPS" shipmentMethodEnumId="ShMthNextDay" sequenceNum="3"
description="USPS Priority Express" scaCode="USPS" gatewayServiceCode="usps_priority_express"/>
description="USPS 二日内尽早送达" scaCode="USPS" gatewayServiceCode="usps_priority_express"/>
</entity-facade-xml>
Loading