rabbit 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -1
  3. data/data/locale/ja/LC_MESSAGES/rabbit.mo +0 -0
  4. data/doc/_config.yml +2 -2
  5. data/doc/_layouts/skeleton.html +0 -7
  6. data/doc/en/install/homebrew.rd +8 -13
  7. data/doc/en/news.rd +67 -0
  8. data/doc/images/screenshots/en/blue-circle-raw.png +0 -0
  9. data/doc/images/screenshots/en/blue-circle.png +0 -0
  10. data/doc/images/screenshots/en/clear-blue-raw.png +0 -0
  11. data/doc/images/screenshots/en/clear-blue.png +0 -0
  12. data/doc/images/screenshots/en/cozmixng-raw.png +0 -0
  13. data/doc/images/screenshots/en/cozmixng.png +0 -0
  14. data/doc/images/screenshots/en/dark-gradation-raw.png +0 -0
  15. data/doc/images/screenshots/en/dark-gradation.png +0 -0
  16. data/doc/images/screenshots/en/day-white-raw.png +0 -0
  17. data/doc/images/screenshots/en/day-white.png +0 -0
  18. data/doc/images/screenshots/en/debian-raw.png +0 -0
  19. data/doc/images/screenshots/en/debian.png +0 -0
  20. data/doc/images/screenshots/en/green-circle-raw.png +0 -0
  21. data/doc/images/screenshots/en/green-circle.png +0 -0
  22. data/doc/images/screenshots/en/night-black-raw.png +0 -0
  23. data/doc/images/screenshots/en/night-black.png +0 -0
  24. data/doc/images/screenshots/en/rabbit-raw.png +0 -0
  25. data/doc/images/screenshots/en/rabbit.png +0 -0
  26. data/doc/images/screenshots/en/ranguba-raw.png +0 -0
  27. data/doc/images/screenshots/en/ranguba.png +0 -0
  28. data/doc/images/screenshots/en/red-frame-raw.png +0 -0
  29. data/doc/images/screenshots/en/red-frame.png +0 -0
  30. data/doc/images/screenshots/en/ruby-gnome2-raw.png +0 -0
  31. data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
  32. data/doc/images/screenshots/en/rubykaigi2011-raw.png +0 -0
  33. data/doc/images/screenshots/en/rubykaigi2011.png +0 -0
  34. data/doc/images/screenshots/ja/blue-circle-raw.png +0 -0
  35. data/doc/images/screenshots/ja/blue-circle.png +0 -0
  36. data/doc/images/screenshots/ja/clear-blue-raw.png +0 -0
  37. data/doc/images/screenshots/ja/clear-blue.png +0 -0
  38. data/doc/images/screenshots/ja/cozmixng-raw.png +0 -0
  39. data/doc/images/screenshots/ja/cozmixng.png +0 -0
  40. data/doc/images/screenshots/ja/dark-gradation-raw.png +0 -0
  41. data/doc/images/screenshots/ja/dark-gradation.png +0 -0
  42. data/doc/images/screenshots/ja/day-white-raw.png +0 -0
  43. data/doc/images/screenshots/ja/day-white.png +0 -0
  44. data/doc/images/screenshots/ja/debian-raw.png +0 -0
  45. data/doc/images/screenshots/ja/debian.png +0 -0
  46. data/doc/images/screenshots/ja/green-circle-raw.png +0 -0
  47. data/doc/images/screenshots/ja/green-circle.png +0 -0
  48. data/doc/images/screenshots/ja/night-black-raw.png +0 -0
  49. data/doc/images/screenshots/ja/night-black.png +0 -0
  50. data/doc/images/screenshots/ja/rabbit-raw.png +0 -0
  51. data/doc/images/screenshots/ja/rabbit.png +0 -0
  52. data/doc/images/screenshots/ja/ranguba-raw.png +0 -0
  53. data/doc/images/screenshots/ja/ranguba.png +0 -0
  54. data/doc/images/screenshots/ja/red-frame-raw.png +0 -0
  55. data/doc/images/screenshots/ja/red-frame.png +0 -0
  56. data/doc/images/screenshots/ja/ruby-gnome2-raw.png +0 -0
  57. data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
  58. data/doc/images/screenshots/ja/rubykaigi2011-raw.png +0 -0
  59. data/doc/images/screenshots/ja/rubykaigi2011.png +0 -0
  60. data/doc/ja/install/homebrew.rd +8 -12
  61. data/doc/ja/news.rd +67 -0
  62. data/lib/rabbit/canvas.rb +7 -5
  63. data/lib/rabbit/element/base.rb +1 -5
  64. data/lib/rabbit/element/image.rb +70 -4
  65. data/lib/rabbit/error.rb +7 -1
  66. data/lib/rabbit/formatter.rb +1 -1
  67. data/lib/rabbit/gem-pusher.rb +2 -1
  68. data/lib/rabbit/image/base.rb +67 -3
  69. data/lib/rabbit/image/dia.rb +7 -15
  70. data/lib/rabbit/image/mermaid.rb +73 -0
  71. data/lib/rabbit/image/pdf.rb +21 -5
  72. data/lib/rabbit/image.rb +3 -2
  73. data/lib/rabbit/parser/base.rb +2 -1
  74. data/lib/rabbit/parser/ext/blockdiag.rb +16 -14
  75. data/lib/rabbit/parser/ext/image.rb +36 -9
  76. data/lib/rabbit/parser/markdown/converter.rb +36 -30
  77. data/lib/rabbit/parser/rd/ext/block-verbatim.rb +23 -33
  78. data/lib/rabbit/parser/rd/ext/image.rb +23 -4
  79. data/lib/rabbit/parser/rd/rd2rabbit-lib.rb +3 -1
  80. data/lib/rabbit/parser/rd.rb +1 -1
  81. data/lib/rabbit/parser/wiki/output.rb +9 -9
  82. data/lib/rabbit/parser.rb +2 -2
  83. data/lib/rabbit/properties.rb +14 -1
  84. data/lib/rabbit/renderer/display/drawing-area-base.rb +1 -1
  85. data/lib/rabbit/slide-configuration.rb +4 -0
  86. data/lib/rabbit/task/slide.rb +4 -31
  87. data/lib/rabbit/theme/background-image-toolkit/background-image-toolkit.rb +38 -0
  88. data/lib/rabbit/theme/clear-blue/clear-blue.rb +1 -1
  89. data/lib/rabbit/theme/image/image.rb +3 -0
  90. data/lib/rabbit/theme/image-slide-number/image-slide-number.rb +7 -2
  91. data/lib/rabbit/theme/image-timer/image-timer.rb +8 -3
  92. data/lib/rabbit/theme/pdf/pdf.rb +1 -1
  93. data/lib/rabbit/utils.rb +25 -2
  94. data/lib/rabbit/version.rb +2 -2
  95. data/po/en/rabbit.edit.po +50 -66
  96. data/po/en/rabbit.po +12 -24
  97. data/po/fr/rabbit.edit.po +50 -66
  98. data/po/fr/rabbit.po +12 -24
  99. data/po/ja/rabbit.edit.po +82 -94
  100. data/po/ja/rabbit.po +18 -30
  101. data/rabbit.gemspec +0 -1
  102. data/sample/rabbit-en.md +13 -0
  103. data/sample/rabbit-en.rd +10 -0
  104. data/sample/rabbit.md +21 -0
  105. data/sample/rabbit.rd +20 -0
  106. data/test/command/test-rabbit.rb +1 -0
  107. data/test/parser/test-markdown.rb +2 -2
  108. data/test/test-slide-configuration.rb +2 -1
  109. metadata +7 -26
  110. data/doc/css/jquery-ui/themes/ui-lightness.css +0 -573
  111. data/doc/javascripts/jquery-ui.js +0 -11544
  112. data/doc/javascripts/jquery.js +0 -7179
  113. data/lib/rabbit/slideshare.rb +0 -192
  114. data/test/test-slideshare.rb +0 -34
