Skip to content

Commit

Permalink
Format code with prettier (#814)
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 527129d according to the output
from prettier.

Details: https://deepsource.io/gh/SnailyCAD/snaily-cadv4/transform/79e34176-3bf9-4b4d-af9d-55fed229f18e/

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
  • Loading branch information
deepsource-autofix[bot] authored May 28, 2022
1 parent a65b48e commit 0c3ab7f
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 63 deletions.
4 changes: 2 additions & 2 deletions packages/client/locales/cn/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"deleteBusiness": "删除业务",
"giveTempPassword": "提供临时密码",
"continue": "是的,继续。",
"reGenerateToken":"重新生成令牌",
"reGenerateToken": "重新生成令牌",
"inBolo": "在BOLO",
"pendingBusinesses": "待处理业务",
"status": "Status",
Expand All @@ -44,7 +44,7 @@
"managePermissions": "管理权限",
"detailedPermissions": "详细权限",
"useOldPermissions": "使用旧权限",
"useNewPermissions":"使用新权限",
"useNewPermissions": "使用新权限",
"setSelectedOffDuty": "设置选定的单位下班",
"createCustomField": "创建自定义字段",
"editCustomField": "编辑自定义字段",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/locales/cn/citizen.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"yourWeapons": "你的武器",
"addWeapon": "添加武器",
"noWeapons": "你还没有注册任何武器。",
"deleteWeapon":"删除武器",
"deleteWeapon": "删除武器",
"registeredWeapons": "注册武器",
"successWeaponRegistered": "已成功注册武器",
"alert_deleteWeapon": "你确定要删除这把武器吗?此操作无法撤消。"
Expand Down
8 changes: 4 additions & 4 deletions packages/client/locales/cn/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"postal": "邮政",
"viewDescription": "查看描述",
"citizen": "公民",
"cropImage":"裁剪图像",
"cropImage": "裁剪图像",
"crop": "作物",
"hide": "隐藏",
"show": "显示",
Expand Down Expand Up @@ -89,7 +89,7 @@
"Errors": {
"unknown": "发生意外错误",
"userNotFound": "未找到该用户",
"nameAlreadyTaken":"拥有该全名的公民已经在使用中",
"nameAlreadyTaken": "拥有该全名的公民已经在使用中",
"whitelistPending": "此帐户仍在等待对 CAD 的访问",
"whitelistDeclined": "此帐户被拒绝访问 CAD",
"passwordIncorrect": "您输入的密码不正确",
Expand Down Expand Up @@ -119,7 +119,7 @@
"businessIsPending": "这项业务仍在等待批准使用,请稍后再试",
"businessCreatedButPending": "该业务已成功创建,但仍在等待批准使用,它必须由管理员批准",
"maxDivisionsReached": "这名军官达到了每位军官师数的最高限额",
"maxLimitOfficersPerUserReached":"此用户已达到官员的最高限制",
"maxLimitOfficersPerUserReached": "此用户已达到官员的最高限制",
"maxCitizensPerUserReached": "此用户已达到公民的最大限制",
"discordIdInUse": "此不和谐 ID 已连接到其他帐户",
"totpCodeRequired": "请输入您的2FA代码",
Expand All @@ -131,7 +131,7 @@
"allowRegularLoginIsDisabled": "常规登录已禁用,请使用Discord OAuth代替",
"Invalid Permissions": "您没有访问此 API 路由的权限",
"alreadyPendingNameChange": "该公民已经有一个待定的名字更改请求",
"nameChangeRequestNotNew": "要创建名称更改请求,新名称不能与以前的名称匹配",
"nameChangeRequestNotNew": "要创建名称更改请求,新名称不能与以前的名称匹配",
"socketError": "套接字连接错误",
"socketErrorInfo": "与 API 的连接已断开连接,请重新连接到互联网或重新加载浏览器窗口",
"fine_invalidDataReceived": "收到的罚款数据无效,最小值: {min}, 最大值: {max}",
Expand Down
4 changes: 2 additions & 2 deletions packages/client/locales/cn/courthouse.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"Courthouse": {
"courthouse": "圣安德烈亚斯法院",
"requestExpungement": "请求删除",
"noExpungementRequests":"您没有任何消除请求",
"noExpungementRequests": "您没有任何消除请求",
"request": "请求",
"noPendingRequests": "没有待处理的清除请求",
"expungementRequests": "消除请求",
"nameChangeRequests": "姓名更改请求",
"requestNameChange": "请求更改名称",
"noNameChangeRequests":"没有名称更改请求。",
"noNameChangeRequests": "没有名称更改请求。",
"newName": "新名称",
"newSurname": "新姓氏",
"status": "状态"
Expand Down
24 changes: 12 additions & 12 deletions packages/client/locales/cn/leo.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@
"nameNotFound": "找不到有这个名字的公民",
"createWarrant": "创建逮捕令",
"citizenDead": "警告:该公民死于{data}",
"hasWarrants":"警告:这个公民有有效的逮捕令!",
"hasWarrants": "警告:这个公民有有效的逮捕令!",
"rank": "等级",
"position": "位置",
"officerLogs": "警员日志",
"disableSignal100": "禁用信号 100",
"enableSignal100": "使能信号 100",
"signal100enabled":"信号 100 已启用",
"records":"记录",
"signal100enabled": "信号 100 已启用",
"records": "记录",
"suspendLicense": "暂停许可",
"deleteRecord": "删除记录",
"image": "图像",
Expand Down Expand Up @@ -128,7 +128,7 @@
"editWrittenWarning": "编辑书面警告",
"quantity": "数量",
"illegal": "非法",
"add":"添加",
"add": "添加",
"noSeizedItems": "还没有被扣押的物品。",
"editSeizedItem": "编辑扣押项目",
"addSeizedItem": "添加扣押项目",
Expand All @@ -142,7 +142,7 @@
"manageIncident": "管理事件",
"radioChannel": "广播频道",
"manageRadioChannel": "管理无线电频道",
"noIncidentEvents":"此事件没有任何事件。",
"noIncidentEvents": "此事件没有任何事件。",
"viewCall": "查看呼叫",
"situationCode": "情况代码",
"mergeOfficers": "合并警官",
Expand All @@ -154,18 +154,18 @@
"successCreateWarning": "已成功为 {citizen} 创建书面警告",
"goOnDuty": "去值班",
"goOffDuty": "下班",
"officers":"警官",
"officers": "警官",
"callsign1": "呼号符号 1",
"callsign2": "呼号符号 2",
"DLExams": "驾照考试",
"noDLExams": "目前还没有驾照考试。",
"editDLExam": "编辑驾驶执照考试",
"theoryExam": "理论考试",
"practiceExam":"模拟考试",
"practiceExam": "模拟考试",
"createDLExam": "创建驾照考试",
"categories": "类别",
"deleteDLExam": "删除驾照考试",
"license":"许可",
"license": "许可",
"otherFields": "其他领域",
"manageCustomFields": "管理其他字段",
"dmv": "机动车辆部",
Expand All @@ -182,8 +182,8 @@
"addQualification": "添加资格",
"noQualifications": "本单位尚无任何资格",
"qualification": "资格",
"suspend":"暂停",
"unsuspend":"取消暂停",
"suspend": "暂停",
"unsuspend": "取消暂停",
"deleteQualification": "删除资格",
"assignedAt": "分配于",
"suspendedOn": "暂停于:",
Expand All @@ -192,8 +192,8 @@
"addAward": "添加奖励",
"award": "奖项",
"activeCall": "活动呼叫",
"arrestReportLogs":"逮捕报告日志",
"activeUnits":"活动单位",
"arrestReportLogs": "逮捕报告日志",
"activeUnits": "活动单位",
"noActiveUnits": "实时地图上没有活动单位。",
"player": "玩家",
"cadUsername": "CAD 用户名",
Expand Down
4 changes: 2 additions & 2 deletions packages/client/locales/cn/values.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@
"IMPOUND_LOT": {
"MANAGE": "管理扣押地段",
"ADD": "添加扣押地块",
"DELETE":"删除扣押地块",
"DELETE": "删除扣押地块",
"EDIT": "编辑扣押地段"
},
"VEHICLE_FLAG": {
"MANAGE": "管理车辆标志",
"ADD": "添加车辆标志",
"DELETE": "删除车辆标志",
"EDIT":"编辑车辆标志"
"EDIT": "编辑车辆标志"
},
"CITIZEN_FLAG": {
"MANAGE": "管理公民旗帜",
Expand Down
4 changes: 2 additions & 2 deletions packages/client/locales/tc/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"deleteBusiness": "刪除業務",
"giveTempPassword": "提供臨時密碼",
"continue": "是的,繼續。",
"reGenerateToken":"重新生成令牌",
"reGenerateToken": "重新生成令牌",
"inBolo": "在BOLO",
"pendingBusinesses": "待處理業務",
"status": "Status",
Expand All @@ -44,7 +44,7 @@
"managePermissions": "管理權限",
"detailedPermissions": "詳細權限",
"useOldPermissions": "使用舊權限",
"useNewPermissions":"使用新權限",
"useNewPermissions": "使用新權限",
"setSelectedOffDuty": "設置選定的單位下班",
"createCustomField": "創建自定義字段",
"editCustomField": "編輯自定義字段",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/locales/tc/citizen.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"yourWeapons": "你的武器",
"addWeapon": "添加武器",
"noWeapons": "你還沒有註冊任何武器。",
"deleteWeapon":"刪除武器",
"deleteWeapon": "刪除武器",
"registeredWeapons": "註冊武器",
"successWeaponRegistered": "已成功註冊武器",
"alert_deleteWeapon": "你確定要刪除這把武器嗎?此操作無法撤消。"
Expand Down
8 changes: 4 additions & 4 deletions packages/client/locales/tc/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"postal": "郵政",
"viewDescription": "查看描述",
"citizen": "公民",
"cropImage":"裁剪圖像",
"cropImage": "裁剪圖像",
"crop": "作物",
"hide": "隱藏",
"show": "顯示",
Expand Down Expand Up @@ -89,7 +89,7 @@
"Errors": {
"unknown": "發生意外錯誤",
"userNotFound": "未找到該用戶",
"nameAlreadyTaken":"擁有該全名的公民已經在使用中",
"nameAlreadyTaken": "擁有該全名的公民已經在使用中",
"whitelistPending": "此帳戶仍在等待對 CAD 的訪問",
"whitelistDeclined": "此帳戶被拒絕訪問 CAD",
"passwordIncorrect": "您輸入的密碼不正確",
Expand Down Expand Up @@ -119,7 +119,7 @@
"businessIsPending": "這項業務仍在等待批準使用,請稍後再試",
"businessCreatedButPending": "該業務已成功創建,但仍在等待批準使用,它必須由管理員批準",
"maxDivisionsReached": "這名軍官達到了每位軍官師數的最高限額",
"maxLimitOfficersPerUserReached":"此用戶已達到官員的最高限製",
"maxLimitOfficersPerUserReached": "此用戶已達到官員的最高限製",
"maxCitizensPerUserReached": "此用戶已達到公民的最大限製",
"discordIdInUse": "此不和諧 ID 已連接到其他帳戶",
"totpCodeRequired": "請輸入您的2FA代碼",
Expand All @@ -131,7 +131,7 @@
"allowRegularLoginIsDisabled": "常規登錄已禁用,請使用Discord OAuth代替",
"Invalid Permissions": "您沒有訪問此 API 路由的權限",
"alreadyPendingNameChange": "該公民已經有一個待定的名字更改請求",
"nameChangeRequestNotNew": "要創建名稱更改請求,新名稱不能與以前的名稱匹配",
"nameChangeRequestNotNew": "要創建名稱更改請求,新名稱不能與以前的名稱匹配",
"socketError": "套接字連接錯誤",
"socketErrorInfo": "與 API 的連接已斷開連接,請重新連接到互聯網或重新加載瀏覽器窗口",
"fine_invalidDataReceived": "收到的罰款數據無效,最小值: {min}, 最大值: {max}",
Expand Down
4 changes: 2 additions & 2 deletions packages/client/locales/tc/courthouse.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"Courthouse": {
"courthouse": "圣安德烈亚斯法院",
"requestExpungement": "请求删除",
"noExpungementRequests":"您没有任何消除请求",
"noExpungementRequests": "您没有任何消除请求",
"request": "请求",
"noPendingRequests": "没有待处理的清除请求",
"expungementRequests": "消除请求",
"nameChangeRequests": "姓名更改请求",
"requestNameChange": "请求更改名称",
"noNameChangeRequests":"没有名称更改请求。",
"noNameChangeRequests": "没有名称更改请求。",
"newName": "新名称",
"newSurname": "新姓氏",
"status": "状态"
Expand Down
24 changes: 12 additions & 12 deletions packages/client/locales/tc/leo.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@
"nameNotFound": "找不到有這個名字的公民",
"createWarrant": "創建認股權證",
"citizenDead": "警告:該公民死於{data}",
"hasWarrants":"警告:這個公民有有效的逮捕令!",
"hasWarrants": "警告:這個公民有有效的逮捕令!",
"rank": "等級",
"position": "位置",
"officerLogs": "警員日誌",
"disableSignal100": "禁用信號 100",
"enableSignal100": "使能信號 100",
"signal100enabled":"信號 100 已啟用",
"records":"記錄",
"signal100enabled": "信號 100 已啟用",
"records": "記錄",
"suspendLicense": "暫停許可",
"deleteRecord": "刪除記錄",
"image": "圖像",
Expand Down Expand Up @@ -128,7 +128,7 @@
"editWrittenWarning": "編輯書面警告",
"quantity": "數量",
"illegal": "非法",
"add":"添加",
"add": "添加",
"noSeizedItems": "還沒有被扣押的物品。",
"editSeizedItem": "編輯扣押項目",
"addSeizedItem": "添加扣押項目",
Expand All @@ -142,7 +142,7 @@
"manageIncident": "管理事件",
"radioChannel": "廣播頻道",
"manageRadioChannel": "管理無線電頻道",
"noIncidentEvents":"此事件沒有任何事件。",
"noIncidentEvents": "此事件沒有任何事件。",
"viewCall": "查看呼叫",
"situationCode": "情況代碼",
"mergeOfficers": "合並警官",
Expand All @@ -154,18 +154,18 @@
"successCreateWarning": "已成功為 {citizen} 創建書面警告",
"goOnDuty": "去值班",
"goOffDuty": "下班",
"officers":"警官",
"officers": "警官",
"callsign1": "呼號符號 1",
"callsign2": "呼號符號 2",
"DLExams": "駕照考試",
"noDLExams": "目前還沒有駕照考試。",
"editDLExam": "編輯駕駛執照考試",
"theoryExam": "理論考試",
"practiceExam":"模擬考試",
"practiceExam": "模擬考試",
"createDLExam": "創建駕照考試",
"categories": "類別",
"deleteDLExam": "刪除駕照考試",
"license":"許可",
"license": "許可",
"otherFields": "其他領域",
"manageCustomFields": "管理其他字段",
"dmv": "機動車輛部",
Expand All @@ -182,8 +182,8 @@
"addQualification": "添加資格",
"noQualifications": "本單位尚無任何資格",
"qualification": "資格",
"suspend":"暫停",
"unsuspend":"取消暫停",
"suspend": "暫停",
"unsuspend": "取消暫停",
"deleteQualification": "刪除資格",
"assignedAt": "分配於",
"suspendedOn": "暫停於:",
Expand All @@ -192,8 +192,8 @@
"addAward": "添加獎勵",
"award": "獎項",
"activeCall": "活動呼叫",
"arrestReportLogs":"逮捕報告日誌",
"activeUnits":"活動單位",
"arrestReportLogs": "逮捕報告日誌",
"activeUnits": "活動單位",
"noActiveUnits": "實時地圖上沒有活動單位。",
"player": "玩家",
"cadUsername": "CAD 用戶名",
Expand Down
4 changes: 2 additions & 2 deletions packages/client/locales/tc/values.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@
"IMPOUND_LOT": {
"MANAGE": "管理扣押地段",
"ADD": "添加扣押地塊",
"DELETE":"刪除扣押地塊",
"DELETE": "刪除扣押地塊",
"EDIT": "編輯扣押地段"
},
"VEHICLE_FLAG": {
"MANAGE": "管理車輛標誌",
"ADD": "添加車輛標誌",
"DELETE": "刪除車輛標誌",
"EDIT":"編輯車輛標誌"
"EDIT": "編輯車輛標誌"
},
"CITIZEN_FLAG": {
"MANAGE": "管理公民旗幟",
Expand Down
23 changes: 6 additions & 17 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
"$SECURE_COOKIES_FOR_IFRAME",
"$PORT_CLIENT"
],
"outputs": [
".env"
],
"outputs": [".env"],
"cache": false
},
"build": {
Expand All @@ -36,26 +34,17 @@
"$NODE_ENV",
"$IFRAME_SUPPORT_ENABLED"
],
"outputs": [
".next/**",
"dist/**"
],
"outputs": [".next/**", "dist/**"],
"cache": false
},
"typecheck": {
"dependsOn": [
"^typecheck"
],
"dependsOn": ["^typecheck"],
"outputs": []
},
"test": {
"dependsOn": [
"^test"
],
"dependsOn": ["^test"],
"outputs": []
}
},
"globalDependencies": [
"**/.env"
]
}
"globalDependencies": ["**/.env"]
}

0 comments on commit 0c3ab7f

Please sign in to comment.