rabbit 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/data/locale/en/LC_MESSAGES/rabbit.mo +0 -0
  3. data/data/locale/ja/LC_MESSAGES/rabbit.mo +0 -0
  4. data/doc/_config.yml +2 -2
  5. data/doc/en/faq.rd +4 -2
  6. data/doc/en/news.rd +91 -0
  7. data/doc/en/sample/hiki/rabbit.hiki +0 -4
  8. data/doc/en/sample/rd/rabbit.rd +0 -4
  9. data/doc/en/usage/rabbit-slide.rd +3 -3
  10. data/doc/index.html.en +1 -1
  11. data/doc/ja/faq.rd +2 -0
  12. data/doc/ja/news.rd +90 -0
  13. data/doc/ja/sample/hiki/rabbit.hiki +0 -4
  14. data/doc/ja/sample/rd/rabbit.rd +0 -4
  15. data/doc/ja/usage/rabbit-slide.rd +3 -3
  16. data/doc/ja/users.rd +7 -0
  17. data/lib/rabbit/action/toggle.rb +7 -0
  18. data/lib/rabbit/author-configuration.rb +3 -4
  19. data/lib/rabbit/canvas.rb +11 -1
  20. data/lib/rabbit/command/rabbit-slide.rb +59 -1
  21. data/lib/rabbit/command/rabbit-slide.ui +127 -49
  22. data/lib/rabbit/command/rabbit.rb +5 -9
  23. data/lib/rabbit/element/image.rb +78 -94
  24. data/lib/rabbit/element/video.rb +3 -11
  25. data/lib/rabbit/error.rb +2 -2
  26. data/lib/rabbit/frame.rb +102 -4
  27. data/lib/rabbit/gem-pusher.rb +28 -6
  28. data/lib/rabbit/image/base.rb +97 -26
  29. data/lib/rabbit/image/dia.rb +21 -6
  30. data/lib/rabbit/image/pdf.rb +1 -4
  31. data/lib/rabbit/image/svg.rb +1 -4
  32. data/lib/rabbit/image.rb +3 -4
  33. data/lib/rabbit/info-window.rb +106 -80
  34. data/lib/rabbit/keys.rb +6 -0
  35. data/lib/rabbit/menu.rb +2 -0
  36. data/lib/rabbit/parser/ext/charty.rb +58 -0
  37. data/lib/rabbit/parser/ext/image.rb +2 -1
  38. data/lib/rabbit/parser/rd/ext/block-verbatim.rb +13 -5
  39. data/lib/rabbit/progress.rb +1 -1
  40. data/lib/rabbit/properties.rb +141 -0
  41. data/lib/rabbit/rabbit.rb +3 -1
  42. data/lib/rabbit/relative-size.rb +28 -0
  43. data/lib/rabbit/renderer/base.rb +6 -0
  44. data/lib/rabbit/renderer/display/drawing-area-base.rb +0 -1
  45. data/lib/rabbit/renderer/display/drawing-area-primitive.rb +1 -0
  46. data/lib/rabbit/renderer/display/info.rb +6 -1
  47. data/lib/rabbit/renderer/display/key-handler.rb +27 -2
  48. data/lib/rabbit/renderer/engine/cairo.rb +24 -3
  49. data/lib/rabbit/renderer/screen.rb +0 -1
  50. data/lib/rabbit/slide-configuration.rb +12 -8
  51. data/lib/rabbit/task/slide.rb +3 -3
  52. data/lib/rabbit/theme/clear-blue/clear-blue.rb +3 -1
  53. data/lib/rabbit/theme/edge-info-toolkit/edge-info-toolkit.rb +12 -2
  54. data/lib/rabbit/theme/image-slide-number/image-slide-number.rb +1 -1
  55. data/lib/rabbit/theme/slide-footer-info/slide-footer-info.rb +2 -0
  56. data/lib/rabbit/theme/tag/tag.rb +9 -2
  57. data/lib/rabbit/theme-configuration.rb +3 -4
  58. data/lib/rabbit/version.rb +1 -1
  59. data/lib/rabbit/video-window.rb +14 -3
  60. data/lib/rabbit/yaml-loader.rb +39 -0
  61. data/po/en/rabbit.edit.po +82 -64
  62. data/po/en/rabbit.po +16 -2
  63. data/po/fr/rabbit.edit.po +81 -63
  64. data/po/fr/rabbit.po +15 -1
  65. data/po/ja/rabbit.edit.po +108 -65
  66. data/po/ja/rabbit.po +19 -3
  67. data/sample/can_rabbit.rd +0 -24
  68. data/sample/rabbit-en.hiki +0 -4
  69. data/sample/rabbit-en.rd +0 -4
  70. data/sample/rabbit.hiki +0 -4
  71. data/sample/rabbit.rd +0 -4
  72. data/test/test-slide-configuration.rb +3 -2
  73. metadata +27 -24
data/po/ja/rabbit.edit.po CHANGED
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: Rabbit 0.5.4\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
- "PO-Revision-Date: 2019-09-06 06:24+0900\n"
9
+ "PO-Revision-Date: 2021-09-25 10:51+0900\n"
10
10
  "Last-Translator: Kouhei Sutou <kou@cozmixng.org>\n"
11
11
  "Language-Team: Kouhei Sutou <kou@cozmixng.org> and Kobayashi Noritada <nori1@d"
12
12
  "olphin.c.u-tokyo.ac.jp>\n"
@@ -328,7 +328,7 @@ msgstr "ホワイトアウト"
328
328
  msgid "Blackout"
329
329
  msgstr "ブラックアウト"
330
330
 