data/po/en/rabbit.edit.po CHANGED
@@ -392,11 +392,11 @@ msgstr ""
392
392
  msgid "Failed to write author configuration: %s: %s"
393
393
  msgstr ""
394
394
 
395
- #: ../lib/rabbit/canvas.rb:644
395
+ #: ../lib/rabbit/canvas.rb:646
396
396
  msgid "Unknown action: %s"
397
397
  msgstr ""
398
398
 
399
- #: ../lib/rabbit/canvas.rb:739
399
+ #: ../lib/rabbit/canvas.rb:741
400
400
  msgid "Processing..."
401
401
  msgstr ""
402
402
 
@@ -1085,55 +1085,55 @@ msgstr ""
1085
1085
  msgid "tried gimp commands: %s"
1086
1086
  msgstr ""
1087
1087
 
1088
- #: ../lib/rabbit/error.rb:94
1088
+ #: ../lib/rabbit/error.rb:100
1089
1089
  msgid "Unknown property: %s"
1090
1090
  msgstr ""
1091
1091
 
1092
- #: ../lib/rabbit/error.rb:102
1092
+ #: ../lib/rabbit/error.rb:108
1093
1093
  msgid "can't allocate color: %s"
1094
1094
  msgstr ""
1095
1095
 
1096
- #: ../lib/rabbit/error.rb:113
1096
+ #: ../lib/rabbit/error.rb:119
1097
1097
  msgid "not exist: %s"
1098
1098
  msgstr ""
1099
1099
 
1100
- #: ../lib/rabbit/error.rb:121
1100
+ #: ../lib/rabbit/error.rb:127
1101
1101
  msgid "not a file: %s"
1102
1102
  msgstr ""
1103
1103
 
1104
- #: ../lib/rabbit/error.rb:129
1104
+ #: ../lib/rabbit/error.rb:135
1105
1105
  msgid "can not be read: %s"
1106
1106
  msgstr ""
1107
1107
 
1108
- #: ../lib/rabbit/error.rb:137
1108
+ #: ../lib/rabbit/error.rb:143
1109
1109
  msgid "immutable source type: %s"
1110
1110
  msgstr ""
1111
1111
 
1112
- #: ../lib/rabbit/error.rb:156
1112
+ #: ../lib/rabbit/error.rb:162
1113
1113
  msgid "not available interface: %s"
1114
1114
  msgstr ""
1115
1115
 
