Skip to content

Commit 87a93c7

Browse files
committed
font weight
1 parent daac5c0 commit 87a93c7

File tree

4 files changed

+129
-85
lines changed

4 files changed

+129
-85
lines changed

assets/po/zh_CN.po

Lines changed: 58 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ msgstr "闪烁"
132132
msgid "Static"
133133
msgstr "静止"
134134

135-
#: webpanel/webpanel.h:37 webpanel/webpanel.h:41 webpanel/webpanel.h:305
135+
#: webpanel/webpanel.h:37 webpanel/webpanel.h:41 webpanel/webpanel.h:317
136136
msgid "Text"
137137
msgstr "文本"
138138

@@ -168,7 +168,7 @@ msgstr "用户主题"
168168
msgid "Export current theme"
169169
msgstr "导出当前主题"
170170

171-
#: webpanel/webpanel.h:100 webpanel/webpanel.h:153 webpanel/webpanel.h:318
171+
#: webpanel/webpanel.h:100 webpanel/webpanel.h:153 webpanel/webpanel.h:330
172172
msgid "Override default"
173173
msgstr "覆盖默认值"
174174

@@ -369,165 +369,181 @@ msgid "Text font size"
369369
msgstr "文本字号"
370370

371371
#: webpanel/webpanel.h:285
372+
msgid "Text font weight"
373+
msgstr "文本字重"
374+
375+
#: webpanel/webpanel.h:288
372376
msgid "Label font family"
373377
msgstr "标签字体族"
374378

375-
#: webpanel/webpanel.h:287
379+
#: webpanel/webpanel.h:290
376380
msgid "Label font size"
377381
msgstr "标签字号"
378382

379-
#: webpanel/webpanel.h:289
383+
#: webpanel/webpanel.h:292
384+
msgid "Label font weight"
385+
msgstr "标签字重"
386+
387+
#: webpanel/webpanel.h:295
380388
msgid "Comment font family"
381389
msgstr "注释字体族"
382390

383-
#: webpanel/webpanel.h:291
391+
#: webpanel/webpanel.h:297
384392
msgid "Comment font size"
385393
msgstr "注释字号"
386394

387-
#: webpanel/webpanel.h:294
395+
#: webpanel/webpanel.h:300
396+
msgid "Comment font weight"
397+
msgstr "注释字重"
398+
399+
#: webpanel/webpanel.h:303
388400
msgid "Preedit font family"
389401
msgstr "预编辑字体族"
390402

391-
#: webpanel/webpanel.h:296
403+
#: webpanel/webpanel.h:305
392404
msgid "Preedit font size"
393405
msgstr "预编辑字号"
394406

395-
#: webpanel/webpanel.h:298
407+
#: webpanel/webpanel.h:308
408+
msgid "Preedit font weight"
409+
msgstr "预编辑字重"
410+
411+
#: webpanel/webpanel.h:310
396412
msgid "User font dir"
397413
msgstr "用户字体目录"
398414

399-
#: webpanel/webpanel.h:299
415+
#: webpanel/webpanel.h:311
400416
msgid "System font dir"
401417
msgstr "系统字体目录"
402418

403-
#: webpanel/webpanel.h:304
419+
#: webpanel/webpanel.h:316
404420
msgid "Style"
405421
msgstr "样式"
406422

407-
#: webpanel/webpanel.h:310
423+
#: webpanel/webpanel.h:322
408424
msgid "Mark style"
409425
msgstr "标记样式"
410426

411-
#: webpanel/webpanel.h:311
427+
#: webpanel/webpanel.h:323
412428
msgid "Mark text"
413429
msgstr "标记文本"
414430

415-
#: webpanel/webpanel.h:313
431+
#: webpanel/webpanel.h:325
416432
msgid "Hover behavior"
417433
msgstr "悬停行为"
418434

419-
#: webpanel/webpanel.h:320
435+
#: webpanel/webpanel.h:332
420436
msgid "Border width (px)"
421437
msgstr "边框宽度(px)"
422438

423-
#: webpanel/webpanel.h:323
439+
#: webpanel/webpanel.h:335
424440
msgid "Border radius (px)"
425441
msgstr "边框半径(px)"
426442

427-
#: webpanel/webpanel.h:324
443+
#: webpanel/webpanel.h:336
428444
msgid "Margin (px)"
429445
msgstr "外边距(px)"
430446

431-
#: webpanel/webpanel.h:327
447+
#: webpanel/webpanel.h:339
432448
msgid "Highlight radius (px)"
433449
msgstr "高亮半径(px)"
434450