331
- #: ../lib/rabbit/action/radio.rb:37 ../lib/rabbit/command/rabbit-slide.rb:518 ../lib/rabbit/command/rabbit-slide.rb:534 ../lib/rabbit/command/rabbit-theme.rb:211 ../lib/rabbit/command/rabbit-theme.rb:227
331
+ #: ../lib/rabbit/action/radio.rb:37 ../lib/rabbit/command/rabbit-slide.rb:576 ../lib/rabbit/command/rabbit-slide.rb:592 ../lib/rabbit/command/rabbit-theme.rb:211 ../lib/rabbit/command/rabbit-theme.rb:227
332
332
  msgid "Show"
333
333
  msgstr "表示"
334
334
 
@@ -380,19 +380,23 @@ msgstr "スポットライト"
380
380
  msgid "Magnifier"
381
381
  msgstr "虫眼鏡"
382
382
 
383
- #: ../lib/rabbit/author-configuration.rb:42
383
+ #: ../lib/rabbit/action/toggle.rb:79
384
+ msgid "Terminal"
385
+ msgstr "端末"
386
+
387
+ #: ../lib/rabbit/author-configuration.rb:41
384
388
  msgid "Failed to read author configuration: %s: %s"
385
389
  msgstr "作者設定の読み込みに失敗しました: %s: %s"
386
390
 
387
- #: ../lib/rabbit/author-configuration.rb:52
391
+ #: ../lib/rabbit/author-configuration.rb:51
388
392
  msgid "Failed to write author configuration: %s: %s"
389
393
  msgstr "作者設定の書き込みに失敗しました: %s: %s"
390
394
 
391
- #: ../lib/rabbit/canvas.rb:634
395
+ #: ../lib/rabbit/canvas.rb:644
392
396
  msgid "Unknown action: %s"
393
397
  msgstr "未知のアクション: %s"
394
398
 
395
- #: ../lib/rabbit/canvas.rb:729
399
+ #: ../lib/rabbit/canvas.rb:739
396
400
  msgid "Processing..."
397
401
  msgstr "処理中です..."
398
402
 
@@ -407,6 +411,8 @@ msgid ""
407
411
  " --id rubykaigi2012 \\\n"
408
412
  " --base-name rabbit-introduction \\\n"
409
413
  " --markup-language rd \\\n"
414
+ " --width 800 \\\n"
415
+ " --height 450 \\\n"
410
416
  " --name \"Kouhei Sutou\" \\\n"
411
417
  " --email kou@cozmixng.org \\\n"
412
418
  " --rubygems-user kou \\\n"
@@ -418,185 +424,195 @@ msgstr ""
418
424
  " --id rubykaigi2012 \\\n"
419
425
  " --base-name rabbit-introduction \\\n"
420
426
  " --markup-language rd \\\n"
427
+ " --width 800 \\\n"
428
+ " --height 450 \\\n"
421
429
  " --name \"Kouhei Sutou\" \\\n"
422
430
  " --email kou@cozmixng.org \\\n"
423
431
  " --rubygems-user kou \\\n"
424
432
  " --slideshare-user kou \\\n"
425
433
  " --speaker-deck-user kou"
426
434
 
427
- #: ../lib/rabbit/command/rabbit-slide.rb:119
435
+ #: ../lib/rabbit/command/rabbit-slide.rb:121
428
436
  msgid "COMMAND"
429
437
  msgstr ""
430
438
 
431
- #: ../lib/rabbit/command/rabbit-slide.rb:120
439
+ #: ../lib/rabbit/command/rabbit-slide.rb:122
432
440
  msgid " new: create a new slide"
433
441
  msgstr " new: 新しいスライドを作成"
434
442
 
435
- #: ../lib/rabbit/command/rabbit-slide.rb:121
443
+ #: ../lib/rabbit/command/rabbit-slide.rb:123
436
444
  msgid " change: change an existing slide"
437
445
  msgstr " change: 既存のスライドを変更"
438
446
 
439
- #: ../lib/rabbit/command/rabbit-slide.rb:124
447
+ #: ../lib/rabbit/command/rabbit-slide.rb:126
440
448
  msgid "User interface"
441
449
  msgstr "ユーザーインターフェイス"
442
450
 
443
- #: ../lib/rabbit/command/rabbit-slide.rb:126
451
+ #: ../lib/rabbit/command/rabbit-slide.rb:128
444
452
  msgid "Don't use GUI"
445
453
  msgstr "GUIを使わない"
446
454
 
447
- #: ../lib/rabbit/command/rabbit-slide.rb:131
455
+ #: ../lib/rabbit/command/rabbit-slide.rb:133
448
456
  msgid "Slide information"
449
457
  msgstr "スライドの情報"
450
458
 
451
- #: ../lib/rabbit/command/rabbit-slide.rb:134
459
+ #: ../lib/rabbit/command/rabbit-slide.rb:136
452
460
  msgid "Slide ID"
453
461
  msgstr "スライドID"
454
462
 