1116
- #: ../lib/rabbit/error.rb:164
1116
+ #: ../lib/rabbit/error.rb:170
1117
1117
  msgid "can't find HTML template: %s"
1118
1118
  msgstr ""
1119
1119
 
1120
- #: ../lib/rabbit/error.rb:172
1120
+ #: ../lib/rabbit/error.rb:178
1121
1121
  msgid "can't find theme RD template: %s"
1122
1122
  msgstr ""
1123
1123
 
1124
- #: ../lib/rabbit/error.rb:180
1124
+ #: ../lib/rabbit/error.rb:186
1125
1125
  msgid "invalid motion: %s"
1126
1126
  msgstr ""
1127
1127
 
1128
- #: ../lib/rabbit/error.rb:195
1128
+ #: ../lib/rabbit/error.rb:201
1129
1129
  msgid "invalid value of size property \"%{prop_name}\" of \"%{filename}\": %{value}"
1130
1130
  msgstr ""
1131
1131
 
1132
- #: ../lib/rabbit/error.rb:216
1132
+ #: ../lib/rabbit/error.rb:222
1133
1133
  msgid "unknown cursor type: %s"
1134
1134
  msgstr ""
1135
1135
 
1136
- #: ../lib/rabbit/error.rb:222
1136
+ #: ../lib/rabbit/error.rb:228
1137
1137
  msgid "print isn't supported"
1138
1138
  msgstr ""
1139
1139
 
@@ -1145,11 +1145,11 @@ msgstr ""
1145
1145
  msgid "Installing gem in user install mode: %s"
1146
1146
  msgstr ""
1147
1147
 
1148
- #: ../lib/rabbit/gem-pusher.rb:57
1148
+ #: ../lib/rabbit/gem-pusher.rb:58
1149
1149
  msgid "Enter password on RubyGems.org [%{user}]: "
1150
1150
  msgstr ""
1151
1151
 
1152
- #: ../lib/rabbit/gem-pusher.rb:67
1152
+ #: ../lib/rabbit/gem-pusher.rb:68
1153
1153
  msgid "Enter OTP on RubyGems.org [%{user}]: "
1154
1154
  msgstr ""
1155
1155
 
@@ -1173,11 +1173,15 @@ msgstr ""
1173
1173
  msgid "PDF"
1174
1174
  msgstr ""
1175
1175
 
1176
- #: ../lib/rabbit/image/pdf.rb:45
1176
+ #: ../lib/rabbit/image/mermaid.rb:57
1177
+ msgid "tried mermaid command: %s"
1178
+ msgstr ""
1179
+
1180
+ #: ../lib/rabbit/image/pdf.rb:66
1177
1181
  msgid "invalid PDF page number: <%s>"
1178
1182
  msgstr ""
1179
1183
 
1180
- #: ../lib/rabbit/image/pdf.rb:50
1184
+ #: ../lib/rabbit/image/pdf.rb:71
1181
1185
  msgid "%s page doesn't exist in PDF"
1182
1186
  msgstr ""
1183
1187
 
@@ -1233,7 +1237,7 @@ msgstr ""
1233
1237
  msgid "tried aafigure command: %s"
1234
1238
  msgstr ""
1235
1239
 
1236
- #: ../lib/rabbit/parser/ext/blockdiag.rb:30
1240
+ #: ../lib/rabbit/parser/ext/blockdiag.rb:33
1237
1241
  msgid "tried blockdiag command: %s"
1238
1242
  msgstr ""
1239
1243
 
@@ -1249,35 +1253,35 @@ msgstr ""
1249
1253
  msgid "enscript: unsupported element name: %s"
1250
1254
  msgstr ""
1251
1255
 
1256
+ #: ../lib/rabbit/parser/ext/image.rb:41
1257
+ msgid "multiple right aligns aren't supported."
1258
+ msgstr ""
1259
+
1252
1260
  #: ../lib/rabbit/parser/ext/tex.rb:53
1253
1261
  msgid "tried mimeTeX commands: %s"
1254
1262
  msgstr ""
1255
1263
 
1256
- #: ../lib/rabbit/parser/markdown/converter.rb:170 ../test/parser/test-markdown.rb:290
1257
- msgid "multiple ![alt]{image} in a paragraph isn't supported."
1264
+ #: ../lib/rabbit/parser/markdown/converter.rb:170
1265
+ msgid "multiple ![alt]{image}s in a paragraph isn't supported."
1258
1266
  msgstr ""
1259
1267
 
1260
- #: ../lib/rabbit/parser/markdown/converter.rb:294 ../test/parser/test-markdown.rb:304
1261
- msgid "horizontal rule isn't supported."
1268
+ #: ../lib/rabbit/parser/markdown/converter.rb:174
1269
+ msgid "![alt]{image} and other contents in a paragraph isn't supported: %{types}"
1262
1270
  msgstr ""
1263
1271
 
1264
- #: ../lib/rabbit/parser/markdown/converter.rb:356
1265
- msgid "multiple ![]('XXX.png'){:align='right'} isn't supported."
1272
+ #: ../lib/rabbit/parser/markdown/converter.rb:300 ../test/parser/test-markdown.rb:304
1273
+ msgid "horizontal rule isn't supported."
1266
1274
  msgstr ""
1267
1275
 
