mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-10 16:52:47 +03:00
feat: add i18n (translation/localization) (#16877)
* Translation module init * Add more i18n keys * fix: fix string wrong * refactor: use namespace translation file * chore: add more translation key * fix: fix some page name error * refactor: change Trans tag for t function * chore: fix some key not work * chore: fix SearchFilterDialog i18n key error Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * chore: fix en i18n file filter missing some keys * chore: add some i18n keys * chore: add more i18n keys again * feat: add search page i18n * feat: add explore model i18n keys * Update web/src/components/menu/GeneralSettings.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/components/menu/GeneralSettings.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/components/menu/GeneralSettings.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * feat: add more live i18n keys * feat: add more search setting i18n keys * fix: remove some comment * fix: fix some setting page url error * Update web/src/views/settings/SearchSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * fix: add system missing keys * fix: update password update i18n keys * chore: remove outdate translation.json file * fix: fix exploreSettings error * chore: add object setting i18n keys * Update web/src/views/recording/RecordingView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/public/locales/en/components/filter.json Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/components/overlay/ExportDialog.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * feat: add more i18n keys * fix: fix motionDetectionTuner html node * feat: add more page i18n keys * fix: cameraStream i18n keys error * feat: add Player i18n keys * feat: add more toast i18n keys * feat: change explore setting name * feat: add more document title i18n keys * feat: add more search i18n keys * fix: fix accessDenied i18n keys error * chore: add objectType i18n * chore: add inputWithTags i18n * chore: add SearchFilterDialog i18n * Update web/src/views/settings/ObjectSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/views/settings/ObjectSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/views/settings/ObjectSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/views/settings/ObjectSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Update web/src/views/settings/ObjectSettingsView.tsx Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * chore: add some missing i18n keys * chore: remove most import { t } from "i18next"; --------- Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
co-authored by
Josh Hawkins
parent
db541abed4
commit
d34533981f
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"person": "人",
|
||||
"bicycle": "自行车",
|
||||
"car": "汽车",
|
||||
"motorcycle": "摩托车",
|
||||
"airplane": "飞机",
|
||||
"bus": "公交车",
|
||||
"train": "火车",
|
||||
"boat": "船",
|
||||
"traffic_light": "交通灯",
|
||||
"fire_hydrant": "消防栓",
|
||||
"street_sign": "路标",
|
||||
"stop_sign": "停车标志",
|
||||
"parking_meter": "停车计时器",
|
||||
"bench": "长椅",
|
||||
"bird": "鸟",
|
||||
"cat": "猫",
|
||||
"dog": "狗",
|
||||
"horse": "马",
|
||||
"sheep": "羊",
|
||||
"cow": "牛",
|
||||
"elephant": "大象",
|
||||
"bear": "熊",
|
||||
"zebra": "斑马",
|
||||
"giraffe": "长颈鹿",
|
||||
"hat": "帽子",
|
||||
"backpack": "背包",
|
||||
"umbrella": "雨伞",
|
||||
"shoe": "鞋子",
|
||||
"eye_glasses": "眼镜",
|
||||
"handbag": "手提包",
|
||||
"tie": "领带",
|
||||
"suitcase": "手提箱",
|
||||
"frisbee": "飞盘",
|
||||
"skis": "滑雪板",
|
||||
"snowboard": "滑雪板",
|
||||
"sports_ball": "运动球",
|
||||
"kite": "风筝",
|
||||
"baseball_bat": "棒球棒",
|
||||
"baseball_glove": "棒球手套",
|
||||
"skateboard": "滑板",
|
||||
"surfboard": "冲浪板",
|
||||
"tennis_racket": "网球拍",
|
||||
"bottle": "瓶子",
|
||||
"plate": "盘子",
|
||||
"wine_glass": "酒杯",
|
||||
"cup": "杯子",
|
||||
"fork": "叉子",
|
||||
"knife": "刀",
|
||||
"spoon": "勺子",
|
||||
"bowl": "碗",
|
||||
"banana": "香蕉",
|
||||
"apple": "苹果",
|
||||
"sandwich": "三明治",
|
||||
"orange": "橙子",
|
||||
"broccoli": "西兰花",
|
||||
"carrot": "胡萝卜",
|
||||
"hot_dog": "热狗",
|
||||
"pizza": "披萨",
|
||||
"donut": "甜甜圈",
|
||||
"cake": "蛋糕",
|
||||
"chair": "椅子",
|
||||
"couch": "沙发",
|
||||
"potted_plant": "盆栽植物",
|
||||
"bed": "床",
|
||||
"mirror": "镜子",
|
||||
"dining_table": "餐桌",
|
||||
"window": "窗户",
|
||||
"desk": "桌子",
|
||||
"toilet": "厕所",
|
||||
"door": "门",
|
||||
"tv": "电视",
|
||||
"laptop": "笔记本电脑",
|
||||
"mouse": "鼠标",
|
||||
"remote": "遥控器",
|
||||
"keyboard": "键盘",
|
||||
"cell_phone": "手机",
|
||||
"microwave": "微波炉",
|
||||
"oven": "烤箱",
|
||||
"toaster": "烤面包机",
|
||||
"sink": "水槽",
|
||||
"refrigerator": "冰箱",
|
||||
"blender": "搅拌机",
|
||||
"book": "书",
|
||||
"clock": "时钟",
|
||||
"vase": "花瓶",
|
||||
"scissors": "剪刀",
|
||||
"teddy_bear": "泰迪熊",
|
||||
"hair_dryer": "吹风机",
|
||||
"toothbrush": "牙刷",
|
||||
"hair_brush": "发刷",
|
||||
"vehicle": "车辆",
|
||||
"squirrel": "松鼠",
|
||||
"deer": "鹿",
|
||||
"animal": "动物",
|
||||
"bark": "树皮",
|
||||
"fox": "狐狸",
|
||||
"goat": "山羊",
|
||||
"rabbit": "兔子",
|
||||
"raccoon": "浣熊",
|
||||
"robot_lawnmower": "自动割草机",
|
||||
"waste_bin": "垃圾桶",
|
||||
"on_demand": "手动"
|
||||
}
|
||||
Reference in New Issue
Block a user