455
- #: ../lib/rabbit/command/rabbit-slide.rb:135 ../lib/rabbit/command/rabbit-slide.rb:142 ../lib/rabbit/command/rabbit-slide.rb:154 ../lib/rabbit/command/rabbit-slide.rb:168 ../lib/rabbit/command/rabbit-slide.rb:176 ../lib/rabbit/command/rabbit-slide.rb:184 ../lib/rabbit/command/rabbit-slide.rb:191 ../lib/rabbit/command/rabbit-slide.rb:198 ../lib/rabbit/command/rabbit-slide.rb:207 ../lib/rabbit/command/rabbit-slide.rb:216 ../lib/rabbit/command/rabbit-slide.rb:225 ../lib/rabbit/command/rabbit-slide.rb:238 ../lib/rabbit/command/rabbit-slide.rb:252 ../lib/rabbit/command/rabbit-slide.rb:266 ../lib/rabbit/command/rabbit-slide.rb:280 ../lib/rabbit/command/rabbit-theme.rb:83 ../lib/rabbit/command/rabbit-theme.rb:92 ../lib/rabbit/command/rabbit-theme.rb:105 ../lib/rabbit/command/rabbit-theme.rb:119
463
+ #: ../lib/rabbit/command/rabbit-slide.rb:137 ../lib/rabbit/command/rabbit-slide.rb:144 ../lib/rabbit/command/rabbit-slide.rb:156 ../lib/rabbit/command/rabbit-slide.rb:170 ../lib/rabbit/command/rabbit-slide.rb:178 ../lib/rabbit/command/rabbit-slide.rb:186 ../lib/rabbit/command/rabbit-slide.rb:193 ../lib/rabbit/command/rabbit-slide.rb:200 ../lib/rabbit/command/rabbit-slide.rb:209 ../lib/rabbit/command/rabbit-slide.rb:218 ../lib/rabbit/command/rabbit-slide.rb:226 ../lib/rabbit/command/rabbit-slide.rb:234 ../lib/rabbit/command/rabbit-slide.rb:243 ../lib/rabbit/command/rabbit-slide.rb:256 ../lib/rabbit/command/rabbit-slide.rb:270 ../lib/rabbit/command/rabbit-slide.rb:284 ../lib/rabbit/command/rabbit-slide.rb:298 ../lib/rabbit/command/rabbit-theme.rb:83 ../lib/rabbit/command/rabbit-theme.rb:92 ../lib/rabbit/command/rabbit-theme.rb:105 ../lib/rabbit/command/rabbit-theme.rb:119
456
464
  msgid "(e.g.: %s)"
457
465
  msgstr "(例: %s)"
458
466
 
459
- #: ../lib/rabbit/command/rabbit-slide.rb:136 ../lib/rabbit/command/rabbit-slide.rb:143 ../lib/rabbit/command/rabbit-theme.rb:84
467
+ #: ../lib/rabbit/command/rabbit-slide.rb:138 ../lib/rabbit/command/rabbit-slide.rb:145 ../lib/rabbit/command/rabbit-theme.rb:84
460
468
  msgid "(must)"
461
469
  msgstr "(必須)"
462
470
 
463
- #: ../lib/rabbit/command/rabbit-slide.rb:141
471
+ #: ../lib/rabbit/command/rabbit-slide.rb:143
464
472
  msgid "Base name for the slide source file and generated PDF file"
465
473
  msgstr "スライドのソースファイルとソースから生成するPDFファイルのベースファイル名"
466
474
 
467
- #: ../lib/rabbit/command/rabbit-slide.rb:153
475
+ #: ../lib/rabbit/command/rabbit-slide.rb:155
468
476
  msgid "Markup language for the new slide"
469
477
  msgstr "新しいスライドのマークアップ言語"
470
478
 
471
- #: ../lib/rabbit/command/rabbit-slide.rb:155
479
+ #: ../lib/rabbit/command/rabbit-slide.rb:157
472
480
  msgid "(available markup languages: %s)"
473
481
  msgstr "(利用可能なマークアップ言語: %s)"
474
482
 
475
- #: ../lib/rabbit/command/rabbit-slide.rb:158 ../lib/rabbit/command/rabbit-slide.rb:228 ../lib/rabbit/command/rabbit-slide.rb:241 ../lib/rabbit/command/rabbit-slide.rb:255 ../lib/rabbit/command/rabbit-slide.rb:269 ../lib/rabbit/command/rabbit-slide.rb:283 ../lib/rabbit/command/rabbit-theme.rb:95 ../lib/rabbit/command/rabbit-theme.rb:108 ../lib/rabbit/command/rabbit-theme.rb:122
483
+ #: ../lib/rabbit/command/rabbit-slide.rb:160 ../lib/rabbit/command/rabbit-slide.rb:246 ../lib/rabbit/command/rabbit-slide.rb:259 ../lib/rabbit/command/rabbit-slide.rb:273 ../lib/rabbit/command/rabbit-slide.rb:287 ../lib/rabbit/command/rabbit-slide.rb:301 ../lib/rabbit/command/rabbit-theme.rb:95 ../lib/rabbit/command/rabbit-theme.rb:108 ../lib/rabbit/command/rabbit-theme.rb:122
476
484
  msgid "(default: %s)"
477
485
  msgstr "(デフォルト: %s)"
478
486
 
479
- #: ../lib/rabbit/command/rabbit-slide.rb:160 ../lib/rabbit/command/rabbit-slide.rb:169 ../lib/rabbit/command/rabbit-slide.rb:177 ../lib/rabbit/command/rabbit-slide.rb:185 ../lib/rabbit/command/rabbit-slide.rb:192 ../lib/rabbit/command/rabbit-slide.rb:199 ../lib/rabbit/command/rabbit-slide.rb:208 ../lib/rabbit/command/rabbit-slide.rb:217 ../lib/rabbit/command/rabbit-slide.rb:230 ../lib/rabbit/command/rabbit-slide.rb:243 ../lib/rabbit/command/rabbit-slide.rb:257 ../lib/rabbit/command/rabbit-slide.rb:271 ../lib/rabbit/command/rabbit-slide.rb:285 ../lib/rabbit/command/rabbit-theme.rb:97 ../lib/rabbit/command/rabbit-theme.rb:110 ../lib/rabbit/command/rabbit-theme.rb:124
487
+ #: ../lib/rabbit/command/rabbit-slide.rb:162 ../lib/rabbit/command/rabbit-slide.rb:171 ../lib/rabbit/command/rabbit-slide.rb:179 ../lib/rabbit/command/rabbit-slide.rb:187 ../lib/rabbit/command/rabbit-slide.rb:194 ../lib/rabbit/command/rabbit-slide.rb:201 ../lib/rabbit/command/rabbit-slide.rb:210 ../lib/rabbit/command/rabbit-slide.rb:219 ../lib/rabbit/command/rabbit-slide.rb:227 ../lib/rabbit/command/rabbit-slide.rb:235 ../lib/rabbit/command/rabbit-slide.rb:248 ../lib/rabbit/command/rabbit-slide.rb:261 ../lib/rabbit/command/rabbit-slide.rb:275 ../lib/rabbit/command/rabbit-slide.rb:289 ../lib/rabbit/command/rabbit-slide.rb:303 ../lib/rabbit/command/rabbit-theme.rb:97 ../lib/rabbit/command/rabbit-theme.rb:110 ../lib/rabbit/command/rabbit-theme.rb:124
480
488
  msgid "(optional)"