1268
- #: ../lib/rabbit/parser/markdown/converter.rb:412 ../test/parser/test-markdown.rb:317
1276
+ #: ../lib/rabbit/parser/markdown/converter.rb:418 ../test/parser/test-markdown.rb:317
1269
1277
  msgid "tag name is missing."
1270
1278
  msgstr ""
1271
1279
 
1272
- #: ../lib/rabbit/parser/markdown/converter.rb:426
1280
+ #: ../lib/rabbit/parser/markdown/converter.rb:432
1273
1281
  msgid "HTML isn't supported."
1274
1282
  msgstr ""
1275
1283
 
1276
- #: ../lib/rabbit/parser/rd/ext/block-verbatim.rb:63
1277
- msgid "multiple 'align = right' isn't supported."
1278
- msgstr ""
1279
-
1280
- #: ../lib/rabbit/parser/rd/ext/block-verbatim.rb:156
1284
+ #: ../lib/rabbit/parser/rd/ext/block-verbatim.rb:137
1281
1285
  msgid "RTtool isn't available"
1282
1286
  msgstr ""
1283
1287
 
@@ -1321,30 +1325,14 @@ msgstr ""
1321
1325
  msgid "can't find printer for %s"
1322
1326
  msgstr ""
1323
1327
 
1324
- #: ../lib/rabbit/slide-configuration.rb:72 ../lib/rabbit/theme-configuration.rb:47
1328
+ #: ../lib/rabbit/slide-configuration.rb:73 ../lib/rabbit/theme-configuration.rb:47
1325
1329
  msgid "Failed to read slide configuration: %s: %s"
1326
1330
  msgstr ""
1327
1331
 
1328
- #: ../lib/rabbit/slide-configuration.rb:82 ../lib/rabbit/theme-configuration.rb:57
1332
+ #: ../lib/rabbit/slide-configuration.rb:83 ../lib/rabbit/theme-configuration.rb:57
1329
1333
  msgid "Failed to write slide configuration: %s: %s"
1330
1334
  msgstr ""
1331
1335
 
1332
- #: ../lib/rabbit/slideshare.rb:62
1333
- msgid "Feailed to upload: %s"
1334
- msgstr ""
1335
-
1336
- #: ../lib/rabbit/slideshare.rb:69
1337
- msgid "Feailed to edit title: %s"
1338
- msgstr ""
1339
-
1340
- #: ../lib/rabbit/slideshare.rb:77
1341
- msgid "Feailed to get slide URL: %s"
1342
- msgstr ""
1343
-
1344
- #: ../lib/rabbit/slideshare.rb:146
1345
- msgid "Enter password on SlideShare [%{user}]: "
1346
- msgstr ""
1347
-
1348
1336
  #: ../lib/rabbit/source/argf.rb:10
1349
1337
  msgid "none (get from STDIN) or [FILE_NAMES]"
1350
1338
  msgstr ""
@@ -1365,42 +1353,34 @@ msgstr ""
1365
1353
  msgid "Rabbit"
1366
1354
  msgstr ""
1367
1355
 
1368
- #: ../lib/rabbit/task/slide.rb:94
1356
+ #: ../lib/rabbit/task/slide.rb:97
1369
1357
  msgid "To run rabbit, create '%{options_path}'!"
1370
1358
  msgstr ""
1371
1359
 
1372
- #: ../lib/rabbit/task/slide.rb:98
1360
+ #: ../lib/rabbit/task/slide.rb:101
1373
1361
  msgid "Show slide"
1374
1362
  msgstr ""
1375
1363
 
1376
- #: ../lib/rabbit/task/slide.rb:110 ../lib/rabbit/task/theme.rb:106
1364
+ #: ../lib/rabbit/task/slide.rb:113 ../lib/rabbit/task/theme.rb:106
1377
1365
  msgid "Create gem: %{gem_path}"
1378
1366
  msgstr ""
1379
1367
 
1380
- #: ../lib/rabbit/task/slide.rb:122 ../lib/rabbit/task/theme.rb:118
1368
+ #: ../lib/rabbit/task/slide.rb:125 ../lib/rabbit/task/theme.rb:118
1381
1369
  msgid "Write %{item} in %{where}: %{content}"
1382
1370
  msgstr ""
1383
1371
 
1384
- #: ../lib/rabbit/task/slide.rb:148 ../lib/rabbit/task/theme.rb:158
1372
+ #: ../lib/rabbit/task/slide.rb:151 ../lib/rabbit/task/theme.rb:158
1385
1373
  msgid "Generate PDF: %{pdf_path}"
1386
1374
  msgstr ""
1387
1375
 
1388
- #: ../lib/rabbit/task/slide.rb:153
1376
+ #: ../lib/rabbit/task/slide.rb:156
1389
1377
  msgid "Publish the slide to all available targets"
1390
1378
  msgstr ""
1391
1379
 
1392
- #: ../lib/rabbit/task/slide.rb:177 ../lib/rabbit/task/slide.rb:186 ../lib/rabbit/task/slide.rb:210
1380
+ #: ../lib/rabbit/task/slide.rb:175 ../lib/rabbit/task/slide.rb:183
1393
1381
  msgid "Publish the slide to %s"
1394
1382
  msgstr ""
1395
1383
 
