redmine-trunk-changes 2019-08-25

リビジョン 18388 - Fix hard-coded string "no subject" in app/models/mail_handler.rb (#5820). Pa... - Redmine

メール経由でチケットを作成する際メールの件名が空だとチケットのタイトルが使用している言語に関わらずno subjectという名前になっていたのですが、これを国際化しています。

つまり、redmine_message_customizeプラグインでカスタマイズ出来る...!!

リビジョン 18389 - Update locales (#5820). - Redmine

件名なしの国際化のためにlocaleを更新しています。

リビジョン 18390 - Russian translation for text_no_subject (#5820). Patch by Roland Discein. - Redmine

件名なしのロシア語の訳を追加しています。

リビジョン 18391 - Japanese translation for text_no_subject (#31945). Patch by Go MAEDA. - Redmine

件名なしの日本語の訳を追加しています。

リビジョン 18392 - Code cleanup: RuboCop: Fix Lint/UnneededRequireStatement in app/models/wiki_p... - Redmine

不要なrequireを削除しています。

リビジョン 18393 - RuboCop: Disable Layout/SpaceInsideBlockBraces - Redmine

ブロックでかこうさいに空白を入れるCopを無効にしてます https://rubocop.readthedocs.io/en/stable/cops_layout/#layoutspaceinsideblockbraces

リビジョン 18394 - Code cleanup: RuboCop: Fix Style/RedundantReturn in app/models/user.rb - Redmine

不要なreturnを消すためメソッドの最後で条件演算子を使って値を返すようにしています。

リビジョン 18395 - ThemesTest may fail if a third-party theme with a favicon is installed (#3194... - Redmine

サードパーティのテーマでfaviconを入れた状態だとテストが落ちていたので、落ちないように直しています。

テーマのファビコンを消したりテストで使うfaviconを末尾ではなく先頭に追加してるみたいですね。