481
489
  msgstr "(省略可能)"
482
490
 
483
- #: ../lib/rabbit/command/rabbit-slide.rb:167
491
+ #: ../lib/rabbit/command/rabbit-slide.rb:169
484
492
  msgid "Title of the new slide"
485
493
  msgstr "新しいスライドのタイトル"
486
494
 
487
- #: ../lib/rabbit/command/rabbit-slide.rb:168
495
+ #: ../lib/rabbit/command/rabbit-slide.rb:170
488
496
  msgid "--title=\"Rabbit Introduction\""
489
497
  msgstr "--title=\"Rabbitの紹介\""
490
498
 
491
- #: ../lib/rabbit/command/rabbit-slide.rb:175
499
+ #: ../lib/rabbit/command/rabbit-slide.rb:177
492
500
  msgid "License of the new slide"
493
501
  msgstr "新しいスライドのライセンス"
494
502
 
495
- #: ../lib/rabbit/command/rabbit-slide.rb:183
503
+ #: ../lib/rabbit/command/rabbit-slide.rb:185
496
504
  msgid "Tags of the new slide"
497
505
  msgstr "新しいスライドのタグ"
498
506
 
499
- #: ../lib/rabbit/command/rabbit-slide.rb:190
507
+ #: ../lib/rabbit/command/rabbit-slide.rb:192
500
508
  msgid "Allotted time in presentaion"
501
509
  msgstr "プレゼンの持ち時間"
502
510
 
503
- #: ../lib/rabbit/command/rabbit-slide.rb:197
511
+ #: ../lib/rabbit/command/rabbit-slide.rb:199
504
512
  msgid "Presentation date with the new slide"
505
513
  msgstr "新しいスライドでプレゼンする日"
506
514
 
507
- #: ../lib/rabbit/command/rabbit-slide.rb:206
515
+ #: ../lib/rabbit/command/rabbit-slide.rb:208
508
516
  msgid "Presentation start time"
509
517
  msgstr ""
510
518
 
511
- #: ../lib/rabbit/command/rabbit-slide.rb:215
519
+ #: ../lib/rabbit/command/rabbit-slide.rb:217
512
520
  msgid "Presentation end time"
513
521
  msgstr ""
514
522
 
515
- #: ../lib/rabbit/command/rabbit-slide.rb:221 ../lib/rabbit/command/rabbit-theme.rb:88
523
+ #: ../lib/rabbit/command/rabbit-slide.rb:225
524
+ msgid "The default slide width"
525
+ msgstr ""
526
+
527
+ #: ../lib/rabbit/command/rabbit-slide.rb:233
528
+ msgid "The default slide height"
529
+ msgstr ""
530
+
531
+ #: ../lib/rabbit/command/rabbit-slide.rb:239 ../lib/rabbit/command/rabbit-theme.rb:88
516
532
  msgid "Your information"
517
533
  msgstr "あなたの情報"
518
534
 
519
- #: ../lib/rabbit/command/rabbit-slide.rb:224 ../lib/rabbit/command/rabbit-theme.rb:91
535
+ #: ../lib/rabbit/command/rabbit-slide.rb:242 ../lib/rabbit/command/rabbit-theme.rb:91
520
536
  msgid "Author name of the new slide"
521
537
  msgstr "新しいスライドの作者の名前"
522
538
 
523
- #: ../lib/rabbit/command/rabbit-slide.rb:237 ../lib/rabbit/command/rabbit-theme.rb:104
539
+ #: ../lib/rabbit/command/rabbit-slide.rb:255 ../lib/rabbit/command/rabbit-theme.rb:104
524
540
  msgid "Author e-mail of the new slide"
525
541
  msgstr "新しいスライドの作者のEメールアドレス"
526
542
 
527
- #: ../lib/rabbit/command/rabbit-slide.rb:250 ../lib/rabbit/command/rabbit-slide.rb:264 ../lib/rabbit/command/rabbit-slide.rb:278 ../lib/rabbit/command/rabbit-theme.rb:117
543
+ #: ../lib/rabbit/command/rabbit-slide.rb:268 ../lib/rabbit/command/rabbit-slide.rb:282 ../lib/rabbit/command/rabbit-slide.rb:296 ../lib/rabbit/command/rabbit-theme.rb:117
528
544
  msgid "Account for %s"
529
545
  msgstr "%sのアカウント"
530
546
 
531
- #: ../lib/rabbit/command/rabbit-slide.rb:251 ../lib/rabbit/command/rabbit-slide.rb:265 ../lib/rabbit/command/rabbit-slide.rb:279 ../lib/rabbit/command/rabbit-theme.rb:118
547
+ #: ../lib/rabbit/command/rabbit-slide.rb:269 ../lib/rabbit/command/rabbit-slide.rb:283 ../lib/rabbit/command/rabbit-slide.rb:297 ../lib/rabbit/command/rabbit-theme.rb:118
532
548
  msgid "It is used to publish your slide to %s"