1396
- #: ../lib/rabbit/task/slide.rb:198
1397
- msgid "Uploaded successfully!"
1398
- msgstr ""
1399
-
1400
- #: ../lib/rabbit/task/slide.rb:199
1401
- msgid "See %s"
1402
- msgstr ""
1403
-
1404
1384
  #: ../lib/rabbit/task/theme.rb:94
1405
1385
  msgid "Show theme benchmark slide with this theme"
1406
1386
  msgstr ""
@@ -2698,3 +2678,7 @@ msgstr ""
2698
2678
  #: ../lib/rabbit/theme/title-slide-background-image/property.rb:2
2699
2679
  msgid "TitleSlideBackgroundImage"
2700
2680
  msgstr ""
2681
+
2682
+ #: ../test/parser/test-markdown.rb:290
2683
+ msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2684
+ msgstr ""
data/po/en/rabbit.po CHANGED
@@ -890,6 +890,9 @@ msgstr ""
890
890
  msgid "PDF"
891
891
  msgstr ""
892
892
 
893
+ msgid "tried mermaid command: %s"
894
+ msgstr ""
895
+
893
896
  msgid "invalid PDF page number: <%s>"
894
897
  msgstr ""
895
898
 
@@ -947,16 +950,19 @@ msgstr ""
947
950
  msgid "enscript: unsupported element name: %s"
948
951
  msgstr ""
949
952
 
953
+ msgid "multiple right aligns aren't supported."
954
+ msgstr ""
955
+
950
956
  msgid "tried mimeTeX commands: %s"
951
957
  msgstr ""
952
958
 
953
- msgid "multiple ![alt]{image} in a paragraph isn't supported."
959
+ msgid "multiple ![alt]{image}s in a paragraph isn't supported."
954
960
  msgstr ""
955
961
 
956
- msgid "horizontal rule isn't supported."
962
+ msgid "![alt]{image} and other contents in a paragraph isn't supported: %{types}"
957
963
  msgstr ""
958
964
 
959
- msgid "multiple ![]('XXX.png'){:align='right'} isn't supported."
965
+ msgid "horizontal rule isn't supported."
960
966
  msgstr ""
961
967
 
962
968
  msgid "tag name is missing."
@@ -965,9 +971,6 @@ msgstr ""
965
971
  msgid "HTML isn't supported."
966
972
  msgstr ""
967
973
 
968
- msgid "multiple 'align = right' isn't supported."
969
- msgstr ""
970
-
971
974
  msgid "RTtool isn't available"
972
975
  msgstr ""
973
976
 
@@ -1007,18 +1010,6 @@ msgstr ""
1007
1010
  msgid "Failed to write slide configuration: %s: %s"
1008
1011
  msgstr ""
1009
1012
 
1010
- msgid "Feailed to upload: %s"
1011
- msgstr ""
1012
-
1013
- msgid "Feailed to edit title: %s"
1014
- msgstr ""
1015
-
1016
- msgid "Feailed to get slide URL: %s"
1017
- msgstr ""
1018
-
1019
- msgid "Enter password on SlideShare [%{user}]: "
1020
- msgstr ""
1021
-
1022
1013
  msgid "none (get from STDIN) or [FILE_NAMES]"
1023
1014
  msgstr ""
1024
1015
 
@@ -1055,12 +1046,6 @@ msgstr ""
1055
1046
  msgid "Publish the slide to %s"
1056
1047
  msgstr ""
1057
1048
 
1058
- msgid "Uploaded successfully!"
1059
- msgstr ""
1060
-
1061
- msgid "See %s"
1062
- msgstr ""
1063
-
1064
1049
  msgid "Show theme benchmark slide with this theme"
1065
1050
  msgstr ""
1066
1051
 
@@ -2105,3 +2090,6 @@ msgstr ""
2105
2090
 
2106
2091
  msgid "TitleSlideBackgroundImage"
2107
2092
  msgstr ""
2093
+
2094
+ msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2095
+ msgstr ""
data/po/fr/rabbit.edit.po CHANGED
@@ -391,11 +391,11 @@ msgstr ""
391
391
  msgid "Failed to write author configuration: %s: %s"
392
392
  msgstr ""
393
393
 
394
- #: ../lib/rabbit/canvas.rb:644
394
+ #: ../lib/rabbit/canvas.rb:646
395
395
  msgid "Unknown action: %s"
396
396
  msgstr ""
397
397
 
398
- #: ../lib/rabbit/canvas.rb:739
398
+ #: ../lib/rabbit/canvas.rb:741
399
399
  msgid "Processing..."
400
400
  msgstr ""
401
401
 
@@ -1084,55 +1084,55 @@ msgstr ""
1084
1084
  msgid "tried gimp commands: %s"
1085
1085
  msgstr ""
1086
1086
 
1087
- #: ../lib/rabbit/error.rb:94
1087
+ #: ../lib/rabbit/error.rb:100
1088
1088
  msgid "Unknown property: %s"
1089
1089
  msgstr ""
1090
1090
 
1091
- #: ../lib/rabbit/error.rb:102
1091
+ #: ../lib/rabbit/error.rb:108
1092
1092
  msgid "can't allocate color: %s"
1093
1093
  msgstr ""
1094
1094
 