435-
#: webpanel/webpanel.h:330
451+
#: webpanel/webpanel.h:342
436452
msgid "Top padding (px)"
437453
msgstr "顶填充(px)"
438454

439-
#: webpanel/webpanel.h:332
455+
#: webpanel/webpanel.h:344
440456
msgid "Right padding (px)"
441457
msgstr "右填充(px)"
442458

443-
#: webpanel/webpanel.h:334
459+
#: webpanel/webpanel.h:346
444460
msgid "Bottom padding (px)"
445461
msgstr "底填充(px)"
446462

447-
#: webpanel/webpanel.h:337
463+
#: webpanel/webpanel.h:349
448464
msgid "Left padding (px)"
449465
msgstr "左填充(px)"
450466

451-
#: webpanel/webpanel.h:339
467+
#: webpanel/webpanel.h:351
452468
msgid "Gap between label, text and comment (px)"
453469
msgstr "标签、文本、注释间隔(px)"
454470

455-
#: webpanel/webpanel.h:342
471+
#: webpanel/webpanel.h:354
456472
msgid "Vertical minimum width (px)"
457473
msgstr "垂直时最小宽度(px)"
458474

459-
#: webpanel/webpanel.h:345
475+
#: webpanel/webpanel.h:357
460476
msgid "Scroll cell width (px)"
461477
msgstr "卷轴单元格宽度 (px)"
462478

463-
#: webpanel/webpanel.h:348
479+
#: webpanel/webpanel.h:360
464480
msgid "Horizontal divider width (px)"
465481
msgstr "水平分隔线宽度(px)"
466482

467-
#: webpanel/webpanel.h:357
483+
#: webpanel/webpanel.h:369
468484
msgid "User CSS"
469485
msgstr "用户 CSS"
470486

471-
#: webpanel/webpanel.h:358
487+
#: webpanel/webpanel.h:370
472488
msgid "Copy HTML"
473489
msgstr "复制 HTML"
474490

475-
#: webpanel/webpanel.h:359
491+
#: webpanel/webpanel.h:371
476492
msgid "Plugin dir"
477493
msgstr "插件目录"
478494

479-
#: webpanel/webpanel.h:361
495+
#: webpanel/webpanel.h:373
480496
msgid "I know there may be risks for using plugins"
481497
msgstr "我知道使用插件可能有风险"
482498

483-
#: webpanel/webpanel.h:364
499+
#: webpanel/webpanel.h:376
484500
msgid "Plugins"
485501
msgstr "插件"
486502

487-
#: webpanel/webpanel.h:366
503+
#: webpanel/webpanel.h:378
488504
msgid "Dangerous API for JavaScript plugins"
489505
msgstr "用于 JavaScript 插件的危险 API"
490506

491-
#: webpanel/webpanel.h:369
507+
#: webpanel/webpanel.h:381
492508
msgid "Basic"
493509
msgstr "基础"
494510

495-
#: webpanel/webpanel.h:370
511+
#: webpanel/webpanel.h:382
496512
msgid "Light mode"
497513
msgstr "浅色模式"
498514

499-
#: webpanel/webpanel.h:371
515+
#: webpanel/webpanel.h:383
500516
msgid "Dark mode"
501517
msgstr "深色模式"
502518

503-
#: webpanel/webpanel.h:372
519+
#: webpanel/webpanel.h:384
504520
msgid "Typography"
505521
msgstr "版式"
506522

507-
#: webpanel/webpanel.h:373
523+
#: webpanel/webpanel.h:385
508524
msgid "Scroll mode"
509525
msgstr "卷轴模式"
510526

511-
#: webpanel/webpanel.h:374
527+
#: webpanel/webpanel.h:386
512528
msgid "Background"
513529
msgstr "背景"
514530

515-
#: webpanel/webpanel.h:375
531+
#: webpanel/webpanel.h:387
516532
msgid "Font"
517533
msgstr "字体"
518534

519-
#: webpanel/webpanel.h:376
535+
#: webpanel/webpanel.h:388
520536
msgid "Caret"
521537
msgstr "光标"
522538

523-
#: webpanel/webpanel.h:377
539+
#: webpanel/webpanel.h:389
524540
msgid "Highlight"
525541
msgstr "高亮"
526542

527-
#: webpanel/webpanel.h:378
543+
#: webpanel/webpanel.h:390
528544
msgid "Size"
529545
msgstr "尺寸"
530546

531-
#: webpanel/webpanel.h:379
547+
#: webpanel/webpanel.h:391
532548
msgid "Advanced"
533549
msgstr "高级"

0 commit comments

Comments
 (0)