533
549
  msgstr "%sにスライドを公開するときに使います"
534
550
 
535
- #: ../lib/rabbit/command/rabbit-slide.rb:416 ../lib/rabbit/command/rabbit-theme.rb:143
551
+ #: ../lib/rabbit/command/rabbit-slide.rb:472 ../lib/rabbit/command/rabbit-theme.rb:143
536
552
  msgid "too many commands: %s"
537
553
  msgstr "コマンドが多過ぎます: %s"
538
554
 
539
- #: ../lib/rabbit/command/rabbit-slide.rb:420 ../lib/rabbit/command/rabbit-theme.rb:148
555
+ #: ../lib/rabbit/command/rabbit-slide.rb:476 ../lib/rabbit/command/rabbit-theme.rb:148
540
556
  msgid "invalid command: <%s>: available commands: %s"
541
557
  msgstr "不正なコマンド: <%s>: 利用可能なコマンド: %s"
542
558
 
543
- #: ../lib/rabbit/command/rabbit-slide.rb:428 ../lib/rabbit/command/rabbit-slide.rb:434 ../lib/rabbit/command/rabbit-theme.rb:156
559
+ #: ../lib/rabbit/command/rabbit-slide.rb:484 ../lib/rabbit/command/rabbit-slide.rb:490 ../lib/rabbit/command/rabbit-theme.rb:156
544
560
  msgid "%s is missing"
545
561
  msgstr "%sがありません"
546
562
 
547
- #: ../lib/rabbit/command/rabbit-slide.rb:510
563
+ #: ../lib/rabbit/command/rabbit-slide.rb:568
548
564
  msgid "TODO: SLIDE TITLE"
549
565
  msgstr "TODO: スライドのタイトル"
550
566
 
551
- #: ../lib/rabbit/command/rabbit-slide.rb:513
567
+ #: ../lib/rabbit/command/rabbit-slide.rb:571
552
568
  msgid "TODO: SLIDE DESCRIPTION"
553
569
  msgstr "TODO: スライドの説明"
554
570
 
555
- #: ../lib/rabbit/command/rabbit-slide.rb:516 ../lib/rabbit/command/rabbit-theme.rb:209
571
+ #: ../lib/rabbit/command/rabbit-slide.rb:574 ../lib/rabbit/command/rabbit-theme.rb:209
556
572
  msgid "For author"
557
573
  msgstr "作者向け"
558
574
 
559
- #: ../lib/rabbit/command/rabbit-slide.rb:522 ../lib/rabbit/command/rabbit-theme.rb:215
575
+ #: ../lib/rabbit/command/rabbit-slide.rb:580 ../lib/rabbit/command/rabbit-theme.rb:215
560
576
  msgid "Publish"
561
577
  msgstr "公開"
562
578
 
563
- #: ../lib/rabbit/command/rabbit-slide.rb:527
579
+ #: ../lib/rabbit/command/rabbit-slide.rb:585
564
580
  msgid "For viewers"
565
581
  msgstr "閲覧者向け"
566
582
 
567
- #: ../lib/rabbit/command/rabbit-slide.rb:529 ../lib/rabbit/command/rabbit-theme.rb:222
583
+ #: ../lib/rabbit/command/rabbit-slide.rb:587 ../lib/rabbit/command/rabbit-theme.rb:222
568
584
  msgid "Install"
569
585
  msgstr "インストール"
570
586
 
571
- #: ../lib/rabbit/command/rabbit-slide.rb:608
587
+ #: ../lib/rabbit/command/rabbit-slide.rb:666
572
588
  msgid "TITLE"
573
589
  msgstr "タイトル"
574
590
 
575
- #: ../lib/rabbit/command/rabbit-slide.rb:610
591
+ #: ../lib/rabbit/command/rabbit-slide.rb:668
576
592
  msgid "FIRST SLIDE"
577
593
  msgstr "最初のスライド"
578
594
 
579
- #: ../lib/rabbit/command/rabbit-slide.rb:612
595
+ #: ../lib/rabbit/command/rabbit-slide.rb:670
580
596
  msgid "SECOND SLIDE"
581
597
  msgstr "二番目のスライド"
582
598
 
583
- #: ../lib/rabbit/command/rabbit-slide.rb:639
599
+ #: ../lib/rabbit/command/rabbit-slide.rb:697
584
600
  msgid "SUBTITLE"
585
601
  msgstr "サブタイトル"
586
602
 
587
- #: ../lib/rabbit/command/rabbit-slide.rb:640
603
+ #: ../lib/rabbit/command/rabbit-slide.rb:698
588
604
  msgid "AUTHOR"
589
605
  msgstr "作者"
590
606
 
591
- #: ../lib/rabbit/command/rabbit-slide.rb:641
607
+ #: ../lib/rabbit/command/rabbit-slide.rb:699
592
608
  msgid "INSTITUTION"
593
609
  msgstr "所属"
594
610
 
595
- #: ../lib/rabbit/command/rabbit-slide.rb:642
611
+ #: ../lib/rabbit/command/rabbit-slide.rb:700
596
612
  msgid "EVENT NAME"
597
613
  msgstr "イベント名"
598
614
 
599
- #: ../lib/rabbit/command/rabbit-slide.rb:669
615
+ #: ../lib/rabbit/command/rabbit-slide.rb:727
600
616
  msgid "ITEM %d"
601
617
  msgstr "項目%d"
602
618
 
@@ -1018,19 +1034,19 @@ msgstr "例えば、Xウィンドウシステム上ではXリソースのIDに
1018
1034
  msgid "Choose a Rabbit source file"