1095
- #: ../lib/rabbit/error.rb:113
1095
+ #: ../lib/rabbit/error.rb:119
1096
1096
  msgid "not exist: %s"
1097
1097
  msgstr ""
1098
1098
 
1099
- #: ../lib/rabbit/error.rb:121
1099
+ #: ../lib/rabbit/error.rb:127
1100
1100
  msgid "not a file: %s"
1101
1101
  msgstr ""
1102
1102
 
1103
- #: ../lib/rabbit/error.rb:129
1103
+ #: ../lib/rabbit/error.rb:135
1104
1104
  msgid "can not be read: %s"
1105
1105
  msgstr ""
1106
1106
 
1107
- #: ../lib/rabbit/error.rb:137
1107
+ #: ../lib/rabbit/error.rb:143
1108
1108
  msgid "immutable source type: %s"
1109
1109
  msgstr ""
1110
1110
 
1111
- #: ../lib/rabbit/error.rb:156
1111
+ #: ../lib/rabbit/error.rb:162
1112
1112
  msgid "not available interface: %s"
1113
1113
  msgstr ""
1114
1114
 
1115
- #: ../lib/rabbit/error.rb:164
1115
+ #: ../lib/rabbit/error.rb:170
1116
1116
  msgid "can't find HTML template: %s"
1117
1117
  msgstr ""
1118
1118
 
1119
- #: ../lib/rabbit/error.rb:172
1119
+ #: ../lib/rabbit/error.rb:178
1120
1120
  msgid "can't find theme RD template: %s"
1121
1121
  msgstr ""
1122
1122
 
1123
- #: ../lib/rabbit/error.rb:180
1123
+ #: ../lib/rabbit/error.rb:186
1124
1124
  msgid "invalid motion: %s"
1125
1125
  msgstr ""
1126
1126
 
1127
- #: ../lib/rabbit/error.rb:195
1127
+ #: ../lib/rabbit/error.rb:201
1128
1128
  msgid "invalid value of size property \"%{prop_name}\" of \"%{filename}\": %{value}"
1129
1129
  msgstr ""
1130
1130
 
1131
- #: ../lib/rabbit/error.rb:216
1131
+ #: ../lib/rabbit/error.rb:222
1132
1132
  msgid "unknown cursor type: %s"
1133
1133
  msgstr ""
1134
1134
 
1135
- #: ../lib/rabbit/error.rb:222
1135
+ #: ../lib/rabbit/error.rb:228
1136
1136
  msgid "print isn't supported"
1137
1137
  msgstr ""
1138
1138
 
@@ -1144,11 +1144,11 @@ msgstr ""
1144
1144
  msgid "Installing gem in user install mode: %s"
1145
1145
  msgstr ""
1146
1146
 
1147
- #: ../lib/rabbit/gem-pusher.rb:57
1147
+ #: ../lib/rabbit/gem-pusher.rb:58
1148
1148
  msgid "Enter password on RubyGems.org [%{user}]: "
1149
1149
  msgstr ""
1150
1150
 
1151
- #: ../lib/rabbit/gem-pusher.rb:67
1151
+ #: ../lib/rabbit/gem-pusher.rb:68
1152
1152
  msgid "Enter OTP on RubyGems.org [%{user}]: "
1153
1153
  msgstr ""
1154
1154
 
@@ -1172,11 +1172,15 @@ msgstr ""
1172
1172
  msgid "PDF"
1173
1173
  msgstr ""
1174
1174
 
1175
- #: ../lib/rabbit/image/pdf.rb:45
1175
+ #: ../lib/rabbit/image/mermaid.rb:57
1176
+ msgid "tried mermaid command: %s"
1177
+ msgstr ""
1178
+
1179
+ #: ../lib/rabbit/image/pdf.rb:66
1176
1180
  msgid "invalid PDF page number: <%s>"
1177
1181
  msgstr ""
1178
1182
 
1179
- #: ../lib/rabbit/image/pdf.rb:50
1183
+ #: ../lib/rabbit/image/pdf.rb:71
1180
1184
  msgid "%s page doesn't exist in PDF"
1181
1185
  msgstr ""
1182
1186
 
@@ -1232,7 +1236,7 @@ msgstr ""
1232
1236
  msgid "tried aafigure command: %s"
1233
1237
  msgstr ""
1234
1238
 
1235
- #: ../lib/rabbit/parser/ext/blockdiag.rb:30
1239
+ #: ../lib/rabbit/parser/ext/blockdiag.rb:33
1236
1240
  msgid "tried blockdiag command: %s"
1237
1241
  msgstr ""
1238
1242
 
@@ -1248,35 +1252,35 @@ msgstr ""
1248
1252
  msgid "enscript: unsupported element name: %s"
1249
1253
  msgstr ""
1250
1254
 
1255
+ #: ../lib/rabbit/parser/ext/image.rb:41
1256
+ msgid "multiple right aligns aren't supported."
1257
+ msgstr ""
1258
+
1251
1259
  #: ../lib/rabbit/parser/ext/tex.rb:53
1252
1260
  msgid "tried mimeTeX commands: %s"
1253
1261
  msgstr ""
1254
1262
 
