From a5a432ce234deb784cab07e0d5d55b5d471e0a23 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Fri, 15 Dec 2023 11:42:28 +0900 Subject: [PATCH] Fix typos (#159) --- doc/en/sample/hiki/rabbit.hiki | 2 +- doc/en/sample/markdown/rabbit.md | 2 +- doc/en/sample/rd/rabbit.rd | 2 +- doc/en/usage/rabbit-slide.rd | 2 +- lib/rabbit/command/rabbit-slide.rb | 2 +- lib/rabbit/theme/dark-gradation/dark-gradation.rb | 4 ++-- lib/rabbit/theme/image-slide-number/property.rb | 2 +- .../theme/title-background-image/title-background-image.rb | 4 ++-- po/en/rabbit.po | 4 ++-- po/fr/rabbit.po | 4 ++-- po/ja/rabbit.po | 4 ++-- sample/rabbit-en.hiki | 2 +- sample/rabbit-en.md | 2 +- sample/rabbit-en.rd | 2 +- 14 files changed, 19 insertions(+), 19 deletions(-) diff --git a/doc/en/sample/hiki/rabbit.hiki b/doc/en/sample/hiki/rabbit.hiki index e90be3b3e..3467df8bc 100644 --- a/doc/en/sample/hiki/rabbit.hiki +++ b/doc/en/sample/hiki/rabbit.hiki @@ -163,7 +163,7 @@ A presentation tool :relative_margin_right => -5, })}} -* Right justified backgorund image +* Right justified background image * Specify in slide ** :align => "right" diff --git a/doc/en/sample/markdown/rabbit.md b/doc/en/sample/markdown/rabbit.md index ed75e2ab1..40390bc6f 100644 --- a/doc/en/sample/markdown/rabbit.md +++ b/doc/en/sample/markdown/rabbit.md @@ -148,7 +148,7 @@ background-image-relative-margin-right ![](lavie.png){:relative_width="30" align="right" relative_margin_right="-5"} -* Right justified backgorund image +* Right justified background image * Specify in slide * \{:align="right"\} diff --git a/doc/en/sample/rd/rabbit.rd b/doc/en/sample/rd/rabbit.rd index 358c8287f..c222db679 100644 --- a/doc/en/sample/rd/rabbit.rd +++ b/doc/en/sample/rd/rabbit.rd @@ -171,7 +171,7 @@ title: "Sample slide: Rabbit" # # vertical-align = top # relative-margin-right = -5 - * Right justified backgorund image + * Right justified background image * Specify in slide * align = right diff --git a/doc/en/usage/rabbit-slide.rd b/doc/en/usage/rabbit-slide.rd index de832fd12..a01fc96d7 100644 --- a/doc/en/usage/rabbit-slide.rd +++ b/doc/en/usage/rabbit-slide.rd @@ -95,7 +95,7 @@ You can confirm all patermeters by ((%--help%)): --tags=TAG,TAG,... Tags of the new slide (e.g.: --tags=rabbit,presentation,ruby) (optional) - --allotted-time=TIME Allotted time in presentaion + --allotted-time=TIME Allotted time in presentation (e.g.: --allotted-time=5m) (optional) --presentation-date=DATE Presentation date with the new slide diff --git a/lib/rabbit/command/rabbit-slide.rb b/lib/rabbit/command/rabbit-slide.rb index 7f4bf1dfa..74f97161f 100644 --- a/lib/rabbit/command/rabbit-slide.rb +++ b/lib/rabbit/command/rabbit-slide.rb @@ -189,7 +189,7 @@ def setup_options(parser, options) end parser.on("--allotted-time=TIME", - _("Allotted time in presentaion"), + _("Allotted time in presentation"), _("(e.g.: %s)") % "--allotted-time=5m", _("(optional)")) do |allotted_time| @data.allotted_time = allotted_time diff --git a/lib/rabbit/theme/dark-gradation/dark-gradation.rb b/lib/rabbit/theme/dark-gradation/dark-gradation.rb index 1e0c34087..30322ac57 100644 --- a/lib/rabbit/theme/dark-gradation/dark-gradation.rb +++ b/lib/rabbit/theme/dark-gradation/dark-gradation.rb @@ -9,7 +9,7 @@ @monospace_font = "Monospace" @monospace_font_family = find_font_family(@monospace_font) #------------------------- -# forground color +# foreground color #------------------------- @default_foreground = "#ffeeee" set_foreground(@default_foreground) @@ -94,7 +94,7 @@ @block_quote_close_quote_image = nil @block_quote_image_max_width = canvas.width * 0.1 #------------------------- -# include defaul theme! +# include default theme! #------------------------- include_theme("default") #------------------------- diff --git a/lib/rabbit/theme/image-slide-number/property.rb b/lib/rabbit/theme/image-slide-number/property.rb index d3d68babb..15c012f8b 100644 --- a/lib/rabbit/theme/image-slide-number/property.rb +++ b/lib/rabbit/theme/image-slide-number/property.rb @@ -44,7 +44,7 @@ "@image_slide_number_flag_type" => { :default => "'rectangle'", :description => N_("Form of the start and goal flags. " \ - "Avaiable forms are (({'triangle'})) and " \ + "Available forms are (({'triangle'})) and " \ "(({'rectangle'})).") }, "@image_slide_number_start_image" => { diff --git a/lib/rabbit/theme/title-background-image/title-background-image.rb b/lib/rabbit/theme/title-background-image/title-background-image.rb index a25fa4fb3..6b2f6e754 100644 --- a/lib/rabbit/theme/title-background-image/title-background-image.rb +++ b/lib/rabbit/theme/title-background-image/title-background-image.rb @@ -1,5 +1,5 @@ @title_background_image_properties ||= {} -default_title_backgroud_image_properties = { +default_title_background_image_properties = { "as_large_as_possible" => true, "align" => "center", "assign_box" => false, @@ -8,7 +8,7 @@ match(TitleSlide) do |slides| slides.each do |slide| - image_properties = default_title_backgroud_image_properties.dup + image_properties = default_title_background_image_properties.dup @title_background_image_properties.each do |key, value| value = value.to_s if value.is_a?(Symbol) image_properties[key.to_s.gsub(/-/, "_")] = value diff --git a/po/en/rabbit.po b/po/en/rabbit.po index a12beeabc..b44e9dd81 100644 --- a/po/en/rabbit.po +++ b/po/en/rabbit.po @@ -376,7 +376,7 @@ msgstr "" msgid "Tags of the new slide" msgstr "" -msgid "Allotted time in presentaion" +msgid "Allotted time in presentation" msgstr "" msgid "Presentation date with the new slide" @@ -1511,7 +1511,7 @@ msgid "Color of numbers displayed on the start and goal flags." msgstr "" msgid "" -"Form of the start and goal flags. Avaiable forms are (({'triangle'})) and (({'" +"Form of the start and goal flags. Available forms are (({'triangle'})) and (({'" "rectangle'}))." msgstr "" diff --git a/po/fr/rabbit.po b/po/fr/rabbit.po index 5b87899fa..f6a9c0010 100644 --- a/po/fr/rabbit.po +++ b/po/fr/rabbit.po @@ -375,7 +375,7 @@ msgstr "" msgid "Tags of the new slide" msgstr "" -msgid "Allotted time in presentaion" +msgid "Allotted time in presentation" msgstr "" msgid "Presentation date with the new slide" @@ -1510,7 +1510,7 @@ msgid "Color of numbers displayed on the start and goal flags." msgstr "" msgid "" -"Form of the start and goal flags. Avaiable forms are (({'triangle'})) and (({'" +"Form of the start and goal flags. Available forms are (({'triangle'})) and (({'" "rectangle'}))." msgstr "" diff --git a/po/ja/rabbit.po b/po/ja/rabbit.po index 40646ac32..b8fae342b 100644 --- a/po/ja/rabbit.po +++ b/po/ja/rabbit.po @@ -388,7 +388,7 @@ msgstr "新しいスライドのライセンス" msgid "Tags of the new slide" msgstr "新しいスライドのタグ" -msgid "Allotted time in presentaion" +msgid "Allotted time in presentation" msgstr "プレゼンの持ち時間" msgid "Presentation date with the new slide" @@ -1557,7 +1557,7 @@ msgid "Color of numbers displayed on the start and goal flags." msgstr "スタートとゴールの旗に表示される数字の色。" msgid "" -"Form of the start and goal flags. Avaiable forms are (({'triangle'})) and (({'" +"Form of the start and goal flags. Available forms are (({'triangle'})) and (({'" "rectangle'}))." msgstr "スタートとゴールの旗の形。(({'triangle'})) (三角) と (({'rectangle'})) (四角) が指定可能です。" diff --git a/sample/rabbit-en.hiki b/sample/rabbit-en.hiki index b888544c4..546486c81 100644 --- a/sample/rabbit-en.hiki +++ b/sample/rabbit-en.hiki @@ -158,7 +158,7 @@ A presentation tool :relative_margin_right => -5, })}} -* Right justified backgorund image +* Right justified background image * Specify in slide ** :align => "right" diff --git a/sample/rabbit-en.md b/sample/rabbit-en.md index e57851f9e..cb949f42a 100644 --- a/sample/rabbit-en.md +++ b/sample/rabbit-en.md @@ -143,7 +143,7 @@ background-image-relative-margin-right ![](lavie.png){:relative_width="30" align="right" relative_margin_right="-5"} -* Right justified backgorund image +* Right justified background image * Specify in slide * \{:align="right"\} diff --git a/sample/rabbit-en.rd b/sample/rabbit-en.rd index 0d2710790..7e8f37cf0 100644 --- a/sample/rabbit-en.rd +++ b/sample/rabbit-en.rd @@ -170,7 +170,7 @@ A presentation tool # # vertical-align = top # relative-margin-right = -5 - * Right justified backgorund image + * Right justified background image * Specify in slide * align = right