1019
1035
  msgstr "Rabbitのソースファイルを選んでください。"
1020
1036
 
1021
- #: ../lib/rabbit/command/rabbit.rb:757
1037
+ #: ../lib/rabbit/command/rabbit.rb:753
1022
1038
  msgid "dRuby URI <%s> is in use."
1023
1039
  msgstr "dRuby URI<%s>は使用中です."
1024
1040
 
1025
- #: ../lib/rabbit/command/rabbit.rb:776
1041
+ #: ../lib/rabbit/command/rabbit.rb:772
1026
1042
  msgid "port <%s> for SOAP is in use."
1027
1043
  msgstr "SOAP用ポート<%s>は使用中です."
1028
1044
 
1029
- #: ../lib/rabbit/command/rabbit.rb:797
1045
+ #: ../lib/rabbit/command/rabbit.rb:793
1030
1046
  msgid "port <%s> for XML-RPC is in use."
1031
1047
  msgstr "XML-RPC用ポート<%s>は使用中です."
1032
1048
 
1033
- #: ../lib/rabbit/command/rabbit.rb:862
1049
+ #: ../lib/rabbit/command/rabbit.rb:858
1034
1050
  msgid "Window ID: %d"
1035
1051
  msgstr "ウィンドウID: %d"
1036
1052
 
@@ -1135,8 +1151,8 @@ msgid "invalid motion: %s"
1135
1151
  msgstr "不正な動きです: %s"
1136
1152
 
1137
1153
  #: ../lib/rabbit/error.rb:195
1138
- msgid "invalid value of size property \"%{prop_name}\" of image \"%{filename}\": %{value}"
1139
- msgstr "画像\"%{filename}のサイズプロパティ%{prop_name}の値が不正です: %{value}"
1154
+ msgid "invalid value of size property \"%{prop_name}\" of \"%{filename}\": %{value}"
1155
+ msgstr "「%{filename}」のサイズプロパティ「%{prop_name}」の値が不正です: %{value}"
1140
1156
 
1141
1157
  #: ../lib/rabbit/error.rb:216
1142
1158
  msgid "unknown cursor type: %s"
@@ -1158,6 +1174,10 @@ msgstr "gemをユーザーインストールモードでインストール中: %
1158
1174
  msgid "Enter password on RubyGems.org [%{user}]: "
1159
1175
  msgstr "RubyGems.orgのパスワードを入力してください [%{user}]: "
1160
1176
 
1177
+ #: ../lib/rabbit/gem-pusher.rb:67
1178
+ msgid "Enter OTP on RubyGems.org [%{user}]: "
1179
+ msgstr "RubyGems.orgのワンタイムパスワードを入力してください [%{user}]: "
1180
+
1161
1181
  #: ../lib/rabbit/graffiti/config-dialog.rb:44
1162
1182
  msgid "Line width:"
1163
1183
  msgstr "線の太さ"
@@ -1178,19 +1198,19 @@ msgstr "スライド"
1178
1198
  msgid "PDF"
1179
1199
  msgstr "PDF"
1180
1200
 
1181
- #: ../lib/rabbit/image/pdf.rb:48
1201
+ #: ../lib/rabbit/image/pdf.rb:45
1182
1202
  msgid "invalid PDF page number: <%s>"
1183
1203
  msgstr "不正なPDFのページ番号です: <%s>"
1184
1204
 
1185
- #: ../lib/rabbit/image/pdf.rb:53
1205
+ #: ../lib/rabbit/image/pdf.rb:50
1186
1206
  msgid "%s page doesn't exist in PDF"
1187
1207
  msgstr "PDFの中に%sページはありません"
1188
1208
 
1189
- #: ../lib/rabbit/info-window.rb:118
1209
+ #: ../lib/rabbit/info-window.rb:119
1190
1210
  msgid "%s: Information window"
1191
1211
  msgstr "%s: 情報ウィンドウ"
1192
1212
 
1193
- #: ../lib/rabbit/info-window.rb:287
1213
+ #: ../lib/rabbit/info-window.rb:323
1194
1214
  msgid "unlimited"
1195
1215
  msgstr "制限無し"
1196
1216
 
@@ -1278,11 +1298,11 @@ msgstr "タグ名がありません。"
1278
1298
  msgid "HTML isn't supported."
1279
1299
  msgstr "HTMLはサポートしていません"
1280
1300
 
1281
- #: ../lib/rabbit/parser/rd/ext/block-verbatim.rb:62
1301
+ #: ../lib/rabbit/parser/rd/ext/block-verbatim.rb:63
1282
1302
  msgid "multiple 'align = right' isn't supported."
1283
1303
  msgstr "複数の'align = right'はサポートしていません。"
1284
1304
 
1285
- #: ../lib/rabbit/parser/rd/ext/block-verbatim.rb:155
1305
+ #: ../lib/rabbit/parser/rd/ext/block-verbatim.rb:156
1286
1306
  msgid "RTtool isn't available"
1287
1307
  msgstr "RTtoolが利用できません"
1288
1308
 
@@ -1318,7 +1338,7 @@ msgstr "ファイルを作成中: %s"
1318
1338
  msgid "No README found"
1319
1339
  msgstr "READMEがありません"
1320
1340
 
1321
- #: ../lib/rabbit/renderer/base.rb:351
1341
+ #: ../lib/rabbit/renderer/base.rb:357
1322
1342
  msgid "%s does not support: %s"
1323
1343
  msgstr "%sはサポートしていません: %s"
1324
1344
 
@@ -1326,11 +1346,11 @@ msgstr "%sはサポートしていません: %s"
1326
1346
  msgid "can't find printer for %s"
1327
1347
  msgstr "%sのためのプリンタが見付かりません."
1328
1348
 