1255
- #: ../lib/rabbit/parser/markdown/converter.rb:170 ../test/parser/test-markdown.rb:290
1256
- msgid "multiple ![alt]{image} in a paragraph isn't supported."
1263
+ #: ../lib/rabbit/parser/markdown/converter.rb:170
1264
+ msgid "multiple ![alt]{image}s in a paragraph isn't supported."
1257
1265
  msgstr ""
1258
1266
 
1259
- #: ../lib/rabbit/parser/markdown/converter.rb:294 ../test/parser/test-markdown.rb:304
1260
- msgid "horizontal rule isn't supported."
1267
+ #: ../lib/rabbit/parser/markdown/converter.rb:174
1268
+ msgid "![alt]{image} and other contents in a paragraph isn't supported: %{types}"
1261
1269
  msgstr ""
1262
1270
 
1263
- #: ../lib/rabbit/parser/markdown/converter.rb:356
1264
- msgid "multiple ![]('XXX.png'){:align='right'} isn't supported."
1271
+ #: ../lib/rabbit/parser/markdown/converter.rb:300 ../test/parser/test-markdown.rb:304
1272
+ msgid "horizontal rule isn't supported."
1265
1273
  msgstr ""
1266
1274
 
1267
- #: ../lib/rabbit/parser/markdown/converter.rb:412 ../test/parser/test-markdown.rb:317
1275
+ #: ../lib/rabbit/parser/markdown/converter.rb:418 ../test/parser/test-markdown.rb:317
1268
1276
  msgid "tag name is missing."
1269
1277
  msgstr ""
1270
1278
 
1271
- #: ../lib/rabbit/parser/markdown/converter.rb:426
1279
+ #: ../lib/rabbit/parser/markdown/converter.rb:432
1272
1280
  msgid "HTML isn't supported."
1273
1281
  msgstr ""
1274
1282
 
1275
- #: ../lib/rabbit/parser/rd/ext/block-verbatim.rb:63
1276
- msgid "multiple 'align = right' isn't supported."
1277
- msgstr ""
1278
-
1279
- #: ../lib/rabbit/parser/rd/ext/block-verbatim.rb:156
1283
+ #: ../lib/rabbit/parser/rd/ext/block-verbatim.rb:137
1280
1284
  msgid "RTtool isn't available"
1281
1285
  msgstr ""
1282
1286
 
@@ -1320,30 +1324,14 @@ msgstr ""
1320
1324
  msgid "can't find printer for %s"
1321
1325
  msgstr ""
1322
1326
 
1323
- #: ../lib/rabbit/slide-configuration.rb:72 ../lib/rabbit/theme-configuration.rb:47
1327
+ #: ../lib/rabbit/slide-configuration.rb:73 ../lib/rabbit/theme-configuration.rb:47
1324
1328
  msgid "Failed to read slide configuration: %s: %s"
1325
1329
  msgstr ""
1326
1330
 
1327
- #: ../lib/rabbit/slide-configuration.rb:82 ../lib/rabbit/theme-configuration.rb:57
1331
+ #: ../lib/rabbit/slide-configuration.rb:83 ../lib/rabbit/theme-configuration.rb:57
1328
1332
  msgid "Failed to write slide configuration: %s: %s"
1329
1333
  msgstr ""
1330
1334
 
1331
- #: ../lib/rabbit/slideshare.rb:62
1332
- msgid "Feailed to upload: %s"
1333
- msgstr ""
1334
-
1335
- #: ../lib/rabbit/slideshare.rb:69
1336
- msgid "Feailed to edit title: %s"
1337
- msgstr ""
1338
-
1339
- #: ../lib/rabbit/slideshare.rb:77
1340
- msgid "Feailed to get slide URL: %s"
1341
- msgstr ""
1342
-
1343
- #: ../lib/rabbit/slideshare.rb:146
1344
- msgid "Enter password on SlideShare [%{user}]: "
1345
- msgstr ""
1346
-
1347
1335
  #: ../lib/rabbit/source/argf.rb:10
1348
1336
  msgid "none (get from STDIN) or [FILE_NAMES]"
1349
1337
  msgstr ""
@@ -1364,42 +1352,34 @@ msgstr ""
1364
1352
  msgid "Rabbit"
1365
1353
  msgstr ""
1366
1354
 
1367
- #: ../lib/rabbit/task/slide.rb:94
1355
+ #: ../lib/rabbit/task/slide.rb:97
1368
1356
  msgid "To run rabbit, create '%{options_path}'!"
1369
1357
  msgstr ""
1370
1358
 
1371
- #: ../lib/rabbit/task/slide.rb:98
1359
+ #: ../lib/rabbit/task/slide.rb:101
1372
1360
  msgid "Show slide"
1373
1361
  msgstr ""
1374
1362
 
1375
- #: ../lib/rabbit/task/slide.rb:110 ../lib/rabbit/task/theme.rb:106
1363
+ #: ../lib/rabbit/task/slide.rb:113 ../lib/rabbit/task/theme.rb:106
1376
1364
  msgid "Create gem: %{gem_path}"
1377
1365
  msgstr ""
1378
1366
 
1379
- #: ../lib/rabbit/task/slide.rb:122 ../lib/rabbit/task/theme.rb:118
1367
+ #: ../lib/rabbit/task/slide.rb:125 ../lib/rabbit/task/theme.rb:118
1380
1368
  msgid "Write %{item} in %{where}: %{content}"
