bill 1 anno fa
parent
commit
3dba840526

+ 1 - 1
src/graphic/Geometry/Text.js

@@ -4,7 +4,7 @@ import { mathUtil } from "../Util/MathUtil.js";
 import { coordinate } from "../Coordinate.js";
 import Constant from "../Constant.js";
 import Style from "@/graphic/CanvasStyle/index.js";
-import { ui18n } from "@/lang/index.js";
+import { ui18n } from "@/lang/index.ts";
 
 //不靠墙
 export default class Text extends Geometry {

+ 1 - 1
src/graphic/Renderer/Draw.js

@@ -12,7 +12,7 @@ import VectorStyle from "@/graphic/enum/VectorStyle.js";
 import VectorWeight from "@/graphic/enum/VectorWeight.js";
 import router from "@/router/index";
 import VectorType from "../enum/VectorType.js";
-import { ui18n } from "@/lang/index.js";
+import { ui18n } from "@/lang/index.ts";
 
 const isScreenStyle = () =>
   Settings.screenMode && router.currentRoute.value.params.mode === "0";

+ 4 - 1
src/lang/zh-entry.ts

@@ -10,10 +10,13 @@ import hotspot from "./zh/hotspot";
 import measure from "./zh/measure";
 import resStatus from "./zh/resStatus";
 import scene from "./zh/scene";
+
 import sys from "./zh/sys";
 import tool from "./zh/tool";
 import view from "./zh/view";
-import tl from "./zh/tl";
+// import tl from "./zh/tl";
+import tl from "./zh/tl-en";
+
 // const lang = langMessageFactory(import.meta.globEager('./zh/*'))
 
 export default {

+ 551 - 0
src/lang/zh/tl-en.ts

@@ -0,0 +1,551 @@
+export default {
+  addName: "Add Name",
+  pubName: "Common Name",
+  coption1: "Sedan",
+  coption2: "Bus",
+  coption3: "Truck",
+  coption4: "Tractor",
+  coption5: "Motor Tricycle",
+  coption6: "Bicycle",
+  coption7: "Injured Body",
+  coption8: "Livestock",
+  coption9: "Scatted Objects",
+  coption10: "Deck",
+  coption11: "Bridge",
+  slide1: "Flat",
+  slide2: "Side",
+  selected: "{count}chosen",
+  fixPoint: "Fixed Point",
+  OK: "Successful",
+  UnBaseLine: "Please establish BaseLine",
+  UnBasePoint: "Please establish BasePoint",
+  UnSelectBasePoint: "Please selecte BasePoint",
+  UnFixPoint: "Please establish FixedPoint",
+  dtex: "Text",
+  basep: "BasePoint",
+  basel: "BaseLine",
+  draw: "Mapping",
+  photos: "Photos",
+  accidents: "Pictures of Accident",
+  roads: "Photographs of Roads",
+  tabulation: "Create Form",
+  gena4: "Creat A4",
+  tables: "Traffic Accident Investigation Transcript",
+  demo: "Form",
+  aptypes: ["Overview picture", "center pictures", "detailed pictures", "positioning pictures"],
+
+  weather: "Sunny",
+  conditions: "Normal",
+  illustrate:
+    "Ratio of drawing is 1:215, unit in meters. Vehicles A is small sedan, no license plate.Vehicle B is small sedan, no license plate. Select the edge of a roadway as BaseLine, and sewage caps as BasePoint.",
+  loaderr: "Scene Data Loading Failed",
+  labelps: "Labeled Photographs({length})",
+  pphotos: "All Photographs({length})`",
+  proads: "Photograph Management({length})",
+  upphonto: "No photos, please obtain from model.",
+  uproads: "No live drawing. Click top right button to begin drawing.",
+
+  cancel: "Cancel",
+  select: "Select",
+  add: "Add",
+  unp: "No photographs. Click top right button to  label photographs.",
+  edit: "Edit",
+  del: "Delete",
+  save: "Save",
+  cdel: "Confirm to delete the data?",
+  cndel: "Confirm to delete these{length}data?",
+  savep: "Saved to photos",
+  errp: "Photograph created failed",
+  r1: "Description",
+  r2: "Pictures of Accident",
+  su: "Done",
+  saves: "Save successful",
+  ud: "No result",
+  it: "Legend",
+  rt: "Road Structure",
+  pub: "Frequently Used",
+  icon: {
+    jg_bmx: "crosswalk",
+    jg_xfsj: "Fire hydrant",
+    jg_ysk: "Stormwater inlet",
+    jg_lmak: "Pothole",
+    jg_lmtcbf: "Pavement bump",
+    jg_lmjs: "Pool of water",
+    mb_sxwl: "S curve",
+    mb_dzlk: "T-junction",
+    mb_wclk: "5-way junction",
+    mb_ckzd: "Exit ramp",
+    mb_szlk: "crossroad",
+    mb_gdlj: "State highway (shoulder)",
+    mb_snld: "Indoor road",
+    mb_wd: "Curved Road",
+    mb_jzwd: "Sharp turn",
+    mb_lclk: "6-way junction",
+    mb_zjwd: "Straight Turn",
+    mb_jkzd: "Inlet Ramp",
+    mb_gssfz: "Highway Toll Station",
+    mb_gsld: "Highway Toll Station",
+    measure_r: "Perpendicular Positioning",
+    ymeasure_r: "On- Click Measure",
+    measure_free: "Free Measure",
+    road: "Road",
+    line_d: "Draw Line",
+    legend: "Legend",
+    measure: "Measure",
+    text: "Text",
+    magnify_g: "Magnify",
+    setting: "Settings",
+    r_template: "Road Structure",
+    r_structure: "Road Template",
+    Text: "Text",
+    Circle: "Circle",
+    SingleArrow: "Arrow",
+    Magnifier: "Magnify",
+    GoBack: "Back",
+    GoAhead: "Forward",
+    Clear: "Clear",
+    BackImageChange: "Base Image On/Off",
+
+    color: "Color",
+    type: "Type",
+    arrows_s: "One-Way",
+    arrows_d: "Two-Way",
+    copy: "Copy",
+    photo: "Take Photo",
+    map: "Photos",
+    recover: "Recover Default",
+
+    line_sf: "Single Solid Line",
+    line_sd: "Single Broken Line",
+    line_df: "Double Solid Line",
+    line_dd: "Double Broken Line",
+    line_broken: "Bent Line",
+    line_dot: "Point Line",
+    l_thick: "Thickness",
+    control_a: "Control Point",
+    stone: "Curbline",
+    addcontrol_a: "Add Control Point",
+    lane_a: "Add Lane",
+    lane_d: "Remove Lane",
+    fontSize: "Font Size",
+    fontEdit: "Edit Text",
+  },
+  defr: "Default Lane Width",
+  unit: "Unit:",
+  defw: "Default Isolation Width",
+  basew: "BaseLine Width",
+  photograph: "Take Photo",
+  selectPhotoAlbum: "Select Album",
+  scene: "Scene Screenshot",
+
+  table: {
+    t1: "Time of Arrival to Site",
+    t2: "Weather",
+    t3: "Road Type",
+    t4: "Accident Location",
+    t5: "Time of Drawing",
+    t6: "Investigator",
+    t7: "Drawn by",
+    t8: "Invovled Party Signature",
+    t9: "Witness signature",
+    t10: "Unnamed",
+  },
+  pnull: "Empty point cloud. Please try another spot",
+  time: "YYYY,MM,DD,HH,MM",
+  tip: "Tip",
+  dscene: {
+    dblc: "First draw BaseLine",
+    dbpc: "Please create BasePoint",
+    gdblc: "Start Drawing",
+    gdbpc: "Create BasePoint",
+    sbd: "Select BasePoint",
+  },
+  t1: {
+    i1: "Time of Accident",
+    i2: "Weather",
+    i3: "Location",
+    i4: "Description",
+    i5: "Case",
+    i6: "Record of Investigation",
+    i7: "Interview Transcripts",
+    i8: "Interrogation Transcripts",
+    i9: "Accident Determination",
+    i10: "Blood Sample Registration Form",
+    i11: "Inventory of Items Left Behind",
+    i12: "Authorized Power of Attorney",
+    i13: "Laws and Regulations",
+  },
+  pdraw: "Please draw{name}",
+  psbasep: "Single Click to Select BasePoint Location",
+  psfixp: "Single Click to Select FixedPoint Location",
+  fixg: "Shape",
+  mline: "Measuring Line",
+  pfixg: "Single Click to Draw Fixed Shape",
+  pdnull: "Confirm to clear? This action cannot be undone",
+
+  menus: [
+    "Clear All",
+    "Measure",
+    "Horizon",
+    "Perpendicular",
+    "Free",
+    "Fixed Point",
+    "Draw Line",
+    "Foot of Perpendicular",
+    "Establish Base",
+    "Scope",
+    "Height Above Ground",
+    "Horizontal Zoom",
+    "Horizontal Rotate",
+    "Recover",
+  ],
+
+  t2: [
+    "On-site Accident Investigation Transcript",
+    "Interview Transcripts",
+    "Interrogation Transcripts",
+    "Certificate of Traffic Accident Determination",
+    "Involved Party Blood Sample Registration",
+    "List of items left at the accident site",
+    "Authorized Power of Attorney",
+  ],
+
+  t3: [
+    "Live Investigation",
+    "Add to Investigation",
+    "Normal Section",
+    "Highway Section",
+    "Narrow Section",
+    "Narrow Road",
+    "Bridge",
+    "Tunnel",
+    "Road Entry/Exit",
+    "Roadside Danger Section",
+    "Other Special Section",
+    "3-way fork",
+    "4-way fork",
+    "Multi-way fork",
+    "Roundabout ",
+    "Ramp",
+
+    "City Quicklane",
+    "Normal City Road",
+    "Commnunity Build Road",
+    "Public Parking Lot",
+    "Public Square",
+    "Other Roads",
+
+    "National Highway",
+    "State Highway",
+    "Village Road",
+    "Other",
+
+    "Highway",
+    "Level 1",
+    "Level 2",
+    "Level 3",
+    "Level 4",
+    "Other",
+
+    "Sunny",
+    "Dark",
+    "Cloudy",
+    "Rain",
+    "Snow",
+    "Fog",
+    "Hail",
+    "Sand",
+    "Haze",
+    "Other",
+  ],
+  t4: [
+    "Obstacles affecting vision or driving:",
+    "Road Traffic Signs:",
+    "Road Surface Marking:",
+    "Center Barrier:",
+    "Roadside Protection Objects:",
+    "View Conditions:",
+    "Road Surface Material:",
+    "Pavement Condition:",
+    "Road Surface Condition:",
+    "Other Notable Conditions:",
+  ],
+  t5: [
+    "None",
+    "Present:",
+    "Asphaly",
+    "Cement",
+    "Gravel",
+    "Dirt Road",
+    "Other",
+
+    "Excellent Road Surface ",
+    "Under Construction",
+    "Bumpy",
+    "Collapsed",
+    "Obstacle",
+    "Other",
+
+    "Dry",
+    "Wet",
+    "Waterlogged",
+    "Flooded",
+    "Ice",
+    "Muddy",
+    "Other",
+
+    "Lights are present during day/night?",
+    "Yes",
+  ],
+
+  t6: [
+    "Number",
+    "Page",
+    "Times",
+    "Total",
+    "Inquire",
+    "Interrogate",
+    "Transcript",
+    "Time",
+    "To",
+    "Location",
+    "Person",
+    "Company",
+    "Recorder",
+    "By",
+    "Gender",
+    "Age",
+    "Birthdate",
+    "ID Number",
+    "Deputy to the National People's Congress",
+    "Current Address",
+    "Principal",
+    "Nationality",
+    "Verbal Summon/Self Report",
+    "by",
+    "Arrival,",
+    "Departure,",
+    "Signature:",
+    "Person asked:",
+    "Person interrogated:",
+  ],
+  t7: ["Yes", "No"],
+  t8: [
+    "On-site Accident Investigation Transcript (Continued)",
+    "6.Test results for alcohol, psychotropic and narcotic drugs and collect blood sample、",
+    "Number",
+    "Name",
+    "ID Number码",
+    "Contact Number",
+    "Method of Transport",
+    "Test results for alcohol, psychotropic and narcotic drugs",
+    "Did you collect blood or urine sample?",
+    "Remarks",
+    "7. Vehicle's direction of driving, vehicle type, model, color",
+    "Number",
+    "License Plate",
+    "Vehicle Model",
+    "Vehicle Color",
+    "Vehicle's Path and Direction",
+    "Passenger Status",
+    "Other information",
+    "8. Compulsory measure taken on-site",
+    "9. Other factors that deems important to note by investigator",
+    "Investigator Signature:",
+    "Scribe Signature:",
+    "Involved Party Signature:",
+    "Witness Signature:",
+    "Total Pages",
+  ],
+  t9: [
+    "On-site Accident Investigation Transcript",
+    "Investigating Department",
+    "Investigation Time",
+    "Time of Accident",
+    "Accident Location",
+    "Road Type",
+    "Highway",
+    "Technical Level",
+    "Administrative Level",
+    "City Road",
+    "Intersection Type",
+    "Intersection Type",
+    "Road Section",
+    "Road Name",
+    "Highway Number",
+    "Location",
+    "GPS location",
+    "Longitude",
+    "Lattitude",
+    "Location Description",
+    "Weather",
+    "1. Traffic Environment of Acciden Site",
+    "On-site Investigator Signature:",
+    "Scribe Signature:",
+    "Involved Party Signature:",
+    "Witness Signature:",
+    "Total Pages",
+  ],
+
+  t10: [
+    "On-site Accident Investigation Transcript (Continued)",
+    "(一)Traces on the Ground:",
+    "(二)Traces on the Vehicle:",
+    "(三)Traces on Body:",
+    "(四)Evidence:",
+    "(五)Other:",
+    "On-site Investigator Signature:",
+    "Scribe Signature:",
+    "Involved Party Signature:",
+    "Witness Signature:",
+    "Total Pages",
+    "5. Type, condition, size, location  of  any evidence on-site",
+  ],
+  t11: [
+    "Status of Security Cameras",
+    "Conditions of injured personnel and rescue",
+    "1. Conditions of Injured Person;",
+    "Dead on the Spot:",
+    "Person",
+    "Emergency Rescure Signature:",
+    "Injured",
+    "Destination of Injured:",
+    "Other Situations Requring Explanation:",
+    "2. Summary of Rescue:",
+    "Any Dangerous Goods?:",
+    "Name:",
+    "Arrival of Related Department and Personnel:",
+    "4. Vehicles's model, license plate, gear, light, dashboard camera, GPS tracking, etc",
+    "Number",
+    "Plate Number",
+    "Vehicle Type",
+    "Vehicle Gear",
+    "Status of Light",
+    "Position of Speedometer",
+    "On board equipment installed  (Yes/No)",
+
+    "Dashboard Camera",
+    "On board recorder",
+    "GPS Tracking",
+
+    "On-site Investigator Signature:",
+    "Scribe Signature:",
+    "Involved Party Signature:",
+    "Witness Signature:",
+
+    "Not Found",
+    "Found",
+    "No",
+    "Yes",
+    "Medical",
+    "Fire Rescue",
+    "Clearance",
+    "Other",
+  ],
+  t12: [
+    "Involved Party's Blood (Urine) Sample Registion Form",
+    "Name",
+    "Gender",
+    "ID Number",
+    "Time of Accident",
+    "Location",
+    "Blood (Urine) Sample Collection Time",
+    "Blood (Urine) Sample Collection Location",
+    "Blood (Urine) Sample Collected by",
+    "Collection Registration",
+    "Sample A Container Serial Number",
+    "Quantity Collected",
+    "Sample A Container Serial Number",
+    "Disinfection",
+    "Method of Enclosure",
+    "Collecting Department",
+    "Collector (Signature)",
+    "Informing Family Members",
+    "Party Being Collected (Signature)",
+    "Witness (Signature)",
+    "Traffic Police (Signature)",
+    "Case Department",
+  ],
+  t13: [
+    "Certificate of Traffic Accident Determination (Simplified)",
+    "Number",
+    "Number",
+    "Time of Accident",
+    "Weather",
+    "Accident Location",
+    "Person Involved",
+    "Driver's license/ID number/Phone number",
+    "Principal",
+    "Method of Transport",
+    "Type of Motor Vehicle、License plate number",
+    "Insurance Company",
+    "Vehicle Insurance Policy Number",
+    "Facts and Responsibility of Traffic Accident",
+    "Person Involved:",
+    "(Road Traffic Incident Handling Stamp)",
+    "Traffic Police:",
+    "Resulting Damages and Compensation",
+    "Person Involved:",
+    "If involved party disagrees with the case outcome, party must apply for re-review of the outcome documentation within 3 days. Same case can only be reviewed once. Dispute over damages and compensation can involved a mediation, or raise the issue to the people's court",
+    "Note: Save this document, send a copy to each copy. ",
+    "Property Loss Accident",
+    "Injuries of person involved are minor and all parties agree to apply simplified procedures",
+  ],
+  t14: [
+    "Download",
+    "Confirm",
+    "Save",
+    "On-site Accident Investigation Transcript",
+    "Interview Transcripts",
+    "Interrogation Transcripts",
+    "Authorized Power of Attorney",
+    "List of items left at the accident site",
+    "Involved Party's Blood (Urine) Sample Registion Form",
+    "Certificate of Traffic Accident Determination (Simplified)",
+    "Laws and Regulations",
+  ],
+  t15: [
+    "List of items left at the accident site",
+    "Time of Accident",
+    "Accident Location",
+    "Number",
+    "Item Name",
+    "Quantity",
+    "Characteristics",
+    "Collector Signature",
+    "Collection time",
+    "Remarks",
+    "Involved Party Signature:",
+    "Traffic Police(sign):",
+  ],
+  t16: [
+    "Authorized Power of Attorney",
+    "Principal:",
+    "Gender:",
+    "Age:",
+    "ID Number:",
+    "Address:",
+    "Principal:",
+    "Appointee:",
+    "Gender:",
+    "Age:",
+    "ID Number:",
+    "Company:",
+    "Address and Contact Info:",
+    "I hereby appoint the above appointee to participate in:",
+    "Case",
+    "Investigation Work.",
+    "Appointee:",
+    "The authority of the appointee is:",
+    "General representation: to participate in litigation, mediation, provide legal assistance.",
+    "Special authorization: to provide the facts;  participate in mediation; propose, accept, waive or change the claim for compensation; file counterclaims or appeals; signing receipt of legal documents.",
+  ],
+  t17: [
+    "Appointee:",
+    "The authority of the appointee is:",
+    "Principal (Signature):",
+    "Appointee (Signature):",
+    "General representation: to participate in litigation, mediation, provide legal assistance.",
+    "Special authorization: to provide the facts;  participate in mediation; propose, accept, waive or change the claim for compensation; file counterclaims or appeals; signing receipt of legal documents.",
+  ],
+};

+ 1 - 1
src/views/accidents/index.vue

@@ -45,7 +45,7 @@
           </Photos>
         </div>
       </template>
-      <undata v-else :undata-msg="$t("tl.unp")" />
+      <undata v-else :undata-msg="$t('tl.unp')" />
     </div>
 
     <ActionMenus

+ 1 - 1
src/views/tables/explorate-four.vue

@@ -195,7 +195,7 @@
 
       <div class="footer">
         <!-- <span>共<span>肆</span>页</span> -->
-        {{{{ $t("tl.t8[24]") }}}}
+        {{ $t("tl.t8[24]") }}
       </div>
     </div>
   </div>