1329
- #: ../lib/rabbit/slide-configuration.rb:72 ../lib/rabbit/theme-configuration.rb:48
1349
+ #: ../lib/rabbit/slide-configuration.rb:72 ../lib/rabbit/theme-configuration.rb:47
1330
1350
  msgid "Failed to read slide configuration: %s: %s"
1331
1351
  msgstr "スライド設定の読み込みに失敗しました: %s: %s"
1332
1352
 
1333
- #: ../lib/rabbit/slide-configuration.rb:82 ../lib/rabbit/theme-configuration.rb:58
1353
+ #: ../lib/rabbit/slide-configuration.rb:82 ../lib/rabbit/theme-configuration.rb:57
1334
1354
  msgid "Failed to write slide configuration: %s: %s"
1335
1355
  msgstr "スライド設定の書き込みに失敗しました: %s: %s"
1336
1356
 
@@ -2743,3 +2763,26 @@ msgstr "影の色。"
2743
2763
  #: ../lib/rabbit/theme/title-slide-background-image/property.rb:2
2744
2764
  msgid "TitleSlideBackgroundImage"
2745
2765
  msgstr "タイトルスライド背景画像"
2766
+
2767
+ #~ msgid ""
2768
+ #~ "Usage: %s COMMAND [OPTIONS]\n"
2769
+ #~ " e.g.: %s new \\\n"
2770
+ #~ " --id rubykaigi2012 \\\n"
2771
+ #~ " --base-name rabbit-introduction \\\n"
2772
+ #~ " --markup-language rd \\\n"
2773
+ #~ " --name \"Kouhei Sutou\" \\\n"
2774
+ #~ " --email kou@cozmixng.org \\\n"
2775
+ #~ " --rubygems-user kou \\\n"
2776
+ #~ " --slideshare-user kou \\\n"
2777
+ #~ " --speaker-deck-user kou"
2778
+ #~ msgstr ""
2779
+ #~ "使い方: %s COMMAND [オプション]\n"
2780
+ #~ " 例: %s new \\\n"
2781
+ #~ " --id rubykaigi2012 \\\n"
2782
+ #~ " --base-name rabbit-introduction \\\n"
2783
+ #~ " --markup-language rd \\\n"
2784
+ #~ " --name \"Kouhei Sutou\" \\\n"
2785
+ #~ " --email kou@cozmixng.org \\\n"
2786
+ #~ " --rubygems-user kou \\\n"
2787
+ #~ " --slideshare-user kou \\\n"
2788
+ #~ " --speaker-deck-user kou"
data/po/ja/rabbit.po CHANGED
@@ -6,7 +6,7 @@ msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: Rabbit 0.5.4\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
- "PO-Revision-Date: 2019-09-06 06:24+0900\n"
9
+ "PO-Revision-Date: 2021-09-25 10:51+0900\n"
10
10
  "Last-Translator: Kouhei Sutou <kou@cozmixng.org>\n"
11
11
  "Language-Team: Kouhei Sutou <kou@cozmixng.org> and Kobayashi Noritada <nori1@d"
12
12
  "olphin.c.u-tokyo.ac.jp>\n"
@@ -289,6 +289,9 @@ msgstr "スポットライト"
289
289
  msgid "Magnifier"
290
290
  msgstr "虫眼鏡"
291
291
 
292
+ msgid "Terminal"
293
+ msgstr "端末"
294
+
292
295
  msgid "Failed to read author configuration: %s: %s"
293
296
  msgstr "作者設定の読み込みに失敗しました: %s: %s"
294
297
 
@@ -310,6 +313,8 @@ msgid ""
310
313
  " --id rubykaigi2012 \\\n"
311
314
  " --base-name rabbit-introduction \\\n"
312
315
  " --markup-language rd \\\n"
316
+ " --width 800 \\\n"
317
+ " --height 450 \\\n"
313
318
  " --name \"Kouhei Sutou\" \\\n"
314
319
  " --email kou@cozmixng.org \\\n"
315
320
  " --rubygems-user kou \\\n"
@@ -321,6 +326,8 @@ msgstr ""
321
326
  " --id rubykaigi2012 \\\n"
322
327
  " --base-name rabbit-introduction \\\n"
323
328
  " --markup-language rd \\\n"
329
+ " --width 800 \\\n"
330
+ " --height 450 \\\n"
324
331
  " --name \"Kouhei Sutou\" \\\n"
325
332
  " --email kou@cozmixng.org \\\n"
326
333
  " --rubygems-user kou \\\n"
@@ -393,6 +400,12 @@ msgstr ""
393
400
  msgid "Presentation end time"
394
401
  msgstr ""
395
402
 
403
+ msgid "The default slide width"
404
+ msgstr ""
405
+
406
+ msgid "The default slide height"
407
+ msgstr ""
408
+
396
409
  msgid "Your information"
397
410
  msgstr "あなたの情報"
398
411
 
@@ -866,8 +879,8 @@ msgstr "テーマ RD のテンプレートが見つかりません: %s"
866
879
  msgid "invalid motion: %s"
867
880
  msgstr "不正な動きです: %s"
868
881
 
869
- msgid "invalid value of size property \"%{prop_name}\" of image \"%{filename}\": %{value}"
870
- msgstr "画像\"%{filename}のサイズプロパティ%{prop_name}の値が不正です: %{value}"
882
+ msgid "invalid value of size property \"%{prop_name}\" of \"%{filename}\": %{value}"
883
+ msgstr "「%{filename}」のサイズプロパティ「%{prop_name}」の値が不正です: %{value}"
871
884
 
872
885
  msgid "unknown cursor type: %s"
873
886
  msgstr "未知のカーソルタイプ: %s"