1381
1369
  msgstr ""
1382
1370
 
1383
- #: ../lib/rabbit/task/slide.rb:148 ../lib/rabbit/task/theme.rb:158
1371
+ #: ../lib/rabbit/task/slide.rb:151 ../lib/rabbit/task/theme.rb:158
1384
1372
  msgid "Generate PDF: %{pdf_path}"
1385
1373
  msgstr ""
1386
1374
 
1387
- #: ../lib/rabbit/task/slide.rb:153
1375
+ #: ../lib/rabbit/task/slide.rb:156
1388
1376
  msgid "Publish the slide to all available targets"
1389
1377
  msgstr ""
1390
1378
 
1391
- #: ../lib/rabbit/task/slide.rb:177 ../lib/rabbit/task/slide.rb:186 ../lib/rabbit/task/slide.rb:210
1379
+ #: ../lib/rabbit/task/slide.rb:175 ../lib/rabbit/task/slide.rb:183
1392
1380
  msgid "Publish the slide to %s"
1393
1381
  msgstr ""
1394
1382
 
1395
- #: ../lib/rabbit/task/slide.rb:198
1396
- msgid "Uploaded successfully!"
1397
- msgstr ""
1398
-
1399
- #: ../lib/rabbit/task/slide.rb:199
1400
- msgid "See %s"
1401
- msgstr ""
1402
-
1403
1383
  #: ../lib/rabbit/task/theme.rb:94
1404
1384
  msgid "Show theme benchmark slide with this theme"
1405
1385
  msgstr ""
@@ -2697,3 +2677,7 @@ msgstr ""
2697
2677
  #: ../lib/rabbit/theme/title-slide-background-image/property.rb:2
2698
2678
  msgid "TitleSlideBackgroundImage"
2699
2679
  msgstr ""
2680
+
2681
+ #: ../test/parser/test-markdown.rb:290
2682
+ msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2683
+ msgstr ""
data/po/fr/rabbit.po CHANGED
@@ -889,6 +889,9 @@ msgstr ""
889
889
  msgid "PDF"
890
890
  msgstr ""
891
891
 
892
+ msgid "tried mermaid command: %s"
893
+ msgstr ""
894
+
892
895
  msgid "invalid PDF page number: <%s>"
893
896
  msgstr ""
894
897
 
@@ -946,16 +949,19 @@ msgstr ""
946
949
  msgid "enscript: unsupported element name: %s"
947
950
  msgstr ""
948
951
 
952
+ msgid "multiple right aligns aren't supported."
953
+ msgstr ""
954
+
949
955
  msgid "tried mimeTeX commands: %s"
950
956
  msgstr ""
951
957
 
952
- msgid "multiple ![alt]{image} in a paragraph isn't supported."
958
+ msgid "multiple ![alt]{image}s in a paragraph isn't supported."
953
959
  msgstr ""
954
960
 
955
- msgid "horizontal rule isn't supported."
961
+ msgid "![alt]{image} and other contents in a paragraph isn't supported: %{types}"
956
962
  msgstr ""
957
963
 
958
- msgid "multiple ![]('XXX.png'){:align='right'} isn't supported."
964
+ msgid "horizontal rule isn't supported."
959
965
  msgstr ""
960
966
 
961
967
  msgid "tag name is missing."
@@ -964,9 +970,6 @@ msgstr ""
964
970
  msgid "HTML isn't supported."
965
971
  msgstr ""
966
972
 
967
- msgid "multiple 'align = right' isn't supported."
968
- msgstr ""
969
-
970
973
  msgid "RTtool isn't available"
971
974
  msgstr ""
972
975
 
@@ -1006,18 +1009,6 @@ msgstr ""
1006
1009
  msgid "Failed to write slide configuration: %s: %s"
1007
1010
  msgstr ""
1008
1011
 
1009
- msgid "Feailed to upload: %s"
1010
- msgstr ""
1011
-
1012
- msgid "Feailed to edit title: %s"
1013
- msgstr ""
1014
-
1015
- msgid "Feailed to get slide URL: %s"
1016
- msgstr ""
1017
-
1018
- msgid "Enter password on SlideShare [%{user}]: "
1019
- msgstr ""
1020
-
1021
1012
  msgid "none (get from STDIN) or [FILE_NAMES]"
1022
1013
  msgstr ""
1023
1014
 
@@ -1054,12 +1045,6 @@ msgstr ""
1054
1045
  msgid "Publish the slide to %s"
1055
1046
  msgstr ""
1056
1047
 
1057
- msgid "Uploaded successfully!"
1058
- msgstr ""
1059
-
1060
- msgid "See %s"
1061
- msgstr ""
1062
-
1063
1048
  msgid "Show theme benchmark slide with this theme"
1064
1049
  msgstr ""
1065
1050
 
@@ -2104,3 +2089,6 @@ msgstr ""
2104
2089
 
2105
2090
  msgid "TitleSlideBackgroundImage"
2106
2091
  msgstr ""
2092
+
2093
+ msgid "![alt]{image} and other contents in a paragraph isn't supported: [:text, :img]"
2094
+ msgstr ""