@@ -884,6 +897,9 @@ msgstr "gemをユーザーインストールモードでインストール中: %
884
897
  msgid "Enter password on RubyGems.org [%{user}]: "
885
898
  msgstr "RubyGems.orgのパスワードを入力してください [%{user}]: "
886
899
 
900
+ msgid "Enter OTP on RubyGems.org [%{user}]: "
901
+ msgstr "RubyGems.orgのワンタイムパスワードを入力してください [%{user}]: "
902
+
887
903
  msgid "Line width:"
888
904
  msgstr "線の太さ"
889
905
 
data/sample/can_rabbit.rd CHANGED
@@ -353,14 +353,6 @@ EPS形式以外は,ファイルの内容から画像形式を自動認識す
353
353
  : height
354
354
  画像の高さを指定する.単位はピクセル.
355
355
 
356
- : normalized_width
357
- 画像の幅を指定する.単位はテーマ内での単位(スライドの大
358
- きさに比例する).
359
-
360
- : normalized_height
361
- 画像の高さを指定する.単位はテーマ内での単位(スライドの
362
- 大きさに比例する).
363
-
364
356
  : relative_width
365
357
  画像の幅をその時点で利用可能な幅に対する割合で指定する.
366
358
  例えば,箇条書きの中に画像を配置している場合は,箇条書き
@@ -377,22 +369,6 @@ EPS形式以外は,ファイルの内容から画像形式を自動認識す
377
369
 
378
370
  単位は%.
379
371
 
380
- : dither_mode
381
- ディザのモードを指定する.指定できる値は(({none})),
382
- (({max})),(({normal})).
383
-
384
- デフォルトは(({normal})).
385
-
386
- : x_dither
387
- ディザで使用するx軸方向のドット数を指定する((-嘘かも-)).
388
-
389
- デフォルトは(({0})).
390
-
391
- : y_dither
392
- ディザで使用するy軸方向のドット数を指定する((-嘘かも-)).
393
-
394
- デフォルトは(({0})).
395
-
396
372
  = 発表時の注意
397
373
 
398
374
  * キャッシュを利用する
@@ -124,8 +124,6 @@ A presentation tool
124
124
  :keep_ratio => true,
125
125
  :width => 100,
126
126
  :height => 100,
127
- # :normalized_width => 50,
128
- # :normalized_height => 50,
129
127
  # :relative_width => 100,
130
128
  # :relative_height => 50,
131
129
  })}}
@@ -172,8 +170,6 @@ Relative image sizes
172
170
  {
173
171
  :caption => "USAGI",
174
172
  :keep_ratio => true,
175
- # :normalized_width => 50,
176
- # :normalized_height => 50,
177
173
  # :relative_width => 100,
178
174
  :relative_height => 80,
179
175
  })}}
data/sample/rabbit-en.rd CHANGED
@@ -132,8 +132,6 @@ A presentation tool
132
132
  # keep_ratio = true
133
133
  # width = 100
134
134
  # height = 100
135
- # # normalized_width = 50
136
- # # normalized_height = 50
137
135
  # # relative_width = 100
138
136
  # # relative_height = 50
139
137
 
@@ -184,8 +182,6 @@ Relative image sizes
184
182
  # src = usagi.png
185
183
  # caption = USAGI
186
184
  # keep_ratio = true
187
- # # normalized_width = 50
188
- # # normalized_height = 50
189
185
  # # relative_width = 100
190
186
  # relative_height = 80
191
187
 
data/sample/rabbit.hiki CHANGED
@@ -124,8 +124,6 @@
124
124
  :caption => "Lavie",
125
125
  :width => 100,
126
126
  :height => 100,
127
- # :normalized_width => 50,
128
- # :normalized_height => 50,
129
127
  # :relative_width => 100,
130
128
  # :relative_height => 50,
131
129
  })}}
@@ -171,8 +169,6 @@
171
169
  {{image("usagi.png",
172
170
  {
173
171
  :caption => "兎",
174
- # :normalized_width => 50,
175
- # :normalized_height => 50,
176
172
  # :relative_width => 100,
177
173
  :relative_height => 50,
178
174
  })}}
data/sample/rabbit.rd CHANGED
@@ -132,8 +132,6 @@
132
132
  # caption = Lavie
133
133
  # width = 100
134
134
  # height = 100
135
- # # normalized_width = 50
136
- # # normalized_height = 50
137
135
  # # relative_width = 100
138
136
  # # relative_height = 50
139
137
 
@@ -183,8 +181,6 @@
183
181
  # image
184
182
  # src = usagi.png
185
183
  # caption = 兎
186
- # # normalized_width = 50
187
- # # normalized_height = 50
188
184
  # # relative_width = 100
189
185
  # relative_height = 80
190
186
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2012-2017 Kouhei Sutou <kou@cozmixng.org>
1
+ # Copyright (C) 2012-2021 Sutou Kouhei <kou@cozmixng.org>
2
2
  #
3
3
  # This program is free software; you can redistribute it and/or modify
4
4
  # it under the terms of the GNU General Public License as published by
@@ -41,10 +41,11 @@ class TestSlideConfiguration < Test::Unit::TestCase
41
41
  "licenses" => ["GPLv3+", "GFDL", "CC BY-SA 3.0"],
42
42
  "slideshare_id" => "rabbit-14073776",
43
43
  "speaker_deck_id" => "rabbit-debian",
44
- "ustream_id" => "25451894",
45
44
  "vimeo_id" => "00000000",
46
45
  "youtube_id" => "XXXXX-xxxxx",
47
46
  "author" => author_conf,
47
+ "width" => 800,
48
+ "height" => 600,
48
49
  }
49
50
  @slide.id = "RubyKaigi2012"
50
51
  @slide.merge!(conf)